summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorUlf Jordan <jordan@chalmers.se>2008-08-18 19:28:42 +0000
committerJordan Crouse <jordan.crouse@amd.com>2008-08-18 19:28:42 +0000
commit364317b1991cf5daa08ad3ce4e52e735c9789987 (patch)
tree2bd79813bb412c01bbafc5025bf439260d860ed7 /src
parent43a800c55ff672e859fffcc17841ebed1c28693e (diff)
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
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions