oem.hlp (Table of Contents; Topic list)
EMM386.EXE--Examples
Syntax  Notes
────────────────────────────────────────────────────────────────────────────
 
                            EMM386.EXE──Examples
 
To start EMM386 as an expanded-memory emulator, using the default values,
add the following lines to your CONFIG.SYS file:
 
    device=himem.sys
    device=emm386.exe
 
Since no location is specified, MS-DOS searches for the EMM386.EXE file in
the root directory of your startup drive.
 
To specify that EMM386 allocate a maximum of 4096K of memory and a
guaranteed 256K of memory (the default value), and to specify that the
EMM386.EXE file is located in the DOS directory on drive C, add the
following line to your CONFIG.SYS file:
 
    device=c:\dos\emm386.exe 4096
 
To emulate expanded memory, specify the segment-base address D000h for the
EMS page frame, and allocate 512K of memory to EMM386, use one of the
following commands:
 
    device=emm386.exe 512 frame=d000
 
    device=emm386.exe 512 p0=d000 p1=d400 p2=d800 p3=dc00
 
Suppose that, in addition to specifying the conditions set in the preceding
commands, you want to prevent EMM386 from using the segment addresses E000h
through EC00h. To do this and to specify that EMM386 can use 127 handles,
add the following line to your CONFIG.SYS file:
 
    device=emm386.exe 512 frame=d000 x=e000-ec00 h=127
 
To provide access to the upper memory area but not provide EMS/VCPI memory,
add the following line to your CONFIG.SYS file:
 
    device=emm386.exe noems novcpi
 
To provide access to the upper memory area and provide EMS/VCPI memory, add
the following line to your CONFIG.SYS file:
 
    device=emm386.exe ram
 
                                      ♦