                             Date:   7/24/89


                OPTION PARAMETERS FOR THE LIM MEMORY MANAGER



This document provides information on the option parameters for the LIM memory
manager . The format of this document is as follows:

1)  General information
2)  Individual discussion of the different option parameters



GENERAL INFORMATION:

  HARDWARE OPTION PARAMETERS AND MEMORY MANAGER OPTION PARAMETERS:

      There are two different types of option parameters: the hardware option
      parameters and the memory manager option parameters. The format for the
      two types is identical so the user does not usually need to be concerned
      with this distinction. However, there is one important item to note:
      if a hardware option parameter and a memory manager option parameter
      have the same name, the HARDWARE interpretation wins out. Hence any
      naming conflicts cause the memory manager to effectively lose an option.



  SPECIFICATION OF NUMBERS:

      In the next section on the discussion of the option parameters, I will
      use the following formats for representing numbers:

      Symbol        Meaning

         dd         a single byte decimal value: [0-255]
       dddd         a single word decimal value: [0-65535]
         xx         a single byte hex value:     [00-FF]
       xxxx         a single word hex value:     [0000-FFFF]




OPTION PRAMETERS:

  HARDWARE OPTION PARAMETERS:

    /A=xxxx    Sets the base I/O address of the EMS controller (GC113 only)
           e.g.    /A=02E8  the base I/O address is at 02E8

                   Note: No test is done at the time this option is entered to
           verify tht a controller chip does indeed exist at this I/O
           address. However, the initialization routines performed
           later will fail if this is not a controller address.


    /M=dddd    Tells the memory manager how many kilobytes of extended
           memory can be used for EMS memory. This value is rounded
           UP to the next multiple of 16. If /M is not used, or /M=0
           is entered, then NO extended memory is allocated as EMS
           memory. This parameter overrides the amount of EMS memory
           specified by setup.
           e.g.    /M=384   EMS can use 384K of available memory
               /M=120   EMS can use 128K of available memory

           Note: No test is done at the time this option is entered to
           verify that EMS has at least the amount of memory specified.



  MEMORY MANAGER OPTION PARAMETERS:

    /C=dddd    Sets the number of contexts that EMS can save. The number
           of contexts must lie in the range [3,255].
           e.g.    /C=8    8 contexts can be saved simultaneously


    /D=dd      Sets the depth of a context (number of registers) that can
           be saved. The context depth must lie in the range [1,32].
           e.g.    /D=12   Each stack frame can hold 12 registers.


    /H=dddd    Sets the maximum number of handles the manager will have
           open at any time. This number must lie in the range [3,255].
           e.g.    /H=128  128 handles can be open at one time.


    /I=xxxx-xxxx   Excludes the specified I/O range from the scan. ???
           (The exact purpose of this option is still unclear.)
           The start address range must be less than the end address
           range or an error will be generated.
           e.g.    /I=03D0-03D9    I/O 3D0-3D9 is excluded.


    /X=xxxx-xxxx   Sets an address range which should be EXCLUDED from EMS
           paging. The exclusion option can be used to prevent special
           RAM sections from being banked out. The memory manager will
           automatically exclude address ranges for ROM and standard
           video cards; these do not need to be specified. Both of the
           addresses entered are considered to be paragraph addresses.
           The addresses will be rounded UP to the next multiple of
           1K, unless they are already a multiple of 1K. The second
           value must be larger than the first or an error will occur.
           e.g.    /X=A000-A800    Excludes A0000-A8000 from paging
           e.g.    /X=4015-5000    Excludes 44000-50000 from paging


    /L=xxxx-xxxx   Sets an address range which should be INCLUDED in EMS paging.
           The addresses are interpreted exactly as in the /X exclude
           option parameter.
           e.g.    /L=3800-4200    Includes 38000-42000 in paging


    /S=xxxx    Sets the start of page frame address. This is the address
           at which EMS pages will appear as they are mapped in. It
           is often referred to as the EMS window.
           The address is interpreted exactly as in the /X exclude
           option parameter and it must be less than E000.
           e.g.    /S=9000     Sets the page frame address to 90000


    /E         Not Supported.
           e.g.    /E


    /F         Full display option. This option causes the status of the
           memory manager to be displayed.
           e.g.    /F


    /N         Specifies that non-volatile and display memory can be used
           by the EMS memory manager.
           e.g.    /N


    /V             Specifies that only volatile memory is to be used by the EMS
           memory manager.
           e.g.    /V


    /T             Enables a pattern test and two different types of address
           tests to be performed on the memory during the memory
           manager initialization.
           e.g.     /T


    /Z         Disables memory testing during initialization.
           e.g.     /Z

THE LANDMARK CPU TEST:
                   Run speed test LANDMARK speed will be 16MHz. When LANDMARK
           speed 11MHz pless key in AS.
FOLLOWS:
           copy con config.sys
           buffers=20
           [F6]
           [enter]
                 Then press reset and run speed again.


EMS 4.0 DOCUMENTATION
                  The EMS (Expanded Memory Specification ) Version 4.0 device
          driver is a standard MS DOSdevice driver that qets loaded at boot
          time by the CONFIG.SYS file. Beause EMS 4.0 is a device driver,
          it should look like this in the CONFIG.SYS file:

FOLLOW:
          COPY CON CONFIG.SYS
          DEVICE=SEEMSG2.SYS
          [F6]
          [ENTER]

          PRESS KEY IN [AlT][Ctrl][Del]
