aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/example/vic20.asm6
-rw-r--r--src/prgout.c2
2 files changed, 7 insertions, 1 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:
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 <stdlib.h>