comp.lang.ada
 help / color / mirror / Atom feed
From: jerry@jvdsys.stuyts.nl (Jerry van Dijk)
Subject: Re: How to use Assembly in Ada
Date: 1999/02/20
Date: 1999-02-20T00:00:00+00:00	[thread overview]
Message-ID: <F7H5B0.A1@jvdsys.stuyts.nl> (raw)
In-Reply-To: 36cd773b.0@silver.truman.edu

Josh Highley (joshhighley@hotmail.com) wrote:

: I using GNAT 3.10, AdaGIDE 6.18, and Win95 but my program is for good 
: ol' DOS.

It looks like you are confusing things here.

If you are using AdaGIDE with GNAT 3.10 on Win95 you are most likely
using the Win95 compiler. This compiler will not generate DOS code.
Unless:
a) you mean your programs are meant for the console instead of a GUI or
b) you installed the djgpp port of GNAT and use that in conjunction with
   with AdaGIDE.
In any case, the DOS assembly code is 16-bit, while GNAT is 32-bit (also
the DOS version, which is DPMI based).

If your problem is using the console:
a) Win32 -> use my NT_Console package (homepage, old site)
b) DOS   -> use my conio_02 package (standard with EZ2LOAD)

If your assembly code is 32-bit DPMI code and you are using the DOS
compiler, check the DJGPP information on how to use it.
If your assembly code is 16-bit DOS, first study how to use it in
a 32-bit protected mode environment.

If your assembly code is 32-but Win32 code, give us an example, so we
can help.

Jerry.

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




      parent reply	other threads:[~1999-02-20  0:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-02-19  0:00 How to use Assembly in Ada Josh Highley
1999-02-19  0:00 ` How do I use Assembly from Ada? Josh Highley
1999-02-19  0:00 ` How to use Assembly in Ada Josh Highley
1999-02-19  0:00 ` steve quinlan
1999-02-20  0:00 ` Jerry van Dijk [this message]
replies disabled

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