aboutsummaryrefslogtreecommitdiff
path: root/src/example/c64.asm
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2016-03-21 15:35:43 +0000
committerIan C <ianc@noddybox.co.uk>2016-03-21 15:35:43 +0000
commit7c361248bba7799400dee7b7b1dc33f5dadcf3a4 (patch)
tree88437733db07e1c919d3a8385d17304610e80147 /src/example/c64.asm
parent765c8e3f85b172a155a9172ec3bc8a6fb965f671 (diff)
Added initial version of T64 output driver.
Diffstat (limited to 'src/example/c64.asm')
-rw-r--r--src/example/c64.asm19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/example/c64.asm b/src/example/c64.asm
new file mode 100644
index 0000000..5e80223
--- /dev/null
+++ b/src/example/c64.asm
@@ -0,0 +1,19 @@
+ ; Simple example C64 code
+ ;
+
+ cpu 6502
+
+ option codepage,cbm
+
+ option output-file,c64.t64
+ option output-format,t64
+
+ org $6000
+
+ lda #0
+ clc
+loop:
+ sta 53280
+ adc #1
+ and #$0f
+ jmp loop