Sanpshot the bootcode used for initial PDP-11 testing

This commit is contained in:
Jeff 2016-09-27 11:40:47 -07:00 committed by Jeff Parsons
commit 15fe831fc7
2 changed files with 459 additions and 1 deletions

View file

@ -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;
};