Does anyone know how to program in VESA or SVGA in 800x600x16m mode? - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Does anyone know how to program in VESA or SVGA in 800x600x16m mode?

Does anyone know how to program in VESA or SVGA in 800x600 with more

that 256 colors. mode??

When i go to 800x600x256 color mode, the screen gets divided into 4 parts

( not visibly:) ) and iam able to draw pixels in only one part not in other parts.

Can anybody help???



  • You can only write in the first part of the screen

    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!

    Try Vesa 2 (or 3) for really cool graphics modes

    like 800x600x32b. You can also use Linear Frame Buffer from Vesa2 and 3, which doesn't require bankswitching.

    There are many good Vesa2 tutorials online, but i recommend you check out, in the contributions section you'll find some useful items, though they're for pascal one can easily

    find out how they work, pascal isn't that differend from C (even though most people say so)

    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.

    I hope this answers your question well..



Sign In or Register to comment.