15 reset(EmuTime::dummy());
28 if (((0x6000 <= address) && (address < 0x7800) && !(address & 0x0800)) ||
29 (address ==
one_of(0x6FFF, 0x7FFF))) {
30 byte region = ((address >> 12) & 1) + 1;
37 if (((0x6000 <= address) && (address < 0x7800) && !(address & 0x0800)) ||
#define REGISTER_MSXDEVICE(CLASS, NAME)
static std::array< byte, 0x10000 > unmappedWrite
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.
RomMSXWrite(const DeviceConfig &config, Rom &&rom)
byte * getWriteCacheLine(word address) override
Test that the memory in the interval [start, start + CacheLine::SIZE) is cacheable for writing.
void writeMem(word address, byte value, EmuTime::param time) override
Write a given byte to a given location at a certain time to this device.
void reset(EmuTime::param time) override
This method is called on reset.
This file implemented 3 utility functions:
uint16_t word
16 bit unsigned integer