From 16e78b94172b0e971ddb288fc1e0bad1fae9bc4f Mon Sep 17 00:00:00 2001 From: folkert van heusden Date: Sat, 13 Apr 2024 11:37:52 +0200 Subject: [PATCH] comments --- bus.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bus.cpp b/bus.cpp index fa741fd..9c1883c 100644 --- a/bus.cpp +++ b/bus.cpp @@ -599,7 +599,7 @@ uint32_t bus::calculate_physical_address(const int run_mode, const uint16_t a, c { uint32_t m_offset = a; - if ((MMR0 & 1) || (is_write && (MMR0 & (1 << 8)))) { + if ((MMR0 & 1 /* mmu enabled */) || (is_write && (MMR0 & (1 << 8 /* maintenance check */)))) { const uint8_t apf = a >> 13; // active page field bool d = space == d_space && get_use_data_space(run_mode) ? space == d_space : false;