Factored out mapVirtualToPhysical() calls when MMU not enabled, and fixed HALT (it actually halts the CPU now)
This commit is contained in:
parent
e24d507aa2
commit
c69ebb7bcb
13 changed files with 8149 additions and 566 deletions
|
|
@ -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;
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue