More Debugger tweaks

This commit is contained in:
Jeff Parsons 2014-11-19 22:11:21 -08:00 committed by jeffpar
commit 22cef22c78
2 changed files with 6 additions and 3 deletions

View file

@ -2103,7 +2103,7 @@ ChipSet.prototype.dumpTimer = function()
count |= (timer.countCurrent[i] << (i * 8));
}
}
sDump += " MODE" + timer.mode + " BYTES=" + timer.countBytes + " COUNT=" + str.toHexWord(count);
sDump += " mode=" + timer.mode + " bytes=" + timer.countBytes + " count=" + str.toHexWord(count);
this.dbg.message(sDump);
}
}

View file

@ -521,7 +521,7 @@ if (DEBUGGER) {
"8042": Debugger.MESSAGE.C8042,
"chipset": Debugger.MESSAGE.CHIPSET, // ie, anything else in ChipSet besides DMA, PIC, TIMER, CMOS, RTC and 8042
"kbd": Debugger.MESSAGE.KBD,
"keys": Debugger.MESSAGE.KEYS,
"key": Debugger.MESSAGE.KEYS, // using "keys" instead of "key" causes an unfortunate JavaScript property collision
"video": Debugger.MESSAGE.VIDEO,
"fdc": Debugger.MESSAGE.FDC,
"hdc": Debugger.MESSAGE.HDC,
@ -1350,7 +1350,10 @@ if (DEBUGGER) {
*/
Debugger.prototype.dumpDOS = function(s)
{
if (!s) return;
if (!s) {
this.println("no MCB");
return;
}
this.println("dumpDOS(" + s + ")");