More decoding functions

This commit is contained in:
Jeff 2016-09-23 13:16:12 -07:00 • committed by Jeff Parsons
commit 9d045008a3
6 changed files with 672 additions and 512 deletions

View file

@ -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;