The 1983 version of the “IBM XT BIOS Technical Reference” shows these functions are available for the XT but many other programming references say they aren't available until the AT.
This is probably due to misunderstanding the design of the disk BIOS. Upon bootup the hard disk BIOS replaces the default INT 13h diskette handler with the hard disk INT 13h handler.
reg | value | descr |
---|---|---|
AH | 0x08 | |
DL | var | Drive number (0=A, 1=2nd floppy, 0x80=drive 0, 0x81=drive 1) |
0x_ |
reg | descr |
---|---|
CF | 0 if successful 1 if error |
AH | status (see INT 13,01) |
BL | CMOS drive type 01 - 51/4: 360K 02 - 51/4: 1.2Mb 03 - 31/2: 720K 04 - 31/2: 1.44Mb |
CH | cylinders (0-1023 dec. see below) |
CL | sectors per track (see below) |
DH | number of sides (0 based) |
DL | number of drives attached |
ES:DI | pointer to 11 byte Disk Base Table (DBT) |
bit | descr |
---|---|
0-5 | sector number |
6-7 | high order 2 bits of track/cylinder |
8-15 | low order 8 bits of track/cyl number |