DEC's "TRAP TEST" finally passes (and I learned a lot about PDP-11 opcode idiosyncrasies in the process)

This commit is contained in:
Jeff 2016-11-12 12:54:13 -08:00 • committed by Jeff Parsons
commit 2c1191ce6e
14 changed files with 616 additions and 518 deletions

View file

@ -312,6 +312,8 @@ SerialPortPDP11.prototype.initBus = function(cmp, bus, cpu, dbg)
});
bus.addIOTable(this, SerialPortPDP11.UNIBUS_IOTABLE);
bus.addResetHandler(this.reset.bind(this));
this.setReady();
};
@ -460,7 +462,7 @@ SerialPortPDP11.prototype.initState = function(data)
this.rbuf = 0;
this.rcsr = 0;
this.xcsr = PDP11.DL11.XCSR.READY;
this.abReceive = [];
// this.abReceive = [];
return true;
};