Changing the amount of conventional memory
Many DOS and Windows programs require conventional memory to run.
At the same time, many device drivers and TSR (Terminate and Stay
Resident) programs may be loaded into conventional memory. If you find that
you do not have enough conventional memory to run some of your DOS or
Windows programs, take the following steps.
To increase Upper Memory Block (UMB) space to 122K instead of 64K, add
the following line to your CONFIG.SYS file:
DEVICE=C:\WINDOWS\EMM386.EXE RAM=D000-EFFF FRAME=D000
To load DOS into the UMB (also known ashigh memory), also add the
following to your CONFIG.SYS file:
DOS=HIGH, UMB
Insert the LOADHIGH (LH) command before all TSRs and device drivers in
the AUTOEXEC.BAT file. For example:
LH C:\DOS\SMARTDRV.EXE /X
This will load these programs into UMB. If you run out of UMB space, you
may see an error message like this during the startup (boot) process:
Run time error R6009
-not enough space for environment.
In this case, remove LH from TSRs and device drivers one or two at a time,
and try again until the error message does not appear.
If you issue a DOSCLIP copy command while using Harvard Graphics 3.0, the
PC environment crashes when you quit Harvard Graphics. To prevent this, use
the steps outlined above, making sure that SMARTDRV is one of the drivers
preceded with LH.
IMPORTANT
To prevent the system BIOS from becoming damaged when the
PC environment is configured for 2 MB of memory, set the switch in the
CONFIG.SYS file to turn memory testing off:
DEVICE=C:\DOS\HIMEM.SYS /TESTMEM:OFF
68 Chapter 6