From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=AXB_XMAILER_MIMEOLE_OL_024C2, BAYES_00,MAILING_LIST_MULTI,REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e3882535e212302c X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-05-14 21:32:06 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!easynews!newsfeed-east.nntpserver.com!nntpserver.com!feed.cgocable.net!isdnet!enst!enst.fr!not-for-mail From: "David C. Hoos, Sr." Newsgroups: comp.lang.ada Subject: Re: IO-PORTS (part 2) Date: Tue, 14 May 2002 23:32:50 -0500 Organization: ENST, France Sender: comp.lang.ada-admin@ada.eu.org Message-ID: References: <3CE20BE2.1050202@yahoo.com> Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: avanie.enst.fr 1021437125 53925 137.194.161.2 (15 May 2002 04:32:04 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Wed, 15 May 2002 04:32:04 +0000 (UTC) Return-Path: X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.0.8 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: comp.lang.ada mail<->news gateway List-Unsubscribe: , Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org Xref: archiver1.google.com comp.lang.ada:24069 Date: 2002-05-14T23:32:50-05:00 ----- Original Message ----- From: "Qwerty" Newsgroups: comp.lang.ada To: Sent: May 15, 2002 2:18 AM Subject: IO-PORTS (part 2) > > 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. >