mirror of
https://github.com/TomHarte/CLK.git
synced 2025-05-01 08:37:35 +00:00
Removed earlier hacky solution.
This commit is contained in:
parent
442986ee2c
commit
0a0775c3bd
@ -323,12 +323,6 @@ void WD1770::posit_event(Event new_event_type)
|
|||||||
is_reading_data_ = false;
|
is_reading_data_ = false;
|
||||||
index_hole_count_ = 0;
|
index_hole_count_ = 0;
|
||||||
|
|
||||||
if(!has_motor_on_line())
|
|
||||||
{
|
|
||||||
// TODO: ???
|
|
||||||
set_motor_on(false);
|
|
||||||
}
|
|
||||||
|
|
||||||
update_status([] (Status &status) {
|
update_status([] (Status &status) {
|
||||||
status.busy = false;
|
status.busy = false;
|
||||||
});
|
});
|
||||||
@ -341,12 +335,6 @@ void WD1770::posit_event(Event new_event_type)
|
|||||||
|
|
||||||
printf("Starting %02x\n", command_);
|
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_ & 0x80)) goto begin_type_1;
|
||||||
if(!(command_ & 0x40)) goto begin_type_2;
|
if(!(command_ & 0x40)) goto begin_type_2;
|
||||||
goto begin_type_3;
|
goto begin_type_3;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user