Function 0Bh Set Color Palette - set palette for graphics or text borderentry AH 0Bh
BH 00h select border (text mode)
BL color 0-15, 16-31 for high-intensity characters
BH 01h set graphics palette with value in BL
(CGA) BL 0 green/red/yellow
1 cyan/magenta/white
(EGA) (graphics modes)
BH 0
BL has border color (0-15) & high intensity bkgr'd color (16-31)
BH 1
BL contains palette being selected (0-1)
return none
note 1) Valid in CGA mode 04h, PCjr modes 06h, 08h-0Ah
2) Although the registers in the MCGA may be set as if to change the
border, the MCGA will not display a border no matter what register
settings are used.
Function 0Bh Set Color Palette - set palette for graphics or text border
Sample Code:
\Asm\Lib\BIOS.INC -@BIOSVidBoarderSet MACRO color
\Asm\Lib\BIOS.INC -@BIOSVidPaletSet MACRO color
file: /Techref/int/10f/0b.htm, 1KB, , updated: 1999/4/26 10:52, local time: 2024/12/26 04:42,
3.129.210.36: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://massmind.org/techref/int/10f/0b.htm"> int 10f 0b</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to massmind.org! |
.