Updated PDP-10 diagnostic README
This commit is contained in:
parent
d2bb577bfd
commit
e1e11b3b2d
4 changed files with 213 additions and 8 deletions
|
|
@ -2479,7 +2479,11 @@ class DebuggerPDP10 extends Debugger {
|
|||
bus.setWordDirect(addr, w);
|
||||
nWords++;
|
||||
});
|
||||
this.println(nWords + " words loaded at " + this.toStrBase(addrLoad) + '-' + this.toStrBase(addrLoad + nWords - (nWords?1:0)));
|
||||
if (!nWords) {
|
||||
this.println("no data");
|
||||
} else {
|
||||
this.println(nWords + " words loaded at " + this.toStrBase(addrLoad) + '-' + this.toStrBase(addrLoad + nWords - 1));
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -2578,7 +2582,7 @@ class DebuggerPDP10 extends Debugger {
|
|||
}
|
||||
else {
|
||||
var addrLoad = dbgAddr.addr;
|
||||
var sOptions = ""; // "p";
|
||||
var sOptions = ""; // add "p" for preprocessing only
|
||||
this.macro10 = new Macro10(match[2], addrLoad, sOptions, dbg, function doneMacro10(nErrorCode, sURL) {
|
||||
if (!nErrorCode) {
|
||||
dbg.loadBin(dbg.macro10.getBin(), addrLoad);
|
||||
|
|
|
|||
|
|
@ -87,6 +87,9 @@ class Macro10 {
|
|||
/**
|
||||
* Macro10(sURL, nAddr, sOptions, dbg, done)
|
||||
*
|
||||
* A "mini" version of DEC's MACRO-10 assembler, with just enough features to support the handful
|
||||
* of DEC diagnostic source code files that we choose to throw at it.
|
||||
*
|
||||
* Requests the resource(s) specified by sURL; multiple resources can be requested by separating
|
||||
* them with semicolons.
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in a new issue