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,9e552b370ddcd8b X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-08-05 08:27:44 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: ASM 86 file for use with GNAT for MS-DOS Date: Tue, 5 Aug 2003 10:29:28 -0500 Organization: Posted via Supernews, http://www.supernews.com Message-ID: References: X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 X-Complaints-To: abuse@supernews.com Xref: archiver1.google.com comp.lang.ada:41207 Date: 2003-08-05T10:29:28-05:00 List-Id: "Vinzent Hoefler" wrote in message news:bgo6af$qapgn$1@ID-175126.news.uni-berlin.de... Debs Wisbey wrote: >>I have the old *.obj file that was generated and wondered if it is >>possible for me to link this file using GNAT 3.10p for MS-DOS? >Probably not. I doubt that Alsys uses the same format (COFF), if it is >32-bit yet at all. ... >But be warned: even if these sources assemble some day, that doesn't >mean, that everything will work as expected. I suspect your old files >assume a 16-bit-model and GNAT is 32-bit, so depending on what exactly >the assembly files are for, that can make a huge difference. >The better approach would be to rewrite it... Right. If that is 16-bit assembly code, there is no chance that it will work with a 32-bit compiler like GNAT. An option would be to port it to Janus/Ada 83 instead, we still support the 16-bit version of that. Otherwise, you'll have to get rid of the assembler code, replacing it by Ada (hopefully) and possibly in-line assembler. You may need to find someone who understands 8086 assembler to do that. (I may be available. :-) Randy.