|
Search
|
||||||
[tweak] Increase / free up conventional memory for Windows 98Tips & Tweaks Post your tips and tweaks for Windows / *Nix / Mac and hardware. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
||||
|
||||
|
[tweak] Increase / free up conventional memory for Windows 98
Free up Conventional Memory Windows 9X
What is conventional memory? The first 640 KB of system memory is called conventional memory. The name refers to the fact that this is where DOS, and DOS programs, conventionally run. Originally, this was the only place that programs could run; today, despite much more memory being added to the PC, this 640 KB area remains the most important in many cases. The reason is that without special software support, DOS cannot run programs that are not in this special area. Conventional memory occupies addresses 00000h to 9FFFFh. MS-DOS-based programs require a certain amount of Conventional Memory to run, even when you run them in Windows. If you attempt to run an MS-DOS-based program that requires more Conventional Memory than is currently available on your computer, the program may not run correctly or at all, and an error message indicating that there is insufficient memory to run the program may be displayed. When this occurs, you must reconfigure your computer so that more Conventional Memory is available. To will free up a huge chunk of Conventional memory if your Hard Drive is not compressed . Edit your Msdos.sys so it doesn't load the compression drivers Note: This works only on Uncompressed Drives as most drives aren't compressed these days Always have a back up MSDOS.SYS before editing it, such as on a Boot Disk. This will make Msdos.sys stop loading your drivespace & doublespace compression drivers Make these changes in your Msdos.sys under options. Code:
[options] drvspace=0 dblspace=0 Note in this example the XXXXXXes are in the middle of the Options Section which is fine but can be moved below. It might be easier to deal with if the Options Section is all in one place but just don't remove the XXXXXXX filler. This is just an example for gaining conventional memory I'd have more suggestions on the Msdos.sys page. Code:
[Paths] WinDir=C:\WINDOWS WinBootDir=C:\WINDOWS HostWinBootDrv=C [Options] BootMulti=0 BootGUI=1 ; ;The following lines are required for compatibility with other programs. ;Do not remove them (MSDOS.SYS needs to be >1024 bytes). ;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxa ;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxb ;xxxxxxxxxxxxxxxxxxxxxx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xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxq ;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxr ;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxs BootDelay=2 Logo=0 Network=0 BootWarn=0 DblSpace=0 DrvSpace=0 DoubleBuffer=0 BootKeys=1 Many people choose not to use the Config.sys and Autoexec.bat You can just Rename or Empty your Config.sys and Autoexec.bat and Windows will run Default values Or you can use some of these tips. To edit these files it's easiest to use the System Editor - SYSEDIT.EXE You can use RUN on the Start Button Menu and type SYSEDIT.EXE Or you can Right Click on any blank space on the Desktop or a Folder and Select New | Shortcut | Command Line | SYSEDIT.EXE and name it | System Editor Then just select the Window of the file you wish to edit. Loading High in these files for a Windows bootup is not really a good idea If you're not loading Compression Drivers from the Msdos.sys you shouldn't have to worry about Coventional Memory Then the idea would be freeing up Upper Memory First you'll need to load the Himem.sys because it needs to load before the Emm386.exe Then DOS=HIGH,UMB is used specify the memory location for DOS And by using the DEVICE=C:\WINDOWS\EMM386.EXE noems frame=none To disabled use of a 64K page frame in upper memory for expanded memory use frame=none DEVICE=C:\WINDOWS\EMM386.EXE noems frame=none I=B000-B7FF This disables the monochrome area that is used by old DOS programs that used monochrome. Also you can add these lines to System.ini for Windows Code:
[386Enh] NoEMMDriver=True EMMInclude=B000-B7FF The first line is not need but it makes the IFSHLP.SYS load in Conventional Memory freeing up some Upper Memory Code:
DEVICE=C:\WINDOWS\IFSHLP.SYS BUFFERS=13 FILES=40 Code:
DEVICE=C:\WINDOWS\HIMEM.SYS /testmem:off DOS=HIGH,UMB DEVICE=C:\WINDOWS\EMM386.EXE noems frame=none I=B000-B7FF DEVICE=C:\WINDOWS\IFSHLP.SYS BUFFERS=13 FILES=40 The echo off is used so if you add command to the Autoexec.bat the Command isn't displayed just the results of that Command You might want to create a MEM.TXT "explained below" Or have your Anti-virus scan you Boot files A example of a plain Autoexec.bat would be Code:
ECHO OFF MEM /C > MEM.TXT But this will take away Upper Memory from Windows so it's best to use these lines for just Dos Loading High in the Autoexec.bat LH C:\MOUSE.EXE instead the of the current mouse.exe line. Use the current path if mouse.exe is not in the Root Directory C:\ LH stands for Load High. Loading the Mouse or any other Hardware Driver for Normal Windows use is not needed -"just an example" Loading Devices High in the Config.sys Replace "Device" on the *****_ CD line with DEVICEHIGH, for example: Code:
DEVICEHIGH=C:\*****_CD.SYS /D:MSCD000 /I:O Loading Hardware Drivers for Normal Windows use is not needed -"this just an example" If you're setting up for System to Boot in DOS I suggest you edit the Config.sys to create another Boot Menu That way you can have things set for both a Windows Boot and a DOS Boot. If you put this line in your Autoexec.bat Code:
MEM /C > MEM.TXT This is created before Windows loads from your Autoexec.bat You can compare it with MEM from a Windows command prompt after Windows loads. This Text file will be copied over every boot up when Autoexec.bat runs. Copy this Text file if you want to keep a record to compare. Quick tips: Use this DOS command to check memory usage and the amount free: "MEM /C /P". The one really tricky thing is Windows 95's compression driver and how to manage it. (Well, the best way is not to use compression at all if this is possible...) The DRVSPACE compression driver is large--110 KB in size--so it's difficult to handle. You have a couple of choices of how to configure loading the driver, as there is a tradeoff here:
|
| Advertisement |
|
#2
|
||||
|
||||
|
whoa
|
![]() |
| Tags |
| conventional, free, increase, memory, tweak, windows |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [tweak] Windows XP tweaks, big list | Ogden2k | Tips & Tweaks | 8 | Jan 24th, 05 4:46 AM |
| [tweak] Windows XP right click is a CPU hog, how to fix this | Ogden2k | Tips & Tweaks | 5 | Mar 30th, 04 1:07 AM |
| [tweak] Boot Defrag For Windows XP | sics | Tips & Tweaks | 2 | Feb 20th, 04 2:12 PM |
| [tweak] Pagefile tweak for Win2k and XP | Ogden2k | Tips & Tweaks | 0 | May 9th, 03 7:18 PM |