INT 10H 03H: Query Cursor Position and Size
Compatibility: All
Expects: AH 03H
BH video page number (0-based)
──────────────────────────────────────────────────────────────────
Returns: CH cursor starting scan-line
CL cursor ending scan-line
DH current row (0-based)
DL current column (0-based)
──────────────────────────────────────────────────────────────────
Info: This obtains the current cursor position and the size/shape of
the cursor for a specified video page.
BH specifies a video page (use 0 in most cases). The BIOS maintains
the cursor position for each video page; they are saved starting
at 0040:0050. The cursor size is saved only for the current
video page, so you may need to maintain it separately if you are
using a page-switching technique.
DH,DL and CH,CL return containing cursor information.
See Also: INT 10H 01H (set cursor size)
INT 10H 02H (set cursor position)
INT 10H: Video Services
-♦-