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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,6a4dfe772544eb65 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-11-20 05:09:59 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!c03.atl99!rip!news.webusenet.com!peer01.cox.net!cox.net!bigfeed.bellsouth.net!bigfeed2.bellsouth.net!news.bellsouth.net!elnk-atl-nf1!newsfeed.earthlink.net!stamper.news.atl.earthlink.net!newsread2.news.atl.earthlink.net.POSTED!d9c68f36!not-for-mail Message-ID: <3FBCBD1A.1030008@noplace.com> From: Marin David Condic User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 (OEM-HPQ-PRS1C03) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Low Level Ada References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 20 Nov 2003 13:09:58 GMT NNTP-Posting-Host: 209.165.25.252 X-Complaints-To: abuse@earthlink.net X-Trace: newsread2.news.atl.earthlink.net 1069333798 209.165.25.252 (Thu, 20 Nov 2003 08:09:58 EST) NNTP-Posting-Date: Thu, 20 Nov 2003 08:09:58 EST Organization: EarthLink Inc. -- http://www.EarthLink.net Xref: archiver1.google.com comp.lang.ada:2732 Date: 2003-11-20T13:09:58+00:00 List-Id: Of course. The customary way is to define an appropriate data structure and fix its address at 16#B800# - look at the "for X'Address use 16#B800#". Other techniques involve writing a procedure that can write to specific addresses or even dipping into assembler from within Ada. A solution does exist - it depends to some extent on what your compiler will support. Look into ARM chapter 13 and the package System (and all its kids). MDC Stephane Richard wrote: > By the subject line I mean: > > Is there a way, in Ada to move memory around so to speak. > > For instance, let's say I want to create an Array that would hold characters > with the goal to send it to the video card directly (address $B800). > > Could I take an array of Characters, and "move it" to address $B800 ? or > something like it? > -- ====================================================================== Marin David Condic I work for: http://www.belcan.com/ My project is: http://www.jsf.mil/NSFrames.htm Send Replies To: m o d c @ a m o g c n i c . r "Trying is the first step towards failure." -- Homer Simpson ======================================================================