Int 33H Function 0AH (10) Set text pointer type

Defines the shape and attributes of the mouse pointer in text modes.

Call with:

AX = 000AH

BX = pointer type

0 = software cursor

1 = hardware cursor

CX = AND mask value (if BX = 0) or

starting line for cursor (if BX = 1)

DX = XOR mask value (if BX = 0) or

ending line for cursor (if BX = 1)

Returns:

Nothing

Notes:

If the software text cursor is selected (BX = 0), the masks in CX and DX are mapped as follows:

Bit(s) Significance 0—7 character code 8—10 foreground color 11 intensity 12—14 background color 15 blink

For example, the following values would yield a software mouse cursor that inverts the foreground and background colors:

AX = 000AH

BX = 0000H

CX = 77FFH

DX = 7700H

When the hardware text cursor is selected (BX = 1), the values in CX and DX are the starting and ending scan lines for the blinking cursor generated by the video adapter. The maximum scan line which may be used depends on the type of adapter and the current display mode.