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/output.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/output.c') diff --git a/src/output.c b/src/output.c index b02e36f..93abd72 100644 --- a/src/output.c +++ b/src/output.c @@ -58,7 +58,8 @@ typedef enum NES, CPC, PRG, - HEX + HEX, + CBM_TAP } Format; static char output[4096] = "output"; @@ -79,6 +80,7 @@ static ValueTable format_table[] = {"cpc", CPC}, {"prg", PRG}, {"hex", HEX}, + {"cbm-tap", CBM_TAP}, {NULL} }; @@ -184,6 +186,10 @@ int OutputCode(void) return HEXOutput(output, output_bank, bank, count, error, sizeof error); + case CBM_TAP: + return CBMTAPOutput(output, output_bank, bank, count, + error, sizeof error); + default: break; } -- cgit v1.2.3