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-05 20:50:52 PST Path: archiver1.google.com!news2.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!feed2.news.rcn.net!rcn!wn14feed!worldnet.att.net!bgtnsc05-news.ops.worldnet.att.net.POSTED!not-for-mail From: Dave Thompson Newsgroups: comp.lang.ada Subject: Re: Omission in the Ada Standard Message-ID: References: <657ea3e3.0309250705.3537b0b0@posting.google.com> X-Newsreader: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Mon, 06 Oct 2003 03:50:52 GMT NNTP-Posting-Host: 12.89.166.33 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc05-news.ops.worldnet.att.net 1065412252 12.89.166.33 (Mon, 06 Oct 2003 03:50:52 GMT) NNTP-Posting-Date: Mon, 06 Oct 2003 03:50:52 GMT Organization: AT&T Worldnet Xref: archiver1.google.com comp.lang.ada:290 Date: 2003-10-06T03:50:52+00:00 List-Id: On Fri, 26 Sep 2003 01:51:16 GMT, "Jeff C," wrote: > > "Robert C. Leif" wrote in message > news:657ea3e3.0309250705.3537b0b0@posting.google.com... > > While I was working on my latest project, the CellFuge, I was shocked > > to learn that Jerry van Dijk's Io_Ports package that I have did not > > compile with GNAT. I do need an up to date version. Since the Intel > > Pentium class of processors and their clones are a very large part of > > the software market, the possibility of port based IO should be > > > A few notes... > > First....this is not in any language standard...So Ada would be the only > language to support it. > However the C committee (JTC1 SC22 WG14) appears close to adopting a Technical Report, TR 18037, that includes this as one of several extensions for embedded systems. Such a TR has roughly the same official status as an optional Annex. > Second...Code that accesses the ports directly is now obsolete (mostly) > since it > is not legal under NT, 2000, XP (although there are some way to simulate it > this is > another area where no compiler (including the VC++) allows you to do this > out of the box. > Although one of the advantages (and goals) of Ada is suitability for programming on bare hardware as well as bloated OSes. But in this particular case, why not just use machine-code insertions? (As I see someone else has already detailed.) It's platform dependent, but the desired functionality is anyway. - David.Thompson1 at worldnet.att.net