Skip to content

Commit

Permalink
Improved compatibility with 1581 (especially when using 1581 JiffyDOS)
Browse files Browse the repository at this point in the history
  • Loading branch information
pi1541 committed Nov 25, 2018
1 parent 0bbe454 commit db643e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand All @@ -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();
Expand Down

0 comments on commit db643e8

Please sign in to comment.