[hatari-devel] saving/restoring memory state from debugger

Eero Tamminen eerot at users.berlios.de
Sat Feb 13 15:07:34 CET 2010


Hi,

On Saturday 13 February 2010, npomarede at corp.free.fr wrote:
> I just tried savestate ; this correctly saves the memory snapshot but it
> doesn't seem to return to the debugui, as the '>' doesn't come back and
> no other commands are recognized.
> I had to press ctrl+c to get back to the debug mode with '>'.
>
> Does it work for you ?

Works fine for me:
-----
> statesave
Memory state file saved.
> help
...
------


> BTW : I noticed that loading such a memory snapshot doesn't always work,
> because Hatari expects some variables to be saved during the VBL
> interrupt (when nHBL=0) ; I need to improve saving/loading so that it
> works at any moment in the emulation.
>
> At the moment, you're likely to get :
> hatari: cycInt.c:377: CycInt_AddRelativeInterruptWithOffset: Assertion
> `CycleTime >= 0' failed.

Well, I get them also during normal emulation...
(in monochrome mode, when dialog is open.  I've mailed about that earlier.)


	- Eero




More information about the hatari-devel mailing list