1#ifndef DUMMYAY8910PERIPHERY_HH
2#define DUMMYAY8910PERIPHERY_HH
17 [[nodiscard]]
byte readA(EmuTime::param )
override {
return 255; }
18 [[nodiscard]]
byte readB(EmuTime::param )
override {
return 255; }
19 void writeA(
byte , EmuTime::param )
override {}
20 void writeB(
byte , EmuTime::param )
override {}
Models the general purpose I/O ports of the AY8910.
static DummyAY8910Periphery & instance()
void writeB(byte, EmuTime::param) override
Similar to writeA, but writes port B.
void writeA(byte, EmuTime::param) override
Writes to the peripheral on port A.
byte readA(EmuTime::param) override
Reads the state of the peripheral on port A.
byte readB(EmuTime::param) override
Similar to readA, but reads port B.
This file implemented 3 utility functions: