From 25302a2513307a3a41b76f5e568f0916713c0620 Mon Sep 17 00:00:00 2001 From: Ian C Date: Tue, 21 Sep 2021 21:17:14 +0100 Subject: Imported V1.9 --- src/example/t64.asm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/example/t64.asm (limited to 'src/example/t64.asm') diff --git a/src/example/t64.asm b/src/example/t64.asm new file mode 100644 index 0000000..b5a6ded --- /dev/null +++ b/src/example/t64.asm @@ -0,0 +1,24 @@ + ; Simple example C64 code + ; + + cpu 6502 + + option codepage,cbm + + option output-file,t64.t64 + option output-format,t64 + option t64-start,start + + org $820 + +main: + lda #0 + clc +loop: + sta 53280 + adc #1 + and #$0f + jmp loop + +start: + jmp main -- cgit v1.2.3