openMSX
DummyPrinterPortDevice.cc
Go to the documentation of this file.
2 
3 namespace openmsx {
4 
5 bool DummyPrinterPortDevice::getStatus(EmuTime::param /*time*/)
6 {
7  return true; // true = high = not ready
8 }
9 
10 void DummyPrinterPortDevice::setStrobe(bool /*strobe*/, EmuTime::param /*time*/)
11 {
12  // ignore strobe
13 }
14 
15 void DummyPrinterPortDevice::writeData(byte /*data*/, EmuTime::param /*time*/)
16 {
17  // ignore data
18 }
19 
21 {
22  return {};
23 }
24 
26  Connector& /*connector*/, EmuTime::param /*time*/)
27 {
28 }
29 
30 void DummyPrinterPortDevice::unplugHelper(EmuTime::param /*time*/)
31 {
32 }
33 
34 } // namespace openmsx
DummyPrinterPortDevice.hh
openmsx::DummyPrinterPortDevice::plugHelper
void plugHelper(Connector &connector, EmuTime::param time) override
Definition: DummyPrinterPortDevice.cc:25
openmsx::DummyPrinterPortDevice::unplugHelper
void unplugHelper(EmuTime::param time) override
Definition: DummyPrinterPortDevice.cc:30
openmsx::DummyPrinterPortDevice::setStrobe
void setStrobe(bool strobe, EmuTime::param time) override
Sets the strobe signal: false = low, true = high.
Definition: DummyPrinterPortDevice.cc:10
openmsx::DummyPrinterPortDevice::getStatus
bool getStatus(EmuTime::param time) override
Returns the STATUS signal: false = low = ready, true = high = not ready.
Definition: DummyPrinterPortDevice.cc:5
openmsx::DummyPrinterPortDevice::getDescription
std::string_view getDescription() const override
Description for this pluggable.
Definition: DummyPrinterPortDevice.cc:20
openmsx::Connector
Represents something you can plug devices into.
Definition: Connector.hh:20
openmsx::DummyPrinterPortDevice::writeData
void writeData(byte data, EmuTime::param time) override
Sets the data signals.
Definition: DummyPrinterPortDevice.cc:15
openmsx
Thanks to enen for testing this on a real cartridge:
Definition: Autofire.cc:5