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/codepage.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/codepage.c') diff --git a/src/codepage.c b/src/codepage.c index 4cbc1bc..cecdf66 100644 --- a/src/codepage.c +++ b/src/codepage.c @@ -101,8 +101,8 @@ static CodepageDef cp_ascii[] = static CodepageDef cp_zx81[] = { - {' ', 0x00}, {'!', 0x00}, {'"', 0x0b}, {'#', 0x0c}, - {'$', 0x0d}, {'%', 0x00}, {'&', 0x00}, {'\'', 0x0b}, + {' ', 0x00}, {'!', 0x8f}, {'"', 0x0b}, {'#', 0x0c}, + {'$', 0x0d}, {'%', 0x00}, {'&', 0x00}, {'\'', 0x8b}, {'(', 0x10}, {')', 0x11}, {'*', 0x17}, {'+', 0x15}, {',', 0x1a}, {'-', 0x16}, {'.', 0x1b}, {'/', 0x24}, {'0', 0x1c}, {'1', 0x1d}, {'2', 0x1e}, {'3', 0x1f}, @@ -116,15 +116,15 @@ static CodepageDef cp_zx81[] = {'P', 0xb5}, {'Q', 0xb6}, {'R', 0xb7}, {'S', 0xb8}, {'T', 0xb9}, {'U', 0xba}, {'V', 0xbb}, {'W', 0xbc}, {'X', 0xbd}, {'Y', 0xbe}, {'Z', 0xbf}, {'[', 0x10}, - {'\\', 0x24}, {']', 0x11}, {'^', 0xde}, {'_', 0x80}, - {'`', 0x60}, {'a', 0x26}, {'b', 0x27}, {'c', 0x28}, + {'\\', 0x98}, {']', 0x11}, {'^', 0xde}, {'_', 0x80}, + {'`', 0x76}, {'a', 0x26}, {'b', 0x27}, {'c', 0x28}, {'d', 0x29}, {'e', 0x2a}, {'f', 0x2b}, {'g', 0x2c}, {'h', 0x2d}, {'i', 0x2e}, {'j', 0x2f}, {'k', 0x30}, {'l', 0x31}, {'m', 0x32}, {'n', 0x33}, {'o', 0x34}, {'p', 0x35}, {'q', 0x36}, {'r', 0x37}, {'s', 0x38}, {'t', 0x39}, {'u', 0x3a}, {'v', 0x3b}, {'w', 0x3c}, {'x', 0x3d}, {'y', 0x3e}, {'z', 0x3f}, {'{', 0x90}, - {'|', 0x00}, {'}', 0x91}, {'~', 0x96}, + {'|', 0x80}, {'}', 0x91}, {'~', 0x96}, {0, 0} }; -- cgit v1.2.3