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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,cd3914726ae2d923 X-Google-Attributes: gid103376,public From: jerry@jvdsys.stuyts.nl (Jerry van Dijk) Subject: Re: How to use Assembly in Ada Date: 1999/02/20 Message-ID: #1/1 X-Deja-AN: 446568531 References: <36cd773b.0@silver.truman.edu> Organization: * JerryWare *, Leiden, Holland Newsgroups: comp.lang.ada Date: 1999-02-20T00:00:00+00:00 List-Id: 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