107 reset(EmuTime::dummy());
118 mapperLocked =
false;
127 byte page = 2 * (value & 0b1'1111);
134 mapperLocked = mapperLocked || ((value & 0b10'0000) != 0);
145template<
typename Archive>
148 ar.template serializeBase<Rom16kBBlocks>(*
this);
149 ar.serialize(
"mapperLocked", mapperLocked);
#define REGISTER_MSXDEVICE(CLASS, NAME)
void unregister_IO_InOut_range(byte port, unsigned num, MSXDevice *device)
void register_IO_InOut_range(byte port, unsigned num, MSXDevice *device)
MSXCPUInterface & getCPUInterface() const
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.
byte readIO(word port, EmuTime::param time) override
Read a byte from an IO port at a certain time from this device.
RomAlAlamiah30in1(const DeviceConfig &config, Rom &&rom)
void reset(EmuTime::param time) override
This method is called on reset.
void serialize(Archive &ar, unsigned version)
~RomAlAlamiah30in1() override
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)