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
475 stars 95 forks source link

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

Open jesup opened 5 months ago

jesup commented 5 months 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