comp.lang.ada
 help / color / mirror / Atom feed
From: "Martin Dowie" <martin.dowie@gecm.com>
Subject: Re: Green Hiils AdaMULTI 2000 -> Motorola Coldfire
Date: Thu, 11 Jan 2001 08:56:37 -0000
Date: 2001-01-11T08:56:37+00:00	[thread overview]
Message-ID: <3a5d73cd$1@pull.gecm.com> (raw)
In-Reply-To: 93igkj$grt$1@lure.pipex.net

Mark,

I don't know if the problems are still current, but here is a snippet
from a conversion report to GH AdaMULTI (but targetted at PPC):

"The first problem we hit was where the ADA'83 code used types with
16 bit representation clauses to access 16 bit off board registers. In
ADA'83 reading and writing to variables of these types compiled to
a single access and the code worked fine. In GH ADA'95, however,
the code was compiled into two byte accesses. This often had the effect
of generating a bus error as some of the addresses in question cannot
physically be accessed as 8 bits."

Some may argue that it was sloppy for the original code not have some
embedded assembler to do the read/writing anyway, but that's not really
the point here. I suspect that many projects don't go to this length if an
"all Ada" version works.

Also, if you are using AdaMULTI 1.8.9b (or lower?) then I understand
interrupt 18 is reserved. That's an old version now though so you should
be ok if using 2.0.x up.



Mark Fisher <MAFisher@ukgateway.net> wrote in message
news:93igkj$grt$1@lure.pipex.net...
> I am currently getting to grips with the Green Hills `AdaMULTI`
> compiler/environment
> using the Coldfire MCF5307 processor.
>
> In the coming weeks I am doing some risk reduction which is
> being ported from XDAda (83) / Motorola 68020.
>
> Any tips for a new AdaMULTI user? In particular are there known
> weaknesses/problems
> that I should steer clear of?
>
> Many thanks
>
> Mark
>
>
>





  reply	other threads:[~2001-01-11  8:56 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-10 20:26 Green Hiils AdaMULTI 2000 -> Motorola Coldfire Mark Fisher
2001-01-11  8:56 ` Martin Dowie [this message]
2001-01-11 14:03   ` Tucker Taft
2001-01-11 14:22     ` Martin Dowie
2001-01-11 20:47       ` Larry Kilgallen
2001-01-11 14:44 ` Brian Courtney
2001-01-11 20:51   ` Robert Dewar
2001-01-12 13:18   ` Marc A. Criley
2001-01-12 17:44     ` Robert Dewar
replies disabled

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