comp.lang.ada
 help / color / mirror / Atom feed
From: "David C. Hoos, Sr." <david.c.hoos.sr@ada95.com>
Subject: Re: IO-PORTS (part 2)
Date: Tue, 14 May 2002 23:32:50 -0500
Date: 2002-05-14T23:32:50-05:00	[thread overview]
Message-ID: <mailman.1021437123.17706.comp.lang.ada@ada.eu.org> (raw)
In-Reply-To: 3CE20BE2.1050202@yahoo.com


----- Original Message ----- 
From: "Qwerty" <alexanderdupont@yahoo.com>
Newsgroups: comp.lang.ada
To: <comp.lang.ada@ada.eu.org>
Sent: May 15, 2002 2:18 AM
Subject: IO-PORTS (part 2)


<snip>
> 
> The program has to be interrupt-driven. What interrupt_id do I have to 
> use for the COM1-port (I suppose Names.SIGINT ??? What else, because 
> it's not working).
> 
If you uise the DOS interrupts package at
http://users.ncrvnet.nl/gmvdijk/other_os.html#DOSINT
then you use Jerry's interrupt chaining mechanism, and you use whatever
IRQ is assigned to the port you're using.

> 
> How to use the Interrupt_Priority pragma? I mean, you have to write 
> something like: pragma Interrupt_Priority(???).. But I don't really know 
> what to write in the ??? place, even constants like Max_Priority as 
> specified in the Systems package don't compile..
> BTW My PC is an Intel with Windows 98.
>
I wouldn't even bother with interrupt priorities, and in any case, they
don't apply to Jerry's package.
> 






      reply	other threads:[~2002-05-15  4:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-15  7:18 IO-PORTS (part 2) Qwerty
2002-05-15  4:32 ` David C. Hoos, Sr. [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