aboutsummaryrefslogtreecommitdiff
path: root/src/example
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2024-04-11 21:34:12 +0100
committerIan C <ianc@noddybox.co.uk>2024-04-11 21:34:12 +0100
commite12820746e064f366f8d10488941fdaee0f40e12 (patch)
tree43c37310f39c783493011de4caa14e6e45aca178 /src/example
parent5263696a44cc4f2c23e53dd68af0c66efd1fd896 (diff)
Turns out you do need the BASIC stub in a PRG. Updated docs and headers.
Diffstat (limited to 'src/example')
-rw-r--r--src/example/vic20.asm6
1 files changed, 6 insertions, 0 deletions
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: