From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,a02f813d7d12187d,start X-Google-Attributes: gid103376,public From: Tom Moran Subject: Re: High Precision timing Date: 1997/04/08 Message-ID: <334AAD2E.3641@bix.com>#1/1 X-Deja-AN: 231639058 References: <5iddnc$57u@news.mel.aone.net.au> Organization: InterNex Information Services 1-800-595-3333 Reply-To: tmoran@bix.com Newsgroups: comp.lang.ada Date: 1997-04-08T00:00:00+00:00 List-Id: It's been a while, but doesn't counter 2 of the PC's 8253 control dynamic RAM refresh? If so, I'd suggest you not fiddle with it. If you need high resolution timing, but not frequent, time consuming interrupts, how about just reading, but not resetting, channel 1? That's what I did in my replacement Calendar body for RR's Ada 83 (available on their BBS). If you need frequent interrupts with pretty good timing properties, output (junk) characters on a serial port at 115 Kbaud, with the Transmit interrupt ISR merely stuffing another character out the port. That will give interrupts at just under 100 microseconds. I've posted code for a background speaker driver using this technique on Compuserve.