ID:ST Optimizing with STACKER Quarterdeck Technical Note #194 by Vernon Balbert Q: Why won't OPTIMIZE.COM work with STACKER? A: In addition to this technote, you should read your STACKER manual for more information on QEMM and STACKER as well as the README.DOC file in your STACKER subdirectory. STACKER does work with optimize, but STACKER adds a device driver to the end of your CONFIG.SYS called SSWAP.COM. The line typically reads like this: DEVICE=C:\STACKER\SSWAP.COM C: D: SSWAP.COM is a non-resident program that switches the drive letters. In the example above, drive C: becomes drive D: and drive D: becomes drive C:. This makes it easy if you installed STACKER on a drive that already had programs so you don't have to re-write your batch files and reconfigure your software to run from a different drive. See your STACKER manual for information on the use of SSWAP.COM. When running Optimize, this device line needs to be either remarked or removed from the CONFIG.SYS. Also, your AUTOEXEC.BAT probably contains references to drive C:. All these references need to be changed to drive D:. Conversely, all references to drive D: should be changed to drive C:. This is necessary since Optimize requires that the CONFIG.SYS and the AUTOEXEC.BAT reside on drive C:. The next step is to create a QEMM sub-directory on the uncompressed drive. This is typically drive D: when the SSWAP.COM device driver is loaded in your CONFIG.SYS. The following files need to be in the QEMM sub-directory in order to run Optimize properly: QEMM386.SYS (or QEMM.SYS if you are running QEMM 50/60, or QEMM-386 version 5.0, or QRAM.SYS), OPTIMIZE.COM, LOADHI.SYS, LOADHI.COM, LOGOPT.COM, BUFFERS.COM (if you are using DOS 2.x or 3.x), RSTRCFG.SYS, MCA.ADL (if you are running on a Microchannel machine), and WINHIRAM.VXD if you are planning on running Windows 3.0 in enhanced mode. Once you have done this, you should reboot before running Optimize so that the drives are set up correctly. Now you should be able to run Optimize normally. After Optimize has run, you should edit your CONFIG.SYS and restore the SSWAP.COM line. Also, you should edit your AUTOEXEC.BAT to restore the drive specifications to what they were before; e.g. change all references to drive D: to drive C: and all references to drive C: to drive D:. Reboot again. You are now getting the most out of your conventional memory. Copyright (C) 1991 by Quarterdeck Office Systems * * * E N D O F F I L E * * *