BIOS Video

Int 10h/AH=02h


VIDEO - SET CURSOR POSITION

AH = 02h
BH = page number
0-3 in modes 2&3
0-7 in modes 0&1
0 in graphics modes
DH = row (00h is top)
DL = column (00h is left)

Return:   Nothing


Int 10h/AH=03h

VIDEO - GET CURSOR POSITION AND SIZE

AH = 03h
BH = page number
0-3 in modes 2&3
0-7 in modes 0&1
0 in graphics modes

Return:   CH = start scan line CL = end scan line DH = row (00h is top) DL = column (00h is left)


Int 10h/AH=08h

VIDEO - READ CHARACTER AND ATTRIBUTE AT CURSOR POSITION

AH = 08h
BH = page number (00h to number of pages - 1)

Return:
AH = character's attribute (text mode only)
AL = character


Int 10h/AH=09h

VIDEO - WRITE CHARACTER AND ATTRIBUTE AT CURSOR POSITION

AH = 09h
AL = character to display
BH = page number (00h to number of pages - 1) 
BL = attribute (text mode) or color (graphics mode)
CX = number of times to write character

Return:
Nothing


Int 10h/AH=0Eh

VIDEO - TELETYPE OUTPUT

AH = 0Eh
AL = character to write
BH = page number
BL = foreground color (graphics modes only)

Return:
Nothing

Desc: Display a character on the screen, advancing the cursor and scrolling the screen as necessary.