openMSX
AY8910Periphery.cc
Go to the documentation of this file.
1#include "AY8910Periphery.hh"
2
3namespace openmsx {
4
5byte AY8910Periphery::readA(EmuTime::param /*time*/)
6{
7 return 0xFF; // unused bits are 1
8}
9
10byte AY8910Periphery::readB(EmuTime::param /*time*/)
11{
12 return 0xFF; // unused bits are 1
13}
14
15void AY8910Periphery::writeA(byte /*value*/, EmuTime::param /*time*/)
16{
17 // nothing connected
18}
19
20void AY8910Periphery::writeB(byte /*value*/, EmuTime::param /*time*/)
21{
22 // nothing connected
23}
24
25} // namespace openmsx
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.
virtual void writeB(byte value, EmuTime::param time)
Similar to writeA, but writes port B.
This file implemented 3 utility functions:
Definition Autofire.cc:9