mirror of
https://github.com/TomHarte/CLK.git
synced 2024-09-06 20:54:31 +00:00
Made it more explicit that there are no unhandled cases.
This commit is contained in:
parent
0df9ce5a76
commit
044c920a5b
@ -789,12 +789,9 @@ void WD1770::posit_event(Event new_event_type)
|
|||||||
WAIT_FOR_TIME(30);
|
WAIT_FOR_TIME(30);
|
||||||
|
|
||||||
test_type3_type:
|
test_type3_type:
|
||||||
switch(command_ >> 4)
|
if(!(command_&0x20)) goto begin_read_address;
|
||||||
{
|
if(!(command_&0x10)) goto begin_read_track;
|
||||||
case 0xa: goto begin_read_address;
|
goto begin_write_track;
|
||||||
case 0xc: goto begin_read_track;
|
|
||||||
case 0xf: goto begin_write_track;
|
|
||||||
}
|
|
||||||
|
|
||||||
begin_read_address:
|
begin_read_address:
|
||||||
index_hole_count_ = 0;
|
index_hole_count_ = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user