Specifications
D:\D\inter61a\INTERRUP.A Saturday, January 08, 2011 11:31 AM
used
because of the IBM BIOS specifications, there may exist some clone
BIOSes which do not preserve SI or DI; the Novell DOS kernel
preserves SI, DI, and BP before many INT 10h calls to avoid problems
due to those registers not being preserved by the BIOS.
BUG: some IBM PC ROM BIOSes destroy BP when in graphics modes
SeeAlso: AH=09h,AX=1003h,AX=1103h,AH=12h/BL=37h,AX=5001h
Bitfields for character's display attribute:
Bit(s) Description (Table 00014)
7 foreground blink or (alternate) background bright (see also AX=1003h)
6-4 background color (see #00015)
3 foreground bright or (alternate) alternate character set (see AX=1103h)
2-0 foreground color (see #00015)
SeeAlso: #00026
(Table 00015)
Values for character color:
Normal Bright
000b black dark gray
001b blue light blue
010b green light green
011b cyan light cyan
100b red light red
101b magenta light magenta
110b brown yellow
111b light gray white
--------V-1009-------------------------------
INT 10 - VIDEO - WRITE CHARACTER AND ATTRIBUTE AT CURSOR POSITION
AH = 09h
AL = character to display
BH = page number (00h to number of pages - 1) (see #00010)
background color in 256-color graphics modes (ET4000)
BL = attribute (text mode) or color (graphics mode)
if bit 7 set in <256-color graphics mode, character is XOR'ed
onto screen
CX = number of times to write character
Return: nothing
Notes: all characters are displayed, including CR, LF, and BS
replication count in CX may produce an unpredictable result in graphics
modes if it is greater than the number of positions remaining in the
-56-
Generated by Foxit PDF Creator © Foxit Software
http://www.foxitsoftware.com For evaluation only.