PDP-10 Debugger now supports command overrides from the page settings
This commit is contained in:
parent
9c96ec14ad
commit
639db42178
14 changed files with 18254 additions and 96252 deletions
10131
apps/pdp10/tapes/diags/klad/dakaa/DAKAA.LST.txt
Normal file
10131
apps/pdp10/tapes/diags/klad/dakaa/DAKAA.LST.txt
Normal file
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
7993
apps/pdp10/tapes/diags/klad/dakad/DAKAD.LST.txt
Normal file
7993
apps/pdp10/tapes/diags/klad/dakad/DAKAD.LST.txt
Normal file
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -8,5 +8,5 @@
|
|||
<device id="default" type="default"/>
|
||||
<serial id="serial" adapter="0" binding="print" upperCase="true"/>
|
||||
<panel ref="/devices/pdp10/panel/ka10/debugger/front.xml"/>
|
||||
<debugger id="debugger" base="8" messages='' commands='a 30724 "/apps/pdp10/tapes/diags/klad/dakaa/TEST.MAC"'/>
|
||||
<debugger id="debugger" base="8" messages='' commands=''/>
|
||||
</machine>
|
||||
|
|
|
|||
|
|
@ -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
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -214,14 +214,22 @@ class Macro10 {
|
|||
this.done(this.parseFile());
|
||||
return;
|
||||
}
|
||||
|
||||
var macro10 = this;
|
||||
Web.getResource(this.asURLs[this.iURL++], null, true, function processMacro10(sURL, sResource, nErrorCode) {
|
||||
var sURL = this.asURLs[this.iURL++];
|
||||
|
||||
/*
|
||||
* We know that local resources ending with ".MAC" are actually stored with a ".txt" extension.
|
||||
*/
|
||||
if (sURL[0] == '/' && sURL.slice(-4) == ".MAC") sURL += ".txt";
|
||||
|
||||
Web.getResource(sURL, null, true, function processMacro10(sFile, sResource, nErrorCode) {
|
||||
if (nErrorCode) {
|
||||
macro10.done(nErrorCode, sURL);
|
||||
macro10.done(nErrorCode, sFile);
|
||||
return;
|
||||
}
|
||||
var sText = sResource;
|
||||
if (Str.endsWith(sURL, ".html")) {
|
||||
if (Str.endsWith(sFile, ".html")) {
|
||||
/*
|
||||
* We want to parse ONLY the text between <PRE>...</PRE> tags, and eliminate any HTML entities.
|
||||
*/
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue