coreboot-kgpe-d16/payloads/libpayload/curses
Ulf Jordan 364317b199 Fix tinycurses color output on the VGA console.
The CGA compatible 16 color VGA text mode expects Intensity RGB color
specifications, in the order IRGB from most to least significant bit.
Curses COLOR_ macros follows ANSI X3.64/ISO 6429/ECMA-48, specifying
RGB color in the order BGR from most to least significant bit.
Consequently, it is necessary to swap the red and blue bits.

Signed-off-by: Ulf Jordan <jordan@chalmers.se>
Acked-by: Jordan Crouse <jordan.crouse@amd.com>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3516 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2008-08-18 19:28:42 +00:00
..
colors.c Fix code to allow usage of -Wall in libpayload and the sample (trivial). 2008-03-20 20:46:44 +00:00
keyboard.c these should be the last occurences of CONFIG_ without config.h in libpayload. 2008-08-11 16:58:23 +00:00
local.h No really, _these_ should be the last occurences of CONFIG_ without 2008-08-11 17:10:58 +00:00
Makefile.inc Move curses/speaker.c to drivers/ as it's not curses-specific (trivial). 2008-04-15 17:24:08 +00:00
tinycurses.c Fix tinycurses color output on the VGA console. 2008-08-18 19:28:42 +00:00