More ROM annotations

This commit is contained in:
Jeff Parsons 2015-04-14 08:23:23 -07:00 committed by jeffpar
commit 2339de01f9
6 changed files with 253 additions and 174 deletions

View file

@ -2328,7 +2328,10 @@ if (DEBUGGER) {
var msTotal = ms - this.msStart;
var nCyclesPerSecond = (msTotal > 0? Math.round(this.nCycles * 1000 / msTotal) : 0);
sStopped += " (";
if (this.checksEnabled()) sStopped += this.cInstructions + " ops, ";
if (this.checksEnabled()) {
sStopped += this.cInstructions + " ops, ";
this.cInstructions = 0; // remove this line if you want to maintain a longer total
}
sStopped += this.nCycles + " cycles, " + msTotal + " ms, " + nCyclesPerSecond + " hz)";
if (MAXDEBUG && this.chipset) {
var i, c, n;