More decoding functions
This commit is contained in:
parent
7f0b6a091d
commit
9d045008a3
6 changed files with 672 additions and 512 deletions
|
|
@ -1007,9 +1007,9 @@ DevicePDP11.prototype.access = function(physicalAddress, data, byteFlag)
|
|||
idx = 2; // 18 bit
|
||||
if (cpu.MMR3 & 0x10) idx = 1; // 22 bit
|
||||
if (result & 0x1) {
|
||||
cpu.mmuEnable = PDP11.READ_MODE | PDP11.WRITE_MODE;
|
||||
cpu.mmuEnable = PDP11.ACCESS.READ | PDP11.ACCESS.WRITE;
|
||||
} else {
|
||||
cpu.mmuEnable = PDP11.WRITE_MODE;
|
||||
cpu.mmuEnable = PDP11.ACCESS.WRITE;
|
||||
}
|
||||
} else {
|
||||
cpu.mmuEnable = 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue