[A BIOS delay]                                         [Assembler][/][8086]

This gem presents a delay using BIOS. It will use the interrupt 15H
function 86H. The function let you time in microseconds. You input two 16
bit values and the function will do the rest:

;
; a BIOS delay
;
; input:
;   ah = 86h, al = dont care
;   cx = low 16 bits of timing value
;   dx = high 16 bits of timig value
;
; output:
;   delay
;
; destroys:
;   nothing (ah may be recarded as destroyed)
;

        mov     ah,86h
        mov     cx,[lo16bit]
        mov     dx,[hi16bit]
        int     15h

                                                  Gem writer: John Eckerdal
                                                   last updated: 1998-03-16
