106
Set User Handler
Sets up the interrupt condition required to call the corresponding subroutine
in the application program as well as the subroutine to be called.
If an interrupt occurs, the following values are stored in the register.
Input:
AX = 12
CX = Interrupt mask
b0=1 Cursor position is modified.
b1=1 Left button is pressed.
b2=1 Left button is released.
b3=1 Right button is pressed.
b4=1 Right button is released.
ES:DX = Interrupt address
Output:
None
If an interrupt occurs, the following values are stored in the register.
AX = Mouse status
b0=1 Cursor is moved.
b1=1 Left button is pressed.
b2=1 Left button is released.
b3=1 Right button is pressed.
b4=1 Right button is released.
BX = Button status
b0=1 Left button is pressed.
b1=1 Right button is pressed.
CX = X coordinate of the cursor position
DX = Y coordinate of the cursor position
SI = Distance of mouse movement in the X direction
DI = Distance of mouse movement in the Y direction
Enable Write Pen
Emulation
(Dummy Function)
Enables the emulation of write pen with the mouse. This is a dummy
function.
Input:
AX = 13
Output:
None
Disable Write Pen
Emulation
(Dummy Function)
Disables the emulation of write pen with the mouse. This is a dummy
function.
Input:
AX = 14
Output:
None