summaryrefslogtreecommitdiff
path: root/src/signetics.h
diff options
context:
space:
mode:
authoralekseiplusplus <alekseijeaves@protonmail.com>2023-07-27 11:36:01 +1000
committeralekseiplusplus <alekseijeaves@protonmail.com>2023-07-27 11:36:01 +1000
commit9a6188f821b11b69fff3d3a303dbfcce2e52e6f4 (patch)
treeb06aa0d876b19cca281cbc26db9086ab7241d6bd /src/signetics.h
parentb158eaeb489bce502198e844593b38a2f5f5b9ee (diff)
refactoring of src/cpu/
Diffstat (limited to 'src/signetics.h')
-rw-r--r--src/signetics.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/signetics.h b/src/signetics.h
index 28498e0..8442f11 100644
--- a/src/signetics.h
+++ b/src/signetics.h
@@ -2,13 +2,20 @@
// The Apple I came with its own terminal on-board, with a Signetics 2513 character ROM.
-/*byte CharacterROM[0x40] = {
+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', ':', ';', '<', '=', '>', '?'
-};*/
-//In case it comes in handy, which it probably wont.
+};
+
+byte* TerminalShiftRegister;
+int TerminalShiftRegisterOffset = 0;
+
+void InitVideo(){
+ TerminalShiftRegister = malloc(1024); //maybe 960
+}
+
byte ToAppleASCII(char x){
if (x < 32 || x > 95)