finished the new keyboard scanning routine

This commit is contained in:
FeralChild64 committed 2019-10-16 18:57:13 +02:00
1 parent 5dedf1314e
commit 470c4bded6
8 files changed
+78 -36

No files matched your search

+11 -9
View File
@@ -273,15 +273,17 @@ scnkey_output_key:
!:
lda kb_matrix_128 - $40, y // retrieve key code from C128 extended matrix
cmp KEY_TAB_FW // special handling for SHIFT+TAB
bne scnkey_got_petscii
lda SHFLAG // special handling for SHIFT+TAB
and #KEY_FLAG_SHIFT
bne !+
lda KEY_TAB_FW
bne scnkey_got_petscii // branch alWAYS
!:
lda KEY_TAB_BW
// XXX this will be needed for extended screen editor
// cmp KEY_TAB_FW // special handling for SHIFT+TAB
// bne scnkey_got_petscii
// lda SHFLAG // special handling for SHIFT+TAB
// and #KEY_FLAG_SHIFT
// bne !+
// lda KEY_TAB_FW
// bne scnkey_got_petscii // branch alWAYS
// !:
// lda KEY_TAB_BW
#else