work on new keyboard scanning routine
This commit is contained in:
1 parent
31d181aac3
commit
5b69467dc1
10 files changed
+319
-59
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user