From f595af2c41467c8aed760fe87217c809ab0f9e1f Mon Sep 17 00:00:00 2001 From: Paul Gardner-Stephen Date: Tue, 7 May 2019 10:10:14 +0930 Subject: [PATCH] fix routine we had changed to be less coincidentally similar to one in C64 BASIC so that it works. --- c64/basic/cmd_new.s | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/c64/basic/cmd_new.s b/c64/basic/cmd_new.s index 48994d35..ce355946 100644 --- a/c64/basic/cmd_new.s +++ b/c64/basic/cmd_new.s @@ -24,10 +24,10 @@ basic_do_new: ;; Zero line pointer ;; XXX - We should also zero $0800, i.e., basic_start_of_text_ptr - 1 - ldy #$01 + ldy #$00 tya sta (basic_start_of_text_ptr),y - dey + iny sta (basic_start_of_text_ptr),y