Jump to content
  • Advertisement


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


double buffering (dos mode)

This topic is 5433 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 have a problem about double buffering technique in C/C++ (16 bit) I tried using setactivepage() and setvisualpage() to avoid flicker in my screen but it still flickers.... can anyone tell me the solution? I''m using 16 color mode (VGA,VGAMED) thanks before

Share this post

Link to post
Share on other sites
Before You write to Video memory You have to wait for Vertical Retrace. I dont have source code right now, but google is full of this. Try this GOOGLE SEARCH RESULT

PS> Why do You waste You time with DOS ???

"The Gods Made Heavy Metal And They Saw That It Was Good They Said To Play It Louder Than Hell We Promised That We Would
When Losers Say Its Over With You Know That It’s A Lie The Gods Made Heavy Metal And It’s Never Gonna Die"


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!