1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-12-25 18:30:21 +00:00

Adds a start-of-execution-phase get-out for drives that aren't ready.

This commit is contained in:
Thomas Harte 2017-09-12 20:43:53 -04:00
parent 82b13e98f2
commit b62f3e726a

View File

@ -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.