Repository: keirf/flashfloppy

Issue #121: Self describing MFM/FM RAW image formats
Created: 2018-06-01T01:55:50Z
As a feature request I would like to see RAW disk images using a self describing disk image file naming format added.  By RAW I mean headless disk images that consists of only sector data and no other embedded information about the disk layout.  RAW images are typically arranged in an alternating format so that double sided disks have a file structure of T0H0, T0H1, T1H0, T1H1, etc. for double sided disk.
Basically it would be mainly intended for normal non copy protected disk formats.  Any disk formats that are more involved such as physically skewed sectors on the tracks themselves might need more options to describe.
The naming structure would consist of something like "diskname.C-H-S.raw".  Using this format would assume a default format of 512 bytes per sector.  A further option could be specified if the sector size is not 512 so a 256 byte sector disk could use "-z256" or to keep the name short use a physical shift value instead such as "-p0, -p1, -p2, -p3" (128, 256, 512, 1024).  The default format would assume MFM but could add "-f" for FM and "-m" for MFM.
If the data rate needs to be specified too then something like "-rnnn" could be added otherwise use a default value of 250 kHz.
Any GAP values required can be calculated from the values shown above but could set it with another parameter of say "-gnnn".
For the first sector number if 1 is not used could use "-snnn".
For my use I'd say over 98% of my disks would use the default C-H-S format.  I guess the FF config file could also have default settings for the other values.

Duplicate issue #210: ICE FELIX HC2000 support (ZX Spectrum clone)
Created: 2019-03-10T17:48:10Z
Hi,
I just flashed the FlashFloppy firmware on my new Gotek and I want to thank for this great upgrade for my Gotek. I tested it with my Amstrad and IBM PCs and it works a treat!
Here in Romania, we have a ZX Spectrum computer clone (HC2000) which uses a CP/M disk format with some custom modifications to store ZX Spectrum programs on disk rather than tape.
The computer can run in 2 modes: CP/M and Spectrum BASIC. CP/M disks are read fine and work great from FlashFloppy, but BASIC disks (based on CP/M format) don't work.
The disk format is described here: https://sites.google.com/site/georgechirtoaca/documentation/hcfsv1.txt?attredirects=0
You can see section 4 (especially 4.1) for the complete specification of the BASIC disk format.
The main difference would be the fact that it uses 80 tracks x 2 heads x 16 sect/track x 256 B/sect = 655360 B
Also, a sample disk image can be downloaded here: https://sites.google.com/site/georgechirtoaca/software/BASICDEMO.ZIP?attredirects=0
Let me know if I can help in providing more info than this.
If you point me in the right dirrection in the FlashFloppy code, I might try myself to add support and test.
Thanks a lot,
Mihai

Closing comment (2019-03-12T11:57:43Z): These varied CP/M formats will be solved by having "self-describing" images. Essentially you will tag your image files like eg. DEMO.CPM.IMG and the tag "CPM" will be looked up in a config file to find the track geometry: C-H-S and so on. I am currently working on this. It is tracked in #121