1#ifndef AY8910PERIPHERY_HH
2#define AY8910PERIPHERY_HH
25 [[nodiscard]]
virtual byte readA(EmuTime::param time);
28 [[nodiscard]]
virtual byte readB(EmuTime::param time);
35 virtual void writeA(
byte value, EmuTime::param time);
38 virtual void writeB(
byte value, EmuTime::param time);
Models the general purpose I/O ports of the AY8910.
~AY8910Periphery()=default
virtual void writeA(byte value, EmuTime::param time)
Writes to the peripheral on port A.
virtual byte readA(EmuTime::param time)
Reads the state of the peripheral on port A.
virtual byte readB(EmuTime::param time)
Similar to readA, but reads port B.
AY8910Periphery()=default
virtual void writeB(byte value, EmuTime::param time)
Similar to writeA, but writes port B.
This file implemented 3 utility functions: