1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
#include "apple.h" #include "video/interface.h" #include <ncurses.h> #include <unistd.h> int main() { AppleOn(); DisplayInit(); while(1) { CallInstructionTable(GetMemory(PC), 0); PrintInfo(); //sleep(3); //getch(); } DisplayClose(); return 0; }