STOP key now terminates loading, some cleanups

This commit is contained in:
FeralChild64 committed 2019-10-30 21:26:26 +01:00
1 parent 18dc9d9b61
commit 1065930539
5 files changed
+36 -16

No files matched your search

+6 -9
View File
@@ -8,10 +8,9 @@ chrout_screen_control:
txa
// Order here is not random
// 1. First handle the ones that do not depend on quoote mode
// 1. First handle the ones that do not depend on quote mode
// 2. Handle remaining control codes starting from the most commonly used
// in situations when speed might matter, we want to be
// as snappy as possible
// We want to be as snappy as possible
chrout_try_RETURN:
@@ -28,15 +27,13 @@ chrout_try_RETURN:
chrout_try_DEL:
cmp #KEY_DEL
bne !+
jmp chrout_screen_DEL
!:
beq_far chrout_screen_DEL
chrout_try_INS:
cmp #KEY_INS
bne !+
jmp chrout_screen_INS
!:
beq_far chrout_screen_INS
#if CONFIG_EDIT_STOPQUOTE
chrout_try_STOP:
@@ -4,6 +4,7 @@
// starting from the least probable routine
//
chrout_screen_jumptable_codes:
.byte KEY_CLR
@@ -21,6 +22,7 @@ chrout_screen_jumptable_codes:
__chrout_screen_jumptable_codes_end:
chrout_screen_jumptable_lo:
.byte <(chrout_screen_CLR - 1)
@@ -36,6 +38,7 @@ chrout_screen_jumptable_lo:
.byte <(chrout_screen_CRSR_DOWN - 1)
.byte <(chrout_screen_CRSR_UP - 1)
chrout_screen_jumptable_hi:
.byte >(chrout_screen_CLR - 1)