linux-assembly.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* video sync timing
@ 2005-08-27 19:28 Richard Cooper
  2005-08-29 21:25 ` video sync timing + softer update Richard Cooper
  0 siblings, 1 reply; 10+ messages in thread
From: Richard Cooper @ 2005-08-27 19:28 UTC (permalink / raw)
  To: linux-assembly


Any ideas how I might sync to bit 3 of port 0x3DA, the video card's  
vertical sync signal?

Just watching the bit in a loop doesn't seem like a good idea, since the  
CPU could be off doing something else, but as far as I know any timer  
function I might use will only be accurate to 1/100 of a second, which  
wouldn't be much better than watching the bit in a loop.

Since things like DOOM run in Linux, I think there must be some way to do  
it.  I've discovered that simutaneously changing the screen data and the  
color palette without synchronization creates a flicker of a mess on the  
screen, and DOOM doesn't do that in Linux, so I guess it must be  
synchronizing somehow.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2005-08-31  3:58 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-27 19:28 video sync timing Richard Cooper
2005-08-29 21:25 ` video sync timing + softer update Richard Cooper
2005-08-30  1:40   ` Frank Kotler
2005-08-30 12:40     ` Richard Cooper
2005-08-30  2:54   ` Stephen Ray
2005-08-30 13:44     ` Richard Cooper
2005-08-30 17:36       ` Stephen Ray
2005-08-30 20:24         ` Richard Cooper
2005-08-31  0:51           ` video sync: result of 2.6 kernel experimenting Richard Cooper
2005-08-31  3:58             ` Stephen Ray

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).