openMSX
|
#include <CassettePort.hh>
Public Member Functions | |
virtual | ~CassettePortInterface ()=default |
virtual void | setMotor (bool status, EmuTime::param time)=0 |
Sets the cassette motor relay false = off true = on. | |
virtual void | cassetteOut (bool output, EmuTime::param time)=0 |
Writes one bit to the cassette port. | |
virtual bool | lastOut () const =0 |
last bit written to CasOut. | |
virtual bool | cassetteIn (EmuTime::param time)=0 |
Reads one bit from the cassette port. | |
virtual CassettePlayer * | getCassettePlayer ()=0 |
Get the cassette player (if available) | |
Definition at line 19 of file CassettePort.hh.
|
virtualdefault |
|
pure virtual |
Reads one bit from the cassette port.
From the RedBook: The cassette input is used to read the signal from the cassette EAR output. This is passed through a comparator to clean the edges and to convert to digital levels, but is otherwise unprocessed.
Implemented in openmsx::CassettePort, and openmsx::DummyCassettePort.
|
pure virtual |
Writes one bit to the cassette port.
From the RedBook: The CasOut bit is filtered and attenuated before being taken to the cassette DIN socket as the MIC signal. All cassette tone generation is performed in software.
Implemented in openmsx::CassettePort, and openmsx::DummyCassettePort.
|
pure virtual |
Get the cassette player (if available)
Implemented in openmsx::CassettePort, and openmsx::DummyCassettePort.
Referenced by openmsx::ImGuiMedia::paint().
|
pure virtual |
last bit written to CasOut.
for use in Pluggable::plugHelper()
Implemented in openmsx::CassettePort, and openmsx::DummyCassettePort.
|
pure virtual |
Sets the cassette motor relay false = off true = on.
Implemented in openmsx::CassettePort, and openmsx::DummyCassettePort.