mauiaaron / apple2

Apple //e emulator
http://deadc0de.org/apple2ix
GNU General Public License v3.0
32 stars 3 forks source link

Rare timing glitch leads to significant emulation slowdown (apparent freeze) #27

Open mauiaaron opened 7 years ago

mauiaaron commented 7 years ago

Occasionally the CPU/timing loop gets confused and results in significant slowdown of emulation and it gets wedged indefinitely in this state. In the wedged slow state it appears to be executing only one 65c02 cycle before nanosleep()ing.

I have experienced this issue few times around save/restore functionality in the latest Android build. It is recoverable by restarting the app and the subsequent state restoration does not seem to be affected.

Possible testing/discovery scenarios: