GNAT/RTEMS pc386 - BIOS functions

Alejandro Villanueva 190921 at cepsz.unizar.es
Tue Sep 5 12:31:20 UTC 2000


Ok, thanks for your help, but I don't think switching between real mode and
protected mode is a good idea.... I'm not so wise ;)

But if I'm to use the I/O ports directly I will need to write interrupt
handlers. I need some help: what am I supposed to put in the second argument of
the Attach_Handler pragma?

For example, I want a task to be able to perform some action every clock-tick,
so I write something like:

protected Handler is
   procedure Action;
   pragma Attach_Handler (Action, ...);
end Handler;

now, what do I have to put instead of the ...?

Thanks for your fast answer!

------------------------------------------------------ 
Alejandro Villanueva
190921 at cepsz.unizar.es
------------------------------------------------------



More information about the users mailing list