From c086f055ef676ca96e948340386cb04725916db3 Mon Sep 17 00:00:00 2001 From: Ian C Date: Sun, 4 Aug 2024 18:23:47 +0100 Subject: Started adding CBM tape file support. Still the bulk of it to do, but framework is there. --- src/example/c64-tap.asm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/example/c64-tap.asm (limited to 'src/example/c64-tap.asm') diff --git a/src/example/c64-tap.asm b/src/example/c64-tap.asm new file mode 100644 index 0000000..8094607 --- /dev/null +++ b/src/example/c64-tap.asm @@ -0,0 +1,24 @@ + ; Simple example C64 code + ; + + cpu 6502 + + option codepage,cbm + + option output-file,c64.tap + option output-format,cbm-tap + option cbm-tap-start,start + + org $820 + +main: + lda #0 + clc +loop: + sta 53280 + adc #1 + and #$0f + jmp loop + +start: + jmp main -- cgit v1.2.3