diff options
author | Ian C <ianc@noddybox.co.uk> | 2016-04-06 23:37:07 +0100 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2016-04-06 23:37:07 +0100 |
commit | d99a9070450157dd8fc3e5d6ad5172af4cc0be59 (patch) | |
tree | 55d0b494d0ea1d1df8df08fe9f95495a5b7acc98 /src/output.c | |
parent | fdef5d70c1890c7970f31061184a73e699ccd9fb (diff) |
Added ZX81 output driver
Diffstat (limited to 'src/output.c')
-rw-r--r-- | src/output.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/output.c b/src/output.c index 4c03e4e..8476f9d 100644 --- a/src/output.c +++ b/src/output.c @@ -28,12 +28,6 @@ #include "global.h" #include "output.h" -#include "rawout.h" -#include "specout.h" -#include "t64out.h" -/* TODO #include "zx81out.h" */ - - /* ---------------------------------------- GLOBALS */ @@ -56,7 +50,8 @@ typedef enum { RAW, TAP, - T64 + T64, + ZX81 } Format; static char output[4096] = "output"; @@ -69,6 +64,7 @@ static ValueTable format_table[] = {"raw", RAW}, {"spectrum", TAP}, {"t64", T64}, + {"zx81", ZX81}, {NULL} }; @@ -142,6 +138,10 @@ int OutputCode(void) return T64Output(output, output_bank, bank, count, error, sizeof error); + case ZX81: + return ZX81Output(output, output_bank, bank, count, + error, sizeof error); + default: break; } |