Int 15H [AT] [PS/2] Function 86H (134) Delay

Suspends the calling program for a specified interval in microseconds.

Call with:

AH = 86H

CX:DX = microseconds to wait

Returns:

If function successful (wait was performed)

Carry flag = clear

If function unsuccessful (wait was not performed)

Carry flag = set

Notes:

The actual duration of the wait is always an integral multiple of 976 microseconds.

Use of this function allows programmed, hardware-independent delays at a finer resolution than can be obtained through use of the MS-DOS Get Time function (Int 21H Function 2CH, which returns time in hundredths of a second).

See also Int 15H Function 83H, which triggers a semaphore after a specified interval but does not suspend the calling program.