From: Toni Wilen Date: Wed, 14 Jan 2026 15:22:24 +0000 (+0200) Subject: TO debugger command: show also Baud/Control/BootBlocks fields if structure is large... X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=7fa8c29483c65d1b1a96ca7475321978ea120b66;p=francis%2Fwinuae.git TO debugger command: show also Baud/Control/BootBlocks fields if structure is large enough. --- diff --git a/debug.cpp b/debug.cpp index c48b5ee9..08addaee 100644 --- a/debug.cpp +++ b/debug.cpp @@ -5485,7 +5485,8 @@ static void show_exec_lists (TCHAR *t) console_out_f (_T(" %s:%d %08x\n"), unitname, get_long_debug(fssm), get_long_debug(fssm + 8)); uaecptr de = get_long_debug(fssm + 8) << 2; if (de) { - console_out_f (_T(" TableSize %u\n"), get_long_debug(de + 0)); + int size = get_long_debug(de + 0); + console_out_f (_T(" TableSize %u\n"), size); console_out_f (_T(" SizeBlock %u\n"), get_long_debug(de + 4)); console_out_f (_T(" SecOrg %u\n"), get_long_debug(de + 8)); console_out_f (_T(" Surfaces %u\n"), get_long_debug(de + 12)); @@ -5502,6 +5503,15 @@ static void show_exec_lists (TCHAR *t) console_out_f (_T(" Mask 0x%08x\n"), get_long_debug(de + 56)); console_out_f (_T(" BootPri %d\n"), get_long_debug(de + 60)); console_out_f (_T(" DosType 0x%08x\n"), get_long_debug(de + 64)); + if (size >= 17) { + console_out_f (_T(" Baud 0x%08x\n"), get_long_debug(de + 68)); + if (size >= 18) { + console_out_f (_T(" Control 0x%08x\n"), get_long_debug(de + 72)); + if (size >= 19) { + console_out_f (_T(" BootBlocks 0x%08x\n"), get_long_debug(de + 76)); + } + } + } } xfree(unitname); }