Include display in debugging printout

This commit is contained in:
n loewen 2023-08-01 15:34:00 +01:00
parent d74b6594be
commit f42a81c9b2
1 changed files with 4 additions and 0 deletions

View File

@ -191,7 +191,11 @@ exports.runProgram = (code) => {
if (!CPU.running) break;
if (CPU.IP >= CPU.memory.length) break;
stepCPU();
console.group('Display')
display.printDisplay(CPU.memory);
console.log();
console.groupEnd('Display');
};
};
}