From d99a9070450157dd8fc3e5d6ad5172af4cc0be59 Mon Sep 17 00:00:00 2001 From: Ian C Date: Wed, 6 Apr 2016 23:37:07 +0100 Subject: Added ZX81 output driver --- src/output.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/output.c') 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; } -- cgit v1.2.3