Easy way to access extended memory from C

Tom Almy toma at tekgvs.LABS.TEK.COM
Fri Mar 9 01:02:37 AEST 1990


In article <169 at vela.acs.oakland.edu> bbesler at vela.acs.oakland.edu (Brent Besler) writes:
>Is there a C compiler that allows a 386 PC running under DOS to use either
>extended memory or expanded memory easily.  I wan't to have some fairly
>large data arrays?
>                            Brent H. Besler


If you have the bucks (>$1k) you can get:

1). Phar Lap DOS EXTENDER, which allows running programs in 386 protected mode
    while still getting DOS function access (as well as being able to capture
    interrupts).  Virtual memory management is available at extra cost.

2). Either Microway's NDP C-386 compiler (tends to be UNIXish) or the Metaware
    High C 386 compiler (somewhat strange, but generates the best code).

If you don't have the bucks, your best bet is to find the bucks as dealing with
expanded memory is a real pain. You'll also loose about half the efficiency
of the chip running it as a brain-dead 8086.

Tom Almy
toma at tekgvs.labs.tek.com
Standard Disclaimers Apply



More information about the Comp.lang.c mailing list