Subject: Re: old hpbsd sources
To: None <port-hp300@NetBSD.ORG>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: port-hp300
Date: 03/17/1997 16:56:09
>> - Take a Sun server [...].  Clone it into a new ddx tree.  Rip out
>>    all the hardware interface stuff and shove in code from the first
>>    two steps.
> The difficulty here is the *byte* per pixel addressing of the topcats
> and catseyes (even mono topcats) which just doesn't map onto the
> model that the X server uses [...]

Hm.  I'd probably implement that using the cfb code with a suitably
tweaked colormap, so that it uses the 8-bit-pixel rendering code but
with a StaticGray colormap with only two entries (or if that turned out
to be non-compliant, a 256-entry StaticGray colormap with half the
entries white and the other half black).

Of course, it might be better to hide the icky goop in the ddx layer,
but this approach should get a server working quickly.  (Though I
remember what I went through to coax cfb into talking to the NeXT
framebuffer, which is two bits per pixel; it wasn't all _that_ bad.)

					der Mouse

		     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B