added support for SHIFT+RETURN

This commit is contained in:
FeralChild64 committed 2020-12-07 18:54:48 +01:00
1 parent 3fb7e88075
commit ccf6191f5f
3 files changed
+7

No files matched your search

+1
View File
@@ -136,6 +136,7 @@
; PETSCII codes for other non-printable characters ; PETSCII codes for other non-printable characters
!set KEY_RETURN = $0D !set KEY_RETURN = $0D
!set KEY_SHIFT_RETURN = $8D
!set KEY_CLR = $93 !set KEY_CLR = $93
!set KEY_HOME = $13 !set KEY_HOME = $13
!set KEY_INS = $94 !set KEY_INS = $94
@@ -32,6 +32,7 @@ __chrout_screen_jumptable_quote_guard:
} }
!byte KEY_DEL !byte KEY_DEL
!byte KEY_RETURN !byte KEY_RETURN
!byte KEY_SHIFT_RETURN
__chrout_screen_jumptable_codes_end: __chrout_screen_jumptable_codes_end:
@@ -59,6 +60,7 @@ chrout_screen_jumptable_lo:
} }
!byte <(chrout_screen_DEL-1) !byte <(chrout_screen_DEL-1)
!byte <(chrout_screen_RETURN-1) !byte <(chrout_screen_RETURN-1)
!byte <(chrout_screen_RETURN-1)
chrout_screen_jumptable_hi: chrout_screen_jumptable_hi:
@@ -80,6 +82,7 @@ chrout_screen_jumptable_hi:
} }
!byte >(chrout_screen_DEL-1) !byte >(chrout_screen_DEL-1)
!byte >(chrout_screen_RETURN-1) !byte >(chrout_screen_RETURN-1)
!byte >(chrout_screen_RETURN-1)
} else { ; HAS_OPCODES_65C02 } else { ; HAS_OPCODES_65C02
@@ -105,4 +108,5 @@ chrout_screen_jumptable:
} }
!word chrout_screen_DEL !word chrout_screen_DEL
!word chrout_screen_RETURN !word chrout_screen_RETURN
!word chrout_screen_RETURN
} }
@@ -75,6 +75,7 @@ __m65_chrout_screen_jumptable_quote_guard:
!byte KEY_STOP !byte KEY_STOP
!byte KEY_DEL !byte KEY_DEL
!byte KEY_RETURN !byte KEY_RETURN
!byte KEY_SHIFT_RETURN
__m65_chrout_screen_jumptable_codes_end: __m65_chrout_screen_jumptable_codes_end:
@@ -108,3 +109,4 @@ m65_chrout_screen_jumptable:
!word m65_chrout_screen_STOP !word m65_chrout_screen_STOP
!word m65_chrout_screen_DEL !word m65_chrout_screen_DEL
!word m65_chrout_screen_RETURN !word m65_chrout_screen_RETURN
!word m65_chrout_screen_RETURN