20 void powerUp(EmuTime::param time)
override;
21 void reset(EmuTime::param time)
override;
23 [[nodiscard]]
byte readMem(
word address, EmuTime::param time)
override;
24 void writeMem(
word address,
byte value, EmuTime::param time)
override;
27 template<
typename Archive>
28 void serialize(Archive& ar,
unsigned version);
31 [[nodiscard]]
byte getBank()
const;
32 void writeControl(
byte value);
34 [[nodiscard]]
byte readDataLow(EmuTime::param time);
35 [[nodiscard]]
byte readDataHigh(EmuTime::param time)
const;
36 [[nodiscard]]
word readData(EmuTime::param time);
37 [[nodiscard]]
byte readReg(
nibble reg, EmuTime::param time);
38 void writeDataLow(
byte value);
39 void writeDataHigh(
byte value, EmuTime::param time);
40 void writeData(
word value, EmuTime::param time);
41 void writeReg(
nibble reg,
byte value, EmuTime::param time);
46 [[nodiscard]]
byte read(
unsigned address)
override;
50 std::array<std::unique_ptr<IDEDevice>, 2> device;
51 std::span<const byte, 0x4000> internalBank;
56 bool ideRegsEnabled =
false;