Quote:
> Hello!
> Can someone help me to use the mouse in my Programs. I now that I have
> to Write something to Port 2f3 (Com 1).
It's much easier than that. Use the functions of interrupt 33h.
AX = 0: Initialize mouse
AX = 1: Show mouse cursor
AX = 2: Hide mouse cursor
AX = 3: Get coordinates (BX: Button (0: None, 1: Left, 2: Right, 3: Both),
CX: X coordinate, DX: Y coordinate)
Shift the X and Y coordinates 3 bits to the right, and decrement
by 1 to get the correct textmode coordinates