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,128c5cdc2331c6ed X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-01-23 16:35:07 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.airnews.net!cabal12.airnews.net!usenet From: "John R. Strohm" Newsgroups: comp.lang.ada Subject: Re: Serial port programming. Date: Thu, 23 Jan 2003 18:25:11 -0600 Organization: Airnews.net! at Internet America Message-ID: <606966E1E07495B3.45967669A8229479.C308C960B6F49662@lp.airnews.net> X-Orig-Message-ID: References: <3e3070f8$1_2@mk-nntp-1.news.uk.worldonline.com> Abuse-Reports-To: abuse at airmail.net to report improper postings NNTP-Proxy-Relay: library2.airnews.net NNTP-Posting-Time: Thu Jan 23 18:34:39 2003 NNTP-Posting-Host: ![hA$1k-Y7k8]0H (Encoded at Airnews!) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Xref: archiver1.google.com comp.lang.ada:33387 Date: 2003-01-23T18:25:11-06:00 List-Id: There are two parts to your problem. 1) Physically accessing the port. 1a) Writing to the chip 1b) Reading from the chip 1c) Connecting up an interrupt handler 2) What you do with it once you can access it. Part 1 will vary from toolset to toolset, but the Object Ada vendor should have example code. Part 2 has been the subject of literally HUNDREDS of books over the last 20 years. The books generally address the details in C or 80x86 assembly language. Conversion of most of this to Ada will be straightforward, once you have Part 1 in place. "Goochie" wrote in message news:3e3070f8$1_2@mk-nntp-1.news.uk.worldonline.com... > Hi, > > I'm totally new to programming in Ada and I need some help with writing code > so I can access the serial port. Initiallt I have to try and do this using > Object Ada on an Intel based PC. > > Can anyone give me any pointer to example code or documentation? > > Thanks > > Goochie > >