From: "Alexander Russell" Newsgroups: comp.os.msdos.programmer,comp.os.msdos,comp.os.msdos.djgpp,comp.os.msdos.misc References: <8ea1626e DOT 0110280229 DOT 68dc811b AT posting DOT google DOT com> Subject: Re: Control timing Lines: 27 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Message-ID: Date: Sun, 28 Oct 2001 17:34:25 GMT NNTP-Posting-Host: 142.179.73.197 X-Trace: news0.telusplanet.net 1004290465 142.179.73.197 (Sun, 28 Oct 2001 10:34:25 MST) NNTP-Posting-Date: Sun, 28 Oct 2001 10:34:25 MST To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "R. Rajesh Jeba Anbiah" <99mca30 AT mailandnews DOT com> wrote in message news:8ea1626e DOT 0110280229 DOT 68dc811b AT posting DOT google DOT com... > "Alexander Russell" wrote in message news:... > > "jeffchan" wrote in message > > news:bf50ce95 DOT 0110260054 DOT 1153f72a AT posting DOT google DOT com... > > > Thanks your kindly information. > > > > > > I use this code and having modification to verify the performance when > > > i make it faster. > > > > > > My testing is checking the reading of x after certain time. > > > For 1kHz, that's okay. For 8kHz, the result is the same as 1kHz. > > > > AJR - I don't see an obvious problem. Are you running under DOS? If running > > under a dos box in win9x the timing will not be exactly what you expect. > > Let me know the reason. > Windows 9x grabs all the interrupts, and lets dos programms 'use' them at random intervals. > -- > Peace - The choice of the new generation.