SENSATION! (250-1650) Optimizing Memory Faxback Doc. # 2883 Optimizing memory on the Sensation! with DOS 6.x and DBLSPACE. Use the following CONFIG.SYS and AUTOEXEC.BAT files to get the highest amount of free memory in the Sensation! with DOS 6.x and DBLSPACE. Also listed is a necessary addition to the SYSTEM.INI file. Last is the report from MEM/C which shows the available memory using these instructions. CONFIG.SYS DEVICE=C:\DOS\HIMEM.SYS DEVICE=C:\DOS\EMM386.EXE NOEMS HIGHSCAN I=B000-B7FF I=C800-EFFF DEVICEHIGH=C:\DOS\DBLSPACE.SYS /MOVE DEVICEHIGH=C:\BIN\LMSDD250.SYS /D:MSCD001 /P:340 /I:11 /C:99 /M:6 /S DEVICEHIGH=C:\DOS\SETVER.EXE BUFFERS=15,0 FILES=30 DOS=UMB LASTDRIVE=I FCBS=4,0 DOS=HIGH STACKS=9,256 SHELL=C:\COMMAND.COM C:\DOS /P AUTOEXEC.BAT @echo off set err=0 C:\DOS\SMARTDRV.EXE LH C:\DOS\MOUSE LH C:\BIN\VISBIOS LH C:\DOS\MSCDEX.EXE /D:MSCD001 if errorlevel 1 goto fail goto continue :fail echo. echo A problem exists with your CD-ROM installation. echo CONFIG.SYS must contain the statement: echo. echo DEVICEHIGH=C:\BIN\LMSDD250.SYS /D:MSCD001 /P:340 /I:11 /C:99 /M:6 echo. echo See your documentation for more information. set err=1 pause :continue @ECHO OFF PROMPT $p$g PATH=C:\WINMATE;C:\WINDOWS;C:\MSWORKS;C:\BSHELF93;C:\WINDOWS\TOOLBOOK; C:\DOS SET TEMP=C:\DOS rem The sndmixer program sets the sound levels back to the saved rem mixer settings. sndmixer.exe /r (restore levels) [windows directory] if exist c:\windows\sndmixer.exe c:\windows\sndmixer /r c:\windows if exist c:\windows\win.com c:\windows\win Note: In the CONFIG.SYS file, the DBLSPACE.SYS line should be included ONLY if DoubleSpace has been installed. If DoubleSpace is installed later, the DBLSPACE.SYS line should be moved to the position shown above. * Windows will not load if you choose to use the monochrome region (B000-B7FF) as extended memory. According to the README.TXT file in DOS 6.x, a system with SVGA can use the monochrome region if the SYSTEM.INI file is edited. The following line must be added under the [386 enhanced] section: DEVICE=C:\DOS\MONOUMB.386 The file MONOUMB.386 should be in your DOS directory. With this line added, B000-B7FF may be used as extended memory, and Windows will work fine. The above configuration results in the following report from MEM/C: Memory Summary (using above instructions): Type of Memory Total = Used + Free ---------------- ----------------- ----------------- ----------------- Conventional 655360 (640K) 24560 (24K) 630800 (616K) Upper 224096 (219K) 185216 (181K) 38880 (38K) Reserved 393216 (384K) 393216 (384K) 0 (0K) Extended (XMS) 2921632 (2853K) 1270944 (1241K) 1650688 (1612K) ---------------- ----------------- ----------------- ----------------- Total memory 4194304 (4096K) 1873936 (1830K) 2320368 (2266K) Total under 1 MB 879456 (859K) 209776 (205K) 669680 (654K) Largest executable program size 630704 (616K) Largest free upper memory block 27264 (27K) MS-DOS is resident in the high memory area. With DOS 6.2, the SMARTDRV driver is able to cache the CD-ROM, enabling it to run much faster. Listed below are lines 3,4,5 and 6 of the AUTOEXEC.BAT file. These lines are listed in the order that will enable the CD-ROM to be cached and give the maximum amount of free memory. LH C:\BIN\VISBIOS LH C:\DOS\MOUSE LH C:\DOS\MSCDEX.EXE /D:MSCD001 C:\DOS\SMARTDRV.EXE This will result in the following memory configuration: Type of Memory Total = Used + Free ---------------- ---------- ---------- ---------- Conventional 655,360 37,184 618,176 (604K) Upper 224,096 173,952 50,144 ( 49K) (sm/rl-6/01/94)