refactor keyboard scanner somewhat, and have no variables in ROM(!)

This commit is contained in:
Paul Gardner-Stephen committed 2019-04-20 00:59:09 +09:30
1 parent 99b06b843e
commit 67b2f3fc7d
2 files changed
+22 -13

No files matched your search

+9
View File
@@ -27,5 +27,14 @@ default_irq_handler:
jsr blink_cursor
jsr scan_keyboard
lda KeyQuantity
sta $0400
lda Buffer+0
sta $0401
lda Buffer+1
sta $0402
lda Buffer+2
sta $0403
jmp return_from_interrupt