www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/02/25/02:33:52

Date: Sun, 25 Feb 1996 09:22:32 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Francis Burton <fburton AT nyx10 DOT cs DOT du DOT edu>
Cc: djgpp AT delorie DOT com
Subject: Re: Req: timer interrupt code example
In-Reply-To: <4gbrug$lam@nyx10.cs.du.edu>
Message-Id: <Pine.SUN.3.91.960225092020.4642P-100000@is>
Mime-Version: 1.0

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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019