Int 33H Function 07H Set horizontal limits for pointer

Limits the mouse pointer display area by assigning minimum and maximum horizontal (X) coordinates for the mouse pointer.

Call with:

AX = 0007H

CX = minimum horizontal (X) coordinate

DX = maximum horizontal (X) coordinate

Returns:

Nothing

Notes:

If the minimum value is greater than the maximum value, the two values are swapped.

The mouse pointer will be moved if necessary so that it lies within the specified horizontal coordinates.

See also Int 33H Function 10H, which defines an exclusion area for the mouse pointer.