Leave the DATA display register alone on the 11/70 (making it more diagnostic-friendly)
This commit is contained in:
parent
ba0ca49854
commit
0370b81a69
16 changed files with 198 additions and 172 deletions
|
|
@ -225,6 +225,17 @@ CPUStatePDP11.prototype.initRegs = function()
|
|||
this.resetRegs();
|
||||
};
|
||||
|
||||
/**
|
||||
* resetCPU()
|
||||
*
|
||||
* @this {CPUStatePDP11}
|
||||
*/
|
||||
CPUStatePDP11.prototype.resetCPU = function()
|
||||
{
|
||||
this.bus.reset();
|
||||
this.resetRegs();
|
||||
};
|
||||
|
||||
/**
|
||||
* resetRegs()
|
||||
*
|
||||
|
|
@ -395,9 +406,7 @@ CPUStatePDP11.prototype.setReset = function(addr, fReset)
|
|||
{
|
||||
this.addrReset = addr;
|
||||
|
||||
/*
|
||||
* If we're going to slam this new address straight into PC, then it seems wise to reset the PSW as well.
|
||||
*/
|
||||
this.resetCPU();
|
||||
this.setPC(addr);
|
||||
this.setPSW(0);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue