June 23, 2010
8.11 Set Media Type (FN 18h)
This function shall be used to force the BIOS to use a specific media type. This function is called by some
versions of DOS.
Entry
AH 18h
CH Low order 8 bits of the cylinder number
CL
DL BIOS device number
Exit
Carry Clear Function completed without error
ES:DI Pointer to parameter table. Formatting and definition of the parameter table is
Carry Set Function completed with an error
NOTE 2 — This function does not set the number of heads
Working Draft Enhanced Disk Drive - 4 (EDD-4)
Bit Description
7:6 high order 2 bits of the cylinder
5:0 sector number
AH Shall be cleared to zero
outside the scope of the standard.
AH Shall be set to the error code
T13/2132-D Revision 3
39