Date: Sun, 25 Feb 1996 09:22:32 +0200 (IST) From: Eli Zaretskii To: Francis Burton Cc: djgpp AT delorie DOT com Subject: Re: Req: timer interrupt code example In-Reply-To: <4gbrug$lam@nyx10.cs.du.edu> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On 20 Feb 1996, Francis Burton wrote: > I'm very keen to use djgpp for my next project which involves rewriting > a program for high speed timed data capture from a CCD camera. Setting > up timer interrupts and doing hardware port readouts was simple enough > using Borland C under vanilla DOS, but I am unsure as to whether this > is possible in the djgpp extender environment. My fear is that it may > be hopelessly complicated and slow. Has anyone had experience of this > kind of real-time programming using djgpp? Are there any code examples > out there for this kind of hairy stuff? Get the file PCTIME13.ZIP from SimTel mirrors, directory SimTel/msdos/c. It includes an example of timer programming with DJGPP. It might also help if you tell how many interrupts per second would you need to process in your project. The specific technique best suited to your problem might depend on that.