Chapter
6
I
BIOS
Services
Set Cursor Type
Set the cursor type and attribute.
Entry Conditions:
AH
=
1
CH
=
bit values:
bits
5-6:
bits
4-0
=
start line for cursor within character cell
bits
4-0
=
end line for cursor within character cell
CL
=
bit values:
Set Cursor Position
Write (set) cursor position.
Entry Conditions:
AH
=
2
BH
=
page number (must be
0
for graphics
modes)
DH
=
row
(0
=
top row)
.DL
=
column
(0
=
leftmost column)
Get
Cursor
Position
Read (get) cursor position.
Entry Conditions:
AH
=
3
BH
=
page number (must
Exit Conditions:
0
for
gral;
ics
modes)
DH
=
row
of
current cursor position
(0
=
top row)
DL
=
column of current cursor position
(0
=
leftmost column)
CH
=
cursor type currently set
[l]:
bits
5-6:
Setting bits
5
and
6
to
00,
produces
a
visible, blinking cur-
sor. Any other values result in an invisible cursor.
bits
4-0
=
start line for cursor within character cell
CL
=
bit values:
bits
4-0
=
end line for cursor within character cell
See Set Cursor Type (AH
=
1)
above.
197