From b9bd03b958b8ecfa3facebfb23b492c99d90d653 Mon Sep 17 00:00:00 2001 From: Will Scullin Date: Sun, 7 Mar 2021 10:48:09 -0800 Subject: [PATCH] correctly report page2 status --- js/mmu.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/mmu.ts b/js/mmu.ts index 5c6227c..631199a 100644 --- a/js/mmu.ts +++ b/js/mmu.ts @@ -585,7 +585,7 @@ export default class MMU implements Memory, Restorable { result = this.vm.isMixed() ? 0x80 : 0x0; break; case LOC.RDPAGE2: - result = this.vm.isPage2() ? 0x80 : 0x0; + result = this._page2 ? 0x80 : 0x0; break; case LOC.RDHIRES: result = this.vm.isHires() ? 0x80 : 0x0;