From f5745a73836338bce39a7111a392a4a1459240d7 Mon Sep 17 00:00:00 2001 From: giomba Date: Sun, 4 Dec 2022 20:53:52 +0100 Subject: [PATCH] Restart demo automatically. --- src/demo.bas | 3 +-- src/main.asm | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/demo.bas b/src/demo.bas index 106fdac..82bdb70 100644 --- a/src/demo.bas +++ b/src/demo.bas @@ -61,8 +61,7 @@ 690 nextd 700 fori=0to4 710 pokevt+1,0:nexti - 730 printfre(x);"bytes left" - 740 sys49148 + 740 sys64802 750 sp%(i)=j+1 760 tm%(i)=0:goto600 800 ifc$="x"thenreturn diff --git a/src/main.asm b/src/main.asm index 12626ec..374dba1 100644 --- a/src/main.asm +++ b/src/main.asm @@ -61,6 +61,8 @@ coldstart SUBROUTINE jsr $cb1e ; print null terminated string ; install fake chrin to hijack custom commands + lda #0 + sta fake_current_byte sei lda #