Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Interrupts & Ports - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

        Semaphores (INT 21h, C5h - Novell NetWare 4.6)

        Entry:
          AH = C5h
          AL = subfunction
               00h open semaphore
                    DS:DX -> semaphore name
                    CL = initial value
               01h examine semaphore
                   Return: CX = semaphore value (sign extended)
                           DL = open count
               02h wait on semaphore
                    BP = timeout in timer ticks (1/18 sec)
               03h signal semaphore
               04h close semaphore
          CX:DX = semaphore handle (except function 00h)
        Return:
          AL = error code
          if function 00h
             CX:DX = semaphore handle
             BL = open count

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