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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,c9d5fc258548b22a X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news.glorb.com!news-xxxfer.readnews.com!news-out.readnews.com!postnews3.readnews.com!not-for-mail Date: Sun, 13 Feb 2011 19:09:56 -0500 From: Hyman Rosen User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: How do I write directly to a memory address? References: <67063a5b-f588-45ea-bf22-ca4ba0196ee6@l11g2000yqb.googlegroups.com> <8e200ae9-51c7-4756-9d06-7b5dbc6eb85c@m27g2000prj.googlegroups.com> In-Reply-To: <8e200ae9-51c7-4756-9d06-7b5dbc6eb85c@m27g2000prj.googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <4d5872d3$0$1707$882e7ee2@usenet-news.net> NNTP-Posting-Host: 48ca0f59.usenet-news.net X-Trace: DXC=o0;N@WRnglmGAQ[SQ\DOXd^oXGM_6\KV`mX0AG3X_jUo@8=?bo:?cTkdJFcAK6d]9aQMd4h;SL\Eh0KW>K4dWK[g[G^a__WY1mm X-Complaints-To: abuse@usenet-news.net Xref: g2news1.google.com comp.lang.ada:17273 Date: 2011-02-13T19:09:56-05:00 List-Id: On 2/11/2011 11:47 PM, Edward Fish wrote: > But if you're using GNAT you may have noticed that it doesn't allow > a straight "For Data'Address Use 16#000B_8000#;" because GNAT > uses a private type and not a derivative of Universal_Integer. > > They recommend an implementation-dependent "to_Address" function, > but that would make things non-portable. Portable to what? Other systems that also happen to have a two-segment address with a video frame buffer at 16#000B_8000#? Aren't you being a little pedantic here?