[comp.lang.ada] Meridian Ada and IBM PC Serial orts

AMXMC-SEL@WSMR-SIMTEL20.ARMY.MIL (Mark Oestmann) (01/24/91)

In regard to the question of Markus Kuhn, address 
mskuhn@faui09.informatik.uni-erlangen.de

The method of handling interrupts in Ada is to map the interrupt into a task.  
Task entry code will take care of setting DS, and preparing the stack and frame 
pointers.  Ada code can then be writen which uses a procedure written in 
assembler to read the port, and put the value in an Ada variable.  The
interrupt itself is treated as a entry call to the task which operates at
higher priority than any software task.
Hope this helps.

Gary Dunlap
School of Engineering and Logistics
Red River Army Depot
Texarkana, TX  75507
amxmc-sel@wsmr-simtel20.army.mil
-------