Got rid of runState, implemented a solution for WAIT
This commit is contained in:
parent
98081c6a6d
commit
b3ba03d0a5
7 changed files with 358 additions and 338 deletions
|
|
@ -1161,8 +1161,8 @@ CPUPDP11.prototype.startCPU = function(fUpdateFocus)
|
|||
var controlRun = this.bindings["run"];
|
||||
if (controlRun) controlRun.textContent = "Halt";
|
||||
if (this.cmp) {
|
||||
this.cmp.start(this.msStartRun, this.getCycles());
|
||||
if (fUpdateFocus) this.cmp.updateFocus(true);
|
||||
this.cmp.start(this.msStartRun, this.getCycles());
|
||||
}
|
||||
this.updateCPU(true);
|
||||
setTimeout(this.onRunTimeout, 0);
|
||||
|
|
|
|||
Loading…
Reference in a new issue