Function 09h Write Character and Attribute - at current cursor positionentry AH 09h
AL ASCII code of character to display
BH display page number - text mode
BL attribute/color of character
CX number of characters to write
return none
note 1) CX should not exceed actual rows availible, or results may be erratic
2) Setting CX to zero will cause runaway
3) All values of AL result in some sort of display; the various control
characters are not recognized as special and do not change the current
cursor position
4) Does not change cursor position when called - the cursor must be
advanced with int 10 function 0Ah.
5) If used to write characters in graphics mode with bit 7 of AH set to 1
the character will by XORed with the current display contents.
6) In graphics mode the bit patterns for ASCII character codes 80h-0FFh
are obtained from a table. On the standard PC and AT, the location is at
interrupt vector 01Fh (0000:007C). For ASCII characters 00h-07Fh, the
table is at an address in ROM. On the PCjr the table is at interrupt
vector 44h (0000:00110) and is in addressable RAM (may be replaced by
the user)
7) All characters are displayed, including CR, LF, and BS
Function 09h Write Character and Attribute - at current cursor position
Sample Code:
\Asm\Lib\BIOS.INC -@BIOSVidChrAtrOut MACRO char,atrib,page,repeat
file: /Techref/int/10f/09.htm, 1KB, , updated: 1999/4/26 11:10, local time: 2024/12/18 04:13,
3.22.27.253:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://ecomorder.com/techref/int/10f/09.htm"> int 10f 09</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Welcome to ecomorder.com! |
.