From b184068789b9c4530c4234591c87f469a57d1ba7 Mon Sep 17 00:00:00 2001 From: folkert van heusden Date: Thu, 23 Mar 2023 11:47:40 +0100 Subject: [PATCH] always process ACF? not only when mmu enabled?! experiment! --- bus.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bus.cpp b/bus.cpp index 015ed6e..d9c0290 100644 --- a/bus.cpp +++ b/bus.cpp @@ -478,13 +478,13 @@ uint32_t bus::calculate_physical_address(const int run_mode, const uint16_t a, c if (do_trap) { bool do_trap_250 = false; - if ((MMR0 & (1 << 9)) && (MMR0 & 0xf000) == 0) { - DOLOG(debug, true, "TRAP(0250) (throw 5) for access_control %d on address %06o", access_control, a); + if ((MMR0 & 0xf000) == 0) { + DOLOG(debug, true, "TRAP(0250) (throw 5) for access_control %d on address %06o, run mode %d", access_control, a, run_mode); do_trap_250 = true; } else { - DOLOG(debug, true, "A.C.F. triggger for %d on address %06o", access_control, a); + DOLOG(debug, true, "A.C.F. triggger for %d on address %06o, run mode %d", access_control, a, run_mode); } if (access_control == 1 || access_control == 4 || access_control == 5)