🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: rec.games.programmer
Article #421

Re: Vertical Retrace interrupt?

#421
From: Matthew Smith
Date: Wed, 05 Aug 1992 15:38
17 lines
1259 bytes
In article <1992Aug3.233204.16778@cs.aukuni.ac.nz> cmil2@cs.aukuni.ac.nz (Christopher David   Miller         ) writes:
>Hi, I'm new to VGA programming, and I want to know if it is possible to
>detect the retrace with an interrupt, rather than polling for it.  I want to
>use this so I can flip screens for animation every retrace - I think this is
>how it's done?  If anyone has some source, I'd really appreciate it
>Cheers,  Chris.
>

You can program the majority of video cards to generate an IRQ 2 whenever a 
vertical retrace occurs.  However, some of the older cards don't support this
as well as they should (read: it won't work on some older cards).

e
l
Matt Smith
msmith@peruvian.utah.edu
Student - University of Utah Department of Computer Science
Technical Details
Message-ID: <1992Aug5.093829.6149@hellgate.utah.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!uwm.edu!cs.utexas.edu!hellgate.utah.edu!peruvian.utah.edu!msmith
References: <1992Aug3.233204.16778@cs.aukuni.ac.nz>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!uwm.edu!cs.utexas.edu!hellgate.utah.edu!peruvian.utah.edu!msmith
From: msmith%peruvian.utah.edu@cs.utah.edu (Matthew Smith)
Newsgroups: rec.games.programmer
Subject: Re: Vertical Retrace interrupt?
Keywords: retrace
Message-ID: <1992Aug5.093829.6149@hellgate.utah.edu>
Date: 5 Aug 92 15:38:29 GMT
Article-I.D.: hellgate.1992Aug5.093829.6149
References: <1992Aug3.233204.16778@cs.aukuni.ac.nz>
Organization: University of Utah CS Dept
Lines: 17