MOV
MOV
MOV
PUSH
POP
LEA
INT
AX, F33_GRAPH_CURSOR
ax,s
CX, 1
OS
ES
ox,
SPRITE
INT_HPMOUSE
" load the function code
" hot spot
at
(5, 1)
" set up the es register
" load offset of sprite
" call mouse driver (33H)
F33_TEXT_CURSOR
(AX
=
OOOAH)
This function defines either a software text cursor, or what the hardware text cursor looks like.
The parameter in BX selects the cursor type. When BX equals one, the hardware cursor is
defined. When BX equals 0, the software cursor is selected. If the hardware cursor is selected,
then the parameters in
ex
and DX define the first and last scan line of the hardware cursor. If
the software cursor is selected, then
ex
defines the AND mask for the character and attribute
bytes. DX defines the new character and attribute bytes.
On Entry:
AX
=
F33_TEXT_CURSOR (OOOAH)
BX
=
Cursor Type
Data
Definition
o
Software cursor
1
Hardware cursor
For software cursor:
ex
=
attribute/character AND mask
DX
=
attribute/character XOR mask
For hardware cursor:
ex
=
first scan line
DX
=
last scan line
On Exit:
None
Registers Altered:
None
F33_MOTION
(AX
=
OOOBH)
This function reads the mouse motion counters. Both the X and Y motions are reported. A
positive X motion indicates a movement to the right. A positive Y motion represents a movement
to the bottom of the screen. The motion counters are cleared after the function call.
Mouse
207
Need help?
Do you have a question about the Vectra and is the answer not in the manual?