summaryrefslogtreecommitdiff
path: root/src/main.c
blob: 24ca710487a39a0170c97e9b9d5780f4605571e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#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(1);
	}

	TerminalClose();

	return 0;
}