www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/04/24/14:06:11

Message-ID: <1.5.4.32.19970424175545.0068dd24@ubeclu.unibe.ch>
MIME-Version: 1.0
Date: Thu, 24 Apr 1997 19:55:45 +0200
To: tgrand AT canvaslink DOT com
From: Roger Noss <noss AT pupk DOT unibe DOT ch>
Subject: Re: timer interrupt - sample code anyone?
CC: djgpp AT delorie DOT com

At 11:42 AM 4/24/97 -0400, you wrote:
>
>However, it's pretty easy to find vertical retrace.  This should wait
>for
>the vertical retrace:
>
>while (inportb(0x3DA) & 1);
>
>	Tom Grandgent
>	tgrand AT canvaslink DOT com
>	Canvas Link, Inc.
>

Um, I hate to drag out this false lead on the thread, but my VGA specs show
that bit 1 of 0x3DA is horizontal retrace.  Today I (think I) succeeded with
"& 8", for bit 3.  But the funny thing is, in NT3.51 I measured 69 Hz in
full screen and 72.3 Hz in a window, *** regardless of whether I set Control
Panel -> Display to 60 Hz or 72 Hz (rebooting, of course) ***.  Does anyone
understand this??  I realize that this is no longer about djgpp, so what is
the proper discussion forum for this kind of question?

Roger Noss

- Raw text -


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