removed obsolete TAB key support
This commit is contained in:
1 parent
9e96fe628b
commit
48aa05d575
17 files changed
+20
-125
No files matched your search
@@ -55,10 +55,6 @@ __kb_matrix_ctrl:
|
||||
!byte $9C,$12,$04,$1E,$03,$06,$14,$18
|
||||
!byte $1F,$19,$07,$9E,$02,$08,$15,$16
|
||||
!byte $12,$09,$0A,$92,$0D,$0B,$0F,$0E
|
||||
!ifdef CONFIG_EDIT_TABULATORS {
|
||||
!byte $00,$10,$0C,$00,KEY_C64_TAB_FW,$1B,$00,KEY_C64_TAB_BW
|
||||
} else {
|
||||
!byte $00,$10,$0C,$00,$00,$1B,$00,$00
|
||||
}
|
||||
!byte $1C,$00,$1D,$00,$00,$1F,$1E,$00
|
||||
!byte $90,$06,$00,$05,$00,$00,$11,$00
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
kb_matrix_128:
|
||||
|
||||
!byte KEY_HELP,$38,$35,KEY_C64_TAB_FW,$32,$34,$37,$31
|
||||
!byte KEY_HELP,$38,$35,$00,$32,$34,$37,$31 ; $00 replaces TAB key
|
||||
!byte KEY_ESC,$2B,$2D,$8D,$0D,$36,$39,$33
|
||||
!byte $00,$30,$2E,$91,$11,$9D,$1D,$00
|
||||
|
||||
|
||||
@@ -15,11 +15,11 @@
|
||||
|
||||
kb_matrix_65:
|
||||
|
||||
!byte $00, KEY_C64_TAB_FW, $00, KEY_HELP, KEY_F9, KEY_F11, KEY_F13, KEY_ESC
|
||||
!byte $00, $00, $00, KEY_HELP, KEY_F9, KEY_F11, KEY_F13, KEY_ESC
|
||||
|
||||
kb_matrix_65_shifted:
|
||||
|
||||
!byte $00, KEY_C64_TAB_BW, $00, KEY_HELP, KEY_F10, KEY_F12, KEY_F14, KEY_ESC
|
||||
!byte $00, $00, $00, KEY_HELP, KEY_F10, KEY_F12, KEY_F14, KEY_ESC
|
||||
|
||||
|
||||
} } ; CONFIG_KEYBOARD_C65 and no CONFIG_LEGACY_SCNKEY
|
||||
@@ -401,22 +401,6 @@ scnkey_handle_caps_lock:
|
||||
|
||||
scnkey_got_petscii:
|
||||
|
||||
!ifdef CONFIG_KEYBOARD_C128 { !ifdef CONFIG_EDIT_TABULATORS {
|
||||
|
||||
; Special handling for SHIFT+TAB; it is easier than creating new matrix
|
||||
|
||||
tax
|
||||
cmp #KEY_C64_TAB_FW
|
||||
bne @8
|
||||
lda SHFLAG
|
||||
and #KEY_FLAG_SHIFT
|
||||
beq @8
|
||||
ldx #KEY_C64_TAB_BW
|
||||
@8:
|
||||
txa
|
||||
|
||||
} } ; CONFIG_KEYBOARD_C128 and CONFIG_EDIT_TABULATORS
|
||||
|
||||
beq scnkey_no_keys ; branch if we have no PETSCII code for this key
|
||||
ldy NDX
|
||||
sta KEYD, y
|
||||
|
||||
@@ -29,10 +29,6 @@ __chrout_screen_jumptable_quote_guard:
|
||||
|
||||
!ifdef CONFIG_EDIT_STOPQUOTE {
|
||||
!byte KEY_STOP
|
||||
}
|
||||
!ifdef CONFIG_EDIT_TABULATORS {
|
||||
!byte KEY_C64_TAB_BW
|
||||
!byte KEY_C64_TAB_FW
|
||||
}
|
||||
!byte KEY_DEL
|
||||
!byte KEY_RETURN
|
||||
@@ -60,10 +56,6 @@ chrout_screen_jumptable_lo:
|
||||
!byte <(chrout_screen_INS-1)
|
||||
!ifdef CONFIG_EDIT_STOPQUOTE {
|
||||
!byte <(chrout_screen_STOP-1)
|
||||
}
|
||||
!ifdef CONFIG_EDIT_TABULATORS {
|
||||
!byte <(chrout_screen_TAB_BW-1)
|
||||
!byte <(chrout_screen_TAB_FW-1)
|
||||
}
|
||||
!byte <(chrout_screen_DEL-1)
|
||||
!byte <(chrout_screen_RETURN-1)
|
||||
@@ -85,10 +77,6 @@ chrout_screen_jumptable_hi:
|
||||
!byte >(chrout_screen_INS-1)
|
||||
!ifdef CONFIG_EDIT_STOPQUOTE {
|
||||
!byte >(chrout_screen_STOP-1)
|
||||
}
|
||||
!ifdef CONFIG_EDIT_TABULATORS {
|
||||
!byte >(chrout_screen_TAB_BW-1)
|
||||
!byte >(chrout_screen_TAB_FW-1)
|
||||
}
|
||||
!byte >(chrout_screen_DEL-1)
|
||||
!byte >(chrout_screen_RETURN-1)
|
||||
@@ -114,10 +102,6 @@ chrout_screen_jumptable:
|
||||
!word chrout_screen_INS
|
||||
!ifdef CONFIG_EDIT_STOPQUOTE {
|
||||
!word chrout_screen_STOP
|
||||
}
|
||||
!ifdef CONFIG_EDIT_TABULATORS {
|
||||
!word chrout_screen_TAB_BW
|
||||
!word chrout_screen_TAB_FW
|
||||
}
|
||||
!word chrout_screen_DEL
|
||||
!word chrout_screen_RETURN
|
||||
|
||||
@@ -1,42 +0,0 @@
|
||||
;; #LAYOUT# STD * #TAKE
|
||||
;; #LAYOUT# X16 * #IGNORE
|
||||
;; #LAYOUT# * KERNAL_0 #TAKE
|
||||
;; #LAYOUT# * * #IGNORE
|
||||
|
||||
;
|
||||
; Tabulation keys handling within CHROUT
|
||||
;
|
||||
|
||||
|
||||
!ifdef CONFIG_EDIT_TABULATORS {
|
||||
|
||||
|
||||
chrout_screen_TAB_FW:
|
||||
|
||||
jsr screen_get_clipped_PNTR
|
||||
tya
|
||||
ora #%00000111
|
||||
tay
|
||||
iny
|
||||
cpy #40
|
||||
bcc @1
|
||||
ldy #39
|
||||
@1:
|
||||
sty PNTR
|
||||
|
||||
jmp chrout_screen_calc_lptr_done
|
||||
|
||||
|
||||
chrout_screen_TAB_BW:
|
||||
|
||||
jsr screen_get_clipped_PNTR
|
||||
beq @2 ; column 0, recalculating pointers is not necessary, but this is a rare case nevertheless
|
||||
|
||||
dey
|
||||
tya
|
||||
and #%11111000
|
||||
sta PNTR
|
||||
@2:
|
||||
jmp chrout_screen_calc_lptr_done
|
||||
|
||||
} ; CONFIG_EDIT_TABULATORS
|
||||
Reference in new issue
Block a user