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
uint8_t byte
8 bit unsigned integer
Definition: openmsx.hh:26
void serialize(Archive &ar, unsigned version)
void writeData(word value, EmuTime::param time) override
void writeReg(nibble reg, byte value, EmuTime::param time) override
Thanks to enen for testing this on a real cartridge:
Definition: Autofire.cc:5
uint8_t nibble
4 bit integer
Definition: openmsx.hh:23
void reset(EmuTime::param time) override
word readData(EmuTime::param time) override
uint16_t word
16 bit unsigned integer
Definition: openmsx.hh:29
byte readReg(nibble reg, EmuTime::param time) override