cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1999/07/29/12:01:48

From: "Michael Stewart" <mike AT reggin DOT freeserve DOT co DOT uk>
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> <MPG DOT 12091975248925af98af34 AT news DOT freeserve DOT net> <vVEn3.7593$ip4 DOT 12531 AT nntpserver DOT swip DOT net> <379f2171 DOT 0 AT news DOT uni-bielefeld DOT de> <KAMn3.8254$ip4 DOT 12338 AT nntpserver DOT swip DOT net> <MPG DOT 1209ac5b865383f298af43 AT news DOT freeserve DOT net> <9bVn3.8378$ip4 DOT 12411 AT nntpserver DOT swip DOT net> <37a027bc DOT 0 AT news DOT uni-bielefeld DOT de> <ki_n3.8510$ip4 DOT 13228 AT nntpserver DOT swip DOT net>
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));
}


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019