Assembly Language Help (alang.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Int 10h Function 0Bh
 Detail                                    Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Interrupt:   10h     Function:   0Bh
 
  Title:       Set Palette, Background, or Border
 
  See also:    Color Summary, @SetColor, @SetPalette
 
  Description:                           [CGA] [PCjr] [EGA] [MCGA] [VGA]
 
     Selects a palette, background, or border color.
 
     Input                                                  Output
 
     To set the background color and border color for       None
     graphics modes or the border color for text modes
       AH = 0Bh
       BH = 00h
       BL = Color
 
     To select the palette (320-by-200 4-color
     graphics modes)
       AH = 0Bh
       BH = 01h
       BL = Palette
                                    -♦-