Simplified the I/O registration function, added support for Panel debugger messages, and added some new Panel behavior on the RESET instruction
This commit is contained in:
parent
365b24c684
commit
5bc0c8cca9
12 changed files with 327 additions and 246 deletions
|
|
@ -222,7 +222,7 @@ CPUStatePDP11.prototype.initRegs = function()
|
|||
this.dstMode = this.dstReg = this.dstAddr = 0;
|
||||
|
||||
this.trapPSW = -1;
|
||||
this.resetRegs();
|
||||
this.resetMMU();
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
@ -233,15 +233,15 @@ CPUStatePDP11.prototype.initRegs = function()
|
|||
CPUStatePDP11.prototype.resetCPU = function()
|
||||
{
|
||||
this.bus.reset();
|
||||
this.resetRegs();
|
||||
this.resetMMU();
|
||||
};
|
||||
|
||||
/**
|
||||
* resetRegs()
|
||||
* resetMMU()
|
||||
*
|
||||
* @this {CPUStatePDP11}
|
||||
*/
|
||||
CPUStatePDP11.prototype.resetRegs = function()
|
||||
CPUStatePDP11.prototype.resetMMU = function()
|
||||
{
|
||||
this.regSL = 0xff; // 177774
|
||||
this.regErr = 0; // 177766
|
||||
|
|
|
|||
Loading…
Reference in a new issue