1c8fe38aeSMatthew Dillon /* 2c8fe38aeSMatthew Dillon * IBM PC display definitions 3c8fe38aeSMatthew Dillon * 4c8fe38aeSMatthew Dillon * $FreeBSD: src/sys/i386/include/pc/display.h,v 1.5.2.1 2001/12/17 10:31:05 nyan Exp $ 5c8fe38aeSMatthew Dillon */ 6c8fe38aeSMatthew Dillon 7*3b2f3463Szrj #ifndef _MACHINE_PC_DISPLAY_H_ 8*3b2f3463Szrj #define _MACHINE_PC_DISPLAY_H_ 9*3b2f3463Szrj 10c8fe38aeSMatthew Dillon /* Color attributes for foreground text */ 11c8fe38aeSMatthew Dillon 12c8fe38aeSMatthew Dillon #define FG_BLACK 0 13c8fe38aeSMatthew Dillon #define FG_BLUE 1 14c8fe38aeSMatthew Dillon #define FG_GREEN 2 15c8fe38aeSMatthew Dillon #define FG_CYAN 3 16c8fe38aeSMatthew Dillon #define FG_RED 4 17c8fe38aeSMatthew Dillon #define FG_MAGENTA 5 18c8fe38aeSMatthew Dillon #define FG_BROWN 6 19c8fe38aeSMatthew Dillon #define FG_LIGHTGREY 7 20c8fe38aeSMatthew Dillon #define FG_DARKGREY 8 21c8fe38aeSMatthew Dillon #define FG_LIGHTBLUE 9 22c8fe38aeSMatthew Dillon #define FG_LIGHTGREEN 10 23c8fe38aeSMatthew Dillon #define FG_LIGHTCYAN 11 24c8fe38aeSMatthew Dillon #define FG_LIGHTRED 12 25c8fe38aeSMatthew Dillon #define FG_LIGHTMAGENTA 13 26c8fe38aeSMatthew Dillon #define FG_YELLOW 14 27c8fe38aeSMatthew Dillon #define FG_WHITE 15 28c8fe38aeSMatthew Dillon #define FG_BLINK 0x80 29c8fe38aeSMatthew Dillon 30c8fe38aeSMatthew Dillon /* Color attributes for text background */ 31c8fe38aeSMatthew Dillon 32c8fe38aeSMatthew Dillon #define BG_BLACK 0x00 33c8fe38aeSMatthew Dillon #define BG_BLUE 0x10 34c8fe38aeSMatthew Dillon #define BG_GREEN 0x20 35c8fe38aeSMatthew Dillon #define BG_CYAN 0x30 36c8fe38aeSMatthew Dillon #define BG_RED 0x40 37c8fe38aeSMatthew Dillon #define BG_MAGENTA 0x50 38c8fe38aeSMatthew Dillon #define BG_BROWN 0x60 39c8fe38aeSMatthew Dillon #define BG_LIGHTGREY 0x70 40c8fe38aeSMatthew Dillon 41c8fe38aeSMatthew Dillon /* Monochrome attributes for foreground text */ 42c8fe38aeSMatthew Dillon 43c8fe38aeSMatthew Dillon #define FG_UNDERLINE 0x01 44c8fe38aeSMatthew Dillon #define FG_INTENSE 0x08 45c8fe38aeSMatthew Dillon 46c8fe38aeSMatthew Dillon /* Monochrome attributes for text background */ 47c8fe38aeSMatthew Dillon 48c8fe38aeSMatthew Dillon #define BG_INTENSE 0x10 49*3b2f3463Szrj 50*3b2f3463Szrj #endif /* !_MACHINE_PC_DISPLAY_H_ */ 51