Article View: rec.games.programmer
Article #402Re: Vertical Retrace interrupt?
From: sl8nl
Date: Tue, 04 Aug 1992 03:05
Date: Tue, 04 Aug 1992 03:05
11 lines
908 bytes
908 bytes
> 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 Question: If you set the retrace up as an interrupt (possible...by modifying the timer interrupt to run at 60 times a second), wouldn't you still have to poll for it. For instance, the polling code sets a flag to true for the retrace. Wouldn't you still have to poll for this flag the same way to poll for the retrace? Josh
Technical Details
Message-ID:
<1992Aug3.210504.57823@cc.usu.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!caen!hellgate.utah.edu!cc.usu.edu!sl8nlReferences:
<1992Aug3.233204.16778@cs.aukuni.ac.nz>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!caen!hellgate.utah.edu!cc.usu.edu!sl8nl From: sl8nl@cc.usu.edu Newsgroups: rec.games.programmer Subject: Re: Vertical Retrace interrupt? Message-ID: <1992Aug3.210504.57823@cc.usu.edu> Date: 3 Aug 92 21:05:04 MDT References: <1992Aug3.233204.16778@cs.aukuni.ac.nz> Organization: Utah State University Lines: 11