Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

VESA/MODE 12h Graphics

Posted on 1997-08-07
2
Medium Priority
?
509 Views
Last Modified: 2012-08-13
Help! Is there an easier way of programming 640x480x16/640x480x256 graphics then unchaining
the bitplanes? It means that working in 16 bits is extremely fiddly and it's so SLOW, even when written in BASM.
Perhaps DMAs might help!?
0
Comment
Question by:DaveJ080797
2 Comments
 
LVL 4

Accepted Solution

by:
nils pipenbrinck earned 800 total points
ID: 1215403
No,

Since you work in a realmode enviroment you have no chances to use the new linear frame buffer function of new vga-cards.

The only option you have is to use VESA. Ther're a lot of good vesa libraries on the net, and I'm sure you'll be able to find one.

Basically the only thing you have to do is, to set the graphic mode. If you want to access your frame-buffer you have to do some math:

 for 640x480x256 your image is 307200 bytes in size.

the video segment 0xa000 is only 64k in size. If you know want to access any part of the video memory above the first 64k you have to tell the vesa to use another bank of the video memory. (a simple call or interrupt.. whatever you prefear).

Vesa isn't that slow.. If your graphic is to slow it's your code, not the vesa-stuff.


Hope this helps you...

  Nils Pipenbrinck

0
 

Author Comment

by:DaveJ080797
ID: 1215404
Dave's brother liked the answer anyway.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

High user turnover can cause old/redundant user data to consume valuable space. UserResourceCleanup was developed to address this by automatically deleting user folders when the user account is deleted.
Take a look at these 6 Outlook Email management tools which can augment the working and performance of Microsoft Outlook to give you a more rewarding emailing experience.
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…

971 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question