#include "apple.h" #include "video/interface.h" #include #include int main() { AppleOn(); DisplayInit(); FILE *Log = fopen("log/log.raw", "w+"); int Time = 0; while(1) { // Logging fprintf(Log, "%04x : %04x\n", Time, PC); fflush(Log); // Computing CallInstructionTable(GetMemory(PC), 0); // Display information PrintInfo(); // Logging Time++; } DisplayClose(); return 0; }