comp.lang.ada
 help / color / mirror / Atom feed
From: jerry@jvdsys.stuyts.nl (Jerry van Dijk)
Subject: Re: What's wrong with this simple Ada w/ assembly code?
Date: 1999/03/17
Date: 1999-03-17T00:00:00+00:00	[thread overview]
Message-ID: <F8rCHr.7y@jvdsys.stuyts.nl> (raw)
In-Reply-To: 36ef2175.4732984@news.pacbell.net

Tom Moran (tmoran@bix.com) wrote:

: >No, there are _no_ interrupts in Windows.

: 16 bit DOS apps that use Int 10, for instance, run just fine in a
: Windows 95 DOS window, at least on my machine.  It's been a while
: since I wrote, or used, a 32 bit "Extended DOS" program, but don't
: they also do what's necessary to handle such interrupts, IO, etc,
: while running under Windows?

Yes, on Win9X (and to a lesser extend NT) you can run DOS programs
that use interrupts. 

What I tried to point out was:

-> If you want to write DOS programs, use a DOS compiler. GNAT/NT generates
   code for Win32, not DOS.

   [The confusion here is that, contrary to for example OS/2, there is only
    one type of console window in Win9x, which is called the MS-DOS window.
    In reality it is a Win32 console with the ability to recognize DOS
    excutables and running them in a emulated DOS environment]

--
-- Jerry van Dijk | Leiden, Holland
-- Team Ada       | jdijk@acm.org
-- see http://stad.dsl.nl/~jvandyk




  parent reply	other threads:[~1999-03-17  0:00 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-03-03  0:00 What's wrong with this simple Ada w/ assembly code? Josh Highley
1999-03-04  0:00 ` robert_dewar
1999-03-04  0:00   ` Mike Silva
1999-03-04  0:00     ` Josh Highley
1999-03-04  0:00     ` Samuel Mize
1999-03-04  0:00       ` Tom Moran
1999-03-05  0:00         ` robert_dewar
1999-03-05  0:00           ` Tom Moran
1999-03-04  0:00     ` robert_dewar
1999-03-05  0:00       ` Mike Silva
1999-03-05  0:00         ` Ed Falis
1999-03-08  0:00     ` Matthew Heaney
1999-03-04  0:00 ` Tom Moran
1999-03-04  0:00   ` robert_dewar
1999-03-06  0:00 ` Nick Roberts
1999-03-06  0:00   ` David Botton
1999-03-07  0:00   ` Tom Moran
1999-03-07  0:00 ` Jerry van Dijk
1999-03-07  0:00   ` Tom Moran
1999-03-08  0:00     ` Jerry van Dijk
1999-03-14  0:00   ` Josh Highley
1999-03-14  0:00     ` David C. Hoos, Sr.
1999-03-15  0:00       ` Josh Highley
1999-03-15  0:00     ` Jerry van Dijk
     [not found]       ` <36ef2175.4732984@news.pacbell.net>
1999-03-17  0:00         ` Jerry van Dijk [this message]
1999-03-16  0:00     ` Dale Stanbrough
1999-03-16  0:00       ` Jerry van Dijk
replies disabled

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