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.8 required=5.0 tests=BAYES_00,INVALID_MSGID, MSGID_RANDY,SUBJ_ALL_CAPS autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,b4f26c164c846938 X-Google-Attributes: gid103376,public From: Robert Dewar Subject: Re: VIDEO MEMORY ACCESS WITH POINTERS Date: 1999/12/01 Message-ID: <821qnm$b3o$1@nnrp1.deja.com>#1/1 X-Deja-AN: 554987562 References: <81p3sh$h2m$1@news.colba.net> <38409762.0@news.pacifier.com> <3841FA9B.31E9D1F4@callnetuk.com> <3842F727.48B74003@icon.fi> X-Http-Proxy: 1.0 x29.deja.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Wed Dec 01 00:39:19 1999 GMT X-MyDeja-Info: XMYDJUIDrobert_dewar Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.04 [en] (OS/2; I) Date: 1999-12-01T00:00:00+00:00 List-Id: In article <3842F727.48B74003@icon.fi>, Niklas Holsti wrote: > Nick Roberts wrote: > [ snip ] > > > Strictly, this solution needs two extra declarations: > > > > for video_cell'Size use 16; > > > > for video_memory_type'Component_Size use 16; > > > > ... It may be more convenient to > > declare the array as a two-dimensional array, but (interestingly) the > > Ada standard provides no way to specify or interrogate whether an array > > is stored in row-major or column-major order, so you can't do this if > > you need portability. I hardly think you need worry too much about portability if you are talking about direct addressing of target specific hardware, you are almost certain to write compiler dependent code in any case in such a situation Sent via Deja.com http://www.deja.com/ Before you buy.