floooh / yakc

Yet another KC emulator
MIT License
108 stars 9 forks source link

KC85/4 freezes since input rewrite.. #25

Closed floooh closed 8 years ago

floooh commented 8 years ago

At least in the web version, running in Chrome, the KC85/4 emu is quite freeze happy (try a Hello World BASIC program with nested loop)

floooh commented 8 years ago

hmm, problem does not seem to happen in native version, may be still related to this problem? https://bugs.chromium.org/p/chromium/issues/detail?id=611976

floooh commented 8 years ago

How to reproduce: play around in KC87 a bit, go to BASIC, do a BEEP. Then boot to KC85/4, go to BASIC, and do a BEEP -> freeze. I guess there's a problem in the min/max cycle limiter.

floooh commented 8 years ago

Ah oh wow the daisy chain goes into an infinite recursion in z80int::request_interrupt() when it calls z80int::disable_interrupt... one of the daisy-chain devices is connected somehow to itself