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_50,INVALID_DATE autolearn=no autolearn_force=no version=3.4.4 Path: utzoo!attcan!uunet!cs.utexas.edu!sdd.hp.com!elroy.jpl.nasa.gov!decwrl!shelby!agate!ucbvax!WSMR-SIMTEL20.ARMY.MIL!AMXMC-SEL From: AMXMC-SEL@WSMR-SIMTEL20.ARMY.MIL (Mark Oestmann) Newsgroups: comp.lang.ada Subject: Re: Meridian Ada and IBM PC Serial orts Message-ID: <12656232585.14.MOESTMANN@WSMR-SIMTEL20.ARMY.MIL> Date: 23 Jan 91 16:42:00 GMT Sender: usenet@ucbvax.BERKELEY.EDU Organization: The Internet List-Id: 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 -------