SECTION 6
Conversions and Interfaces
PEN*KEY
R
6200/6300 Hand-Held Computer Programmer’s Reference Guide 6-57
INT 13h, Function AH = 08h: Read Drive Parameters
BIOS
A fixed format is all that is supported for any drive. This function reports the
native format for any given drive. See the Error Codes table (page 6Ć54) for
definitions.
On Entry:
AH = 08h
DL = Drive number
On Return:
If successful:
Carry = 0
AH = 0
AL = Number of sectors actually transferred
BX = 5
CX = 7F08h (128 cylinders, 8 sectors per track)
DH = 0 (One head per cylinder)
DL = 3 (Number of floppy drives)
If NOT successful:
Carry = 1
AH = Drive status
INT 13h, Function AH = 15h: Get Disk Type
BIOS
Returns AH = 01 (floppy with NO changeĆline support ) as long as the drive
number is valid. See the Error Codes table (page 6Ć54) for definitions.
On Entry:
AH = 15h
DL = Drive number
On Return:
if successful:
Carry = 0
AH = Type code:
00h = No such drive
01h = Floppy without changeĆline support
02h = Floppy with changeĆline support
03h = Hard disk
CX:DX = Number of 512Ćbyte sectors
if NOT successful:
Carry = 1
AH = Drive status
6. Conversions and
Interfaces