Subject: Re: white on black console, again
To: None <port-mac68k@netbsd.org>
From: Claudio Leite <leitec@helgedom.org>
List: port-mac68k
Date: 06/10/2004 20:14:33
Got it!

http://leitec.org/wonb.jpg

I changed just two things:

* wscons_rinit.c: Added
  rcons_invert(rc, 1);
  After "int i;" and before "rcons_initfont(rc, &gallant19);" in function
  rcons_init();

* wscons_rops.c: Swapped 1 and 0 in rcons_allocattr()
  
  if(flags & WSATTR_REVERSE)
	*attrp = 0;
  else
	*attrp = 1;

  return(0);

This may break some things. I need to test it more. So far, it's working
great.

I've only tested this on my LCIII (softfloat, 2.0-beta, 832x624 1bpp). I
don't have X installed, so I can't test if that works. I'll try other
resolutions and color depths as soon as I fix my MacOS partition - no Monitors
control right now.

-Claudio

-- 
Claudio Leite
- http://leitec.org/
- http://staticky.com/