]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
68030 MMU table dump update, add commands to debugger help.
authorToni Wilen <twilen@winuae.net>
Sun, 21 Sep 2025 15:39:48 +0000 (18:39 +0300)
committerToni Wilen <twilen@winuae.net>
Sun, 21 Sep 2025 15:39:48 +0000 (18:39 +0300)
cpummu30.cpp
debug.cpp

index 7dd9d80bf36d1b6efc52439e505a6519b4c10660..a1450c307b7bd145d48ad259d722c768d202fa72 100644 (file)
@@ -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,
index 2d018698a4ca9473153acd82547da718018d3440..7343b974291ca73c9f26729d828f364de6e7a2a4 100644 (file)
--- a/debug.cpp
+++ b/debug.cpp
@@ -213,6 +213,9 @@ static const TCHAR help[] = {
        _T("  ob <addr>             Copper breakpoint.\n")
        _T("  H[H] <cnt>            Show PC history (HH=full CPU info) <cnt> instructions.\n")
        _T("  C <value>             Search for values like energy or lifes in games.\n")
+       _T("  mmu <fc>              Set current MMU translation function code for all debugging instructions.\n")
+       _T("  mmud                  Dump MMU tables.\n")
+       _T("  U <address>           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")