mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-19 23:32:28 +00:00
Adds a start-of-execution-phase get-out for drives that aren't ready.
This commit is contained in:
parent
82b13e98f2
commit
b62f3e726a
@ -335,6 +335,10 @@ void i8272::posit_event(int event_type) {
|
||||
if(!dma_mode_) SetNonDMAExecution();
|
||||
SET_DRIVE_HEAD_MFM();
|
||||
LOAD_HEAD();
|
||||
if(!get_drive().get_is_ready()) {
|
||||
SetNotReady();
|
||||
goto abort;
|
||||
}
|
||||
}
|
||||
|
||||
// Jump to the proper place.
|
||||
|
Loading…
Reference in New Issue
Block a user