implement bucky keys in keyboard scan routine

This commit is contained in:
Paul Gardner-Stephen committed 2019-04-20 23:04:50 +09:30
1 parent 513677ac6a
commit ab34a1de51
2 files changed
+64 -8

No files matched your search

+6
View File
@@ -75,7 +75,13 @@ scan_keyboard:
;; Convert matrix position to key code
;; XXX - Add offset of $40, $80 or $C0 if shift, CONTROL or C= are held down
pha
lda key_bucky_state
and #$7
tax
pla
and #$3f
ora keyboard_matrix_lookup,x
tax
lda keyboard_matrixes,x
;; But don't insert $00 characters