[comp.os.msdos.programmer] QEMM386 5.0

sanjay@hi3.ACA.MCC.COM (Sanjay Keshava) (08/05/90)

This posting is related to a previous one regarding CV 6.0 and a C++
compiler in comp.os.msdos.programmer.

The Intek C++ compiler I'm using uses EXTENDED memory without an
extended memory manager.

CV 6.0, on the other hand, uses EXTENDED memory with himem.sys.
Apparently, himem.sys manages all of extended memory, so the C++
compiler returns with an "out of memory" error if himem.sys is installed.

In order to use the C++ compiler or CV 6.0, I must remove/include himem.sys
from config.sys and reboot.  This is inconvenient!!  So someone
recommended using QEMM and partitioning memory and so forth, so I
bought it.

But, I can't get it to work.  I'll describe what I want and hope that
an experienced user can tell me the correct installation.

I'm using DOS4.0 on a 80386 compatible with 4MB memory.  I want to use
the C++ compiler, which requires about 2MB of unmanaged EXTENDED
memory, and CV 6.0, which requires less than 1MB of EXTENDED or
EXPANDED memory for symbols.  My application executable is about 440K
of which 200K is code and 40K is static data according to the *.map
file.  Dynamic data will require about 150K-200K.  The lower 640K has
about 520K remaining immediately after booting.

Thanks for any suggestions.

Sanjay
->|<-
sanjay@mcc.com
-- 

                                             Sanjay
                                             ->|<-
                                     sanjay@hi3.aca.mcc.com

pilger@uhunix1.uhcc.Hawaii.Edu (Eric Pilger) (08/29/90)

You need about 2 MB of unused Extended memory.

Add the switch "extmem=2048" to the qemm.sys line in config.sys
This will tell QEMM to leave 2MB of extended memory unutilized.

You should also be able to free up more than 550Kb of memory after
DOS.  I traditionally have about 600K (with network drivers!)  Try
looking at the hints in manifest, and running optimize.

				Eric Pilger
				NASA Infrared Telescope Facility