[BACK]Return to pcdisplay.h CVS log [TXT][DIR] Up to [local] / sys / dev / ic

Annotation of sys/dev/ic/pcdisplay.h, Revision 1.1.1.1

1.1       nbrk        1: /*     $OpenBSD: pcdisplay.h,v 1.2 2001/02/02 20:25:39 aaron Exp $ */
                      2: /*     $NetBSD: pcdisplay.h,v 1.1 1998/05/14 23:11:03 drochner Exp $   */
                      3:
                      4: /*
                      5:  * IBM PC display definitions
                      6:  */
                      7:
                      8: /* Color attributes for foreground text */
                      9:
                     10: #define        FG_BLACK                   0
                     11: #define        FG_BLUE                    1
                     12: #define        FG_GREEN                   2
                     13: #define        FG_CYAN                    3
                     14: #define        FG_RED                     4
                     15: #define        FG_MAGENTA                 5
                     16: #define        FG_BROWN                   6
                     17: #define        FG_LIGHTGREY               7
                     18: #define        FG_DARKGREY                8
                     19: #define        FG_LIGHTBLUE               9
                     20: #define        FG_LIGHTGREEN             10
                     21: #define        FG_LIGHTCYAN              11
                     22: #define        FG_LIGHTRED               12
                     23: #define        FG_LIGHTMAGENTA           13
                     24: #define        FG_YELLOW                 14
                     25: #define        FG_WHITE                  15
                     26: #define        FG_BLINK                0x80
                     27: #define        FG_MASK                 0x8f
                     28:
                     29: /* Color attributes for text background */
                     30:
                     31: #define        BG_BLACK                0x00
                     32: #define        BG_BLUE                 0x10
                     33: #define        BG_GREEN                0x20
                     34: #define        BG_CYAN                 0x30
                     35: #define        BG_RED                  0x40
                     36: #define        BG_MAGENTA              0x50
                     37: #define        BG_BROWN                0x60
                     38: #define        BG_LIGHTGREY            0x70
                     39: #define        BG_MASK                 0x70
                     40:
                     41: /* Monochrome attributes for foreground text */
                     42:
                     43: #define        FG_UNDERLINE            0x01
                     44: #define        FG_INTENSE              0x08
                     45:
                     46: /* Monochrome attributes for text background */
                     47:
                     48: #define        BG_INTENSE              0x10

CVSweb