11 , dac(
"Majutsushi-DAC",
"Hai no Majutsushi's DAC", config)
23 if (0x5000 <= address && address < 0x6000) {
32 return (0x5000 <= address && address < 0x6000)
36template<
typename Archive>
39 ar.template serializeBase<RomKonami>(*
this);
40 ar.serialize(
"DAC", dac);
void reset(EmuTime::param time)
void writeDAC(uint8_t value, EmuTime::param time)
void reset(EmuTime::param time) override
This method is called on reset.
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.
byte * getWriteCacheLine(word address) const override
Test that the memory in the interval [start, start + CacheLine::SIZE) is cacheable for writing.
RomMajutsushi(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 serialize(Archive &ar, unsigned version)
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.
This file implemented 3 utility functions:
REGISTER_MSXDEVICE(ChakkariCopy, "ChakkariCopy")
uint16_t word
16 bit unsigned integer
#define INSTANTIATE_SERIALIZE_METHODS(CLASS)