openMSX
|
#include <CassettePort.hh>
Public Member Functions | |
DummyCassettePort (MSXMotherBoard &motherBoard) | |
void | setMotor (bool status, EmuTime::param time) override |
Sets the cassette motor relay false = off true = on. | |
void | cassetteOut (bool output, EmuTime::param time) override |
Writes one bit to the cassette port. | |
bool | cassetteIn (EmuTime::param time) override |
Reads one bit from the cassette port. | |
bool | lastOut () const override |
last bit written to CasOut. | |
CassettePlayer * | getCassettePlayer () override |
Get the cassette player (if available) | |
Public Member Functions inherited from openmsx::CassettePortInterface | |
virtual | ~CassettePortInterface ()=default |
Definition at line 105 of file CassettePort.hh.
|
explicit |
Definition at line 20 of file CassettePort.cc.
|
overridevirtual |
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.
Implements openmsx::CassettePortInterface.
Definition at line 37 of file CassettePort.cc.
|
overridevirtual |
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.
Implements openmsx::CassettePortInterface.
Definition at line 33 of file CassettePort.cc.
|
inlineoverridevirtual |
Get the cassette player (if available)
Implements openmsx::CassettePortInterface.
Definition at line 116 of file CassettePort.hh.
|
overridevirtual |
last bit written to CasOut.
for use in Pluggable::plugHelper()
Implements openmsx::CassettePortInterface.
Definition at line 41 of file CassettePort.cc.
|
overridevirtual |
Sets the cassette motor relay false = off true = on.
Implements openmsx::CassettePortInterface.
Definition at line 29 of file CassettePort.cc.