From 2ded6baaab3946e461a7cf0b39618b31e5806c89 Mon Sep 17 00:00:00 2001 From: alekseiplusplus Date: Tue, 28 Nov 2023 02:51:33 +1100 Subject: days end --- src/signetics.h | 34 ---------------------------------- 1 file changed, 34 deletions(-) delete mode 100644 src/signetics.h (limited to 'src/signetics.h') diff --git a/src/signetics.h b/src/signetics.h deleted file mode 100644 index 45f9a3a..0000000 --- a/src/signetics.h +++ /dev/null @@ -1,34 +0,0 @@ -// signetics.h -// The Apple I came with its own terminal on-board, with a Signetics 2513 character ROM. -#include"cpu/core.h" -#include"stdlib.h" - -const byte CharacterROM[0x40] = { - '@' , 'A' , 'B' , 'C' , 'D' , 'E' , 'F' , 'G' , 'H' , 'I' , 'J' , 'K' , 'L' , 'M' , 'N' , 'O' , - 'P' , 'Q' , 'R' , 'S' , 'T' , 'U' , 'V' , 'W' , 'X' , 'Y' , 'Z' , '[' , '\\', ']' , '^' , '_' , - ' ' , '!' , '"' , '#' , '$' , '%' , '&' , '\'', '(' , ')' , '*' , '+' , ',' , '-' , '.' , '/' , - '0' , '1' , '2' , '3' , '4' , '5' , '6' , '7' , '8' , '9' , ':' , ';' , '<' , '=' , '>' , '?' -}; - -byte* TerminalShiftRegister; - -int TerminalShiftRegisterOffset = 0; - -void InitSignetics(){ - TerminalShiftRegister = (byte*)malloc(1024); //maybe 960 -} - -byte ToAppleASCII(char x){ - if (x < 32 || x > 95) - return -1; - if (x >= 64) - x -= 64; - return x; -} - -byte ToRegularASCII(char x){ - if (x < 32) - x += 64; - return x; -} - -- cgit v1.2.3