comp.lang.ada
 help / color / mirror / Atom feed
From: "Marc A. Criley" <mcquad2@earthlink.net>
Subject: Re: Interrupts service
Date: Fri, 05 Jan 2001 13:20:54 GMT
Date: 2001-01-05T13:20:54+00:00	[thread overview]
Message-ID: <3A55BBFF.592D351E@earthlink.net> (raw)
In-Reply-To: 934ecj$pdn$1@news.tpi.pl

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



  reply	other threads:[~2001-01-05 13:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-05 12:28 Interrupts service Szygula
2001-01-05 13:20 ` Marc A. Criley [this message]
2001-01-05 14:05 ` Florian Weimer
2001-01-05 14:06 ` Ken Garlington
2001-01-05 14:49 ` Ted Dennison
replies disabled

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