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,fe7b178ffa3708a X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-10-09 19:07:01 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.mathworks.com!nycmny1-snh1.gtei.net!washdc3-snh1.gtei.net!news.gtei.net!chcgil2-snh1.gtei.net!news.bbnplanet.com!wn11feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi.com!rwcrnsc53.POSTED!not-for-mail From: "Jeff C," Newsgroups: comp.lang.ada References: <657ea3e3.0309260810.4b6682d2@posting.google.com> <3F859331.AD61B137@raytheon.com> Subject: Re: Omission in the Ada Standard X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-ID: <8vohb.533344$cF.199888@rwcrnsc53> NNTP-Posting-Host: 66.31.4.164 X-Complaints-To: abuse@comcast.net X-Trace: rwcrnsc53 1065751620 66.31.4.164 (Fri, 10 Oct 2003 02:07:00 GMT) NNTP-Posting-Date: Fri, 10 Oct 2003 02:07:00 GMT Organization: Comcast Online Date: Fri, 10 Oct 2003 02:07:00 GMT Xref: archiver1.google.com comp.lang.ada:565 Date: 2003-10-10T02:07:00+00:00 List-Id: "Jerry Petrey @raytheon.com>" <"jdpetrey wrote in message news:3F859331.AD61B137@raytheon.com... > > > Keith Thompson wrote: > > > "Jeff C," writes: > > [...] > > > Note again that no language I know of has the predefined ability to > > > talk to ports as part of the language definition.. > > > > Ada 83 had: > > > > package LOW_LEVEL_IO is > > -- declarations of the possible types for DEVICE and DATA; > > -- declarations of overloaded procedures for these types: > > procedure SEND_CONTROL (DEVICE : device_type; DATA : in out data_type); > > procedure RECEIVE_CONTROL (DEVICE : device_type; DATA : in out data_type); > > end; > > > > I don't know whether anybody actually implemented it, and it was > > dropped in Ada 95 (it's not just obsolescent, there's no reference to > > it at all). > > > > -- > > Keith Thompson (The_Other_Keith) kst@cts.com > > > > DDCI implemented Low_Level_IO for their 80x86 cross compiler. We used it on a > project I just finished working on. > > Jerry > Of course the standard never said what the heck low level IO was even supposed to do (although it did have a flavor of x86 IO ports to some extent).. In any case, the fact that some vendor chose to implement port access via low_level_io is a far cry from claiming that this behaviour was defined by the standard.