Game programming

Moderators: None (Apply to moderate this forum)
Number of threads: 2047
Number of posts: 5331

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Edit Report
HELP!!! VESA modes : 16 / 24 / 32-bit palettes Posted by Altern on 1 Jun 1999 at 7:21 PM
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?


Edit Report
Re: HELP!!! VESA modes : 16 / 24 / 32-bit palettes Posted by AcheronX on 3 Jun 1999 at 2:26 PM
: 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/




 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.