comp.lang.ada
 help / color / mirror / Atom feed
From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: Ada Tutor Web Site Shutting Down
Date: Wed, 11 May 2011 19:45:28 -0500
Date: 2011-05-11T19:45:28-05:00	[thread overview]
Message-ID: <iqfajb$e10$1@munin.nbi.dk> (raw)
In-Reply-To: 291504a4-ec55-45f1-bf7f-13078bf71c3e@m10g2000yqd.googlegroups.com

"Rugxulo" <rugxulo@gmail.com> wrote in message 
news:291504a4-ec55-45f1-bf7f-13078bf71c3e@m10g2000yqd.googlegroups.com...
Hi,

>On May 5, 4:12 pm, "Randy Brukardt" <ra...@rrsoftware.com> 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.







  reply	other threads:[~2011-05-12  0:45 UTC|newest]

Thread overview: 52+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-06 23:04 Ada Tutor Web Site Shutting Down John Herro
2011-04-08 10:57 ` Thomas Løcke
2011-04-22 16:10   ` Brad Cantrell
2011-04-27 16:02     ` John Herro
2011-04-29  6:00       ` qunying
2011-05-05 12:29         ` John Herro
2011-05-05 17:52           ` Rugxulo
2011-05-05 21:12             ` Randy Brukardt
2011-05-07  8:36               ` Fritz Wuehler
2011-05-10 21:36               ` Rugxulo
2011-05-12  0:45                 ` Randy Brukardt [this message]
2011-05-12 13:28                   ` Rugxulo
2011-05-12 14:44                     ` Georg Bauhaus
2011-05-12 17:40                       ` Rugxulo
2011-05-12 18:24                         ` Adam Beneschan
2011-05-12 22:17                           ` DOS, was " Georg Bauhaus
2011-05-12 22:40                             ` Adam Beneschan
2011-05-13  5:14                               ` tmoran
2011-05-13  7:25                               ` Georg Bauhaus
2011-05-13 20:32                                 ` Rugxulo
2011-05-13 22:25                                   ` Georg Bauhaus
2011-05-17 13:09                                   ` Paul Colin Gloster
2011-05-13 20:12                             ` Rugxulo
2011-05-14  0:26                               ` Randy Brukardt
2011-05-14 13:52                               ` Yannick Duchêne (Hibou57)
2011-05-14 21:29                                 ` Rugxulo
2011-05-15  0:14                                   ` Rugxulo
2011-05-15  0:26                               ` Rugxulo
2011-05-15  7:27                                 ` Niklas Holsti
2011-05-17 13:17                               ` Paul Colin Gloster
2011-05-14  0:17                             ` Randy Brukardt
2011-05-14 14:02                               ` Yannick Duchêne (Hibou57)
2011-05-16 23:58                                 ` Randy Brukardt
2011-05-14  1:21                             ` Adam Beneschan
2011-05-14  0:07                           ` Randy Brukardt
2011-05-14 13:08                           ` Yannick Duchêne (Hibou57)
2011-05-12 18:44                         ` DOS, was " tmoran
2011-05-14 14:17                           ` Yannick Duchêne (Hibou57)
2011-05-13 16:19                         ` Paul Colin Gloster
2011-05-13 17:22                           ` Frank J. Lhota
2011-05-13 18:10                             ` Dmitry A. Kazakov
2011-05-14  0:03                     ` Randy Brukardt
2011-05-14 14:21                       ` Yannick Duchêne (Hibou57)
2011-05-16 23:49                         ` Randy Brukardt
2011-05-14 21:22                       ` Rugxulo
2011-05-19 14:56                         ` Yannick Duchêne (Hibou57)
2011-05-14 12:44                     ` Yannick Duchêne (Hibou57)
2011-05-14 21:20                       ` Vinzent Hoefler
2011-05-14 12:32                 ` Yannick Duchêne (Hibou57)
2011-05-14 21:19                   ` Vinzent Hoefler
2011-05-19 15:00                     ` Yannick Duchêne (Hibou57)
2011-05-12 19:19           ` Simon Wright
replies disabled

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