mirror of
https://github.com/holub/mame
synced 2025-05-07 23:02:33 +03:00
flex_dsk: add workaround for Gimix Flex 3.6 expecting tracks 1 and 2 to be MFM. It will now also boot. (no whatsnew)
This commit is contained in:
parent
4987adf1ae
commit
fe28eca130
@ -87,7 +87,10 @@ bool flex_format::load(io_generic *io, UINT32 form_factor, floppy_image *image)
|
|||||||
sdatapos += bps;
|
sdatapos += bps;
|
||||||
}
|
}
|
||||||
// gap sizes unverified
|
// gap sizes unverified
|
||||||
build_wd_track_fm(track, head, image, cell_count, spt, sects, 24, 16, 11);
|
if(total_tracks == 35 && spt == 18 && (track >= 1 && track <= 2)) // handle Gimix Flex 3.6 disk image, which the boot sector loads tracks 1 and 2 as MFM
|
||||||
|
build_wd_track_mfm(track, head, image, cell_count*2, spt, sects, 50, 32, 22);
|
||||||
|
else
|
||||||
|
build_wd_track_fm(track, head, image, cell_count, spt, sects, 24, 16, 11);
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -20,8 +20,6 @@ public:
|
|||||||
virtual int identify(io_generic *io, UINT32 form_factor);
|
virtual int identify(io_generic *io, UINT32 form_factor);
|
||||||
virtual bool load(io_generic *io, UINT32 form_factor, floppy_image *image);
|
virtual bool load(io_generic *io, UINT32 form_factor, floppy_image *image);
|
||||||
private:
|
private:
|
||||||
// static const format formats[];
|
|
||||||
|
|
||||||
struct sysinfo_sector
|
struct sysinfo_sector
|
||||||
{
|
{
|
||||||
UINT8 unused1[16];
|
UINT8 unused1[16];
|
||||||
|
Loading…
Reference in New Issue
Block a user