From b62f3e726a9e970fa88bba20f0f0f6d7f3613007 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Tue, 12 Sep 2017 20:43:53 -0400 Subject: [PATCH] Adds a start-of-execution-phase get-out for drives that aren't ready. --- Components/8272/i8272.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Components/8272/i8272.cpp b/Components/8272/i8272.cpp index 39a7e9035..62ffab6c9 100644 --- a/Components/8272/i8272.cpp +++ b/Components/8272/i8272.cpp @@ -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.