qa.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
   Summary  Notes  Back
──────────────────────────────────────────────────────────────────────────────
 
  Description:  Set Palette, Background, or Border      [CGA] [PCjr] [EGA]
                                                        [MCGA] [VGA]
 
  Selects a palette, background, or border color.
 
  Input                                                         Output
  ══════════════════════════════════════════════════            ═══════
  To set the background color and border color for              Nothing
   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 (see Notes)
                                    -♦-