Int 13H [AT] [PS/2] Function 17H (23) Set disk type

Selects a floppy disk type for the specified drive.

Call with:

AH = 17H

AL = floppy disk type code

00H not used

01H 320/360 KB floppy disk in 360 KB drive

02H 320/360 KB floppy disk in 1.2 MB drive

03H 1.2 MB floppy disk in 1.2 MB drive

04H 720 KB floppy disk in 720 KB drive

SL = drive

00H—7FH floppy disk

Returns:

If function successful

Carry flag = clear

AH = 00H

If function unsuccessful

Carry flag = set

AH = status (see Int 13H Function 01H)

Notes:

This function is not supported for floppy disks on the PC or PC/XT.

If the change line is active for the specified drive, it is reset. The ROM BIOS then sets the data rate for the specified drive and media type.