openMSX
DummyIDEDevice.hh
Go to the documentation of this file.
1#ifndef DUMMYIDEDEVICE_HH
2#define DUMMYIDEDEVICE_HH
3
4#include "IDEDevice.hh"
5
6namespace openmsx {
7
8class DummyIDEDevice final : public IDEDevice
9{
10public:
11 void reset(EmuTime::param time) override;
12 [[nodiscard]] word readData(EmuTime::param time) override;
13 [[nodiscard]] 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
word readData(EmuTime::param time) override
void reset(EmuTime::param time) override
void serialize(Archive &ar, unsigned version)
byte readReg(nibble reg, EmuTime::param time) override
void writeData(word value, EmuTime::param time) override
void writeReg(nibble reg, byte value, EmuTime::param time) override
This file implemented 3 utility functions:
Definition Autofire.cc:11
uint8_t nibble
4 bit integer
Definition openmsx.hh:23
uint16_t word
16 bit unsigned integer
Definition openmsx.hh:29