🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Windows skips frame !! (DjGpp+rsxnt+Allegro)

Started by
-1 comments, last by michaelbricout 24 years, 9 months ago
I have a game fast action game in beta version for Windows 9x, compiled with DJGPP + RSXNTDj, using WinAllegro 3.9. It's a fast action game with horizontal scrolling, in 640x400.

I use page flipping. The frame indicator (simple palette switching for color 0) indicates a refresh time of about 1/8 frame.

Problem : my game skip one frame every 10 or 15 seconds, or more depending on what is running in the background in Windows. I think the reason is that a vsync is not detected because my program is not active at that particular moment.

How can I give a higher priority to my game, or make sure that it will be active when the vsync occurs ?

Any help appreciated !!

This topic is closed to new replies.

Advertisement