Subject: Re: Xsun24 anyone?
To: None <port-sparc@NetBSD.ORG>
From: Aaron Brown <abrown@eecs.harvard.edu>
List: port-sparc
Date: 09/26/1996 14:54:08
> > Does anyone have a working 24-bit x server for NetBSD/sparc? I'm hacking on
> > a driver for the cg14 video on the SS20, and I can get the card into 24-
> > bit mode, but I don't have an X server.  I'm emulating the cg8 for now...
> 
> I don't know if this helps you at all, but the CG14 emulates a CG3 in a pinch.

Well, not really. The Solaris driver emulates the cg3. The cg14 has a 
different RAMDAC and a very different control register set. But it is pretty 
easy to write a cg3-emulating driver; I've got the cg14 running in 8-bit mode
just fine. I was hoping to get 24-bit color to work before commiting the
driver (and I haven't had the time to learn enough nroff to do the manpage :-).

> At work I had a SPARCstation-20/612 running Solaris 2.4 and I accidentally
> fired up X11R6 on it instead of OpenWindows, and to my utter amazement it
> actually came up.  I think I recall doing a "constype" and having it return
> "cg3"; if not, well, you explain it (no, the machine did NOT have a CG3 or a
> CG6 in it, it was using the SX).

Yeah...this is the Solaris driver again. Apparently, it comes up by 
default in a cg3 emulation mode; the Solaris X server must do some
strange ioctl's to enable the SX mode.

If anyone wants a copy of the not-yet-cleaned-up 8-bit cg14 driver,
email me...

--Aaron