From db643e8d0e6d05046e947a21bfe5fafd712acdc6 Mon Sep 17 00:00:00 2001 From: Stephen White Date: Sun, 25 Nov 2018 21:47:24 +1100 Subject: [PATCH] Improved compatibility with 1581 (especially when using 1581 JiffyDOS) --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 047cc25..9733ed7 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -916,9 +916,10 @@ EXIT_TYPE Emulate1581(FileBrowser* fileBrowser) } pi1581.m6502.Step(); pi1581.Update(); - IEC_Bus::RefreshOuts1581(); // Now output all outputs. } + IEC_Bus::RefreshOuts1581(); // Now output all outputs. + //if (cycleCount >= FAST_BOOT_CYCLES) // cycleCount is used so we can quickly get through 1541's self test code. This will make the emulated 1541 responsive to commands asap. During this time we don't need to set outputs. { IEC_Bus::OutputLED = pi1581.IsLEDOn(); @@ -945,7 +946,6 @@ EXIT_TYPE Emulate1581(FileBrowser* fileBrowser) } } - // Other core will check the uart (as it is slow) (could enable uart irqs - will they execute on this core?) inputMappings->CheckKeyboardEmulationMode(numberOfImages, numberOfImagesMax); inputMappings->CheckButtonsEmulationMode();