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 33 - ms mouse - set alternate mouse user handler http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
INT 33 - MS MOUSE - SET ALTERNATE MOUSE USER HANDLER
        AX = 0018h
        CX = call mask
             bit 0 call if alt key pressed during event
             bit 1 call if ctrl key pressed during event
             bit 2 call if shift button pressed during event
             bit 3 call if right button released
             bit 4 call if right button pressed
             bit 5 call if left button released
             bit 6 call if left button pressed
             bit 7 call if mouse moves
        ES:DX = address of FAR routine
Return: AX = 0018h if successful
           = FFFFh on error
Notes:  when the subroutine is called, it is passed the following values:
          AX = condition mask (same bit assignments as call mask)
          BX = button state
          CX = cursor column
          DX = cursor row
          DI = horizontal mickey count
          SI = vertical mickey count
        up to three handlers can be defined by separate calls to this function

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