From 48abb8509f280a460ac23a0cc3611f468e4fca70 Mon Sep 17 00:00:00 2001 From: folkert van heusden Date: Tue, 21 Mar 2023 14:09:11 +0100 Subject: [PATCH] TRAP logging --- cpu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpu.cpp b/cpu.cpp index 942b339..e11b6b1 100644 --- a/cpu.cpp +++ b/cpu.cpp @@ -1599,7 +1599,7 @@ void cpu::schedule_trap(const uint16_t vector) // 'is_interrupt' is not correct naming; it is true for mmu faults and interrupts void cpu::trap(uint16_t vector, const int new_ipl, const bool is_interrupt) { - DOLOG(debug, true, "*** CPU::TRAP, MMR0: %06o, MMR2: %06o ***", b->getMMR0(), b->getMMR2()); + DOLOG(debug, true, "*** CPU::TRAP %o, new-ipl: %d, is-interrupt: %d ***", vector, new_ipl, is_interrupt); int processing_trap_depth = 0; uint16_t before_psw = 0;