Debugger commands work with known IOPAGE symbols now
This commit is contained in:
parent
dba6d1cfae
commit
9746891780
8 changed files with 243 additions and 185 deletions
|
|
@ -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)
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in a new issue