work on new keyboard scanning routine

This commit is contained in:
FeralChild64 committed 2019-10-12 14:10:57 +02:00
1 parent 31d181aac3
commit 5b69467dc1
10 files changed
+319 -59

No files matched your search

+3 -3
View File
@@ -9,9 +9,9 @@ scnkey_set_keytab:
// Set initial KEYTAB value
lda #<keyboard_matrix
lda #<kb_matrix
sta KEYTAB+0
lda #>keyboard_matrix
lda #>kb_matrix
sta KEYTAB+1
// Calculate table index
@@ -21,7 +21,7 @@ scnkey_set_keytab:
tax
// Retrieve table offset
lda keyboard_matrix_lookup, x
lda kb_matrix_lookup, x
// Add offset to the vector
sec