vAmiga
vAmiga copied to clipboard
Hard drive geometry not recognized correctly
It has 578112 blocks and GeometryDescriptor::driveGeometries
(called from HDFFile::getGeometryDescriptor
) tries to find a suitable geometry, but because all of them result in more than 1024 cylinders they're rejected. FWIW WinUAE just uses 18066/1/32 (C/H/S) for this one. Increasing HDR_C_MAX works around it (3011/6/32 is possible for example). I don't think you'll run in to any issues increasing it to ~16M (just checked my own implementation, and the only place where the number of cylinders is visible to emulation is with direct SCSI commands, and there 24-bit values are supported).
Fixed