Article View: rec.games.programmer
Article #1630Re: Synchronization with Refresh
From: Chris Green
Date: Tue, 29 Dec 1992 15:43
Date: Tue, 29 Dec 1992 15:43
17 lines
1399 bytes
1399 bytes
In article <1992Dec28.220109.62313@cc.usu.edu> sl8nl@cc.usu.edu writes: >> The actual code that synchronizes page display with video refresh. > >Here it is: > I wouldn't recommend that code 100%, as some EGAs have the polarity of the vsync bit reversed. The solution is to measure the duty cycle of the vsync bit at startup, and thus determine its polarity. -- *-------------------------------------------*---------------------------* |Chris Green - Graphics Software Engineer - chrisg@commodore.COM f | Commodore-Amiga - uunet!cbmvax!chrisg n |My opinions are my own, and do not - icantforgettheimpression o |necessarily represent those of my employer.- youmadeyouleftaholeinthe r |"A screaming comes across the sky..." - backofmyhead d *-------------------------------------------*---------------------------*
Technical Details
Message-ID:
<38180@cbmvax.commodore.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!wupost!howland.reston.ans.net!hsdndev!rutgers!cbmvax!chrisgReferences:
<1992Dec28.191531.6703@midway.uchicago.edu> <1992Dec28.220109.62313@cc.usu.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!howland.reston.ans.net!hsdndev!rutgers!cbmvax!chrisg From: chrisg@cbmvax.commodore.com (Chris Green) Newsgroups: rec.games.programmer Subject: Re: Synchronization with Refresh Message-ID: <38180@cbmvax.commodore.com> Date: 29 Dec 92 15:43:29 GMT References: <1992Dec28.191531.6703@midway.uchicago.edu> <1992Dec28.220109.62313@cc.usu.edu> Reply-To: chrisg@cbmvax.commodore.com (Chris Green) Distribution: usa Organization: Commodore, West Chester, PA Lines: 17