comp.lang.ada
 help / color / mirror / Atom feed
From: AMXMC-SEL@WSMR-SIMTEL20.ARMY.MIL (Mark Oestmann)
Subject: Re: Meridian Ada and IBM PC Serial orts
Date: 23 Jan 91 16:42:00 GMT	[thread overview]
Message-ID: <12656232585.14.MOESTMANN@WSMR-SIMTEL20.ARMY.MIL> (raw)

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
-------

                 reply	other threads:[~1991-01-23 16:42 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
replies disabled

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