23 reset(EmuTime::dummy());
43 byte page = 2 * (value & 0x3F);
44 switch (value & 0xC0) {
53 setRom(2, (page & ~2) + 0);
54 setRom(3, (page & ~2) + 1);
#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 setUnmapped(unsigned region)
Select 'unmapped' memory for this region.
void setRom(unsigned region, unsigned block)
Selects a block of the ROM image for reading in a certain region.
byte * getWriteCacheLine(word address) override
Test that the memory in the interval [start, start + CacheLine::SIZE) is cacheable for writing.
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.
~RomZemina90in1() override
void reset(EmuTime::param time) override
This method is called on reset.
RomZemina90in1(const DeviceConfig &config, Rom &&rom)
This file implemented 3 utility functions:
uint16_t word
16 bit unsigned integer