summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authoralekseiplusplus <alekseijeaves@protonmail.com>2023-12-01 08:21:14 +1100
committeralekseiplusplus <alekseijeaves@protonmail.com>2023-12-01 08:21:14 +1100
commit9ecaf2877f93664497110edf256fbc7825cd30f9 (patch)
tree959929f9d3b9a23a7a788d64f72fac367505e403 /src/main.c
parent88e6422ec31938fbff7b4fb9c5ddf63fc9f14a09 (diff)
stuck at number parsing inf. loop error
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/main.c b/src/main.c
index 036d06d..46e6ba5 100644
--- a/src/main.c
+++ b/src/main.c
@@ -4,11 +4,12 @@
#include <unistd.h>
int main() {
-
- TerminalInit();
+
AppleOn();
+ DisplayInit();
+
while(1) {
CallInstructionTable(GetMemory(PC), 0);
PrintInfo();
@@ -16,7 +17,7 @@ int main() {
//getch();
}
- TerminalClose();
+ DisplayClose();
return 0;
}