Print header with timestamp when running
This commit is contained in:
parent
d1a84748fc
commit
ae7be9e357
|
|
@ -188,7 +188,10 @@ function CPU(mem) {
|
||||||
|
|
||||||
this.run_program = () => {
|
this.run_program = () => {
|
||||||
console.log();
|
console.log();
|
||||||
console.log( "Running program..." );
|
console.log("————————————————————————————————————————");
|
||||||
|
let time = new Date();
|
||||||
|
console.log( `Running at ${time.toLocaleTimeString('en-US')}` );
|
||||||
|
console.log("————————————————————————————————————————");
|
||||||
log_debug_state();
|
log_debug_state();
|
||||||
|
|
||||||
this.running = true;
|
this.running = true;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue