From dd474ce40dd605773cdcb681df31b5c837cf57ad Mon Sep 17 00:00:00 2001 From: folkert van heusden Date: Sat, 20 Apr 2024 23:27:48 +0200 Subject: [PATCH] logging --- bus.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bus.cpp b/bus.cpp index 604651a..1670647 100644 --- a/bus.cpp +++ b/bus.cpp @@ -652,14 +652,14 @@ uint32_t bus::calculate_physical_address(const int run_mode, const uint16_t a, c DOLOG(debug, false, "MMR0: %06o", MMR0); if (trap_action == T_TRAP_250) { - DOLOG(debug, false, "Page access %d: trap 0250", access_control); + DOLOG(debug, false, "Page access %d (for virtual address %06o): trap 0250", access_control, a); c->trap(0250); // trap throw 5; } else { // T_ABORT_4 - DOLOG(debug, false, "Page access %d: trap 004", access_control); + DOLOG(debug, false, "Page access %d (for virtual address %06o): trap 004", access_control, a); c->trap(004); // abort