IMPORTANT!! DO NOT COPY THESE LINES VERBATIM!! THEY ARE SYSTEM / HARDWARE SPECIFIC!! THEY ARE TO BE USED FOR ILLUSTRATION ONLY!! Here is a sample basic CONFIG.SYS file: rem -- himem.sys is required by Windows-95 rem -- Windows 98 doesn't need it or config.sys at all rem -- but if you need MSDOS mode you'll need it anyway rem -- testmem:off prevents himem from retesting rem -- memory already tested by the system BIOS DEVICE=C:\WINDOWS\HIMEM.SYS /TESTMEM:OFF rem -- allows emm386.exe to be used as expanded/extended rem -- memory manager and disables expanded memory DEVICE=C:\WINDOWS\EMM386.EXE NOEMS rem -- allows DOS to reside in 1st block of ext memory DOS=HIGH rem -- allows DOS to also occupy upper memory blocks DOS=UMB rem -- a device=line such as the following must rem -- be installed by CDROM driver diskette rem -- to allow CDROM to work in DOS DEVICE=C:\CDROM\CDROM.SYS /D:CD001 /UDMA2 Here is a sample starting AUTOEXEC.BAT file: rem -- disables echoing of commands @ECHO OFF rem -- the next 4 lines are added by soundcard rem -- setup, in this example a SoundBlaster-16 SET CTCM=C:\WINDOWS SET SOUND=C:\PROGRA~1\CREATIVE\CTSND SET MIDI=SYNTH:1 MAP:E SET BLASTER=A220 I5 D1 H1 P330 T6 rem -- allows common DOS commands to be run from rem -- any directory PATH=C:\WINDOWS;C:\WINDOWS\COMMAND rem -- line placed for joystick software SET MSINPUT=C:\WINDOWS\MSINPUT Here is a sample starting DOSSTART.BAT file (in C:\WINDOWS): rem -- added by soundcard setup to initialize the card rem -- in MS-DOS mode (this is for SoundBlaster-16) C:\WINDOWS\CTCM rem -- Added by CDROM DOS setup to enable DOS rem -- support but needs to be in DOSSTART.BAT rem -- so that it is only invoked when the computer rem -- is restarted in MSDOS mode (you don't want to rem -- have it active when Windows is in operation rem -- because it prevents Windows from loading its rem -- own CDROM drivers which support long filenames C:\WINDOWS\COMMAND\MSCDEX.EXE /D:CD001 /L:D /M:32 rem -- similarly the DOS mouse driver is only rem -- invoked only in MSDOS mode C:\MOUSE\MOUSE |
The first step is to edit the MSDOS.SYS file so that the computer automatically starts in command mode. The second step is to copy the DOSSTART.BAT file onto the end of the AUTOEXEC.BAT file so that MEMMAKER can optimize its contents as well. For this computer, optimization resulted in the following files:
|
The next step is to carry out MEMMAKER again with the following changes In this case, optimization produced the following:
AUTOEXEC.BAT |
Now lets put it all together: CONFIG.SYS rem -- the following lines specify the menu items [menu] MENUITEM=std, Most MS-DOS mode games MENUITEM=ems, DOS games requiring expanded memory rem -- optional line displays menu in yellow type rem -- on green background MENUCOLOR=14,2 rem sets default menu option MENUDEFAULT=std rem -- this section is executed when std rem -- configurtation is chosen [std] DEVICE=C:\WINDOWS\HIMEM.SYS /TESTMEM:OFF DEVICE=C:\WINDOWS\EMM386.EXE NOEMS BUFFERS=30,0 FILES=30 DOS=UMB DOS=HIGH DEVICEHIGH /L:1,24752 =C:\CDROM\CDROM.SYS /D:CD001 /UDMA2 rem -- this section is executed when ems-enabled rem -- configurtation is chosen [ems] DEVICE=C:\WINDOWS\HIMEM.SYS /TESTMEM:OFF DEVICE=C:\WINDOWS\EMM386.EXE RAM I=B000-B7FF BUFFERS=30,0 FILES=30 DOS=UMB DOS=HIGH DEVICEHIGH /L:1,24752 =C:\CDROM\CDROM.SYS /D:CD001 /UDMA2 AUTOEXEC.BAT @ECHO OFF SET CTCM=C:\WINDOWS SET SOUND=C:\PROGRA~1\CREATIVE\CTSND SET MIDI=SYNTH:1 MAP:E SET BLASTER=A220 I5 D1 H1 P330 T6 PATH=C:\WINDOWS;C:\WINDOWS\COMMAND SET MSINPUT=C:\WINDOWS\MSINPUT rem -- dosstart.bat is in the c:\windows directory CD WINDOWS rem -- here's where the startup file makes a choice goto %config% :std rem -- overwrites dosstart.bat with dosstart.std COPY DOSSTART.STD DOSSTART.BAT GOTO end :ems rem -- overwrites dosstart.bat with dosstart.ems COPY DOSSTART.EMS DOSSTART.BAT :end The following is the DOSSTART.STD file rem -- these commands are copied into the dosstart.bat file rem -- which is executed when the system starts MSDOS mode C:\WINDOWS\CTCM LH /L:1,48704 C:\WINDOWS\COMMAND\MSCDEX.EXE /D:CD001 /L:D /M:16 LH /L:0;1,26272 /S C:\MOUSE\MOUSE The following is the DOSSTART.EMS file rem -- these commands are copied into the dosstart.bat file rem -- if expanded memory is enabled on system startup C:\WINDOWS\CTCM LH /L:2,23680 C:\WINDOWS\COMMAND\MSCDEX.EXE /D:CD001 /E /L:D /M:32 LH /L:0;2,26272 /S C:\MOUSE\MOUSE |
FINISHING UP HOW IT ALL WORKS TWO BITS OF CAUTION If you want to increase the stability of Windows or you play DOS games a lot you might want to consider the following option instead |