From 272651472125ce30ce06c8ce26d6c0aaf765c885 Mon Sep 17 00:00:00 2001 From: Jeff Parsons Date: Sat, 2 May 2015 09:13:16 -0700 Subject: [PATCH] Minor tweaks --- modules/pcjs/lib/ram.js | 2 +- modules/pcjs/lib/x86func.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/pcjs/lib/ram.js b/modules/pcjs/lib/ram.js index dcf829c48..f7576b080 100644 --- a/modules/pcjs/lib/ram.js +++ b/modules/pcjs/lib/ram.js @@ -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; diff --git a/modules/pcjs/lib/x86func.js b/modules/pcjs/lib/x86func.js index c912577e4..f7d898a19 100644 --- a/modules/pcjs/lib/x86func.js +++ b/modules/pcjs/lib/x86func.js @@ -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); }; /**