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 10H Subfunction 02H
   Summary  Notes  Back
──────────────────────────────────────────────────────────────────────────────
 
    The color list is 17 bytes long. The first 16 bytes are the color values
    to be loaded into palette registers 0-15, and the last byte is stored in
    the border color register.
 
    In 16-color graphics modes, the following default palette is set up:
 
    Pixel value  Color
    ═══════════  ════════════
    01H          blue
    02H          green
    03H          cyan
    04H          red
    05H          magenta
    06H          brown
    07H          white
    08H          gray
    09H          light blue
    0AH          light green
    0BH          light cyan
    0CH          light red
    0DH          light magenta
    0EH          yellow
    0FH          intense white
                                    -♦-