: Can anyone explain these? How are they arranged / accessed? All the tuts on the net talk about 256 colors only!<p>
: Im trying some dos C/C++ vesa game programming.<p>
: Code samples are welcomed.<p>
: Any urls you can point me too?<p>
Well, the most obvious URL would be:<p>
<A HREF="http://www.vesa.org">http://www.vesa.org</A><p>
A little info on how the direct color modes are set up:<p>
15-bit modes, 2 bytes a pixel, one after another, otherwise<br>
set up as 256 color mode. Of the bits of the 2 byte word, the<br>
pixels are 5,5,5 rgb.<p>
16-bit modes, 2 bytes a pixel, 5,6,5 rgb.<p>
24-bit modes, 3 bytes a pixel, as other modes, but<br>
each byte is a color value, RGB, in that order.<p>
32-bit modes, 4 bytes a pixel, first pixel is alpha blending,<br>
then 3 bytes of RGB.<p>
Matthew Gross<br>
Acheron@Hotmail.com
URL:http://165.91.29.0/home/