From b45e7aab654cb327271ddc7db4072203bc57c4f7 Mon Sep 17 00:00:00 2001 From: Paul Gardner-Stephen Date: Mon, 29 Apr 2019 23:23:30 +0930 Subject: [PATCH] RUN does implicit CLR --- c64/basic/cmd_run.s | 3 +++ 1 file changed, 3 insertions(+) diff --git a/c64/basic/cmd_run.s b/c64/basic/cmd_run.s index 3667e0bb..c372a8fa 100644 --- a/c64/basic/cmd_run.s +++ b/c64/basic/cmd_run.s @@ -1,4 +1,7 @@ cmd_run: + ;; RUN clears all variables + jsr basic_do_clr + ;; Reset line pointer to first line of program. lda basic_start_of_text_ptr+0 sta basic_current_line_ptr+0