Jump to content
  • Advertisement

Archived

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

rockslave

How to get high resolution in BGI

This topic is 6676 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

Advertisement
Actually, BGI can do better, but you might not want to. BGI is so slow...

Learn DirectDraw, you''ll be much better off.

(and btw, it''s 480 not 420)



-----------------------------
Jean-Sébastien Guay
-----------------------------

Share this post


Link to post
Share on other sites
Thanks, Skylark

BUT, does DirectDraw works on DOS? I''m still learning Windows programming...

Thanks, Arthur(rockslave)

Share this post


Link to post
Share on other sites
Nope, DX doesn''t work in DOS. If you want hi-res graphics in DOS using Borland C, there are 2 possible ways.

1) Use BGI which is slow
2) Write your own VESA routines which may be faster(in terms of execution speed) but will cost more (in terms of the number of aspirins you need to take after writing all that code to handle bank switching and such).

So the best thing would be to use DirectX. You can tell I''m "lazy"

========================================================
If something sounds stupid but works, it's not stupid

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!