Int 13H [PC] Function 13H (19) Controller drive diagnostic

Causes the fixed disk adapter to run internal diagnostic tests of the attached drive, indicating whether the test was passed by the returned status.

Call with:

AH = 13H

Returns:

If function successful

Carry flag = clear

If function unsuccessful

Carry flag = set

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

Note:

This function is supported on PC/XT fixed disks only.