🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: rec.games.programmer
Article #503

Re: Vertical Retrace interrupt?

#503
From: Khan
Date: Tue, 04 Aug 1992 15:17
15 lines
1279 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?

EGA and up should be able to do this (I say SHOULD because apparently
some cards don't implement the retrace interrupt properly). I don't have
any source, but everything you need to know is contained in Richard
Wilton's Programmer's Guide to PC and PS/2 Video Systems. The source for
the examples in this book are floating around the net somewhere as
MSCVIDEO.ZIP (sorry, I don't know where exactly).

Hope this helps at least somewhat.
Technical Details
Message-ID: <BsGt4z.2u2@news.cso.uiuc.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!darwin.sura.net!wupost!sdd.hp.com!ux1.cso.uiuc.edu!news.cso.uiuc.edu!usenet
References: <1992Aug3.233204.16778@cs.aukuni.ac.nz>

Show Full Headers
Complete Article Headers
Newsgroups: rec.games.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!darwin.sura.net!wupost!sdd.hp.com!ux1.cso.uiuc.edu!news.cso.uiuc.edu!usenet
From: tmkk@uiuc.edu (Khan)
Subject: Re: Vertical Retrace interrupt?
References: <1992Aug3.233204.16778@cs.aukuni.ac.nz> 
Message-ID: <BsGt4z.2u2@news.cso.uiuc.edu>
Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
Organization: University of Illinois at Urbana
Date: Tue, 4 Aug 1992 15:17:22 GMT
Lines: 16