Return-Path: Received: (qmail 8474 invoked from network); 20 Mar 2001 15:19:17 -0000 Received: from unknown (HELO murphys-inbound.servers.plus.net) (212.159.14.225) by 10.226.25.101 with SMTP; 20 Mar 2001 15:19:17 -0000 Received: (qmail 16772 invoked from network); 20 Mar 2001 15:19:17 -0000 Content-Transfer-Encoding: 8bit Received: from unknown (HELO post.thorcom.com) (212.172.148.70) by murphys with SMTP; 20 Mar 2001 15:19:17 -0000 Received: from majordom by post.thorcom.com with local (Exim 3.16 #2) id 14fNoj-0002ov-00 for rsgb_lf_group-outgoing@blacksheep.org; Tue, 20 Mar 2001 15:13:01 +0000 X-Priority: 3 X-MSMail-Priority: Normal Received: from mail.cc.kuleuven.ac.be ([134.58.10.6]) by post.thorcom.com with esmtp (Exim 3.16 #2) id 14fNoi-0002oq-00 for rsgb_lf_group@blacksheep.org; Tue, 20 Mar 2001 15:13:00 +0000 Received: from LCBD15.fys.kuleuven.ac.be (LCBD15.fys.kuleuven.ac.be [134.58.80.15]) by mail.cc.kuleuven.ac.be (8.9.3/8.9.0) with SMTP id QAA213412 for ; Tue, 20 Mar 2001 16:12:38 +0100 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Message-ID: <3.0.1.16.20010320161213.2b1f2852@mail.cc.kuleuven.ac.be> X-Sender: pb623250@mail.cc.kuleuven.ac.be X-Mailer: Windows Eudora Pro Version 3.0.1 (16) Date: Tue, 20 Mar 2001 16:12:13 To: rsgb_lf_group@blacksheep.org From: "Rik Strobbe" Subject: Re: LF: RE: Re: WOLF - am I missing something ? In-reply-to: <65AECDF1F89AD411900400508BFC869F9C03E6@pdw-mail-1.dera.gov .uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Precedence: bulk Reply-To: rsgb_lf_group@blacksheep.org X-Listname: rsgb_lf_group Sender: Hi Andy, In the 'dark ages' of DOS it was possible to 'reprogram' the DOS Hartbeat interrupt to much shorter times (you had to take care of the timekeeping yourself). This timer was very accurate and with a 40MHz 386 it was possible to have an accurate timer at 20us intervals or so ... Also direct acces of interrupts, serial and parallel ports etc... was 'peanuts' once you figured it out. Unfortunately the Windows designers decided that they were next in line after God and that the simple guys writing software had no longer the right to access all these 'goodies' ... (Break down the fences and we don't need Gates ...) 73, Rik At 14:20 20/03/01 -0000, you wrote: >PowerBasic (the language I use) does incorporate a "microtimer" >instruction for measuring time to 1us so something has always been >available in the underlying hardware in the PC, via the same timer >chip that generates sounds from the PC speaker. > >However, it becomes inaccurate for intervals > 55ms as the timing >function get messed up by the DOS Heartbeat interrupt at 18.2Hz. Also >(at least in PBasic) it cannot be used to set a delay, only for >measuring an interval. Back in the Dark Ages, I used a FOR / NEXT >loop with a fixed count, accurately timed this using the microtimer, >then generated a calibration factor for subsequently using in the loop >to generate software timings. Once again this was upset every 55ms, >but did work satisfactorily with a Pico Products 8 bit A/D on the >printer port for first forays into DSP. Then I abandonned software >timing by using an external interface (a PIC) on the serial port and >ended up with something very similar to the VE2IQ I/F. > >Andy G4JNT > > >> -----Original Message----- >> From: Alberto di Bene [mailto:dibene@usa.net] >> Sent: 2001-03-20 13:36 >> To: rsgb_lf_group@blacksheep.org >> Subject: LF: Re: WOLF - am I missing something ? >> >> >> > We all have to accept that doing any sort of accurate >> timing operation >> > on a PC is futile - whether Soundacard, serial port or, >> even worse, by >> > software timing. Therefore some sort of external interface really >> > should be used to resynchronise Tx and Rx data samples . >> >> Hmm, perhaps not all is lost. The Pentium II class CPUs and >> the Athlons >> do have the so-called Performance Timer, an hardware timer >> that can be queried through Windoze APIs, with resolution >> around 1 usec. >> >> This however would rule out old Pentiums, 486 and the AMD K6, which do >> not have that counter. >> >> 73 Alberto I2PHD >> >> >> > > >-- >The Information contained in this E-Mail and any subsequent correspondence >is private and is intended solely for the intended recipient(s). >For those other than the recipient any disclosure, copying, distribution, >or any action taken or omitted to be taken in reliance on such information is >prohibited and may be unlawful. > >