TITLE:              Using SETUP.EXE to Configure Memory
DOCUMENT ID:        TID1200280
DOCUMENT REVISION:  A
DATE:               03MAR95
ALERT STATUS:       YELLOW
README FOR:         NA

NOVELL PRODUCT and VERSION:
Novell DOS 7.0

ABSTRACT:
This document describes the switches for the memory manager
(EMM386.EXE) that can be set through SETUP.EXE

---------------------------------------------------------------------
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.
---------------------------------------------------------------------

USING SETUP.EXE TO CONFIGURE MEMORY

Many of the most commonly used switches for EMM386.EXE can be set
through options in SETUP.EXE.  The same is true for HIMEM.SYS options
in SETUP.EXE, but we will not take time to illustrate those here.
Each SETUP option has an associated help screen. To view Help, press
<F1> while the cursor is on a particular SETUP memory option.

BASIC CONFIGURATION

Select the SETUP program's DOS System & Memory Management menu.
Choose Memory Manager, then Configure 386 Memory Manager. 
                            
SETUP memory management options.

Option                        Description

Copy slow ROM into fast RAM   This option causes the memory manager
                              to copy information from Read-Only
                              Memory (ROM) into Random Access Memory
                              (RAM), which executes faster. The
                              purpose of this setting is to speed up
                              your system, not to increase available
                              RAM.

Provide LIM 4.0 EMS support   This option provides EMS/page frames
                              for use with programs that require LIM.

Support MS Windows 3.0 in     Use this option only if you run Windows
Standard Mode                 3.0 (not 3.1) in standard mode (not
                              enhanced mode). Windows 3.0 requires
                              exclusive use of upper memory while
                              running in standard mode. With this
                              option enabled, Novell DOS 7 can't use
                              upper memory. This option results in
                              the loss of available conventional
                              memory.

Use spare video memory        This option allows the system to use
space for RAM                 video RAM as conventional memory, but
                              it limits you to text-based programs.
                              This was discussed earlier under
                              MEMMAX.

Load DPMI software            This option loads DPMI, the DOS
                              Protected Mode Interface module of the
                              Novell DOS 7 memory manager. DPMI is an
                              API that provides a standard by which
                              protected mode applications can access
                              memory. Enabling DPMI will cause a
                              small reduction in conventional memory
                              because the size of the memory
                              management code increases.

                              Typically, you'll run DPMI only if you
                              use multitasking or if a protected mode
                              application needs a DPMI server in
                              order to run.

Extended memory reserved for  This option provides compatibility with
non-XMS/LIM applications      protected mode applications that can't
                              use extended memory through XMS or EMS
                              specifications. Use this option only
                              for applications that specifically
                              require its use.

ADVANCED OPTIONS

You can also choose Advanced Options from the menu. The Advanced
Options screen contains information as well as additional options.
The information appears in the form of a map of upper memory. Each
segment of upper memory (excluding video RAM) displays on a single
line. Each line represents 64KB, or one segment. Each segment is made
up of four groups of 16KB each. Each 16KB group contains four 4KB
blocks. A 4KB block is the smallest unit by which this memory can be
addressed.

Each 4KB upper memory block (UMB) is represented by a character that
indicates its current use: for example, Unused, RAM, ROM, and so
forth. The map of upper memory reveals what the memory manager sees
as the current upper memory configuration.

The bottom half of the Advanced Options screen contains advanced
memory options.

Advanced memory options and descriptions.

Option         Description 

FRAME          Specifies the 64KB LIM EMS page frame address in upper
               memory. This address needs to be specified only if a
               particular application requires it or if memory usage
               can be enhanced by moving the page frame from its
               default location. The default of AUTO or NONE (if no
               EMS is enabled) typically won't change.

ROM            Specifies the address of ROM to be copied into RAM.
               The default value of AUTO typically suffices.

INCLUDE        Addresses in upper memory whose function is unknown to
               the memory manager might be made available to the
               system as upper memory blocks through this option. Use
               the INCLUDE option carefully, however; including
               addresses in upper memory that are reserved for
               hardware devices can cause devices to fail, and your
               computer may lock up or data may be corrupted.

               Note:  If your system hangs when you use INCLUDE,
               reboot and press <F5> or <F8> to boot without memory
               management. Then run SETUP to change this value.

EXCLUDE        With this option, you can exclude reserved addresses
               in upper memory that are inappropriately used by the
               memory manager. If a hardware device loads information
               at a certain address in RAM, the Novell DOS 7 memory
               manager should not overwrite this same address with
               other information. If it does somehow happen, however,
               use the EXCLUDE option for troubleshooting upper
               memory conflicts. Hardware devices that may use upper
               memory addresses include network adapters, scanners,
               CD-ROM drives, and others.

NOTE: The above information was extracted from the July 1994 Novell
Application Notes supplemental report "Enhancing the DOS Desktop
Environment with Novell DOS 7.