Table des matières

INT 0x10 - 0x01 - Set Cursor Type

Request/Call:

reg value descr
AH 0x01
CH xx cursor starting scan line (cursor top) (low order 5 bits)
CL xx cursor ending scan line (cursor bottom) (low order 5 bits)

Use CX = 0x2000 to disable cursor

Return:

Nothing

ScanLine Infos

Video Line
Count
Starting
Scan Line
Ending
Scan Line
Character
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

Notes & Comments

  • 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.

Back