1#ifndef FRAELSWITCHABLEROM_HH
2#define FRAELSWITCHABLEROM_HH
14 void reset(EmuTime::param time)
override;
16 [[nodiscard]]
byte readMem(
word address, EmuTime::param time)
override;
19 void writeIO(
word port,
byte value, EmuTime::param time)
override;
21 template<
typename Archive>
22 void serialize(Archive& ar,
unsigned version);
27 bool firmwareSelected;
const byte * getReadCacheLine(word start) const override
Test that the memory in the interval [start, start + CacheLine::SIZE) is cacheable for reading.
void writeIO(word port, byte value, EmuTime::param time) override
Write a byte to a given IO port at a certain time to this device.
byte readMem(word address, EmuTime::param time) override
Read a byte from a location at a certain time from this device.
void serialize(Archive &ar, unsigned version)
void reset(EmuTime::param time) override
This method is called on reset.
An MSXDevice is an emulated hardware component connected to the bus of the emulated MSX.
This file implemented 3 utility functions:
uint16_t word
16 bit unsigned integer