home *** CD-ROM | disk | FTP | other *** search
- Path: 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
-
- 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
- *-------------------------------------------*---------------------------*
-