VGA+ colormap bug?

Geert Uytterhoeven (Geert.Uytterhoeven@thomas.kotnet.org)
Mon, 7 Jul 1997 23:50:06 +0200 (MET DST)


I think I found a small bug in the VGA+ colormap. At least it looked a bit
unlogical to me:

--- linux-2.1.43/drivers/char/console.c.orig Tue Jun 17 20:31:20 1997
+++ linux-2.1.43/drivers/char/console.c Mon Jul 7 20:53:25 1997
@@ -375,7 +375,7 @@
/* the default colour table, for VGA+ colour systems */
int default_red[] = {0x00,0xaa,0x00,0xaa,0x00,0xaa,0x00,0xaa,
0x55,0xff,0x55,0xff,0x55,0xff,0x55,0xff};
-int default_grn[] = {0x00,0x00,0xaa,0x55,0x00,0x00,0xaa,0xaa,
+int default_grn[] = {0x00,0x00,0xaa,0xaa,0x00,0x00,0xaa,0xaa,
0x55,0x55,0xff,0xff,0x55,0x55,0xff,0xff};
int default_blu[] = {0x00,0x00,0x00,0x00,0xaa,0xaa,0xaa,0xaa,
0x55,0x55,0x55,0x55,0xff,0xff,0xff,0xff};

Greetings,

Geert

--
Geert Uytterhoeven                   Geert.Uytterhoeven@thomas.kotnet.org
Linux/m68k on Amiga, Wavelets        http://www.cs.kuleuven.ac.be/~geert/
KotNET@Thomas Network Administration -- Make you bed part of Cyberspace!!