ibrumby / Crossrunner-Issues

Post any issues with Crossrunner here
17 stars 0 forks source link

Keyboard strobe repeats previous key code on initial key down #19

Open lscharen opened 5 months ago

lscharen commented 5 months ago

Possibly related to this commit.

Reading the keyboard strobe ($C010) will return a copy of the prior keypress when the high bit is set before setting the new keypress value. This is illustrated with the following assembly program

image

With a small driver to wait for a keypress and then call $FDED to output the character

image

Running this driver in a loop from AppleSoft and pressing the key sequence 1,2,3,4,5,6,7,8,9,0 results in this output.

image