Sanpshot the bootcode used for initial PDP-11 testing
This commit is contained in:
parent
9727a2d4df
commit
15fe831fc7
2 changed files with 459 additions and 1 deletions
|
|
@ -879,7 +879,7 @@ CPUStatePDP11.prototype.trap = function(vector, reason)
|
|||
this.opFlags &= ~PDP11.OPFLAG.TRAP_MASK; // lose interest in traps after an abort
|
||||
this.trapPSW = -1; // reset flag that we have a trap within a trap
|
||||
|
||||
if (DEBUG) this.println("trap to vector " + str.toOct(vector, 3) + (reason? " (reason " + reason + ")" : ""));
|
||||
if (DEBUG && this.dbg) this.dbg.println("trap to vector " + this.dbg.toStrBase(vector) + (reason? " (reason " + reason + ")" : ""));
|
||||
|
||||
throw vector;
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue