www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/11/08/21:20:25

From: silkwodj AT my-dejanews DOT com
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Wait_retrace function?
Date: Mon, 09 Nov 1998 02:03:07 GMT
Organization: Deja News - The Leader in Internet Discussion
Lines: 25
Message-ID: <725igs$5ng$1@nnrp1.dejanews.com>
References: <36435c09 DOT 5006295 AT news DOT algonet DOT se>
NNTP-Posting-Host: 204.170.214.30
X-Article-Creation-Date: Mon Nov 09 02:03:07 1998 GMT
X-Http-User-Agent: Mozilla/4.0 [en] (Win95; I)
X-Http-Proxy: 1.0 x2.dejanews.com:80 (Squid/1.1.22) for client 204.170.214.30
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

In article <36435c09 DOT 5006295 AT news DOT algonet DOT se>,
  tbelius AT algonet DOT se wrote:
> I have tried to make a
> wait_retrace func for djgpp
> for some time now but
> i cant get it right. Can
> someone pls post a
> wait_retrace func that
> works in djgpp.
>
> - David

I think this is what you mean:

void vsync()
	{
		do{             // yes, 'do nothing'
			} while (inportb(0x3da) &8);
		do{
			} while (!(inportb(0x3da) &8));
	}
>

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    

- Raw text -


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