Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Ralf Brown's Interrupt List (Part 1,2) - int 61 - banyan vines - sowait - wait for asynchronous event completion http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
INT 61 - Banyan VINES - "Sowait" - WAIT FOR ASYNCHRONOUS EVENT COMPLETION
        AX = 0001h
        DS:DX -> communications control block (function 0005h)
Return: AX = status
            0000h  successful
            0001h  service not installed
            0002h  invalid service ID
            0003h-000Ah reserved for BANV interface errors
            00A2h  no more buffer space available
            00A3h  timeout event
Notes:  BANYAN can use any interrupt from 60h through 66h.  The Banyan
          interrupt handler is identified by the string "BANV" in the four
          bytes immediately preceding the interrupt handler
        returns results for all asynchronous operations invoked from the
          data segment used for this call

Format of control block:
Offset  Size    Description
 00h    WORD    0005h
 02h    WORD    pointer to argument block (see below)
 04h    WORD    error return code
 06h  4 BYTEs   reserved

Format of argument block:
Offset  Size    Description
 00h    WORD    pointer to WORD event pointer
 02h    WORD    timeout in multiples of 200ms, FFFFh = infinite

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson