From: qball1723 AT aol DOT com (QBall1723) Newsgroups: comp.os.msdos.djgpp Subject: Re: high-res timer with Allegro Date: 24 Dec 1997 12:21:59 GMT Lines: 35 Message-ID: <19971224122101.HAA21875@ladder02.news.aol.com> NNTP-Posting-Host: ladder02.news.aol.com Organization: AOL http://www.aol.com References: <34a03467 DOT 14125575 AT news DOT origin DOT nl> To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk >Hi ! > >I need a high-resolution time reader that can be used with Allegro. > >I know it is possible to install an interrupt handler that could be >called every milisecond or so, but I need it about 10 times better (at >least). > >I also know that it is possible to read the current clock tick from >the countdown register (though I don't really know how to put that in >the crazy-ass assembler that djgpp uses), but that doesn't help a lot >since Allegro reprograms the timer chip constantly. > >In short: does anyone know of a way or (assembler) code to do a >DelayUntil(Time) (rather than Delay(Duration)) with a precision of 0.1 >msec or better ? > >Cheers, > >Marnix > > Sorry.... I think your maxing out at either 100hz or 120.... - but that doesn't mean there's no hope.... I'm probably the dopiest guy subscribed here... including random people who may have been subscribed by an evil hacking prankster ; ) Good luck Jim the loiterer (wannabe PC game/graphics developer) http://members.aol.com/qball1723/index.htm [please don't hate me because I pay too much for poor internet service!!]