Minor tweaks

This commit is contained in:
Jeff Parsons 2015-05-02 09:13:16 -07:00 committed by jeffpar
commit 2726514721
2 changed files with 2 additions and 2 deletions

View file

@ -289,7 +289,7 @@ function CompaqController(ram)
this.aBlocksDst = null;
}
CompaqController.ADDR =(0x80C00000|0);
CompaqController.ADDR = 0x80C00000|0;
CompaqController.MAP_SRC = 0x00FE0000;
CompaqController.MAP_DST = 0x000E0000;
CompaqController.MAP_SIZE = 0x00020000;

View file

@ -3546,7 +3546,7 @@ X86.fnFault = function(nFault, nError, fHalt)
*
* TODO: Throw a special JavaScript exception that cpu.js must intercept and quietly ignore.
*/
this.opFlags &= ~(X86.OPFLAG.NOREAD | X86.OPFLAG.NOWRITE);
this.opFlags |= (X86.OPFLAG.NOREAD | X86.OPFLAG.NOWRITE);
};
/**