From: Martijn van Oosterhout (kleptog@cupid.suninternet.com)
Date: Thu 13 Jan 2000 - 17:13:51 IST
Chris Atenasio wrote: > Would it make sense then to keep an internal timer, calibrated with > vga_waitretrace(), and sync draws to that? Lets see, 200,000 hz cpu / > 70 hz refresh gives ~2857 cpu cycles between refreshes. Take into > account that the retrace is a fraction of the refresh time, and you > are dealing with somewhere < 2857 cycles, which is fine for something > simple, but wont give you time to blit images. Then again I may be > calculating something wrong... Indeed, for a 200KHz computer it would be a problem. Considering most machines these days are at least 100MHz, that's at least 1.4 million cycles per refresh. Plenty of time. :) Martijn
This archive was generated by hypermail 2.1.4 : Wed 21 Jan 2004 - 22:10:23 IST