Subject: RE: frame buffer type names.
To: Chris G. Demetriou <cgd@netbsd.org>
From: TAKEMURA, Shin <takemura@netbsd.org>
List: port-hpcmips
Date: 02/06/2000 21:58:28
-----Original Message-----
From: Chris G. Demetriou <cgd@netbsd.org>
To: port-hpcmips@netbsd.org <port-hpcmips@netbsd.org>
Date: Wednesday, February 02, 2000 4:56 PM
Subject: frame buffer type names.


>the D8 and D16 types are pretty obvious.
>
>D2 is obviously 2bpp, but what do the M2L_N and M2L_Nx2 (where N is 0
>or 3) mean?  reading the source, they look like a chunky or planar
>representation within one byte, can anybody give me decent text names
>for them?  ("bytewise-planar" and "chunky" maybe?  which is which?)


In 'Dxx_yyyy and M2L_y, xx means frame buffer depth as you know. And
y means the pixel value of the forground color in hexadecimal. We 
must choose it for black-on-white (forground is black and backfround 
is white).

'M2L means most significant bit to least significant bit. The MSB
is left pixel and LSB is right pixel if a byte represents two or 
more pixels. 'L2M means reverse order.

The 'x2' option provides virtual double width screen. For example,
Palm Size PC, Freestype, which has LCD of 320x240, pretend to has
LCD of 640x480. It had been hack for debugging until serial port
got available. Please don't mind about it.

Takemura