20 void reset(EmuTime::param time)
override;
21 void writeIO(
word port,
byte value, EmuTime::param time)
override;
23 template<
typename Archive>
24 void serialize(Archive& ar,
unsigned version);
27 std::unique_ptr<SN76489> sn76489;
An MSXDevice is an emulated hardware component connected to the bus of the emulated MSX.
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