summaryrefslogtreecommitdiff
path: root/src/video/signetics.c
diff options
context:
space:
mode:
authoralekseiplusplus <alekseijeaves@protonmail.com>2023-11-28 12:02:07 +1100
committeralekseiplusplus <alekseijeaves@protonmail.com>2023-11-28 12:02:07 +1100
commitb4452ce8455ded6ecd4373ba30323c5c245260e8 (patch)
tree4dc718c3de1e2c26a3a0c988af33058fd1ddf421 /src/video/signetics.c
parent2ded6baaab3946e461a7cf0b39618b31e5806c89 (diff)
terminal
Diffstat (limited to 'src/video/signetics.c')
-rw-r--r--src/video/signetics.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/video/signetics.c b/src/video/signetics.c
index 944ac4d..c6dca10 100644
--- a/src/video/signetics.c
+++ b/src/video/signetics.c
@@ -1,6 +1,7 @@
// signetics.h
-// The Apple I came with its own terminal on-board, with a Signetics 2513 character ROM, and multiple shift registers acting as video memory.
-#include"cpu/core.h"
+// Signetics refers to the various Signetics brand chips which the Apple I came with, including a character ROM, and a shift-register based video memory.
+
+#include"../cpu/core.h"
#include"stdlib.h"
const byte CharacterROM[0x40] = {
@@ -10,7 +11,9 @@ const byte CharacterROM[0x40] = {
'0' , '1' , '2' , '3' , '4' , '5' , '6' , '7' , '8' , '9' , ':' , ';' , '<' , '=' , '>' , '?'
};
-byte* TerminalShiftRegister;
+const byte* TerminalShiftRegister;
+
+byte* TerminalShiftRegisterPosition;
int TerminalShiftRegisterOffset;