

NOVELL TECHNICAL INFORMATION DOCUMENT

DOCUMENT PROCESSING INFO:  Replaces Document FYI-M-1303
TITLE:  Third Party Memory Managers
DOCUMENT ID:  TID800074
DOCUMENT REVISION:  A
DATE:  18AUG94
AUTHOR:  KBANTA;DPARTRID
ALERT STATUS:  Yellow
DISTRIBUTION:  Public
INFORMATION TYPE:  Issue
README FOR:  NA
NOVELL PRODUCT CLASS:

Desktop Products

NOVELL PRODUCT and VERSION:

DR DOS 6.0

CATEGORY:

Memory

ABSTRACT:

This document discusses using 3rd party memory managers with DR DOS 6.0.

-----------------------------------------------------------------
DISCLAIMER
THE ORIGIN OF THIS INFORMATION MAY BE INTERNAL OR EXTERNAL TO NOVELL. 
NOVELL MAKES EVERY EFFORT WITHIN ITS MEANS TO VERIFY THIS INFORMATION. 
HOWEVER, THE INFORMATION PROVIDED IN THIS DOCUMENT IS FOR YOUR INFORMATION
ONLY.  NOVELL MAKES NO EXPLICIT OR IMPLIED CLAIMS TO THE VALIDITY OF THIS
INFORMATION.
-----------------------------------------------------------------

ISSUE

When you use a memory manager from another vendor, you can gain additional
conventional memory space by relocating the DR DOS kernel to upper or high
memory. The third party memory manager must support the XMS specification,
and upper or high memory must be available.  EMM386.SYS cannot be used
with a third party memory manager.

To relocate the kernel, insert the following statement after the statement
that loads the third party memory manager.

        DEVICE=C:\DRDOS\HIDOS.SYS


HIDOS.SYS attempts by default, to relocate the DR DOS kernel to upper
memory. If upper memory is not supported or not available, the kernel is
placed in high memory. The kernel can be moved to high memory by using the
following DEVICE statement:

        DEVICE=C:\DRDOS\HIDOS.SYS /BDOS=FFFF



EXAMPLES

The following examples show how and where to add the statement when
loading Qualitas 386MAX or the Quarterdeck QEMM or QRAM drivers.

Qualitas 386MAX

        DEVICE=C:\386MAX\386MAX.SYS [...etc.]
        DEVICE=C:\DRDOS\HIDOS.SYS [...etc.]
        DEVICE=C:\386MAX\386LOAD.SYS [...etc.]

Quarterdeck QEMM.386

        DEVICE=C:\QEMM\QEMM.SYS [...etc.]
        DEVICE=C:\DRDOS\HIDOS.SYS [...etc.]
        DEVICE=C:\QEMM\LOADHI.SYS [...etc.]

Quarterdeck QRAM (with Intel AboveBoard)

        @SCREEN = DEVICE=C:\ABOARD\EMS.SYS AT 208 MC
        DEVICE=C:\QRAM\QRAM.SYS.
        DEVICE=C:\DRDOS\HIDOS.SYS
        DEVICE=C:\QRAM\LOADHI.SYS [...etc.]


If a third party memory manager which creates and makes available XMS
upper memory blocks compatible with the Lotus, Intel, Microsoft (LIM)
version 2.0 specification, then HIDOS=ON will relocate DR DOS 6.0 data
structures into upper memory. Those blocks will appear as "XMS UMB's" from
within any memory mapping utilities provided with the third party memory
manager. However, HILOAD, HIDEVICE, and HIINSTALL commands have no effect. 
Most memory managers offer equivalent commands that can be used instead.


QUARTERDECK DESQVIEW

When running the Quarterdeck DESQview program under the DR DOS 6.0
operating system, use the QEMM386.SYS driver as the primary memory
management driver.  When QEMM386.SYS loads from the CONFIG.SYS file, it
becomes responsible for controlling both the upper memory area (between
640 KB and l MB) and the high memory area (the first 64 KB above l MB).

Move device drivers and memory resident software to upper memory using the
normal QEMM LOADHI commands. The operating system kernel can still be
moved to upper or high memory by loading the DR DOS HIDOS.SYS driver in
the CONFIG.SYS file right after the QEMM386.SYS driver. 

To move the kernel to upper memory, use the option /B=AUTO at the end of
the HIDOS.SYS line.  To specify that the kernel should be placed in high
memory (leaving more upper memory available for device drivers and memory
resident programs) use the option /B=FFFF.

Depending on the configuration of DESQview, a gain in available memory
might not be seen after loading HIDOS.SYS. DESQview uses high memory for
63 KB of code that normally sits in conventional memory, while HIDOS.SYS
moves approximately 45 KB into that area. The high memory area can be used
by only one application at a time.  Experimentation with /B=AUTO, /B=FFFF,
or not loading HIDOS.SYS will help determine the optimum configuration. 

? OPTION IN CONFIG.SYS


These options can be quickly tested using the DR DOS 6.0 question mark
option (?) in CONFIG.SYS. Placing a ? in front of any line in CONFIG.SYS
displays that line at boot-up and then provides the option to select Y(es)
or N(o) to execute that instruction. 

You might insert the following lines while testing:

?"Do you want to avoid moving the KERNEL (Y/N)"GOTO SKIP 
?"Kernel in Upper Memory (Y/N)"  
DEVICE=C:\DRDOS\HIDOS.SYS /B=AUTO 
?"Kernel in High Memory (Y/N)" 
DEVICE=C:\DRDOS\HIDOS.SYS /B=FFFF  
:SKIP

If you are running QEMM386.SYS without DESQview, you should always move
the kernel to high memory. 


ADDITIONAL REFERENCES:  DR DOS 6.0 User Guide, Chapter 6.

-----------------------------------------------------------------
Any trademarks referenced in this document are the property of their
respective owners.  Consult your product manuals for complete trademark
information.
-----------------------------------------------------------------
