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-19 10:47:39 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: jimmaureenrogers@worldnet.att.net (Jim Rogers) Newsgroups: comp.lang.ada Subject: Re: Low Level Ada Date: 19 Nov 2003 10:47:38 -0800 Organization: http://groups.google.com Message-ID: <82347202.0311191047.25f76d44@posting.google.com> References: NNTP-Posting-Host: 209.194.156.4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1069267659 16448 127.0.0.1 (19 Nov 2003 18:47:39 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 19 Nov 2003 18:47:39 +0000 (UTC) Xref: archiver1.google.com comp.lang.ada:2690 Date: 2003-11-19T10:47:38-08:00 List-Id: "Stephane Richard" wrote in message news:... > 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? Yes. Ada allows you to specify the address of a variable. You can simply assign the array value to a variable whose address is B800. Of course, your operating system may get in your way. WIN32 does not allow direct writing to low level addresses by high level languages. In that case you may need to call the appropriate OS library call to achieve your goals. Jim Rogers