how to use QEMM's OPTIMIZE program

The following is a text message on how to use QEMM's OPTIMIZE program
with 4DOS to give a good optimization.

    Consider the following situation and you will see that there is a
problem in how OPTIMIZE handles the upper memory when 4DOS is being
used.

.    two high memory regions 32K & 96K

.    DRIVER.SYS <=- needs 16K to load and keeps  7K
.    TSR_1.COM  <=- needs 24K to load and keeps 20K
.    TSR_2.COM  <=- needs 20K to load and keeps 18K

   When OPTIMIZE is run the following steps happen.

.    1) OPTIMIZE sets up CONFIG.SYS and AUTOEXEC.BAT then reboots

.    2) DRIVER.SYS loads low
.          report of memory usage goes into LOADHI.OPT file

.    3) 4DOS asks for about 3.5K of UMBs from QEMM and does NOT
.               get them.  This forces 4DOS to load low

.    4) TSR_1.COM and TSR_2.COM load low
.          report of memory usage goes into LOADHI.OPT file

.    5) OPTIMIZE uses LOADHI.OPT file to find optimization and will
.       come up with the following.
.                                     /R:1 DRIVER.SYS
.                                     /R:1 TSR_1.COM
.                                     /R:2 TSR_2.COM

.    6) change CONFIG.SYS and AUTOEXEC.BAT then reboot

.    7) DRIVER.SYS loads into /R:1

.    8) 4DOS asks for and gets about 3.5K of UMB space

.    9) TSR_1.COM tries to load into /R:1 fails and must load low

.   10) TSR_2.COM loads into /R:2

    The above is what happens in the OPTIMIZE process. As you can see
after the second booting the TSR_1 fails to load high. If OPTIMIZE had
seen the 3.5K needed to load 4DOS the following memory loading would
have happen.

.                   /R:1 DRIVER.SYS
.                   4DOS UMBs
.                   /R:2 TSR_1.COM
.                   /R:1 TSR_2.COM

   This would give the best usage of upper memory.

   In order to help OPTIMIZE find this best match the following steps
should be done to OPTIMIZE under QEMM.

.    1) EDIT the QEMM line in the CONFIG.SYS file to contain the
.         follow statement: X=xxxx-yyyy
.
.         where xxxx,yyyy equal a 4K area at the end
.         of the first region of upper memory

.    2) Setup 4DOS NOT to use UMBs in the 4DOS.INI file

.    3) OPTIMIZE the system

.    4) Remove the X=xxxx-yyyy and set 4DOS to use UMBs

   This simple procedure will give a good optimization to most systems.

  Note: If the UMB area needed by 4DOS is larger then 4K, the exclude
statement will need to be 8K in the QEMM line. (QEMM works in 4K blocks)

  -- Lon C. Murchison,II  73067,2515

Comments

Popular posts from this blog

BOTTOM LIVE script

Fawlty Towers script for "A Touch of Class"