comp.lang.ada
 help / color / mirror / Atom feed
From: Dave Thompson <david.thompson1@worldnet.att.net>
Subject: Re: Omission in the Ada Standard
Date: Mon, 06 Oct 2003 03:50:52 GMT
Date: 2003-10-06T03:50:52+00:00	[thread overview]
Message-ID: <pro1ov0889las1fkjl26b6p5970fagr7nv@4ax.com> (raw)
In-Reply-To: kYMcb.582614$o%2.263727@sccrnsc02

On Fri, 26 Sep 2003 01:51:16 GMT, "Jeff C,"
<nolongersafeto@userealemailsniff.com> wrote:

> 
> "Robert C. Leif" <rleif@rleif.com> 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



  parent reply	other threads:[~2003-10-06  3:50 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-25 15:05 Omission in the Ada Standard Robert C. Leif
2003-09-25 17:12 ` Larry Kilgallen
2003-09-25 19:47   ` Simon Wright
2003-09-26  1:51 ` Jeff C,
2003-09-26  2:02   ` Larry Kilgallen
2003-09-26 13:05   ` Vinzent 'Gadget' Hoefler
2003-10-06  3:50   ` Dave Thompson [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-09-25 18:57 Robert C. Leif
2003-09-25 19:24 Beard, Frank Randolph CIV
2003-09-26  0:30 ` Larry Kilgallen
2003-09-26 16:10   ` Robert C. Leif
2003-09-26 17:38     ` Jeff C,
2003-09-28 21:43       ` Keith Thompson
2003-10-09 16:56         ` Jerry Petrey
2003-10-10  2:07           ` Jeff C,
2003-09-26 18:04     ` Jeff C,
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox