comp.lang.ada
 help / color / mirror / Atom feed
From: Stefan Muehlebach <muehleba@htl-bw.ch>
Subject: Re: Interrupt Service Routine in ADA
Date: 1998/01/19
Date: 1998-01-19T00:00:00+00:00	[thread overview]
Message-ID: <34C32749.919B499D@htl-bw.ch> (raw)
In-Reply-To: Pine.GSO.3.95.980115185819.27131A-100000@snoopy.cs.kuleuven.ac.be


Steven Coenen wrote:

> Does anybody know how to make an interrupt call a tasks entry, i mean when
> the interrupt occurs, the entry of the task should be called.
>
> I tried this but it doesn't work :
> entry interrupt
> for interrupt use at 16#2C# -- the 16#2C# is the address in the
>                             -- interrupt vector table (IRQ3 interrupt)
>
> Another questions : is it possible to save the registers (push) in ADA
>
> Steven,
>
> EMail : steven.coenen@cs.kuleuven.ac.be

  Hi Steven

It depends which operating system you use.
I worked with an Meridian Ada-compiler under DOS and I was able to use an
task entry as an interrupt handler - it worked even perfectly.
But under other operating systems the 'for ... use ...' statement is
interpreted in an other way. Under Unix your entry is not connected to an
interrupt but to an Unix-signal.





      reply	other threads:[~1998-01-19  0:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-01-15  0:00 Interrupt Service Routine in ADA Steven Coenen
1998-01-19  0:00 ` Stefan Muehlebach [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox