home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / rec / games / programm / 5218 < prev    next >
Encoding:
Internet Message Format  |  1992-12-29  |  1.3 KB

  1. Path: sparky!uunet!wupost!howland.reston.ans.net!hsdndev!rutgers!cbmvax!chrisg
  2. From: chrisg@cbmvax.commodore.com (Chris Green)
  3. Newsgroups: rec.games.programmer
  4. Subject: Re: Synchronization with Refresh
  5. Message-ID: <38180@cbmvax.commodore.com>
  6. Date: 29 Dec 92 15:43:29 GMT
  7. References: <1992Dec28.191531.6703@midway.uchicago.edu> <1992Dec28.220109.62313@cc.usu.edu>
  8. Reply-To: chrisg@cbmvax.commodore.com (Chris Green)
  9. Distribution: usa
  10. Organization: Commodore, West Chester, PA
  11. Lines: 17
  12.  
  13. In article <1992Dec28.220109.62313@cc.usu.edu> sl8nl@cc.usu.edu writes:
  14. >> The actual code that synchronizes page display with video refresh.
  15. >
  16. >Here it is:
  17. >
  18.  
  19.     I wouldn't recommend that code 100%, as some EGAs have the polarity 
  20. of the vsync bit reversed. The solution is to measure the duty cycle of the
  21. vsync bit at startup, and thus determine its polarity.
  22. -- 
  23. *-------------------------------------------*---------------------------*
  24. |Chris Green - Graphics Software Engineer   - chrisg@commodore.COM      f
  25. |                  Commodore-Amiga          - uunet!cbmvax!chrisg       n
  26. |My opinions are my own, and do not         - icantforgettheimpression  o
  27. |necessarily represent those of my employer.- youmadeyouleftaholeinthe  r
  28. |"A screaming comes across the sky..."      - backofmyhead              d
  29. *-------------------------------------------*---------------------------*
  30.