Article View: rec.games.programmer
Article #446RE: Vertical Retrace interrupt?
From: egg
Date: Thu, 06 Aug 1992 21:49
Date: Thu, 06 Aug 1992 21:49
22 lines
1570 bytes
1570 bytes
>No Josh, your wrong. Some VGA board create a vertical retrace interrupt >whenever they enter the retrace period. A program would merely have to >trap the interrupt to know when the retrace period is happening. The >program could carry on doing its own thing until it gets the interrupt, >then it can update the screen. No polling required. >I don't think the timer interrupt trick would work, even though the >interrupt could be generated 60Hz (or 70Hz), it still would not inform >the program that it is a safe time to write to the VGA. > >I have tried the retrace interrupt a little, without any real success, >an I would also like to know how to enable the retrace interrupt, and >how to signal to the VGA that the interrupt had been recieved. I beleive its not a good idea to use the vertical retrace interrupt because according to "Programmers Guide to PC and PS2 video systems" hardware interrupts on IRQ2 cannot be distinguished from Vertical interrupts. I'm not that cluey on the subject but if its in the book ??? Apparently bus versoins of the Microsoft mouse cause this problem, and possibly other hardware that use IRQ2. If you are still keen on using it, The book shows you how. Themie
Technical Details
Message-ID:
<1992Aug6.154949.164290@dstos3.dsto.gov.au>Path:
arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!yoyo.aarnet.edu.au!dstos3.dsto.gov.au!eggShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!yoyo.aarnet.edu.au!dstos3.dsto.gov.au!egg From: egg@dstos3.dsto.gov.au Newsgroups: rec.games.programmer Subject: RE: Vertical Retrace interrupt? Message-ID: <1992Aug6.154949.164290@dstos3.dsto.gov.au> Date: 6 Aug 92 21:49:49 GMT Organization: Defence Science and Technology Organisation Lines: 22