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