openMSX
Public Member Functions | Static Public Member Functions | List of all members
openmsx::DummyAY8910Periphery Class Referencefinal

#include <DummyAY8910Periphery.hh>

Inheritance diagram for openmsx::DummyAY8910Periphery:
Inheritance graph
[legend]
Collaboration diagram for openmsx::DummyAY8910Periphery:
Collaboration graph
[legend]

Public Member Functions

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.
 
void writeA (byte, EmuTime::param) override
 Writes to the peripheral on port A.
 
void writeB (byte, EmuTime::param) override
 Similar to writeA, but writes port B.
 

Static Public Member Functions

static DummyAY8910Peripheryinstance ()
 

Additional Inherited Members

- Protected Member Functions inherited from openmsx::AY8910Periphery
 AY8910Periphery ()=default
 
 ~AY8910Periphery ()=default
 

Detailed Description

Definition at line 8 of file DummyAY8910Periphery.hh.

Member Function Documentation

◆ instance()

static DummyAY8910Periphery & openmsx::DummyAY8910Periphery::instance ( )
inlinestatic

Definition at line 11 of file DummyAY8910Periphery.hh.

◆ readA()

byte openmsx::DummyAY8910Periphery::readA ( EmuTime::param  time)
inlineoverridevirtual

Reads the state of the peripheral on port A.

Since the AY8910 doesn't have control lines for the I/O ports, a peripheral is not aware that it is read, which means that "peek" and "read" are equivalent.

Parameters
timeThe moment in time the peripheral's state is read. On subsequent calls, the time will always be increasing.
Returns
the value read; unconnected bits should be 1

Reimplemented from openmsx::AY8910Periphery.

Definition at line 17 of file DummyAY8910Periphery.hh.

◆ readB()

byte openmsx::DummyAY8910Periphery::readB ( EmuTime::param  time)
inlineoverridevirtual

Similar to readA, but reads port B.

Reimplemented from openmsx::AY8910Periphery.

Definition at line 18 of file DummyAY8910Periphery.hh.

◆ writeA()

void openmsx::DummyAY8910Periphery::writeA ( byte  value,
EmuTime::param  time 
)
inlineoverridevirtual

Writes to the peripheral on port A.

Parameters
valueThe value to write.
timeThe moment in time the value is written. On subsequent calls, the time will always be increasing.

Reimplemented from openmsx::AY8910Periphery.

Definition at line 19 of file DummyAY8910Periphery.hh.

◆ writeB()

void openmsx::DummyAY8910Periphery::writeB ( byte  value,
EmuTime::param  time 
)
inlineoverridevirtual

Similar to writeA, but writes port B.

Reimplemented from openmsx::AY8910Periphery.

Definition at line 20 of file DummyAY8910Periphery.hh.


The documentation for this class was generated from the following file: