Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

chand

640x480x256 or higher resolution in Turbo C

This topic is 5236 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I need to display images at, at least 640x480 resolution for my Image Processing assignment. I know to work with VGA’s 0x13 mode, but that’s too low a resolution (320x200). Any kind of help will be highly appreciated.

Share this post


Link to post
Share on other sites
Advertisement
Extended VGA graphics modes are possible on some video cards. I believe the maximum that VGA cards can support is 360 x 480 (which gives some really funky pixel shapes). Unfortunately, I don''t recall how exactly to put the video card in this mode, but the graphics mode is often called "mode X" so a web search may turn up code or libraries that will perform proper initialization.

Share this post


Link to post
Share on other sites
Google for a vesa tutorial which should support most resolutions, including 640x480x256. Otherwise you might be able to get into 640x400x256 using modex (eXtended mode according to pcgpe), but there''s no guarantees.

Share this post


Link to post
Share on other sites
Look for VESA, normal VGA won''t cut this. The max a standard VGA could do was 360x480x256 or 640x480x16.

VESA was the extension for this, it allows all kind of high resolution and hi/true-color. It uses a different interrupt. If possible use the linear frame buffer, bank switching is a pain in the ass.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!