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