minor CHRIN code size optimization

This commit is contained in:
FeralChild64 committed 2021-01-24 20:22:38 +01:00
1 parent a6a5bd9a24
commit dc5cc32e7b
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -136,7 +136,7 @@ chrin_enter_loop:
; Set mark informing that we are returning a line
ldy #$01
sty CRSW
sty CRSW ; XXX has to get previous PNTR+1, not 1
; Clear quote mode mark
dey ; set .Y to 0
@@ -158,4 +158,4 @@ chrkn_keyboard_not_enter:
; Print character, keep looking for input from keyboard until carriage return
jsr CHROUT
jsr pop_keyboard_buffer
jmp chrin_keyboard_repeat
+bra chrin_keyboard_read
@@ -143,7 +143,7 @@ m65_chrin_enter_loop:
; Set mark informing that we are returning a line
ldy #$01
sty CRSW
sty CRSW ; XXX has to get previous PNTR+1, not 1
; Clear quote mode mark
dey
@@ -166,4 +166,4 @@ m65_chrin_keyboard_not_enter:
; Print character, keep looking for input from keyboard until carriage return
jsr CHROUT
jsr pop_keyboard_buffer
jmp m65_chrin_keyboard_repeat
bra m65_chrin_keyboard_read