Date: Mon, 19 Mar 2001 09:37:09 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: djgpp AT delorie DOT com Subject: Re: interrupt driven serial port porblem... In-Reply-To: <993e3k$25sq$1@news.kabelfoon.nl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Sun, 18 Mar 2001, NoDuck!!!! wrote: > I'm trying to create a pulse counter using the serial port. The idea is to > count the number of interrupts created by the serial port on the pins DTR, > RTS,CTS, DTR, DSR or RI. between two timer-ticks. > > I'm really stuck please help me guys! What appears to be the problem, exactly? It sounds like hooking the COM1 interrupt with a function which just increments a bunch of counters would be all you need.