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,ae89ef0d7192deb6 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-12-14 14:15:04 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!falcon.america.net!newspump.monmouth.com!newspeer.monmouth.com!news.maxwell.syr.edu!dispose.news.demon.net!demon!diablo.theplanet.net!newspeer.clara.net!news.clara.net!news5-gui.server.ntli.net!ntli.net!news6-win.server.ntlworld.com.POSTED!not-for-mail From: "chris.danx" Newsgroups: comp.lang.ada References: Subject: Re: GNATDOS on Win2000? X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Message-ID: Date: Fri, 14 Dec 2001 22:10:41 -0000 NNTP-Posting-Host: 62.252.144.13 X-Complaints-To: abuse@ntlworld.com X-Trace: news6-win.server.ntlworld.com 1008367799 62.252.144.13 (Fri, 14 Dec 2001 22:09:59 GMT) NNTP-Posting-Date: Fri, 14 Dec 2001 22:09:59 GMT Organization: ntlworld News Service Xref: archiver1.google.com comp.lang.ada:17934 Date: 2001-12-14T22:10:41+00:00 List-Id: "David C. Hoos" wrote in message news:mailman.1008344342.3245.comp.lang.ada@ada.eu.org... > Hi Chris, > > It's really hard to give an answer when so few details > are given. I suspect that gnat for DOS will work on Win2k, > since I have used it on both Win9x and NT. Hope so! I'll install it tommorrow and try it. > However, I also suspect you will have the same problem > with Grub, because I suspect the problem is that Grub > wants to load things that will begin execution in real mode, > rather than the protected mode in which both gnat for Win32 > and gnat for DOS run. The issue was not with GRUB loading 16bit code, it can and does load 32bit code. The issue was the Windows compiler doing something that prevented it from being used with GRUB. Perhaps it put win32 specific stuff in the code or something like that, I don't know (I did use options to tell it not to link the default executable startup routine, and linked it with a customised asm routine later on). All I know is that when the code was compiled with the DOS version it worked and when compiled with the windows version it didn't. > I don't know whether there are any Ada compilers around > these days which will build real mode executables. There are supposed to be Ada 83 compilers floating about that compile to real mode (someone pointed me to where to purchase a copy a while back, before I got to grips with grub -- I was going to write my own bootloader)).