17 reset(EmuTime::dummy());
46 return ((offset & 0x03) == 0x03) ? 0xda : 0xff;
49template<
typename Archive>
52 ar.template serializeBase<Rom16kBBlocks>(*
this);
53 ar.serialize(
"offset", offset);
#define REGISTER_MSXDEVICE(CLASS, NAME)
void unregister_IO_InOut(byte port, MSXDevice *device)
void register_IO_InOut(byte port, MSXDevice *device)
Convenience methods for {un}register_IO_{In,Out}.
MSXCPUInterface & getCPUInterface() const
RomArc(const DeviceConfig &config, Rom &&rom)
void serialize(Archive &ar, unsigned version)
byte readIO(word port, EmuTime::param time) override
Read a byte from an IO port at a certain time from this device.
byte peekIO(word port, EmuTime::param time) const override
Read a byte from a given IO port.
void reset(EmuTime::param time) override
This method is called on reset.
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.
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:
uint16_t word
16 bit unsigned integer
#define INSTANTIATE_SERIALIZE_METHODS(CLASS)