When I ported my DOS code over to RTL the interrupt service routine is the 
only part that has to be in the module.  The forground routine runs at the linux 
user level.  If you are using a counter timer on your DAQ board to generate a 
periodic interrupt you might be able use the periodic task mode instead of the 
interrupt.  However, if neither task is periodic then by all means set up your 
module for IRQs.  

You will need to provide inter-process communications either through shared 
memory or fifos.  In my DOS programs I used global memory which translates 
to shared memory for RTL.  

I hope this helps.

Rich

> ----------
> From:         Didier BRUNEL[SMTP:[EMAIL PROTECTED]]
> Sent:         Monday, April 26, 1999 4:14 AM
> To:   [EMAIL PROTECTED]
> Subject:      [rtl] IRQs on RTL
> 
> Hello,
> 
> I am currently working on the translation under RTL of a software which was
> developped in C for DOS. This software controls a data acquisition ISA
> board and a modem.
> This control was realized with IRQs. Thus under DOS when for example the
> IRQ of the ISA board was activated the corresponding handler starts. 
> 
> Currently the install of RTL and the compilation of the software without
> the IRQ handling are right. But it is a bit difficult for me to understand
> the translation of the IRQ handlers with RTL. I found some docs on the web
> and this list but it is quite hard for me.
> So I should greatly know the parts (modules) which must be included in the
> kernel, and the parts which can be kept in the user space ? Practically how
> can I use the IRQ handlers which were developped under DOS ?
> 
> I thank you very much. I will summary and publish yours answers.
> :-)
> 
> Didier Brunel. [EMAIL PROTECTED]
> 
> ________________________________________________________
> Didier BRUNEL                  Tel (33) (0)4 92 94 26 46
> UMR GEOSCIENCES AZUR           Fax (33) (0)4 92 94 26 10
> UNIVERSITY OF NICE
> 250 rue Albert Einstein
> F-06560 SOPHIA-ANTIPOLIS, France
> e-mail: [EMAIL PROTECTED]
> ========================================================
> --- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
> echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
> ----
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/~rtlinux/
> 
--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/

Reply via email to