Subject: rasops_cmap and cursor
To: None <tech-kern@netbsd.org>
From: Valeriy E. Ushakov <uwe@ptc.spbu.ru>
List: tech-kern
Date: 02/14/2002 20:53:52
Default colormap rasops_cmap has ansi colours in positions 0..15
(8 normal, 8 bright) and "white" in all other entries 16..255.

The problem is that rasops_do_cursor does its job by bit-inverting the
raster, and so with rasops_cmap any fg/bg combination from 0..15 will
be mapped to white on white in 240..255.

To avoid that we need to fill upper 16 entries of the rasops_cmap with
some sane colors, either all black except white for 255 (inverted
black at 0) or with complementary colors.

Any ideas?

SY, Uwe
-- 
uwe@ptc.spbu.ru                         |       Zu Grunde kommen
http://www.ptc.spbu.ru/~uwe/            |       Ist zu Grunde gehen