From: Michael Knight Newsgroups: comp.os.msdos.djgpp Subject: Re: Smoothness in W95 Date: Thu, 14 Nov 1996 13:03:11 -0600 Organization: Knight Foundation Lines: 28 Message-ID: <328B6CEF.5062@blkbox.com> References: <3288e9cf DOT 68908 AT news DOT demon DOT co DOT uk> NNTP-Posting-Host: s41.max0.houston.box.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-User: Knight To: lazer To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp lazer wrote: > > Hi > I am writing a game in 360*240, Mode X , With Triple Buffering > and it is very smooth in dos, however when i run under W95 it is very > jerky, i have same problem with every other mode I have tried under > W95 even plain mode 13h. > Can anyone help me out! > > Please mail me reply :) > > Thanx to those who respond! Well, have you profiled your code? Win 95 adds a bit of overhead, it's especially noticeable on the slower computers. The best thing to do is figure out what parts of your code are causing the largest delays and work on optimizing those sections to the best of your ability. Another possible solution is to get a larger chunk of time from Win 95, I know this used to be possible in Win 3.11. I'm not sure how you'd go about this in this case. However, the most important consideration is your algorithm. Are you sure you're using the best known algorithm? If not, you might want to consult a graphics/game programming book or newsgroup. -- knight AT blkbox DOT com http://www.blkbox.com/~knight/ "We predict the future, and the best way to predict the future, is to invent it." -- WMM -- X-Files : "The Blessing Way"