Computer Graphics

Moderators: Sephiroth
Number of threads: 1243
Number of posts: 2643

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

Edit Report
Does anyone know how to program in VESA or SVGA in 800x600x16m mode? Posted by MUTHU on 14 Aug 2000 at 4:29 AM
Does anyone know how to program in VESA or SVGA in 800x600 with more<br>
that 256 colors. mode??<br>
When i go to 800x600x256 color mode, the screen gets divided into 4 parts<br>
( not visibly:) ) and iam able to draw pixels in only one part not in other parts.<br>
Can anybody help???<br>
Thanks


Edit Report
Re: Does anyone know how to program in VESA or SVGA in 800x600x16m mod Posted by RaViTy on 16 Aug 2000 at 11:49 AM
You can only write in the first part of the screen<br>
because your vesa mode is probably a banked mode, that means that you have to check wether you write in the right bank, if not -> switch 'em!<br>
<br>
Try Vesa 2 (or 3) for really cool graphics modes<br>
like 800x600x32b. You can also use Linear Frame Buffer from Vesa2 and 3, which doesn't require bankswitching.<br>
<br>
There are many good Vesa2 tutorials online, but i recommend you check out www.tmt.com, in the contributions section you'll find some useful items, though they're for pascal one can easily<br>
find out how they work, pascal isn't that differend from C (even though most people say so)<br>
<br>
And if you're a viscious C++ programmer and you have windows then give DirectDraw a chance, and later on Direct3D or OpenGL, because soon almost "everything" will be hardware accelerated.<br>
<br>
I hope this answers your question well.. <br>
<br>
Regards, <br>
RaViTy





 

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.