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-Thread: 103376,6192a34d0c9ffe5b X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!feeder.news-service.com!weretis.net!feeder4.news.weretis.net!nuzba.szn.dk!news.jacob-sparre.dk!pnx.dk!jacob-sparre.dk!ada-dk.org!.POSTED!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: Ada Tutor Web Site Shutting Down Date: Wed, 11 May 2011 19:45:28 -0500 Organization: Jacob Sparre Andersen Research & Innovation Message-ID: References: <7f53de8e-2400-4c87-a818-0b389e117c42@e21g2000yqe.googlegroups.com> <4d9eea12$0$302$14726298@news.sunsite.dk> <2aeab5d1-fa6d-47de-ab53-9a8e6ab5f27a@h9g2000pre.googlegroups.com> <3a6f1fc2-3ae0-42d9-b483-d16cf7ab1566@x8g2000prh.googlegroups.com> <991499fb-bc24-4d7e-baf6-a9c0e16333e6@k22g2000yqh.googlegroups.com> <291504a4-ec55-45f1-bf7f-13078bf71c3e@m10g2000yqd.googlegroups.com> NNTP-Posting-Host: static-69-95-181-76.mad.choiceone.net X-Trace: munin.nbi.dk 1305161131 14368 69.95.181.76 (12 May 2011 00:45:31 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Thu, 12 May 2011 00:45:31 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5931 Xref: g2news1.google.com comp.lang.ada:19228 Date: 2011-05-11T19:45:28-05:00 List-Id: "Rugxulo" wrote in message news:291504a4-ec55-45f1-bf7f-13078bf71c3e@m10g2000yqd.googlegroups.com... Hi, >On May 5, 4:12 pm, "Randy Brukardt" wrote: >> >> Better, dunno. Janus/Ada 95 (32-bit only) would be updated if anyone >> wanted >> it, but no one has asked. (It's still in our pricelists.) >Updated how? (A quick glance at the 2005 standard seems more >complicated regarding changes than initially implied.) Just recompiled and tested. It might need some runtime updates, but probably not a lot. All of our Ada 95/2005/2012 technology is from a common codebase, so building the DOS version just means selecting the right configuration and recompiling. (And lots of testing and probably a bit of debugging.) The biggest problem with it is that the DOS extender we used didn't work with NT and afterwards. (It actually works precisely once, then you have to reboot before it will work again. Not very practical.) > Well, I'm not a > customer (and don't know Ada), so I guess that rules me out. ;-) > I'd assume it's "good enough" for the few that use DOS commercially > these days. (I assume you probably are more geared towards businesses > than home users.) I don't think we have any DOS customers anymore; they've all moved to Windows console mode or to other OSes. > The only significant DOS Ada app I know of (which is probably my > fault, not Ada's) is Gautier's 3D engine (used GNAT): > http://sites.google.com/site/rugxulo/eng3d018.zip?attredirects=0 >> But a better question is why would you want to use a new compiler? > >Why not? :-) No, seriously, I was only responding to the OP's claim >that Ada95 is obsolete and that his tutorial was in DOS (hence, old) >and needed to be updated. I don't even know what compiler he used for >it originally. If I remember right, his tutorial uses a DOS display program. That looked old when it was new. ;-) >> Is there anything inportant that you can do in DOS that you can't do >> in a Windows console program or a standard Linux program? > >Sure, run in DOS! :-)) > >(self-modifying code? direct hardware access? run in less than 10 MB >of RAM? call the BIOS?) Self-modifying code: Not with Janus/Ada (no self-modifying code there). We wanted it to be reproducible and somewhat secure. Direct hardware access - I suppose, but is that an advantage? Or a security nightmare waiting to happen? Same with "call the BIOS". Run in less than 10 MB of RAM - I think there are Linux flavors that can do that. The Ada programs are pretty small for any of the OSes (so that's about the OS footprint). >> The main reason for compiling a >> DOS program would be so that you don't have to change anything about, >> including the DOS specific stuff. > >Sure, assuming there is any DOS-specific stuff, which I know is >sometimes unavoidable, but doing that almost defeats the purpose of a >portable HLL. It was pretty much impossible to do anything interesting without doing something DOS specific. That's actually true of pretty much every OS target, simply because of the different nature of file names on each platform. >> In that case, you're best off sticking >> with the same compiler that it was built with, why make more work by >> introducing a new set of bugs. > >Well, bugs will always exist, even with the best of intentions and >strictest preparations. Exactly. >> (We occassionally get requests for absolutely ancient compiler versions, >> for >> someone that needs to make a tiny change in some old program. Not long >> ago, >> I needed to dig up a 1985 version of Janus/Ada for someone. The cool >> thing >> was that I tried running it to make sure I'd copied it uncorrupted [an >> issue >> because it copied from 25 year old floppies], and it worked fine on a >> modern >> Windows XP machine. I knew there was a reason that we were really careful >> about following the OS rules back in the day...) > >Yes, that's the ideal, software that still runs for many years in the >future. The DPMI standard helped that a lot. For sure, DOS lived a >long, long time. I think 1985 was well before DPMI, and probably was before expanded and extended memory, too. This probably was a basic 640K compiler (I don't think we even had 640K in our machines at the time - our original IBM PC/XT started with 256K, and I think the Seattle Computer 10 MHZ 8086 [much faster than the PC] had about that as well). >Unfortunately, Windows has gone downhill (in DOS support) since XP, You could have just left out the parenthetical remark, and you still would have been right. ;-) >and 64-bit completely kills it. (XP Mode is only for business >editions, not home users.) You'll have to use DOSBox or VirtualBox >(preferably with VT-X) or else switch to Linux for DOSEMU. (Well, you >could run FreeDOS natively, but I doubt most will consider that.) That's one of the reasons I'm not moving most of my work to Windows 7 anytime soon. I still use a number of DOS programs regularly, including a circa 1986 programming editor. Randy.