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=0.7 required=5.0 tests=BAYES_00,INVALID_DATE, MSGID_SHORT,REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 Xref: utzoo comp.lang.ada:4741 comp.sys.ibm.pc.misc:5729 Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!seas.gwu.edu!mfeldman From: mfeldman@seas.gwu.edu (Michael Feldman) Newsgroups: comp.lang.ada,comp.sys.ibm.pc.misc Subject: Re: Meridian Ada and IBM PC serial ports Message-ID: <2583@sparko.gwu.edu> Date: 22 Jan 91 17:07:22 GMT References: Reply-To: mfeldman@seas.gwu.edu () Followup-To: comp.lang.ada Distribution: comp Organization: The George Washington University, Washington D.C. List-Id: In article mskuhn@faui09.informatik.uni-erlangen.de (Markus Kuhn) writes: >I am developing an (public domain) application with Meridian >Open Ada 4.1 (was AdaZ) with lots of pre-emptive tasking >and access to the serial ports (an OSI system!). > >Can this problem also be solved with Meridian's interrupt >entry mechanism? Somebody wrote here a few weeks ago that this >would be to slow. > I assume you have access to the AdaZ documentation. Their DOS Environment Library has a package called Interrupt. Gives you direct access to the DOS interrupts without using the "right" Ada way to do it, which is the interrupt entry. Looks similar to what you're used to in TP. I have no idea what the comparative timings are. There is a commonly-held view that ANYTHING done with the Ada tasking constructs MUST be much slower than doing it "the old way" without tasking. This seems to be true sometimes, but not always. I'd be VERY interested in seeing a comparative implementation of (a simple version) of your program, done both ways. I think the net would be interested as well. If you can get this working, we'd all appreciate your posting the code. Try something simple first. --------------------------------------------------------------------------- Prof. Michael Feldman Department of Electrical Engineering and Computer Science The George Washington University Washington, DC 20052 202-994-5253 mfeldman@seas.gwu.edu ---------------------------------------------------------------------------