From: Paul Richards Newsgroups: comp.os.msdos.djgpp Subject: Re: high resolution timer Date: Tue, 27 Apr 1999 21:08:36 +0100 Organization: Paul's house Message-ID: References: <8D53104ECD0CD211AF4000A0C9D60AE30130F308 AT probe-2 DOT acclaim-euro DOT net> NNTP-Posting-Host: dunvegan1.demon.co.uk X-NNTP-Posting-Host: dunvegan1.demon.co.uk:193.237.111.243 X-Trace: news.demon.co.uk 925282197 nnrp-10:23313 NO-IDENT dunvegan1.demon.co.uk:193.237.111.243 X-Complaints-To: abuse AT demon DOT net MIME-Version: 1.0 X-Newsreader: Turnpike (32) Version 4.01 <5Y9PmoTxnkdx6tAFcQ+gcCx86I> Lines: 24 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Shawn Hargreaves writes, >Guillermo Rodriguez Garcia writes: >> The problem is that I wanted to code a driver (well, sort of) >> to be used with a few different applications, some of which >> need timer 0 for themselves, so I wanted to use some other >> resource for timing. But I guess I'll have to write some functions >> to use the timer 0 in the driver and provide some timer facilities >> for the underlying applications. > Another plug: Go to my website [1] and download the IFS program. This uses a "Toolkit" [2] that I have that has some of my useful functions in it. The "Toolkit" is just the toolkit.* files and the timer in there is accurate to 800 odd ns, under a microsecond anyway. Use it however you want, I accept no responsibility. :) You could download Astroidz instead and use the timer.h file from that but it's an older version AFAICR. [1] - http://www.dunvegan1.demon.co.uk/paul/ [2] - I've only just thought of the idea so don't slag it's insignificant size. ;) -- Paul Richards