-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, On Dec 29, 2008, at 4:13 PM, Julian Coleman wrote:
There are two problems that are immediately apparent: 1) Characters with the bold attribute don't print. The background and foreground colors are black and light grey, respectively, if that makes a difference. 2) After the kernel probes the cgthree and wscons attaches, the screen isn't cleared, sothat characters are printed over the openfirmware console messages whichremain in the background (for lack of clearer terminology).The commit in: http://mail-index.NetBSD.org/source-changes/2008/12/29/msg214585.htmlalmost fixes the screen clearing problem. (The screen is cleared with a black background, even with WS_DEFAULT_BG=WSCOL_LIGHT_WHITE in the kernelconfig). It is more readable now though.
That's easy to fix, and memset(fb, (defattr >> 16) & 0xff, stride * height) is way faster than rasops too. Since the cg3 is always 8 bit you can cheat that way.
have fun Michael -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) iQEVAwUBSVlfH8pnzkX8Yg2nAQIfowf/fIVSQE70nrikjLORfeWVQ30FyFGiVBFS fonSN0vUQrs0NajvmyjHog3ZqRhBo1jqEHxTjrm7zIpr2EVTVtSUFNG+Q7JWFE4r YlRDaS0Mo+GeFZbsbq+nlhkiNYFD8gk5XY9fY6OEzFGzK0QD5HEvTzvCUAf9Uz0f FD8XBuZ0Cy7ra55hKOCLVvgDgn1+niOIuHDR7EaVrqG+b3XTH4rFdIWfmSM4rf0d a6fDZcckip29fC1FT9buzaYhVHDKIzhDheOm7fSfTmZGTDPzGr5w7ja3NWc5k/TB N8bnzCVVOWpkOoPnQg1y5mecMKlxgILCTg3bP73vN7SPnvdNcWvCag== =/0Fk -----END PGP SIGNATURE-----