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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,ca0d61d183eeb881 X-Google-Attributes: gid103376,public From: dennison@telepath.com Subject: Re: Direct memory access Date: 1999/03/25 Message-ID: <7ddj0q$gh6$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 458936469 References: <7dda9v$bf3$1@fleetstreet.Austria.EU.net> X-Http-Proxy: 1.0 x16.dejanews.com:80 (Squid/1.1.22) for client 204.48.27.130 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Thu Mar 25 14:59:45 1999 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.5 [en] (WinNT; I) Date: 1999-03-25T00:00:00+00:00 List-Id: In article <7dda9v$bf3$1@fleetstreet.Austria.EU.net>, "Joachim Schroeer" 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