Article ID: 188157
Article Last Modified on 1/23/2007
REM ****************************************************** REM ** Sample Windows 98 Program Information File REM ** Optimize Conventional Memory (TPA) REM ** Extended Memory (XMS) Support REM ****************************************************** REM ** This example assumes C:\WINDOWS is the Windows directory REM ** Modify the path to match your configuration REM ** Increasing available TPA improves performance in MS-DOS mode REM ** Load items high to increase available TPA REM ** The order in which items are loaded may affect utilization of the UMA REM ** Following are required to load items in upper memory DOS=HIGH,UMB DEVICE=C:\WINDOWS\HIMEM.SYS DEVICE=C:\WINDOWS\EMM386.EXE NOEMS REM ** DEVICEHIGH= is required to load a device in upper memory REM ** OAKCDROM.SYS is a IDE/ATAPI CD ROM driver REM ** Copy OAKCDROM.SYS from Startup disk to C:\WINDOWS\COMMAND REM DEVICEHIGH=C:\WINDOWS\COMMAND\OAKCDROM.SYS /D:mscd001 REM ** If compressed with DriveSpace, load it high to increase the TPA REM DEVICEHIGH=C:\WINDOWS\COMMAND\DRVSPACE.SYS /MOVE REM ** Install MS-DOS support for hardware in this environment
REM ****************************************************** REM ** Sample Windows 98 Program Information File REM ****************************************************** REM ** Set environment variables SET TMP=c:\windows\TEMP SET TEMP=C:\windows\TEMP SET PROMPT=MS-DOS Mode $p$g SET winbootdir=C:\WINDOWS SET PATH=C:\WINDOWS;C:\WINDOWS\COMMAND REM ** LH is required to load items in upper memory REM ** MSCDEX is required to access the CD ROM in MS-DOS mode REM ** Specify a CD ROM drive letter with /L:[drive letter] REM LH C:\WINDOWS\COMMAND\MSCDEX.EXE /D:mscd001 CLS ECHO ****************************************************** ECHO ** Windows 98 MS-DOS Mode ** ECHO ** Extended Memory (XMS) Support ** ECHO ** ** ECHO ** Type EXIT to return to Windows 98 ** ECHO ****************************************************** REM ** Install MS-DOS support for hardware in this environment
REM ******************************************************
REM ** Sample Windows 98 Program Information File
REM ** Optimize Conventional Memory (TPA)
REM ** Expanded (EMS) and Extended Memory (XMS) Support
REM ******************************************************
REM ** This example assumes C:\WINDOWS is the Windows directory
REM ** Modify the path to match your configuration
REM ** Increasing available TPA improves performance in MS-DOS mode
REM ** Load items high to increase available TPA
REM ** The order in which items are loaded may affect utilization of the UMA
REM ** Following are required to load items in upper memory
DOS=HIGH,UMB
DEVICE=C:\WINDOWS\HIMEM.SYS
REM ** EMM386 can emulate EMS within XMS
REM ** The RAM switch sets aside 64K of the UMA as a page frame for use with EMS
REM ** Using multiple of 1024, this example reserves an additional
4mb of XMS for EMS emulation
DEVICE=C:\WINDOWS\EMM386.EXE 4096 RAM
REM ** DEVICEHIGH= is required to load a device in upper memory
REM ** OAKCDROM.SYS is a IDE/ATAPI CD ROM driver
REM ** Copy OAKCDROM.SYS from Startup disk to C:\WINDOWS\COMMAND
REM DEVICEHIGH=C:\WINDOWS\COMMAND\OAKCDROM.SYS /D:mscd001
REM ** If compressed with DriveSpace
REM DEVICEHIGH=C:\WINDOWS\COMMAND\DRVSPACE.SYS /MOVE
REM ** Install MS-DOS support for hardware in this environment
REM ****************************************************** REM ** Sample Windows 98 Program Information File REM ****************************************************** REM ** Set environment variables SET TMP=c:\windows\TEMP SET TEMP=C:\windows\TEMP SET PROMPT=MS-DOS Mode $p$g SET winbootdir=C:\WINDOWS SET PATH=C:\WINDOWS;C:\WINDOWS\COMMAND REM ** LH is required to load items in upper memory REM ** MSCDEX is required to access the CD ROM in MS-DOS mode REM ** Specify a CD ROM drive letter with /L:[drive letter] REM ** Load MSCDEX file into EMS with /E REM LH C:\WINDOWS\COMMAND\MSCDEX.EXE /D:mscd001 CLS ECHO ****************************************************** ECHO ** Windows 98 MS-DOS Mode ** ECHO ** Expanded Memory (EMS) Support ** ECHO ** ** ECHO ** Type EXIT to return to Windows 98 ** ECHO ******************************************************
ARTICLE-ID: 37242
TITLE : A General Tutorial on the Various Forms of Memory
ARTICLE-ID: 77083
TITLE : Optimizing Your Use of Upper Memory Blocks
ARTICLE-ID: 87165
TITLE : Command-Line Switches for MSCDEX.EXE
ARTICLE-ID: 134399
TITLE : How to Increase Conventional Memory for MS-DOS-Based Programs
ARTICLE-ID: 138996
TITLE : Description of Restarting Computer in MS-DOS Mode
ARTICLE-ID: 74210
TITLE : Emulating Expanded Memory Using EMM386.EXE
Keywords: kbenv kbinfo KB188157