27 , dac(
"Synthesizer-DAC",
"Konami Synthesizer's DAC", config)
44 if ((address & 0xC010) == 0x4000) {
58template<
typename Archive>
61 ar.template serializeBase<Rom16kBBlocks>(*
this);
62 ar.serialize(
"DAC", dac);
#define REGISTER_MSXDEVICE(CLASS, NAME)
void reset(EmuTime::param time)
void writeDAC(uint8_t value, EmuTime::param time)
static std::array< byte, 0x10000 > unmappedWrite
EmuTime::param getCurrentTime() const
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.
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.
byte * getWriteCacheLine(word address) override
Test that the memory in the interval [start, start + CacheLine::SIZE) is cacheable for writing.
void serialize(Archive &ar, unsigned version)
RomSynthesizer(const DeviceConfig &config, Rom &&rom)
This file implemented 3 utility functions:
uint16_t word
16 bit unsigned integer
#define INSTANTIATE_SERIALIZE_METHODS(CLASS)