Re: [hatari-devel] Basepage and proc_lives debugging from the debugger |
[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]
Hi, On 11/14/19 11:22 PM, Roger Burrows wrote:
On 14 Nov 2019 at 22:30, Eero Tamminen wrote:What's proc_lives and is it something supported by all TOS versions (from 1.00 to 4.x, and by EmuTOS)?It's location 0x380 in low-memory. It has a value of 0x12345678 if the subsequent longs contain a valid saved processor state after a system crash. I don't know why the OP can't just display 0x380.
Thanks, so it's just: ----------------------------- > e ($380) value in RAM at ($380).l = $e0077a = %111000000000011101111010 (bin), #14681978 (dec), $e0077a (hex) ----------------------------- Or: ----------------------------- > m 0x380 00000380: 00 e0 07 7a 00 e0 07 7a 00 e0 07 7a 00 e0 07 7a ...z...z...z...z .... ----------------------------- And one can always do a breakpoint that executes commands like these when breakpoint is hit. - Eero
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |