1
0
mirror of https://github.com/TomHarte/CLK.git synced 2025-07-26 04:24:18 +00:00

Implemented missing status bits (other than the index hole), and a head loading delay for the Microdisc.

This commit is contained in:
Thomas Harte
2016-12-01 21:13:16 -05:00
parent 0a0775c3bd
commit 93c573bfa9
6 changed files with 49 additions and 8 deletions

View File

@@ -128,6 +128,12 @@ bool Controller::get_is_track_zero()
return _drive->get_is_track_zero();
}
bool Controller::get_drive_is_ready()
{
if(!_drive) return false;
return _drive->has_disk();
}
void Controller::step(int direction)
{
if(_drive) _drive->step(direction);