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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,da490d4dc6f0a628 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-01-05 05:22:14 PST Path: supernews.google.com!sn-xit-02!supernews.com!newsfeed.online.be!europa.netcrusader.net!205.252.116.205!howland.erols.net!newsfeed.mindspring.net.MISMATCH!news.mindspring.net!newsfeed2.earthlink.net!newsfeed.earthlink.net!newsmaster1.prod.itd.earthlink.net!newsread2.prod.itd.earthlink.net.POSTED!not-for-mail Message-ID: <3A55BBFF.592D351E@earthlink.net> From: "Marc A. Criley" Organization: Quadrus Corporation X-Mailer: Mozilla 4.73 [en] (X11; U; Linux 2.2.14-5.0 i686) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Interrupts service References: <934ecj$pdn$1@news.tpi.pl> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Fri, 05 Jan 2001 13:20:54 GMT NNTP-Posting-Host: 158.252.123.117 X-Complaints-To: abuse@earthlink.net X-Trace: newsread2.prod.itd.earthlink.net 978700854 158.252.123.117 (Fri, 05 Jan 2001 05:20:54 PST) NNTP-Posting-Date: Fri, 05 Jan 2001 05:20:54 PST Xref: supernews.google.com comp.lang.ada:3678 Date: 2001-01-05T13:20:54+00:00 List-Id: What is this program supposed to do? How does what it is doing differ from what you expect? What compiler are you using? On what platform? It is much easier to help if you provide that kind of information when you ask a question like this. Marc A. Criley Senior Staff Engineer Quadrus Corporation www.quadruscorp.com Szygula wrote: > > WHAT'S WRONG IN THIS PROGRAM ??? > > with Text_Io, Ada.Calendar, Ada.Integer_Text_Io; > use Text_Io, Ada.Calendar, Ada.Integer_Text_Io; > with Ada.Interrupts; > use Ada.Interrupts; > > with Ada.Interrupts.Names; > use Ada.Interrupts.Names; > with System; use System; > with system.storage_elements; use system.storage_elements; > > procedure program is > > type Parameterless_Handler is access protected procedure; > > protected type Sygnal(p:Interrupt_ID)is > > procedure Steruj; > pragma Interrupt_handler(Steruj); > pragma Attach_Handler(Steruj,p); > end Sygnal; > > protected body sygnal is > > procedure Steruj is > begin > Put("przerwanie"); > end steruj; > > end sygnal; > > begin > null; > > end program; > > I NEED INFORMATION OF INTERRUPTS IN ADA95. > thanks. > > szygula@szygula.prv.pl > POLAND