summaryrefslogtreecommitdiff
path: root/src/video/interface.h
diff options
context:
space:
mode:
authoralekseiplusplus <alekseijeaves@protonmail.com>2023-11-29 17:38:56 +1100
committeralekseiplusplus <alekseijeaves@protonmail.com>2023-11-29 17:38:56 +1100
commit44a1ea6542c812b173fb9685837c0b2fdc6a7c61 (patch)
tree5ca86b97f79c38a07d4c532be6edcc12a887cbc1 /src/video/interface.h
parent8d3aaacf14997bbac177ae37ccab4618264cf29c (diff)
bug fix apple.c:9 + inconsequential refactoring
Diffstat (limited to 'src/video/interface.h')
-rw-r--r--src/video/interface.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/video/interface.h b/src/video/interface.h
index 5100032..e3244b0 100644
--- a/src/video/interface.h
+++ b/src/video/interface.h
@@ -1,11 +1,19 @@
// interface.h
// Provides the interface with which all video interactions must occur.
+#pragma once
+
+#include "../cpu/core.h"
+#include <stdlib.h>
+
// Common procedure for taking in user input.
char UserInput();
+// Initialization procedure for the terminal
void TerminalInit();
+// Exit procedure for the terminal.
void TerminalClose();
-void TerminalInput(char n);
+// Deliver an Apple ASCII character to the terminal.
+void TerminalInput(char n); \ No newline at end of file