So, here's a puzzler for you guys that maybe someone can shed some light on.
I've got a game on a 5.25 floppy that I was trying to copy out to disk because the floppy seems to be on its last legs. It's a self-booting floppy, so there's no FAT boot sector to read info out of. In a case like this, how would you tell what the size of the floppy (cylinders, heads, sectors) is if you don't know it? Is it possible?
What I ended up doing was just trying guesses from largest to smallest, until I hit on the right combination. But if I wanted to do this 100% programmatically, is there a way? There seems to be a BIOS call for reading drive info, but it only returns the floppy drive's max capabilities, not info on the actual disk in it.