Assembly Language Help (alang.hlp) (Table of Contents; Topic list)
Monochrome Display Attributes
 Color                                     Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Monochrome attribute bytes correspond to specific screen positions in the
  same way as color attribute bytes. Bits 4-7 determine a character's
  background appearance and blink state. Bits 0-3 determine foreground
  appearance and brightness.
 
      7        6        5        4           3        2        1        0
 ┌────────┬────────┬────────┬────────┐  ┌────────┬────────┬────────┬────────┐
 │ Blink  │        │        │        │  │ Bright │        │        │        │
 └────────┴────────┴────────┴────────┘  └────────┴────────┴────────┴────────┘
 
              Background                              Foreground
 
 ────────────────────────────────────┬──────────────────────────────────────
  ── Bits ──    Hex                  │ ── Bits ──    Hex
  7  6  5  4   Value  Color          │ 3  2  1  0   Value  Color
 ────────────────────────────────────┼──────────────────────────────────────
  0  0  0  0   0      Black          │ 0  0  0  0   0      Black
  0  1  1  1   7      Reverse        │ 0  0  0  1   1      Underlined
  1  0  0  0   8      Blink          │ 0  1  1  1   7      Normal
  1  1  1  1   F      Reverse blink  │ 1  0  0  1   9      Bright Underlined
                                     │ 1  1  1  1   F      Bright
 ────────────────────────────────────┴──────────────────────────────────────
 
  See also: Video Buffers
                                    -♦-