fix errors with multi-key detection, including cursor left/up in VICE. Issue #6.

This commit is contained in:
Paul Gardner-Stephen committed 2019-04-23 09:44:03 +09:30
1 parent 07e7b31b84
commit 201f1a378f
1 file changed
+6 -4
+6 -4
View File
@@ -283,7 +283,6 @@ skip0:
lsr
lsr
and #$01
sta $044f
ora key_bucky_state
sta key_bucky_state
@@ -384,12 +383,15 @@ no_case_toggle:
RecordKeypress:
;; // New Key Detected
ldy BufferQuantity
cpy #MaxKeyRollover
bcc TooManyNewKeys
cpy #$ff
beq +
cpy #MaxKeyRollover-1
bcs TooManyNewKeys
*
iny
sty BufferQuantity
sta Buffer,y
Exist:
dex
bpl -