Fuse 1.5.3 released

Struggling with Fuse or trying to find an emulator with a specific feature. Ask your questions here.
User avatar
druellan
Manic Miner
Posts: 417
Joined: Tue Apr 03, 2018 6:19 pm
Location: Argentina
Contact:

Re: Fuse 1.5.3 released

Post by druellan » Sun Jun 17, 2018 3:16 pm

Thanks for the reply!
Fred wrote:
Sun Jun 17, 2018 9:22 am
Could you describe what exactly you mean here? By default Fuse emulates a double-sided 80 track disk drive for the +D. What 40 track images are you using, what are you doing with them and what are you expecting to happen? :)
Well, here in Argentina the interface was sold with a 5 1/4 single-density double-side floppy drive. I've recovered several of those disks on .mgt images like this one:
https://www.dropbox.com/s/g1hn5ya8l91a1 ... 5.mgt?dl=0

I thought that setting FUSE to read 40 track images was going to do the trick
Image

But the result is always the same:
Image

Other emulators can read the image, so, is not corruption or bad formatting, so my assumption is that or FUSE is not following the disk configuration (40 tracks), or it just hate non-conventional disk images. Either way, I think there is room for improvement.
0 x
Un buen día me puse a probar juegos de ZX Spectrum a ciegas en Youtube, terminó siendo:
📺 Retroarqueología en Youtube

User avatar
Fred
Berk
Posts: 38
Joined: Tue Feb 27, 2018 3:15 am

Re: Fuse 1.5.3 released

Post by Fred » Tue Jun 19, 2018 11:31 am

Thanks for the extra details, I've logged an issue at the Fuse bug tracker here https://sourceforge.net/p/fuse-emulator/bugs/424/.
1 x

User avatar
szaszg
Berk
Posts: 2
Joined: Sat May 25, 2019 3:47 pm

Re: Fuse 1.5.3 released

Post by szaszg » Sat May 25, 2019 10:45 pm

Hi druellan!

I post a patch to https://sourceforge.net/p/fuse-emulator/bugs/424/#8432. You try to compile fuse with this patch... Fuse will ask you about 1 sided or 2 sided the opened disk.
I thought that setting FUSE to read 40 track images was going to do the trick
These settings related to the emulated disk drives, not to disk images or images "geometry". e.g. if you set "single sided 40 track", then cannot read the second side.. because only one head "exists" in the emulated drive. (Looks like in "real world")

Some technical details:
The MGT disk image format is a very modest format. It only contains the raw data of all the sectors of the disk. There is no any metadata, e.g. information about number of sides, tracks, sector lengths, number of sectors in a track, etc... there is no any "magic" (e.g. some ID byte at the beginning) to be sure this is really an MGT file.

We guess the disk geometry only from:
  • the length of the file
  • and we know that: MGT filesystem (Disciple/+D/SAM Coupé -- G-DOS, G+DOS, SAMDOS, UniDOS, BetaDOS, Master DOS, etc) uses 512 byte length sectors
  • and uses 10 sectors per track
2 sided 80 track disk: 2 x 80 x 10 x 512 = 819200
1 sided 40 track disk: 1 x 40 x 10 x 512 = 204800
But (not a big surprise) a two sided 40 track and a one sided 80 track disk images have the same file length: 409600
So if we have a 409600 byte length MGT file, we cannot know this is a 2 sided 40 track or a one sided 80 track image.
Other emulators can read the image, so, is not corruption or bad formatting, so my assumption is that or FUSE is not following the disk configuration (40 tracks), or it just hate non-conventional disk images. Either way, I think there is room for improvement.
ZXSpin assumes: 2 sided 40 track, Fuse (without the patch) assumes: 1 sided 80 track

I created a one sided 80 track test disk.
ZXSpin:
Image
As you see it fails the same way as the 2 sided 40 track image with Fuse.
1 x

User avatar
druellan
Manic Miner
Posts: 417
Joined: Tue Apr 03, 2018 6:19 pm
Location: Argentina
Contact:

Re: Fuse 1.5.3 released

Post by druellan » Sun May 26, 2019 12:36 pm

szaszg wrote:
Sat May 25, 2019 10:45 pm
I post a patch to https://sourceforge.net/p/fuse-emulator/bugs/424/#8432. You try to compile fuse with this patch... Fuse will ask you about 1 sided or 2 sided the opened disk.
Oh, thanks a lot for taking a look!
szaszg wrote:
Sat May 25, 2019 10:45 pm
I thought that setting FUSE to read 40 track images was going to do the trick
These settings related to the emulated disk drives, not to disk images or images "geometry". e.g. if you set "single sided 40 track", then cannot read the second side.. because only one head "exists" in the emulated drive. (Looks like in "real world")
Ah, that explains why I was confused. But what's the catch to also enforce this options on disk images, or at least, change the way FUSE autodetect the images based on this options?
ZXSpin assumes: 2 sided 40 track, Fuse (without the patch) assumes: 1 sided 80 track
Eightyone and SpecEmu are also able to read the images (that's why I thought that perhaps something was wrong on FUSE), so, perhaps all emulators unintentionally standarized to 1 side 40 traks as a default?
Thanks again for taking the time to review this, specially since I'm probably the only one trying to read this kind of images :D
0 x
Un buen día me puse a probar juegos de ZX Spectrum a ciegas en Youtube, terminó siendo:
📺 Retroarqueología en Youtube

User avatar
szaszg
Berk
Posts: 2
Joined: Sat May 25, 2019 3:47 pm

Re: Fuse 1.5.3 released

Post by szaszg » Wed May 29, 2019 4:59 pm

Ah, that explains why I was confused. But what's the catch to also enforce this options on disk images, or at least, change the way FUSE autodetect the images based on this options?
Yes, it possible... if i'll have some time, i implement such an autodetection.

BTW: you can use .dsk or .udi images for any emulated disk systems... this images store the disk geometry as well... :)
0 x

User avatar
druellan
Manic Miner
Posts: 417
Joined: Tue Apr 03, 2018 6:19 pm
Location: Argentina
Contact:

Re: Fuse 1.5.3 released

Post by druellan » Sat Jun 01, 2019 12:28 pm

szaszg wrote:
Wed May 29, 2019 4:59 pm
BTW: you can use .dsk or .udi images for any emulated disk systems... this images store the disk geometry as well... :)
Oh, I can try and convert them, but mind that I recovered those images waaaaay back, using a DOS disc utility and later the real disc emulation on RealSpectrum emulator. I'm still amazed that it actually worked!
0 x
Un buen día me puse a probar juegos de ZX Spectrum a ciegas en Youtube, terminó siendo:
📺 Retroarqueología en Youtube

User avatar
g0blinish
Microbot
Posts: 134
Joined: Sun Jun 17, 2018 1:54 pm

Re: Fuse 1.5.3 released

Post by g0blinish » Fri Jun 14, 2019 5:02 am

just played with an emulator. I choose Didaktik 80 and load demo. There are no AY sound(
How to enable it ?
0 x

serbalgi
Berk
Posts: 26
Joined: Sat Jan 06, 2018 11:13 am

Re: Fuse 1.5.3 released

Post by serbalgi » Sat Jun 15, 2019 7:34 am

g0blinish wrote:
Fri Jun 14, 2019 5:02 am
just played with an emulator. I choose Didaktik 80 and load demo. There are no AY sound(
How to enable it ?
Attach a Melodik AY interface on the 48k machine.
0 x

Post Reply