Debugger commands work with known IOPAGE symbols now

This commit is contained in:
Jeff Parsons 2016-12-05 15:38:46 -08:00 committed by Jeff Parsons
commit 9746891780
8 changed files with 243 additions and 185 deletions

View file

@ -1250,6 +1250,20 @@ if (DEBUGGER) {
return value;
};
/**
* getSymbolValue(sSymbol)
*
* NOTE: At this time, the only symbols we support are those IOPAGE symbols that the Bus component knows about.
*
* @this {DebuggerPDP11}
* @param {string} sSymbol
* @return {number|undefined|null}
*/
DebuggerPDP11.prototype.getSymbolValue = function(sSymbol)
{
return this.bus.getAddrByName(sSymbol);
};
/**
* replaceRegs(s)
*