openMSX
|
#include <CassettePort.hh>
Public Member Functions | |
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. | |
Public Member Functions inherited from openmsx::CassettePortInterface | |
virtual | ~CassettePortInterface ()=default |
Definition at line 98 of file CassettePort.hh.
|
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 28 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 24 of file CassettePort.cc.
|
overridevirtual |
last bit written to CasOut.
for use in Pluggable::plugHelper()
Implements openmsx::CassettePortInterface.
Definition at line 32 of file CassettePort.cc.
|
overridevirtual |
Sets the cassette motor relay false = off true = on.
Implements openmsx::CassettePortInterface.
Definition at line 20 of file CassettePort.cc.