From 3a58c781c7bc2719bb64241fd6998dcaf8ba3020 Mon Sep 17 00:00:00 2001 From: Paul Gardner-Stephen Date: Mon, 29 Apr 2019 22:05:12 +0930 Subject: [PATCH] carriage return clears quote and insert modes --- c64/kernal/chrout.s | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/c64/kernal/chrout.s b/c64/kernal/chrout.s index 8fbb5309..7d6c1d03 100644 --- a/c64/kernal/chrout.s +++ b/c64/kernal/chrout.s @@ -34,6 +34,10 @@ not_0a: ;; Carriage return cmp #$0d bne not_0d + ;; RETURN clears quote and insert modes + lda #$00 + sta quote_mode_flag + sta insert_mode jmp screen_advance_to_next_line not_0d: