|
|
Copyright 1991 David Jurgens |
INT 13,9 - Initialize Fixed Disk Table (XT & newer)
AH = 09
DL = fixed disk number (80h=drive 0, 81h=drive 1)
on return:
AH = status (see INT 13,STATUS)
CF = 0 if successful
= 1 if error
- sets specified fixed disk table to the default values from ROM
- many good programming references indicate this function is only
available on the AT, PS/2 and later systems, but all hard disk
systems since the XT have this function available
- INT 41h vector is pointer to table for drive 0
- INT 46h vector is pointer to table for drive 1
Table definitions located by interrupt vectors 41H & 46H
Offset Size Description
00 word maximum number of cylinders
02 byte maximum number of heads
03 word starting reduced write current cylinder
05 word starting write pre-comp cylinder
07 byte maximum ECC data burst length
08 byte control byte:
│7│6│5│4│3│2│1│0│ Control byte
│ │ │ │ │ └─┴─┴──── drive option
│ │ └─┴─┴───────── always zero
│ └────────────── disable ECC retries
└─────────────── disable access retires
|
|
Esc or Alt-X to exit |
int 13,9 |
Home/PgUp/PgDn/End ←↑↓→ |