Cleaned up OPFLAG handling

This commit is contained in:
Jeff 2016-09-29 14:02:37 -07:00 committed by Jeff Parsons
commit 98d3700fa4
8 changed files with 381 additions and 361 deletions

View file

@ -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;