21 sn76489.
write(value, time);
24template<
typename Archive>
27 ar.template serializeBase<MSXDevice>(*
this);
28 ar.serialize(
"sn76489", sn76489);
#define REGISTER_MSXDEVICE(CLASS, NAME)
An MSXDevice is an emulated hardware component connected to the bus of the emulated MSX.
void reset(EmuTime::param time)
void write(byte value, EmuTime::param time)
Device that puts the Texas Instruments SN76489 sound chip at a fixed I/O address.
void serialize(Archive &ar, unsigned version)
SNPSG(const DeviceConfig &config)
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.
This file implemented 3 utility functions:
uint16_t word
16 bit unsigned integer
#define INSTANTIATE_SERIALIZE_METHODS(CLASS)