PDP-10 Debugger now supports command overrides from the page settings

This commit is contained in:
Jeff 2017-03-17 10:21:15 -07:00 • committed by Jeff Parsons
commit 639db42178
14 changed files with 18254 additions and 96252 deletions

View file

@ -331,11 +331,17 @@ class DebuggerPDP10 extends Debugger {
this.nBusWidth = bus.getWidth();
/*
* Re-initialize Debugger message support if necessary
* Override the Debugger's message configuration if specified.
*/
var sMessages = /** @type {string|undefined} */ (cmp.getMachineParm('messages'));
if (sMessages) this.messageInit(sMessages);
/*
* Override the Debugger's initialization commands if specified.
*/
var sCommands = /** @type {string|undefined} */ (cmp.getMachineParm('commands'));
if (sCommands) this.sInitCommands = sCommands;
/*
* Update aOpReserved as appropriate for the current model
*/