16-bit Ada for MS-DOS?

From: Victor B. Putz (vputz_at_nyx.net)
Date: 05/14/04


Date: Fri, 14 May 2004 09:49:20 -0500

Here's a curious question.

I'm working with some students writing small tasks for a microsatellite
in an aeronautical engineering course. Their Computer Science
curriculum has taught them only Ada (apart from a brief survey of four
different languages (C, Java, Scheme, Prolog) in a "paradigms" course).

The platform in use is based on a Nec V53 chip running a proprietary OS,
so the development environment is 16-bit C (or C++), compiled in small
memory model using MS Visual C++ version "Old" (the command-line
compiler is version 8.00c, from 1993 or so), and linked with several
small-model libraries.

I'm not sure I could even get the change approved if there WAS a
solution, but is there a way to compile Ada for 16-bit C and linkable
with MS small-memory-model C libraries? I've looked a bit at gnat and
GCC, but I can't see how to specify a target like that...

-->VPutz