summaryrefslogtreecommitdiff
path: root/src/main.c
blob: 39ddbcc61005a13f6bb888a40e3c0b15146e7159 (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(3);
	}

	TerminalClose();

	return 0;
}