summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index ef09933..24ca710 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1,6 +1,7 @@
#include "apple.h"
#include "video/interface.h"
#include <ncurses.h>
+#include <unistd.h>
int main() {
@@ -9,7 +10,9 @@ int main() {
AppleOn();
while(1) {
- TerminalInput( UserInput() );
+ CallInstructionTable(GetMemory(PC), 0);
+ PrintInfo();
+ sleep(1);
}
TerminalClose();