1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-06-25 03:29:45 +00:00

Corrects meaning of IBM-style RDY.

This commit is contained in:
Thomas Harte 2021-10-06 04:42:44 -07:00
parent e961d0b4a3
commit ce8f782577
2 changed files with 2 additions and 2 deletions

View File

@ -85,7 +85,7 @@ void Drive::step(HeadPosition offset) {
return;
}
if(ready_type_ == ReadyType::IBMRDY) {
if(disk_ && ready_type_ == ReadyType::IBMRDY) {
is_ready_ = true;
}

View File

@ -29,7 +29,7 @@ class Drive: public ClockingHint::Source, public TimedEventLoop {
ShugartRDY,
/// Indicates that RDY will go active when the motor is on and two index holes have passed; it will go inactive when the disk is ejected.
ShugartModifiedRDY,
/// Indicates that RDY will go active when the head steps; it will go inactive when the disk is ejected.
/// Indicates that RDY will go active when the head steps if a disk is present; it will go inactive when the disk is ejected.
IBMRDY,
};