From: "Joachim Schroeer" <schroeer@amst.co.at>
Subject: Re: Direct memory access
Date: 1999/03/25
Date: 1999-03-25T12:30:55+00:00 [thread overview]
Message-ID: <7dda9v$bf3$1@fleetstreet.Austria.EU.net> (raw)
In-Reply-To: Pine.OSF.3.91.990325093506.3128A-100000@leofric
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 704 bytes --]
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.
>
>I've had a look at the Machine_Code package (to write my own functions)
>but there must be a better way (i.e is there a function in the System
>package which will allow writes to memory given a value and a
>System.Address)?
>
>Any help greatly appreciated.
>
>Gordon.
>
Use the address attribute, LRM 13.3 Representation Attributes, e.g.:
a : record_type;
for a'address use 16#0000ffff#;
J. Schr�er
next prev parent 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 ` Jerry van Dijk
1999-03-25 0:00 ` Tom Moran
1999-03-25 0:00 ` Joachim Schroeer [this message]
1999-03-25 0:00 ` dennison
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
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox