aboutsummaryrefslogtreecommitdiff
path: root/src/output.c
diff options
context:
space:
mode:
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;
}