From e12820746e064f366f8d10488941fdaee0f40e12 Mon Sep 17 00:00:00 2001 From: Ian C Date: Thu, 11 Apr 2024 21:34:12 +0100 Subject: Turns out you do need the BASIC stub in a PRG. Updated docs and headers. --- src/example/vic20.asm | 6 ++++++ src/prgout.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/example/vic20.asm b/src/example/vic20.asm index 8bb222d..2da53a2 100644 --- a/src/example/vic20.asm +++ b/src/example/vic20.asm @@ -18,6 +18,12 @@ main: loop: sta 36879 adc #1 + pha + jsr $ffe4 + beq nokey + rts +nokey: + pla jmp loop start: diff --git a/src/prgout.c b/src/prgout.c index da14cae..39b70e1 100644 --- a/src/prgout.c +++ b/src/prgout.c @@ -19,7 +19,7 @@ ------------------------------------------------------------------------- - Commodore T64 tape output handler. + Commodore PRG output handler. */ #include -- cgit v1.2.3