mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-26 08:49:37 +00:00
Ensured there's no such thing as a zero-cycle operation, even if i don't yet know exactly what I should be doing.
This commit is contained in:
parent
8be81f6ebd
commit
d5f9e0aa3b
@ -261,6 +261,7 @@ void WD1770::posit_event(Event new_event_type)
|
|||||||
status_ &= ~Flag::Busy;
|
status_ &= ~Flag::Busy;
|
||||||
index_hole_count_ = 0;
|
index_hole_count_ = 0;
|
||||||
WAIT_FOR_EVENT(Event::Command);
|
WAIT_FOR_EVENT(Event::Command);
|
||||||
|
WAIT_FOR_TIME(1); // TODO: what should the time cost here really be?
|
||||||
printf("Starting %02x\n", command_);
|
printf("Starting %02x\n", command_);
|
||||||
status_ |= Flag::Busy;
|
status_ |= Flag::Busy;
|
||||||
if(!(command_ & 0x80)) goto begin_type_1;
|
if(!(command_ & 0x80)) goto begin_type_1;
|
||||||
|
Loading…
Reference in New Issue
Block a user