fix keyboard buffer emptying handling
This commit is contained in:
1 parent
8a4f4928e5
commit
a60f262d84
2 files changed
+3
-1
No files matched your search
@@ -75,6 +75,7 @@ scan_keyboard:
|
||||
|
||||
;; Convert matrix position to key code
|
||||
;; XXX - Add offset of $40, $80 or $C0 if shift, CONTROL or C= are held down
|
||||
and #$3f
|
||||
tax
|
||||
lda keyboard_matrixes,x
|
||||
|
||||
@@ -86,6 +87,7 @@ scan_keyboard:
|
||||
inc keys_in_key_buffer
|
||||
|
||||
*
|
||||
lda keys_in_key_buffer
|
||||
|
||||
rts
|
||||
|
||||
|
||||
Reference in new issue
Block a user