Subject: Re: 3.0/cats X server on 3.0/shark
To: Valeriy E. Ushakov <uwe@ptc.spbu.ru>
From: Michael Lorenz <macallan@netbsd.org>
List: tech-x11
Date: 04/21/2006 11:25:22
--Signature_Fri__21_Apr_2006_11_25_22_-0400_AA31udXgm52NxzmG
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hello,

> > Unlike macppc and sparc, shark uses VGA mode 3 (i.e. text mode)
> > for its console like i386. Can Xwsfb handle it?
>=20
> We can always switch it to use igsfb(4) (just kidding ;).
>=20
> CyberPro driver would be a nice thing to have.  The card is in the
> Netwinder too.  Are there any docs sample code on how to write an
> xfree driver?  Everytime I look at X sources (especially the infamous
> compiler.h) I feel like I've drank a six-pack of cursed potions of
> confusion.

Well, I wrote a pnozz driver by stealing the basic structure from suncg6
and fill in the bits to handle a P9100. A PCI driver shouldn't be much
more difficult, there are a few rather simple examples. Just avoid ati
which tries to handle any mach64, Rage 128 and Radeon board under the
sun, instead look at apm, probably tdfx - these don't have to do much
special-casing. For acceleration suncg6 and pnozz might be suitably
simple examples as well although they either don't do the mode switching
( cg6 ) or don't do it right yet ( pnozz only supports switching colour
depth but no real video mode programming ). Both support a hardware
cursor though.

have fun
Michael

--Signature_Fri__21_Apr_2006_11_25_22_-0400_AA31udXgm52NxzmG
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (NetBSD)

iQEVAwUBREj5YspnzkX8Yg2nAQIcSAgAiagJYFrKMj2DA5pCYSuqojmY2K7lZN2Y
vtdFQ4/e6ufu2PNlPE0OCYqR7008vXBOkQS+CGweemn01Q3F6FfNnF1xMWRF8Y4G
u6kdYOR5wTPFUIp1d2BSkC8O6bQHB3zYcoEmlu5NrfzPVtqJbGW7Vnf/Hlcd9Qim
Brl/mrUWKjUNVfpjpDqX+6thVW1LT0NmFmpBcJVyIo7NcAA01zn+okngi6Hqcoau
EOq9K9age3E4mrX7gexC1/aS+wpeDcTP09y7yQLkLDcbv29gShVnPEF6s1ff8pz4
ex+ZjWdQYeeRq5tovwjSBISAvhc8IILlpJ90GCtGSATI0ZKkYRHUDA==
=Q8zF
-----END PGP SIGNATURE-----

--Signature_Fri__21_Apr_2006_11_25_22_-0400_AA31udXgm52NxzmG--