qbarnes / cw2dmk

The new home of Tim Mann's CatWeasel support tools for TRS-80 floppy preservation. The Releases area contains binaries for MS-DOS and x86_64 Linux.
http://www.tim-mann.org/catweasel.html
GNU General Public License v2.0
16 stars 2 forks source link

Quirk iam #15

Closed TimothyPMann closed 2 years ago

TimothyPMann commented 2 years ago

Here's another change motivated by weirdness on one of Rüdiger's disks. This disk seems to have been written by the original OS without regard for the index hole location, so some sectors are split across the index hole in such a way that a Catweasel hole to hole read can't successfully decode the sector, because some of it is missing both from the beginning and the end.

With this change that fixes IAM detection, Rüdiger would be able to reread the disk with -h0 and -i96 or so and get a good read with all the tracks lined up starting at the IAM. (Without the change, -h0 would still work and would get all the sectors, but -i couldn't align them because the IAM doesn't get detected on many of the tracks.)

TimothyPMann commented 2 years ago

I rebased to master and did a force push, so this should apply cleanly now.