This class implements a not connected disk drive.
More...
#include <DiskDrive.hh>
This class implements a not connected disk drive.
Definition at line 105 of file DiskDrive.hh.
◆ applyWd2793ReadTrackQuirk()
void openmsx::DummyDrive::applyWd2793ReadTrackQuirk |
( |
| ) |
|
|
overridevirtual |
◆ diskChanged()
bool openmsx::DummyDrive::diskChanged |
( |
| ) |
|
|
overridevirtual |
◆ flushTrack()
void openmsx::DummyDrive::flushTrack |
( |
| ) |
|
|
overridevirtual |
◆ getMotor()
bool openmsx::DummyDrive::getMotor |
( |
| ) |
const |
|
overridevirtual |
◆ getNextSector()
EmuTime openmsx::DummyDrive::getNextSector |
( |
EmuTime::param |
time, |
|
|
RawTrack::Sector & |
sector |
|
) |
| |
|
overridevirtual |
◆ getSide()
bool openmsx::DummyDrive::getSide |
( |
| ) |
const |
|
overridevirtual |
◆ getTimeTillIndexPulse()
EmuTime openmsx::DummyDrive::getTimeTillIndexPulse |
( |
EmuTime::param |
time, |
|
|
int |
count |
|
) |
| |
|
overridevirtual |
Return the time till the start of the next index pulse When there is no disk in the drive or when the disk is not spinning, this function returns the current time.
- Parameters
-
time | The current time |
count | Number of required index pulses. |
Implements openmsx::DiskDrive.
Definition at line 58 of file DiskDrive.cc.
◆ getTrackLength()
unsigned openmsx::DummyDrive::getTrackLength |
( |
| ) |
|
|
overridevirtual |
◆ indexPulse()
bool openmsx::DummyDrive::indexPulse |
( |
EmuTime::param |
time | ) |
|
|
overridevirtual |
Gets the state of the index pulse.
- Parameters
-
time | The moment in emulated time to get the pulse state for. |
Implements openmsx::DiskDrive.
Definition at line 53 of file DiskDrive.cc.
◆ invalidateWd2793ReadTrackQuirk()
void openmsx::DummyDrive::invalidateWd2793ReadTrackQuirk |
( |
| ) |
|
|
overridevirtual |
◆ isDiskInserted()
bool openmsx::DummyDrive::isDiskInserted |
( |
| ) |
const |
|
overridevirtual |
◆ isDoubleSided()
bool openmsx::DummyDrive::isDoubleSided |
( |
| ) |
|
|
overridevirtual |
◆ isDummyDrive()
bool openmsx::DummyDrive::isDummyDrive |
( |
| ) |
const |
|
overridevirtual |
◆ isTrack00()
bool openmsx::DummyDrive::isTrack00 |
( |
| ) |
const |
|
overridevirtual |
◆ isWriteProtected()
bool openmsx::DummyDrive::isWriteProtected |
( |
| ) |
const |
|
overridevirtual |
◆ peekDiskChanged()
bool openmsx::DummyDrive::peekDiskChanged |
( |
| ) |
const |
|
overridevirtual |
◆ readTrackByte()
uint8_t openmsx::DummyDrive::readTrackByte |
( |
int |
idx | ) |
|
|
overridevirtual |
◆ setMotor()
void openmsx::DummyDrive::setMotor |
( |
bool |
status, |
|
|
EmuTime::param |
time |
|
) |
| |
|
overridevirtual |
Set motor on/off.
- Parameters
-
status | false = off, true = on. |
time | The moment in emulated time this action takes place. |
Implements openmsx::DiskDrive.
Definition at line 43 of file DiskDrive.cc.
◆ setSide()
void openmsx::DummyDrive::setSide |
( |
bool |
side | ) |
|
|
overridevirtual |
◆ step()
void openmsx::DummyDrive::step |
( |
bool |
direction, |
|
|
EmuTime::param |
time |
|
) |
| |
|
overridevirtual |
Step head.
- Parameters
-
direction | false = out, true = in. |
time | The moment in emulated time this action takes place. |
Implements openmsx::DiskDrive.
Definition at line 38 of file DiskDrive.cc.
◆ writeTrackByte()
void openmsx::DummyDrive::writeTrackByte |
( |
int |
idx, |
|
|
uint8_t |
val, |
|
|
bool |
addIdam |
|
) |
| |
|
overridevirtual |
The documentation for this class was generated from the following files: