Menu

#2239 VICE 3.10: dump/undump does not store/restore full emulator state

v3.10
open
nobody
None
Windows
Monitor
2026-07-12
2026-07-09
No

Hi all,

I'm just trying dump/q/undump in the Monitor, and although it does seem to restore MOST of the emulator state, it does not exactly store ALL of the emulator state, leading to failing restores (some work partially).

Is this a known issue?

I tried this on this program during the main part, and the sound was not completely restored
https://csdb.dk/getinternalfile.php/280539/HBFS.prg
Might be influenced by CIA timers?

Discussion

  • gpz

    gpz - 2026-07-09

    Is that with a recent build? If so, you'll have to use reSID instead of reSIDfp - which doesn't have the required functionality anymore

     
    • Telchar of Nogrod

      It's the release version. OK, will try with reSID instead of reSIDfp. Any reason why the latter doesn't support it?

       
      • Telchar of Nogrod

        Can't find a Setting for that; how to select reSID instead of reSIDfp?

         
  • gpz

    gpz - 2026-07-09

    the release version does not have residfp, we just recently switched to it.

    and i have no idea why dumping/restoring the state was removed from it, you'll have to ask the libresidfp maintainers

     
    • Telchar of Nogrod

      OK, so if reSID is still in the release version of 3.10, then that can't be the source of the issue. Any other idea what this can be?
      Or is this accepted behavior?

       
  • gpz

    gpz - 2026-07-09

    Mmmh i just tried a few quicksaves (with trunk) though, and restoring seems to work even with residfp shrug

     
    • Telchar of Nogrod

      Did you try this PRG? As it might be related to either a SID or CIA specific issue.

       
  • gpz

    gpz - 2026-07-10

    I did.

    It might be related to your specific config - so please post that

     
  • Telchar of Nogrod

    Right. I start with a fresh Vice 3.10 release version, default settings.
    I enter the monitor, break 080d, then x, RUN, which enters the monitor, then g, and first part of the demo runs, then g, which runs the second part with the DIGI and Vocoder. When the vocoder starts, I hit ALT-H to enter the monitor, and I do a dump. When I execute x the demo continues as expected.
    Now I powercycle the emulator, enter the monitor, and do an undump, followed by g.
    The demo continues running, I then hear the Vocoder effect but NOT the music playing.
    Hence there's something missing from in the saved emulator state.

    You mentioned you tried 'trunk', I will try that as well, if it's available as binary, and let you know.

     

    Last edit: Telchar of Nogrod 2026-07-10
  • Telchar of Nogrod

    I'm using GTK3VICE-3.10-win64.zip . Cannot find any 'trunk' version', maybe you could try to reproduce with this release version?

     
  • gpz

    gpz - 2026-07-10

    "trunk" is the development version, you can find it here: https://github.com/VICE-Team/svn-mirror/releases

    I used quicksave/restore (alt+f10/f11) for testing, but that shouldn't make a difference

     
  • Telchar of Nogrod

    I just tried GTK3VICE-3.10-win64-r46176.7z with the exact same sequence as I described above, here I CAN hear the digi music after the undump.

    This confirms the bug is real and is present in GTK3VICE-3.10-win64.zip, but not in GTK3VICE-3.10-win64-r46176.7z

     
    • gpz

      gpz - 2026-07-11

      Try the same with reSID then... does that produce the bug again? If so, not restoring anything actually behaves better in this situation :)

       
      • Telchar of Nogrod

        What do you mean exactly? I've just used default settings. I'm reporting the bug in that situation. I suppose the development team can use that info to try to locate the issue.

         
        • gpz

          gpz - 2026-07-12

          The defaults have changed - residfp was only added recently, and it is the new default now (since resid is deprecated now). So my guess would be, that this is what "fixed" it, and using resid instead in the recent build (you can switch in the SID settings) should confirm this.

           

Log in to post a comment.

MongoDB Logo MongoDB