summaryrefslogtreecommitdiff
path: root/src/main.c
blob: f7a6a006f7fea203f5d16c646c23d9c3213447d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include "apple.h"
#include "video/interface.h"
#include <ncurses.h>
#include <unistd.h>

int main() {
	
	TerminalInit();

	AppleOn();

	while(1) {
		CallInstructionTable(GetMemory(PC), 0);
		PrintInfo();
		//sleep(3);
		getch();
	}

	TerminalClose();

	return 0;
}