I do not know how to "enumerate" the available bios disks in real mode.
However, there are some things that may help:
- Number of hard drives stored
40:75in the BIOS the Data Area . Although I do not know that drive numbers are assigned sequentially, I would expect them to be. If so, the list of hard drives will run from 0x80 to 0x80 + (40:75 - 1) (although there may possibly be 0 hard drives, so 0x80 may also be invalid). - There is also
int 21h function 0E (select the default drive) that returns the "highest drive". Without verification, I assume this is due to LastDrive , but it might be useful. - , ,
int 13h function 08 ( ) , . , DOS 26 ( , -, ..), .
, bios . , # 0 0x80, # 1 - 0x81 .. 0.
, USB-, DOS, , . , , , .