X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f From: "Carlini Alessio" Newsgroups: comp.os.msdos.djgpp Subject: problem with 8254 (Timer) Lines: 21 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Message-ID: Date: Mon, 07 Jan 2002 21:57:52 GMT NNTP-Posting-Host: 151.29.242.159 X-Complaints-To: abuse AT libero DOT it X-Trace: news.infostrada.it 1010440672 151.29.242.159 (Mon, 07 Jan 2002 22:57:52 MET) NNTP-Posting-Date: Mon, 07 Jan 2002 22:57:52 MET Organization: [Infostrada] To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I have written a program that read (polling) the counter0 (Timer) so that every 5us it can sample and save a byte read from the parallel port. My scope is to monitor digital signal from parallel port with a good temporal precision. In my old PC this program works correctly while in my Celeron 500Mz it does not work in DOS (real mode + CWSDPMI). It miss 350us every a lot, without regularity. Seems like an interrupt is executed but it is impossible because i have disabled them whith a CLI istruction. This problem can be caused from NMI or from the CWSDPMI ???? Help me! Thanks and excuse me for may terrible english! Alessio Carlini