/[Development]
ViewVC logotype

Revision 3516


Jump to revision: Previous Next
Author: jcrouse
Date: Mon Aug 18 19:28:42 2008 UTC (4 years, 8 months ago)
Changed paths: 1
Log Message:
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>



Changed paths

Path Details
Directorytrunk/payloads/libpayload/curses/tinycurses.c modified , text changed

Stefan Reinauer">Stefan Reinauer
ViewVC Help
Powered by ViewVC 1.1.15