Posted By
Crown on 2005-10-03 10:17:16
| Re: emulators bug
Yes that's what I meant too, that latching happens on write, it was just a little bit confusing the way I put it...
There was tough one test where the read out value changed after a while on a button press, sometimes it was enough to press one button sometime it needed more buttons pressed at one, but I need to investigate that further to see what is happening.
Back to the particular program, it should not work, beacuse it basically just loops on a $ff08 read, and its interrupt rutine calls the ROM keyboard handling directly. The ROM keyboard handling only writes $00 to $ff08 when it checks if there is any button pressed, and if one is pressed than it goes through the full keyboard scan, and the last written value to $ff08 and $fd30 is $ff, so basically it should never be able to detect a button press.... If this runs on a real hardware than thats something really strange...
|