FrodeSolheim / fs-uae

Cross-platform Amiga emulator with a slight focus on gaming, but also with solid support for productivity apps including just-in-time (JIT) compilation.
https://fs-uae.net/
GNU General Public License v2.0
460 stars 91 forks source link

RDSK only detected in the first sector of an HD image #347

Open jesup opened 2 weeks ago

jesup commented 2 weeks ago

When a disk image is configured, it detects and handles RDSK partitioning -- but only if block 0 starts with RDSK. The spec for RDSK says RDSK can be anywhere in the first 16 sectors (which allows it to coexist with other partitioning schemes like MSDOS, at least in theory). I copied my RDSK from block 3 to block 0 and the image mounted properly.

The fix should be simple, just check sectors 0-15 for RDSK blocks