From 38f19c7e058c166137633cf0bd6368a1f830a3e6 Mon Sep 17 00:00:00 2001 From: folkert van heusden Date: Sun, 23 Jun 2024 22:47:01 +0200 Subject: [PATCH] turbo mode --- mmu.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mmu.cpp b/mmu.cpp index 3a758bb..dca919c 100644 --- a/mmu.cpp +++ b/mmu.cpp @@ -348,11 +348,13 @@ std::pair mmu::get_trap_action(const int run_mode, const boo void mmu::mmudebug(const uint16_t a) { +#if !defined(TURBO) for(int rm=0; rm<4; rm++) { auto ma = calculate_physical_address(rm, a); TRACE("RM %d, a: %06o, apf: %d, PI: %08o (PSW: %d), PD: %08o (PSW: %d)", rm, ma.virtual_address, ma.apf, ma.physical_instruction, ma.physical_instruction_is_psw, ma.physical_data, ma.physical_data_is_psw); } +#endif } void mmu::verify_page_access(const uint16_t virt_addr, const int run_mode, const bool d, const int apf, const bool is_write)