When running on pre-AT platforms, there is no standard way to detect floppy drives, neither existence nor type. The practical (and convenient) choice is to assume 2 drives and 360k type, which will cover many - maybe most - situations, including emulators.
Misc cleanups and adjustments - notably: