ID Number: Q39311
5.00 5.10 6.00 6.00a 6.00ax 7.00 | 5.10 6.00 6.00a 6.00ax
MS-DOS | OS/2
Summary:
The first floppy drive in a computer is identified as drive 0, with
additional floppy drives numbered sequentially. However, the first
fixed disk is identified as drive 0x80 (128 decimal) with additional
partitions numbered sequentially. Therefore, call _bios_disk() with
the drive parameter set to 0x80 to access the first fixed disk. Note
that the BIOS accesses physical disks, and is not aware of the logical
MS-DOS disk partitions. If you have logical drives C and D, they would
both be accessed by the _bios_disk() function as drive 0x80.
The following is an example:
Physical Drive diskinfo.drive
-------------- --------------
A 0
B 1
C 0x80
D 0x81
E 0x82
. .
. .
. .
Additional reference words: 5.10 6.00 6.00a 6.00ax 7.00