|
|
Copyright 1991 David Jurgens |
INT 10,1 - Set Cursor Type
AH = 01
CH = cursor starting scan line (cursor top) (low order 5 bits)
CL = cursor ending scan line (cursor bottom) (low order 5 bits)
returns nothing
- cursor scan lines are zero based
- cursor size can also be set via the 6845 CRT controller
- cursor size can be determined using the CRTC, INT 10,3 or the
BIOS Data Area bytes 40:60 (ending scan line) and 40:61 (starting
scan line)
- the following is a list of the cursor scan lines associated with
most common adapters; screen sizes over 40 lines may differ
depending on adapters.
Line Starting Ending Character
Video Count Scan Line Scan Line Point Size
CGA 25 06 07 08
MDA 25 0B 0C 0E
EGA 25 06 07 0E
EGA 43 04/06 07 08
VGA 25 0D 0E 10
VGA 40 08 09 0A
VGA 50 06 07 08
- use CX = 2000h to disable cursor
|
|
Esc or Alt-X to exit |
int 10,1 |
Home/PgUp/PgDn/End ←↑↓→ |