Cleaned up OPFLAG handling
This commit is contained in:
parent
b3ba03d0a5
commit
98d3700fa4
8 changed files with 381 additions and 361 deletions
|
|
@ -1092,7 +1092,9 @@ CPUPDP11.prototype.runCPU = function()
|
|||
}
|
||||
|
||||
/*
|
||||
* nCycles is how many cycles stepCPU() actually ran (nBurstCycles less any remaining nStepCycles).
|
||||
* nCycles is how many cycles stepCPU() actually ran (nBurstCycles less any remaining nStepCycles);
|
||||
* that calculation matches the return value from stepCPU(), but since it may have thrown an exception,
|
||||
* we can't rely on it.
|
||||
*/
|
||||
var nCycles = this.nBurstCycles - this.nStepCycles;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue