Article View: rec.games.programmer
Article #418Re: Vertical Retrace interrupt?
From: Matthew Smith
Date: Wed, 05 Aug 1992 15:29
Date: Wed, 05 Aug 1992 15:29
18 lines
1295 bytes
1295 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. > That's kind of tricky. Some video controllers generate an IRQ 2 whenever a vertical retrace begins. However, some don't. It's a hit and miss situation, although, I do believe that most adapters made today *do* generate the interrupt. It's those old ones you have to watch out for. ~ Matt Smith msmith@peruvian.utah.edu Student - University of Utah Department of Computer Science
Technical Details
Message-ID:
<1992Aug5.092918.5736@hellgate.utah.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!gatech!destroyer!gumby!wupost!cs.utexas.edu!hellgate.utah.edu!peruvian.utah.edu!msmithReferences:
<1992Aug3.233204.16778@cs.aukuni.ac.nz>Show Full Headers
Complete Article Headers
Newsgroups: rec.games.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!destroyer!gumby!wupost!cs.utexas.edu!hellgate.utah.edu!peruvian.utah.edu!msmith From: msmith%peruvian.utah.edu@cs.utah.edu (Matthew Smith) Subject: Re: Vertical Retrace interrupt? Date: 5 Aug 92 09:29:18 MDT Message-ID: <1992Aug5.092918.5736@hellgate.utah.edu> Keywords: retrace Organization: University of Utah CS Dept References: <1992Aug3.233204.16778@cs.aukuni.ac.nz> Lines: 18