View Single Post
Old 30-07-2006, 06:49 PM   #6
Mighty Midget
Pox Vobiscum
 
Mighty Midget's Avatar


 
Join Date: Mar 2006
Location: Krakeroy, Norway
Posts: 3,014
Default

config:

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



autoexec:

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 ************************************************** ****

__________________
Je Suis Charlie
Mighty Midget is offline                         Send a private message to Mighty Midget
Reply With Quote