3.Add a command to the CONFIG.SYS file to include the memory manager as a device driver, as described in the next section. The CONFIG.SYS file is used by MS-DOS to set up the computer’s system configuration requirements.

Modifying the CONFIG.SYS File

If you have a word processing program that can save a file as a text-only file (also called an ASCII file), you can use it to add the memory manager to the CONFIG.SYS file. Follow these steps:

1.Start your word processing program.

2.Load the file CONFIG.SYS and add the following command line:

DEVICE=EMM386SX.SYS

For information on optional parameters, see “Using EMM386SX.SYS options,” below.

Note

you can copy the EMM386SX.SYS file to a directory other than the root directory as long as you either enter that directory in a PATH command (for example, in your AUTOEXEC.BAT file), or include the pathname on the DEVICE= command line. For example, if EMM386SX.SYS is in the directory \DRV on drive C, include the pathname like this:

DEVICE=C:\DRV\EMM386SX.SYS

If you plan to use any of your expanded memory to create a virtual disk with the MS-DOS VDISK device driver, be sure to insert the EMM386SX.SYS command line before the VDISK command line in your CONFIG.SYS file. See your MS-DOS Reference Manual for information about VDISK.

4-8 Enhancing System Operations