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; }