Factored out mapVirtualToPhysical() calls when MMU not enabled, and fixed HALT (it actually halts the CPU now)

This commit is contained in:
Jeff Parsons 2016-10-07 09:49:02 -07:00 committed by Jeff Parsons
commit c69ebb7bcb
13 changed files with 8149 additions and 566 deletions

View file

@ -1101,7 +1101,7 @@ PDP11.opHALT = function(opCode)
this.regErr |= PDP11.CPUERR.BADHALT;
this.trap(PDP11.TRAP.BUS_ERROR, PDP11.REASON.HALT);
} else {
this.endBurst();
this.stopCPU();
}
this.nStepCycles -= 7;
};