19 void reset(EmuTime::param time)
override;
20 [[nodiscard]]
byte readIO(
word port, EmuTime::param time)
override;
21 [[nodiscard]]
byte peekIO(
word port, EmuTime::param time)
const override;
22 void writeIO(
word port,
byte value, EmuTime::param time)
override;
24 template<
typename Archive>
25 void serialize(Archive& ar,
unsigned version);
28 [[nodiscard]]
byte getSample(EmuTime::param time)
const;
29 [[nodiscard]]
bool getComp(EmuTime::param time)
const;
30 void hardwareMute(
bool mute);
Represents a clock with a fixed frequency.
An MSXDevice is an emulated hardware component connected to the bus of the emulated MSX.
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.
byte peekIO(word port, EmuTime::param time) const override
Read a byte from a given IO port.
void serialize(Archive &ar, unsigned version)
void reset(EmuTime::param time) override
This method is called on reset.
This file implemented 3 utility functions:
uint16_t word
16 bit unsigned integer