Fuse Emulator - Saving Snapshots
Fuse Emulator - Saving Snapshots
Hi,
I'm often (but not always) getting this message when saving Snapshots in Fuse:
I'm unable to load these files back into Fuse.
On the occasions I can save snapshots without errors, whilst I can load them back into Fuse, when I try and load them into Spectaculator I get this:
Any idea what I'm doing wrong? I'm using machine type Spectrum 128K.
Thanks
I'm often (but not always) getting this message when saving Snapshots in Fuse:
I'm unable to load these files back into Fuse.
On the occasions I can save snapshots without errors, whilst I can load them back into Fuse, when I try and load them into Spectaculator I get this:
Any idea what I'm doing wrong? I'm using machine type Spectrum 128K.
Thanks
Re: Fuse Emulator - Saving Snapshots
Do you have any peripherals attached? And are you using .szx format for saving?
Re: Fuse Emulator - Saving Snapshots
Hi,
Hi, no peripherals, and just .sna
Peter
Re: Fuse Emulator - Saving Snapshots
If there isn't any particular reason you need snapshots in .sna format, I would try .szx instead. The .sna format is probably too limited for the machine configuration you're using.
Re: Fuse Emulator - Saving Snapshots
The sna format doesn't officially support the Spectrum 128
Re: Fuse Emulator - Saving Snapshots
It also supports Pentagon 128k.
Re: Fuse Emulator - Saving Snapshots
Thanks [mention]Guesser[/mention] and [mention]djnzx48[/mention]. Just out for walk, will try when I get home.
Re: Fuse Emulator - Saving Snapshots
Thanks! That resolved the issue.
Re: Fuse Emulator - Saving Snapshots
I was curious about this, so I looked it up in the Fuse source.
It automatically emits this warning when you snapshot a +2A, +3, Pentagon, TC2048 or TC2068 model. 16K, 48K, toastrack and +2 grey don't get the warning. So you may not have been in the model you thought you were.
The warning is correct - all those models have features that aren't part of the SNA specification. Although Pentagon is a grey area, as there are several paging schemes and this snapshot code doesn't distinguish between them.
But for most games we're concerned with the +2A and +3 far more than the other models. The only thing really not snapshottable for +2A and +3 is the All-RAM mode, which almost no commercial software uses. So in the vast majority of cases, the snapshots should load and run fine.
It automatically emits this warning when you snapshot a +2A, +3, Pentagon, TC2048 or TC2068 model. 16K, 48K, toastrack and +2 grey don't get the warning. So you may not have been in the model you thought you were.
The warning is correct - all those models have features that aren't part of the SNA specification. Although Pentagon is a grey area, as there are several paging schemes and this snapshot code doesn't distinguish between them.
But for most games we're concerned with the +2A and +3 far more than the other models. The only thing really not snapshottable for +2A and +3 is the All-RAM mode, which almost no commercial software uses. So in the vast majority of cases, the snapshots should load and run fine.
Robin Verhagen-Guest
SevenFFF / Threetwosevensixseven / colonel32
NXtel • NXTP • ESP Update • ESP Reset • CSpect Plugins
SevenFFF / Threetwosevensixseven / colonel32
NXtel • NXTP • ESP Update • ESP Reset • CSpect Plugins
Re: Fuse Emulator - Saving Snapshots
[mention]Seven.FFF[/mention],
Thanks for testing. I double checked and I'm most definitely on Spectrum 128K. That is the one I always used.
Please see below when saving as .sna
Peter
Thanks for testing. I double checked and I'm most definitely on Spectrum 128K. That is the one I always used.
Please see below when saving as .sna
Peter
Re: Fuse Emulator - Saving Snapshots
Fuse (well, libspectrum) spits out that error from this switch:
So the 128K machine will definitely produce it.
There's a lot of peripherals and other stuff checked too, so a lot of hardware emulation permutations will result in it as well.
Code: Select all
case LIBSPECTRUM_MACHINE_128:
case LIBSPECTRUM_MACHINE_128E:
case LIBSPECTRUM_MACHINE_PENT512:
case LIBSPECTRUM_MACHINE_PENT1024:
case LIBSPECTRUM_MACHINE_PLUS2:
case LIBSPECTRUM_MACHINE_PLUS2A:
case LIBSPECTRUM_MACHINE_PLUS3:
case LIBSPECTRUM_MACHINE_PLUS3E:
case LIBSPECTRUM_MACHINE_SCORP:
case LIBSPECTRUM_MACHINE_SE:
*out_flags |= LIBSPECTRUM_FLAG_SNAPSHOT_MAJOR_INFO_LOSS;
There's a lot of peripherals and other stuff checked too, so a lot of hardware emulation permutations will result in it as well.
Derek Fountain, author of the ZX Spectrum C Programmer's Getting Started Guide and various open source games, hardware and other projects, including an IF1 and ZX Microdrive emulator.
Re: Fuse Emulator - Saving Snapshots
Ha, I was looking at a different version of the code.
Code: Select all
case LIBSPECTRUM_MACHINE_TC2048:
case LIBSPECTRUM_MACHINE_TC2068:
*out_flags |= LIBSPECTRUM_FLAG_SNAPSHOT_MAJOR_INFO_LOSS;
/* Fall through */
case LIBSPECTRUM_MACHINE_16:
case LIBSPECTRUM_MACHINE_48:
error = write_48k_sna( buffer, &ptr, length, sp, snap );
break;
case LIBSPECTRUM_MACHINE_PLUS2A:
case LIBSPECTRUM_MACHINE_PLUS3:
case LIBSPECTRUM_MACHINE_PENT:
*out_flags |= LIBSPECTRUM_FLAG_SNAPSHOT_MAJOR_INFO_LOSS;
/* Fall through */
case LIBSPECTRUM_MACHINE_PLUS2:
case LIBSPECTRUM_MACHINE_128:
error = write_128k_sna( buffer, &ptr, length, snap );
break;
Robin Verhagen-Guest
SevenFFF / Threetwosevensixseven / colonel32
NXtel • NXTP • ESP Update • ESP Reset • CSpect Plugins
SevenFFF / Threetwosevensixseven / colonel32
NXtel • NXTP • ESP Update • ESP Reset • CSpect Plugins
Re: Fuse Emulator - Saving Snapshots
Hi,
you should save the snap file without extension.
Fuse should be able to load this file using drag and drop.
You can also add the extension by renaming it if you want.
greetings
Re: Fuse Emulator - Saving Snapshots
I am using Fuse-emulator in Linux console and sometimes is drag&drop really inconvenient (because window manager or because i just don't have opened window with some "explorer" equivalent in right folder, i rather work with mc in text console than any clickable file browser).Spezzi63 wrote:you should save the snap file without extension.
Fuse should be able to load this file using drag and drop.
You can also add the extension by renaming it if you want.
greetings
Mostly i am using built in file browser in Fuse itself. But if i save snapshot without extension, it will be saved without extension on hard drive too (in format ZXST). So it will not be in list of supported files in open dialog when i am trying open snapshot. Even more weird is, Fuse is not displaying snapshots with zxst extension too. I must always select "all files" instead "supported files" which is kinda annoying.
I don't understand - sna files are in open dialog visible, but sna files are not able store perfect snapshot. Zxst are not visible, but works better and are default/recomended.
Does it mean i should use another extension for ZXST files? Or is it bug in Fuse?
I know about this problem long time and even latest SVN version does it (r5829-trunk).
https://cygnus.speccy.cz/ - mostly harmless user of ZX Spectrum 128k +2, Betadisk with TRDOS 5.05cz or DivIDE with ESXDOS
- Ast A. Moore
- Rick Dangerous
- Posts: 2641
- Joined: Mon Nov 13, 2017 3:16 pm
Re: Fuse Emulator - Saving Snapshots
I don’t know if Fuse uses different extension under Linux, but the proper snapshot file extension is szx, not zxst.
Every man should plant a tree, build a house, and write a ZX Spectrum game.
Author of A Yankee in Iraq, a 50 fps shoot-’em-up—the first game to utilize the floating bus on the +2A/+3,
and zasm Z80 Assembler syntax highlighter.
Author of A Yankee in Iraq, a 50 fps shoot-’em-up—the first game to utilize the floating bus on the +2A/+3,
and zasm Z80 Assembler syntax highlighter.
Re: Fuse Emulator - Saving Snapshots
Fuse doesn't use different extension, but it didn't adding extensions automatically either. Which is confusing. I just tried guess it from first four letters in snapshot. I think, bug is - Fuse emulator should add default extension if not specified by user, or display all files by default. Otherwise saved snapshots just are not visible (both - with wrong extension or without it).Ast A. Moore wrote: ↑Mon Aug 24, 2020 7:10 pmI don’t know if Fuse uses different extension under Linux, but the proper snapshot file extension is szx, not zxst.
https://cygnus.speccy.cz/ - mostly harmless user of ZX Spectrum 128k +2, Betadisk with TRDOS 5.05cz or DivIDE with ESXDOS