Code cleanup
This commit is contained in:
parent
40b6b584f6
commit
3a9cd5cf04
24 changed files with 17 additions and 33 deletions
|
|
@ -418,7 +418,6 @@ class ComputerPDP10 extends Component {
|
|||
}
|
||||
}
|
||||
if (DEBUG && this.messageEnabled()) this.printMessage("ComputerPDP10.wait(ready)");
|
||||
//noinspection JSUnresolvedFunction
|
||||
fn.call(this, parms);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -2341,7 +2341,7 @@ PDP10.opPUSHJ = function(op, acc)
|
|||
PDP10.opPUSH = function(op, acc)
|
||||
{
|
||||
var p = this.readWord(acc);
|
||||
if (!SIMH) {
|
||||
if (!PDP10.SIMH) {
|
||||
/*
|
||||
* This is the behavior that is clearly documented by DEC.
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -2812,7 +2812,6 @@ class DebuggerPDP10 extends Debugger {
|
|||
if (w === undefined) break;
|
||||
w = this.validateWord(w);
|
||||
this.println("changing " + this.toStrAddr(dbgAddr) + " from " + this.toStrWord(fnGet.call(this, dbgAddr)) + " to " + this.toStrWord(w));
|
||||
//noinspection JSUnresolvedFunction
|
||||
fnSet.call(this, dbgAddr, w, 1);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -275,11 +275,13 @@ var PDP10 = {
|
|||
PDP10.APPCLASS = APPCLASS;
|
||||
PDP10.APPNAME = APPNAME;
|
||||
PDP10.DEBUGGER = DEBUGGER;
|
||||
PDP10.SIMH = SIMH;
|
||||
|
||||
if (NODE) {
|
||||
global.APPCLASS = APPCLASS;
|
||||
global.APPNAME = APPNAME;
|
||||
global.DEBUGGER = DEBUGGER;
|
||||
global.SIMH = SIMH;
|
||||
global.PDP10 = PDP10;
|
||||
module.exports = PDP10;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue