aboutsummaryrefslogtreecommitdiff
path: root/src/example
diff options
context:
space:
mode:
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: