comp.lang.ada
 help / color / mirror / Atom feed
From: dennison@telepath.com
Subject: Re: Direct memory access
Date: 1999/03/25
Date: 1999-03-25T00:00:00+00:00	[thread overview]
Message-ID: <7ddj0q$gh6$1@nnrp1.dejanews.com> (raw)
In-Reply-To: 7dda9v$bf3$1@fleetstreet.Austria.EU.net

In article <7dda9v$bf3$1@fleetstreet.Austria.EU.net>,
  "Joachim Schroeer" <schroeer@amst.co.at> wrote:
>
> Gordy schrieb in Nachricht ...
> >I'm using GNAT v3.11 for IBM PC platforms.
> >
> >I'm trying to write some code to allow direct access to memory (for
> >testing memory on an embedded system). I simply want something like 'C'
> >pointers, so I can write/read values to a given memory address.

> Use the address attribute, LRM 13.3 Representation Attributes, e.g.:
>
> a : record_type;
>
> for a'address use 16#0000ffff#;

That's clearly not what was asked for. The poster asked for something like C
pointers, and you gave a solution that's easier, more understandable, and more
reliable. Shame on you.

:-)

T.E.D.

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    




  reply	other threads:[~1999-03-25  0:00 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-03-25  0:00 Direct memory access Gordy
1999-03-25  0:00 ` Joachim Schroeer
1999-03-25  0:00   ` dennison [this message]
1999-03-25  0:00     ` Markus Kuhn
1999-03-25  0:00     ` Jerry van Dijk
1999-03-26  0:00       ` dennison
1999-03-27  0:00         ` Jerry van Dijk
1999-03-26  0:00   ` robert_dewar
1999-03-25  0:00 ` Jerry van Dijk
1999-03-25  0:00   ` Tom Moran
replies disabled

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