moved new MEGA65 keyboard handler to separate ROM segment

This commit is contained in:
FeralChild64 committed 2020-11-29 23:14:52 +01:00
1 parent 2a77b90b40
commit a6831d7619
5 files changed
+41 -3

No files matched your search

+5 -1
View File
@@ -1,4 +1,4 @@
;; #LAYOUT# M65 KERNAL_0 #TAKE
;; #LAYOUT# M65 KERNAL_C #TAKE
;; #LAYOUT# * * #IGNORE
@@ -127,6 +127,8 @@ m65_scnkey_next_1:
dex
bpl m65_scnkey_loop_1
rts
;
; Analyze currently and previously pressed keys
;
@@ -156,6 +158,8 @@ m65_scnkey_output_key:
; Put the key into the keyboard buffer
inc $D020
tya
ldy NDX
sta KEYD, y