aboutsummaryrefslogtreecommitdiff
path: root/src/output.c
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2024-08-04 18:23:47 +0100
committerIan C <ianc@noddybox.co.uk>2024-08-04 18:23:47 +0100
commitc086f055ef676ca96e948340386cb04725916db3 (patch)
tree6a7cda12d663d1027351d6d98c2d98bc0face5b2 /src/output.c
parent38f98a4d81042befe65fd84c33eeea806ecc5c86 (diff)
Started adding CBM tape file support. Still the bulk of it to do, butHEADmaster
framework is there.
Diffstat (limited to 'src/output.c')
-rw-r--r--src/output.c8
1 files changed, 7 insertions, 1 deletions
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;
}