Documentation updates to accommodate the PDP-10 work that's starting now

This commit is contained in:
Jeff Parsons 2017-02-23 15:14:51 -08:00 committed by Jeff Parsons
commit 8320f58d44
20 changed files with 172 additions and 69 deletions

View file

@ -757,7 +757,7 @@ class DebuggerPDP10 extends Debugger {
messageInit(sEnable)
{
this.dbg = this;
this.bitsMessage = this.bitsWarning = MessagesPDP10.WARN;
this.bitsMessage = this.bitsWarning = MessagesPDP10.FAULT | MessagesPDP10.WARN;
this.sMessagePrev = null;
this.aMessageBuffer = [];
/*
@ -1311,7 +1311,7 @@ class DebuggerPDP10 extends Debugger {
*/
if (!nState) {
opCode = this.cpu.readWord(addr);
if (opCode == PDP10.OPCODE.HALT && this.cpu.getLastPC() == addr) {
if ((opCode & PDP10.OPCODE.HALTMASK) == PDP10.OPCODE.HALT && this.cpu.getLastPC() == addr) {
addr = this.cpu.advancePC(1);
}
}