1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-07-03 11:30:02 +00:00

Removed earlier hacky solution.

This commit is contained in:
Thomas Harte 2016-12-01 20:16:11 -05:00
parent 442986ee2c
commit 0a0775c3bd

View File

@ -323,12 +323,6 @@ void WD1770::posit_event(Event new_event_type)
is_reading_data_ = false;
index_hole_count_ = 0;
if(!has_motor_on_line())
{
// TODO: ???
set_motor_on(false);
}
update_status([] (Status &status) {
status.busy = false;
});
@ -341,12 +335,6 @@ void WD1770::posit_event(Event new_event_type)
printf("Starting %02x\n", command_);
if(!has_motor_on_line())
{
// TODO: set HDL, wait for HDT
set_motor_on(true);
}
if(!(command_ & 0x80)) goto begin_type_1;
if(!(command_ & 0x40)) goto begin_type_2;
goto begin_type_3;