From ebf6c5de785e1b9694ecf31ee43b27f0f5474eb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Fri, 31 Oct 2008 10:39:50 +0000 Subject: [PATCH] * 15 and 16 bit KDL consoles now have nice colors, too. * For 8 bit, the palette is pretty messed up during the boot process (thanks to the boot loader image), so that we might want to change how the colors are set then. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28393 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/system/kernel/debug/frame_buffer_console.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/system/kernel/debug/frame_buffer_console.cpp b/src/system/kernel/debug/frame_buffer_console.cpp index 3acc104981..5dfec30e59 100644 --- a/src/system/kernel/debug/frame_buffer_console.cpp +++ b/src/system/kernel/debug/frame_buffer_console.cpp @@ -59,11 +59,11 @@ static uint8 sPalette8[] = { }; static uint16 sPalette15[] = { // 0bbbbbgggggrrrrr (5-5-5) - 0x7fff, 0x001f, 0x03e0, 0x03ff, 0x7c00, 0x7c1f, 0x7fe0, 0x0000, + 0x7fff, 0x1993, 0x2660, 0x0273, 0x6400, 0x390f, 0x6ea0, 0x0000, }; static uint16 sPalette16[] = { // bbbbbggggggrrrrr (5-6-5) - 0xffff, 0x001f, 0x07e0, 0x07ff, 0xf800, 0xf81f, 0xffe0, 0x0000, + 0xffff, 0x3333, 0x4cc0, 0x04d3, 0xc800, 0x722f, 0xdd40, 0x0000, }; static uint32 sPalette32[] = { // is also used by 24 bit modes