Include display in debugging printout
This commit is contained in:
parent
d74b6594be
commit
f42a81c9b2
|
|
@ -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');
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue