openMSX
AY8910Periphery.cc
Go to the documentation of this file.
1 #include "AY8910Periphery.hh"
2 
3 namespace openmsx {
4 
5 byte AY8910Periphery::readA(EmuTime::param /*time*/)
6 {
7  return 0xFF; // unused bits are 1
8 }
9 
10 byte AY8910Periphery::readB(EmuTime::param /*time*/)
11 {
12  return 0xFF; // unused bits are 1
13 }
14 
15 void AY8910Periphery::writeA(byte /*value*/, EmuTime::param /*time*/)
16 {
17  // nothing connected
18 }
19 
20 void AY8910Periphery::writeB(byte /*value*/, EmuTime::param /*time*/)
21 {
22  // nothing connected
23 }
24 
25 } // namespace openmsx
virtual void writeB(byte value, EmuTime::param time)
Similar to writeA, but writes port B.
virtual void writeA(byte value, EmuTime::param time)
Writes to the peripheral on port A.
uint8_t byte
8 bit unsigned integer
Definition: openmsx.hh:26
virtual byte readB(EmuTime::param time)
Similar to readA, but reads port B.
virtual byte readA(EmuTime::param time)
Reads the state of the peripheral on port A.
Thanks to enen for testing this on a real cartridge:
Definition: Autofire.cc:5