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_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,79de620483de9299 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-05-13 07:21:38 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!uninett.no!ntnu.no!not-for-mail From: Preben Randhol Newsgroups: comp.lang.ada Subject: Re: IO-PORTS Date: Mon, 13 May 2002 14:21:37 +0000 (UTC) Organization: Norwegian university of science and technology Message-ID: References: <3CDFCA77.706@yahoo.com> NNTP-Posting-Host: kiuk0156.chembio.ntnu.no X-Trace: tyfon.itea.ntnu.no 1021299697 22711 129.241.83.82 (13 May 2002 14:21:37 GMT) X-Complaints-To: usenet@itea.ntnu.no NNTP-Posting-Date: Mon, 13 May 2002 14:21:37 +0000 (UTC) User-Agent: slrn/0.9.7.4 (Linux) Xref: archiver1.google.com comp.lang.ada:23955 Date: 2002-05-13T14:21:37+00:00 List-Id: On Mon, 13 May 2002 16:15:19 +0200, Qwerty wrote: > Hi, > > I have to make an ADA-program for school. The program requires to > connect 2 computers and to let them communicate through the COM1-port. > > How do you read/write from/to the COM1-port. It must be programmed on a > low level. So we have to read/write directly from/to the IOports with > adresses 16#03F8# to 16#03FD#. > > How do you do that in Ada ? What does your text book say? Preben -- "Jeg tror nordmenn har glemt hvordan de tilbreder fisk. De er mest opptatt av firkantet fisk." -- Kristian Kristiansen, yrkesfisker, aftenposten.no 19/04/02