Int 13H [AT] [PS/2] Function 16H (22) Get disk change status

Returns the status of the change line, indicating whether the disk in the drive may have been replaced since the last disk access.

Call with:

AH = 16H

DL = drive

00H—7FH floppy disk

Returns:

If change line inactive (disk has not been changed)

Carry flag = clear

AH = 00H

If change line active (disk may have been changed)

Carry flag = set

AH = 06H

Notes:

If this function returns with the carry flag set, the disk has not necessarily been changed; the change line can be activated by simply unlocking and locking the disk drive door without removing the floppy disk.

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