From: "Michael Stewart" Newsgroups: comp.os.msdos.djgpp Subject: Re: Vsync! Date: Thu, 29 Jul 1999 16:58:31 +0100 Organization: (Posted via) Netcom Internet Ltd. Message-ID: <7nptn7$6ks$1@taliesin.netcom.net.uk> References: <6uAn3.7443$ip4 DOT 11733 AT nntpserver DOT swip DOT net> <379f2171 DOT 0 AT news DOT uni-bielefeld DOT de> <9bVn3.8378$ip4 DOT 12411 AT nntpserver DOT swip DOT net> <37a027bc DOT 0 AT news DOT uni-bielefeld DOT de> NNTP-Posting-Host: hgty.capgemini.co.uk X-Trace: taliesin.netcom.net.uk 933263911 6812 194.42.240.2 (29 Jul 1999 15:58:31 GMT) X-Complaints-To: abuse AT corp DOT netcom DOT net DOT uk NNTP-Posting-Date: 29 Jul 1999 15:58:31 GMT X-Newsreader: Microsoft Outlook Express 4.72.3155.0 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0 Lines: 21 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Knutte wrote in message ... >A few minutes after I wrote this I tried to force Allegro to use VESA 1.0 >instead of Autodetect. The Attempt was successful so the problem lies within >the communication between Allegro and my GFXcard. Thank you all for the >help I'd be suprised if that was the case. Any problems with vsync would have been sorted out a long time ago. This is the `standard' method of waiting for the vertical retrace (I would think Allegro will be similar if not the same). Try it and see if this works. void vsync () { while (inportb (0x3DA) & 8); while (! (inportb (0x3DA) & 8)); }