Specifications

MICROPROCESSADORES
INTERRUPÇÕES
5
Luís Miguel Charrua Figueiredo 5 - 4 E.N.I.D.H.
AH = 0Bh
BH = 00h
BL = background/border color (border only in text modes)
Return
: nothing
SeeAlso
: AH=0Bh/BH=01h
INT 10 - VIDEO - WRITE GRAPHICS PIXEL
AH = 0Ch
BH = page number
AL = pixel color
if bit 7 set, value is XOR'ed onto screen except in 256-color modes
CX = column
DX = row
Return
: nothing
Desc
: set a single pixel on the display in graphics modes
Notes
: valid only in graphics modes BH is ignored if the current video mode
supports only one page
SeeAlso
: AH=0Dh,AH=46h
INT 10 - VIDEO - READ GRAPHICS PIXEL
AH = 0Dh
BH = page number
CX = column
DX = row
Return
: AL = pixel color
Desc
: determine the current color of the specified pixel in grahics modes
Notes
: valid only in graphics modes BH is ignored if the current video mode
supports only one page
SeeAlso
: AH=0Ch,AH=47h
INT 10 - 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
Notes
: characters 07h (BEL), 08h (BS), 0Ah (LF), and 0Dh (CR) are
interpreted and do the expected things IBM PC ROMs dated 1981/4/24 and
1981/10/19 require that BH be the same as the current active page
BUG
: if the write causes the screen to scroll, BP is destroyed by BIOSes for
which AH=06h destroys BP
SeeAlso
: AH=02h,AH=06h,AH=0Ah
INT 10 - VIDEO - GET CURRENT VIDEO MODE
AH = 0Fh
Return
: AH = number of character columns
AL = display mode (see #00010 at AH=00h)
BH = active page (see AH=05h)
Notes
: if mode was set with bit 7 set ("no blanking"), the returned mode will
also have bit 7 set EGA, VGA, and UltraVision return either AL=03h (color) or
AL=07h (monochrome) in all extended-row text modes HP 200LX returns AL=07h
(monochrome) if mode was set to AL=21h and always 80 resp. 40 columns in all
text modes regardless of current zoom setting (see AH=D0h) when using a
Hercules Graphics Card, additional checks are necessary:
mode 05h: if WORD 0040h:0063h is 03B4h, may be in graphics
page 1 (as set by DOSSHELL and other Microsoft software)
mode 06h: if WORD 0040h:0063h is 03B4h, may be in graphics
page 0 (as set by DOSSHELL and other Microsoft software)
mode 07h: if BYTE 0040h:0065h bit 1 is set, Hercules card is in
graphics mode, with bit 7 indicating the page (mode set by Hercules driver for
Borland Turbo C) the Tandy 2000 BIOS is only documented as returning AL, not
AH or BH
SeeAlso
: AH=00h,AH=05h,AX=10F2h,AX=1130h,AX=CD04h,MEM 0040h:004Ah
INT 10 - VIDEO - SET SINGLE PALETTE REGISTER
(PCjr,Tandy,EGA,MCGA,VGA)
AX = 1000h
BL = palette register number (00h-0Fh)
= attribute register number (undocumented) (see #00017)
BH = color or attribute register value
Return
: nothing
Notes
: on MCGA, only BX = 0712h is supported under UltraVision, the
palette locking status (see AX=CD01h) determines the outcome
SeeAlso
: AX=1002h,AX=1007h,AX=CD01h
(Table 00017)
Values for attribute register number:
10h attribute mode control register (should let BIOS control this)
11h overscan color register (see also AX=1001h)
12h color plane enable register (bits 3-0 enable corresponding
text attribute bit)
13h horizontal PEL panning register
14h color select register
INT 10 - VIDEO - SET BORDER (OVERSCAN) COLOR (PCjr,Tandy,EGA,VGA)
AX = 1001h
BH = border color (00h-3Fh)
Return
: nothing
BUG
: the original IBM VGA BIOS incorrectly updates the parameter save
area and places the border color at offset 11h of the palette table rather than offset
10h
Note
: under UltraVision, the palette locking status (see AX=CD01h)
determines the outcome
SeeAlso
: AX=1002h,AX=1008h,AX=CD01h
INT 10 - VIDEO - SET ALL PALETTE REGISTERS (PCjr,Tandy,EGA,VGA)
AX = 1002h
ES:DX -> palette register list (see #00018)
BH = 00h to avoid problems on some adapters
Return
: nothing
Note
: under UltraVision, the palette locking status (see AX=CD01h)
determines the outcome
SeeAlso
: AX=1000h,AX=1001h,AX=1009h,AX=CD01h
Format of palette register list:
Offset Size Description (Table 00018)
00h 16 BYTEs colors for palette registers 00h through 0Fh
10h BYTE border color
SeeAlso
: #00461
INT 10 - VIDEO - GET INDIVIDUAL PALETTE REGISTER (VGA,UltraVision
v2+)
AX = 1007h
BL = palette or attribute (undoc) register number (see #00017)
Return
: BH = palette or attribute register value
Note
: UltraVision v2+ supports this function even on color EGA systems in
video modes 00h-03h, 10h, and 12h; direct programming of the palette registers
will cause incorrect results because the EGA registers are write-only. To guard
against older versions or unsupported video modes, programs which expect to use
this function on EGA systems should set BH to FFh on entry.
SeeAlso
: AX=1000h,AX=1009h
INT 10 - VIDEO - READ OVERSCAN (BORDER COLOR) REGISTER
(VGA,UltraVision v2+)
AX = 1008h
Return
: BH = border color (00h-3Fh)
Note
: (see AX=1007h)
SeeAlso
: AX=1001h
INT 10 - VIDEO - READ ALL PALETTE REGISTERS AND OVERSCAN
REGISTER (VGA)
AX = 1009h
ES:DX -> 17-byte buffer for palette register list (see #00018)
Return
: nothing
Note
: UltraVision v2+ supports this function even on color EGA systems in
video modes 00h-03h, 10h, and 12h; direct programming of the palette registers
will cause incorrect results because the EGA registers are write-only. To guard