openMSX
DummyIDEDevice.hh
Go to the documentation of this file.
1 #ifndef DUMMYIDEDEVICE_HH
2 #define DUMMYIDEDEVICE_HH
3 
4 #include "IDEDevice.hh"
5 
6 namespace openmsx {
7 
8 class DummyIDEDevice final : public IDEDevice
9 {
10 public:
11  void reset(EmuTime::param time) override;
12  word readData(EmuTime::param time) override;
13  byte readReg(nibble reg, EmuTime::param time) override;
14  void writeData(word value, EmuTime::param time) override;
15  void writeReg(nibble reg, byte value, EmuTime::param time) override;
16 
17  template<typename Archive>
18  void serialize(Archive& ar, unsigned version);
19 };
20 
21 } // namespace openmsx
22 
23 #endif
openmsx::DummyIDEDevice::serialize
void serialize(Archive &ar, unsigned version)
Definition: DummyIDEDevice.cc:33
openmsx::DummyIDEDevice::writeReg
void writeReg(nibble reg, byte value, EmuTime::param time) override
Definition: DummyIDEDevice.cc:26
IDEDevice.hh
openmsx::DummyIDEDevice::writeData
void writeData(word value, EmuTime::param time) override
Definition: DummyIDEDevice.cc:21
openmsx::DummyIDEDevice::readData
word readData(EmuTime::param time) override
Definition: DummyIDEDevice.cc:11
openmsx::nibble
uint8_t nibble
4 bit integer
Definition: openmsx.hh:23
openmsx::DummyIDEDevice
Definition: DummyIDEDevice.hh:8
openmsx::DummyIDEDevice::reset
void reset(EmuTime::param time) override
Definition: DummyIDEDevice.cc:6
openmsx::word
uint16_t word
16 bit unsigned integer
Definition: openmsx.hh:29
openmsx::DummyIDEDevice::readReg
byte readReg(nibble reg, EmuTime::param time) override
Definition: DummyIDEDevice.cc:16
openmsx::IDEDevice
Definition: IDEDevice.hh:9
openmsx
Thanks to enen for testing this on a real cartridge:
Definition: Autofire.cc:5