From c746c817ace8dd1a12ea115bc38f41759f24ed80 Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Sun, 21 Sep 2025 18:39:48 +0300 Subject: [PATCH] 68030 MMU table dump update, add commands to debugger help. --- cpummu30.cpp | 4 ++-- debug.cpp | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/cpummu30.cpp b/cpummu30.cpp index 7dd9d80b..a1450c30 100644 --- a/cpummu30.cpp +++ b/cpummu30.cpp @@ -3649,8 +3649,8 @@ void mmu030_dump_tables(int fc) if (addr_end + regs.mmu_page_size == 0) { addr_end += regs.mmu_page_size; } - console_out_f(_T("%08x - %08x (%08x) S=%d,WP=%d - CI=%d,WP=%d,DT=%d\n"), - addr_prev, addr_end - 1, desc_prev, + console_out_f(_T("%08x - %08x %08x (%08x) S=%d,WP=%d - CI=%d,WP=%d,DT=%d\n"), + addr_prev, addr_end - 1,phys_prev, desc_prev, (status_prev & MMUSR_SUPER_VIOLATION) ? 1 : 0, (status_prev & MMUSR_WRITE_PROTECTED) ? 1 : 0, (desc_prev >> 6) & 1, diff --git a/debug.cpp b/debug.cpp index 2d018698..7343b974 100644 --- a/debug.cpp +++ b/debug.cpp @@ -213,6 +213,9 @@ static const TCHAR help[] = { _T(" ob Copper breakpoint.\n") _T(" H[H] Show PC history (HH=full CPU info) instructions.\n") _T(" C Search for values like energy or lifes in games.\n") + _T(" mmu Set current MMU translation function code for all debugging instructions.\n") + _T(" mmud Dump MMU tables.\n") + _T(" U
Translate logical address to physical using current MMU tables.\n") _T(" Cl List currently found trainer addresses.\n") _T(" D[idxzs <[max diff]>] Deep trainer. i=new value must be larger, d=smaller,\n") _T(" x = must be same, z = must be different, s = restart.\n") -- 2.47.3