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,582882cfea9f35db X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-01-11 01:00:06 PST From: "Martin Dowie" Newsgroups: comp.lang.ada References: <93igkj$grt$1@lure.pipex.net> Subject: Re: Green Hiils AdaMULTI 2000 -> Motorola Coldfire Date: Thu, 11 Jan 2001 08:56:37 -0000 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 NNTP-Posting-Host: superted.dsge.edinbr.gmav.gecm.com Message-ID: <3a5d73cd$1@pull.gecm.com> X-Trace: 11 Jan 2001 08:50:21 GMT, superted.dsge.edinbr.gmav.gecm.com Path: supernews.google.com!sn-xit-03!supernews.com!xfer13.netnews.com!netnews.com!fr.clara.net!heighliner.fr.clara.net!grolier!btnet-peer0!btnet-feed5!btnet!newreader.ukcore.bt.net!pull.gecm.com!superted.dsge.edinbr.gmav.gecm.com Xref: supernews.google.com comp.lang.ada:3899 Date: 2001-01-11T08:56:37+00:00 List-Id: 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 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 > > >