Closed dirkwhoffmann closed 3 years ago
TODO: Check where the 79 comes from...
Solved. The upper bit of the "9" is the light pen interrupt bit. Commodore had the tendency to wire multiple lines together, and the light pen line is no exception. It shares a connection with the keyboard matrix which means that a light pen interrupt is signalled when certain keys are pressed. One key is the SPACE key which solves the issue here. In the regression script, the program is loaded via LOAD"TEST",8
(without space) whereas in my manual experiment, the test was loaded via LOAD "TEST",8
(with space).
Good news first: The test succeeds when run via the regression script:
When run manually (directly after power up), it fails:
TODO: Check where the 79 comes from...