28 for (
auto i :
xrange(2, 6)) {
37 if ((0x6000 <= address) && (address < 0x8000)) {
38 byte region = ((address >> 11) & 3) + 2;
45 if ((0x6000 <= address) && (address < 0x8000)) {
static std::array< byte, 0x10000 > unmappedWrite
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.
RomAscii8kB(const DeviceConfig &config, Rom &&rom)
void reset(EmuTime::param time) override
This method is called on reset.
byte * getWriteCacheLine(word address) const override
Test that the memory in the interval [start, start + CacheLine::SIZE) is cacheable for writing.
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.
This file implemented 3 utility functions:
REGISTER_MSXDEVICE(ChakkariCopy, "ChakkariCopy")
uint16_t word
16 bit unsigned integer
constexpr auto xrange(T e)