DEC's "TRAP TEST" finally passes (and I learned a lot about PDP-11 opcode idiosyncrasies in the process)
This commit is contained in:
parent
b4cb9651ce
commit
2c1191ce6e
14 changed files with 616 additions and 518 deletions
|
|
@ -243,19 +243,7 @@ DevicePDP11.prototype.readMMR1 = function(addr)
|
|||
*/
|
||||
DevicePDP11.prototype.readMMR2 = function(addr)
|
||||
{
|
||||
return this.cpu.regMMR2;
|
||||
};
|
||||
|
||||
/**
|
||||
* writeMMR2(data, addr)
|
||||
*
|
||||
* @this {DevicePDP11}
|
||||
* @param {number} data
|
||||
* @param {number} addr (eg, PDP11.UNIBUS.MMR2 or 177576)
|
||||
*/
|
||||
DevicePDP11.prototype.writeMMR2 = function(data, addr)
|
||||
{
|
||||
this.cpu.regMMR2 = data;
|
||||
return this.cpu.getMMR2();
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue