[hatari-devel] better memory snapshot
npomarede at corp.free.fr
npomarede at corp.free.fr
Sun Feb 14 23:07:48 CET 2010
Hello
while trying to debug some programs I noticed some memory snapshots could
not be reloaded later, as they caused a problem when Cycles_GetCounter was
used (LineCycles was <0 at the end of Video_ConvertPosition)
It turned out that the various counters used in cycles.c were never saved,
which would create some errors if the snapshot was made at a different
time than during the VBL interrupt (where CYCLES_COUNTER_VIDEO is reset
to 0).
As this changes the format of the memory snapshot, your previous snapshots
won't work anymore (they're likely to cause a crash). But this is often
the case during the 'devel' version, as memory snapshots from a new Hatari
release are not compatible with the previous one.
Nicolas
More information about the hatari-devel
mailing list