From d70ad166014f5e3e45b1e7611ae7b309816c992a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Wed, 3 Nov 2004 02:25:28 +0000 Subject: [PATCH] Changed the console color names to something simpler and better fitting. Added comments about which colors can be used for what (unlike Bochs, real systems support blinking modes, and therefore only 7 bits for the background color). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9752 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kernel/boot/platform/bios_ia32/console.h | 24 +++++++++++--------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/src/kernel/boot/platform/bios_ia32/console.h b/src/kernel/boot/platform/bios_ia32/console.h index dc96a79acd..3084c69d5a 100644 --- a/src/kernel/boot/platform/bios_ia32/console.h +++ b/src/kernel/boot/platform/bios_ia32/console.h @@ -11,20 +11,22 @@ enum console_color { + // foreground and background colors BLACK, - NAVY, - GREEN, - TEAL, - MAROON, - PURPLE, - OLIVE, - SILVER, - GREY, BLUE, - LIME, - AQUA, + GREEN, + CYAN, RED, - FUCHSIA, + PURPLE, + BROWN, + GRAY, + // foreground colors only + DARK_GRAY, + BRIGHT_BLUE, + BRIGHT_GREEN, + BRIGHT_CYAN, + BRIGHT_RED, + MAGENTA, YELLOW, WHITE };