comp.lang.ada
 help / color / mirror / Atom feed
From: Robert Dewar <robert_dewar@my-deja.com>
Subject: Re: VIDEO MEMORY ACCESS WITH POINTERS
Date: 1999/12/01
Date: 1999-12-01T00:00:00+00:00	[thread overview]
Message-ID: <821qnm$b3o$1@nnrp1.deja.com> (raw)
In-Reply-To: 3842F727.48B74003@icon.fi

In article <3842F727.48B74003@icon.fi>,
  Niklas Holsti <nholsti@icon.fi> 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.




  reply	other threads:[~1999-12-01  0:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-11-27  0:00 VIDEO MEMORY ACCESS WITH POINTERS ???
1999-11-27  0:00 ` David C. Hoos, Sr.
1999-11-27  0:00 ` DuckE
1999-11-29  0:00   ` Nick Roberts
1999-11-29  0:00     ` Niklas Holsti
1999-12-01  0:00       ` Robert Dewar [this message]
1999-11-28  0:00 ` Vladimir Olensky
1999-11-30  0:00 ` Gautier
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox