MEGA65/open-roms

Keyboard scanning routine puts 0 into $91 (STKEY)

Closed this issue · 2 comments

Even if no key is pressed, the STKEY ($91) contains 0. Result: STOP routine thinks, that the RUN/STOP is constantly pressed. Also, the NMI routine (in the works in FeralChild64 fork) thinks the STOP key is always pressed, causing warm start as soon as RESTORE is pressed.

Looks like the reason was uninitialized STKEY variable - if I didn't miss anything, the fix is simple: FeralChild64@7bc7667

Problem fixed in the commit mentioned above.