From fab8839c769a9745e23a0280ed72533c86db270b Mon Sep 17 00:00:00 2001 From: Paul Gardner-Stephen Date: Sun, 5 May 2019 22:36:17 +0930 Subject: [PATCH] allow RUN/STOP to stop LIST command. --- c64/basic/cmd_list.s | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/c64/basic/cmd_list.s b/c64/basic/cmd_list.s index 6cce9da7..2d3f02c8 100644 --- a/c64/basic/cmd_list.s +++ b/c64/basic/cmd_list.s @@ -21,7 +21,15 @@ list_loop: ;; (Confirmed by testing on a C64) jmp basic_main_loop +list_break: + jsr printf + .byte "BREAK",$0d,0 + jmp basic_main_loop + list_more_lines: + lda BUCKYSTATUS + bpl list_break + ;; Print line number ldy #3 jsr peek_under_roms