16 reset(EmuTime::dummy());
32 byte page = 2 * (value & 0x1F);
#define REGISTER_MSXDEVICE(CLASS, NAME)
void register_IO_Out(byte port, MSXDevice *device)
Devices can register their Out ports.
void unregister_IO_Out(byte port, MSXDevice *device)
static std::array< byte, 0x10000 > unmappedWrite
MSXCPUInterface & getCPUInterface() const
void setRom(unsigned region, unsigned block)
Selects a block of the ROM image for reading in a certain region.
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.
RomRetroHard31in1(const DeviceConfig &config, Rom &&rom)
void reset(EmuTime::param time) override
This method is called on reset.
~RomRetroHard31in1() override
byte * getWriteCacheLine(word address) override
Test that the memory in the interval [start, start + CacheLine::SIZE) is cacheable for writing.
This file implemented 3 utility functions:
uint16_t word
16 bit unsigned integer