Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
My old autoexec.bat and config.sys files used to have the maximum free memory : with/without CD-ROM, XMS, EMS)
@echo off
prompt $p$g
SET PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\UTIL\AUTOEXEC\BAT
SET TEMP=C:\TEMP
SET TMP=C:\TMP
SET MOUSE=C:\UTIL\Autoexec\MOUSE
Loadhigh c:\windows\command\keyb fr,,C:\windows\command\keyboard.sys
Loadhigh doskey
goto %config%
:WIN95
goto fin
:DOSXMSCD
loadhigh C:\WINDOWS\COMMAND\MSCDEX.EXE /D:MSCD001 /V
SET SOUND=C:\util\sb16
SET BLASTER=A220 I5 D1 H5 P330 T6
SET MIDI=SYNTH:1 MAP:E
C:\util\sb16\DIAGNOSE /S
C:\util\sb16\SB16SET /P /Q
loadhigh c:\util\autoexec\mouse\mouse.com
c:
call c:\command.com
goto fin
:DOSEMSCD
loadhigh C:\WINDOWS\COMMAND\MSCDEX.EXE /D:MSCD001 /V
SET SOUND=C:\util\sb16
SET BLASTER=A220 I5 D1 H5 P330 T6
SET MIDI=SYNTH:1 MAP:E
C:\util\sb16\DIAGNOSE /S
C:\util\sb16\SB16SET /P /Q
loadhigh c:\util\autoexec\mouse\mouse.com
c:
call c:\command.com
cls
goto fin
:DOSXMS
SET SOUND=C:\util\sb16
SET BLASTER=A220 I5 D1 H5 P330 T6
SET MIDI=SYNTH:1 MAP:E
C:\util\sb16\DIAGNOSE /S
C:\util\sb16\SB16SET /P /Q
loadhigh c:\util\autoexec\mouse\mouse.com
c:
call c:\command.com
cls
goto fin
:DOSEMS
SET SOUND=C:\util\sb16
SET BLASTER=A220 I5 D1 H5 P330 T6
SET MIDI=SYNTH:1 MAP:E
C:\util\sb16\DIAGNOSE /S
C:\util\sb16\SB16SET /P /Q
loadhigh c:\util\autoexec\mouse\mouse.com
c:
call c:\command.com
cls
goto fin
:FIN
[menu]
menuitem=WIN95,Windows 95
menuitem=dosxmscd,MS-DOS XMS,CD-ROM
menuitem=dosemscd,MS-DOS EMS,CD-ROM
menuitem=dosxms,MS-DOS XMS
menuitem=dosems,MS-DOS EMS
menudefault=WIN95,5
[COMMON]
FILES=30
Buffers=30
dos=umb,high
devicehigh=C:\WINDOWS\himem.sys
[WIN95]
[dosxmscd]
dos=single
devicehigh=C:\WINDOWS\emm386.exe noems /I=E000-EFFF /I=b000-b7FF
DEVICEHIGH=c:\Util\autoexec\CDROM\TIMCD.SYS /D:MSCD001 /V
DEVICEHIGH=C:\util\SB16\DRV\CTSB16.SYS /UNIT=0 /WIN95 /BLASTER=A:220 I:5 D:1 H:5
DEVICEHIGH=C:\util\SB16\DRV\CTMMSYS.SYS
[dosemscd]
dos=single
devicehigh=C:\WINDOWS\emm386.exe ram /I=E000-EFFF /I=b000-b7FF
DEVICEHIGH=c:\Util\autoexec\CDROM\TIMCD.SYS /D:MSCD001 /V
DEVICEHIGH=C:\util\SB16\DRV\CTSB16.SYS /UNIT=0 /WIN95 /BLASTER=A:220 I:5 D:1 H:5
DEVICEHIGH=C:\util\SB16\DRV\CTMMSYS.SYS
[dosxms]
dos=single
devicehigh=C:\WINDOWS\emm386.exe noems /I=E000-EFFF /I=b000-b7FF
DEVICEHIGH=C:\util\SB16\DRV\CTSB16.SYS /UNIT=0 /WIN95 /BLASTER=A:220 I:5 D:1 H:5
DEVICEHIGH=C:\util\SB16\DRV\CTMMSYS.SYS
[dosems]
dos=single
devicehigh=C:\WINDOWS\emm386.exe ram /I=E000-EFFF /I=b000-b7FF
DEVICEHIGH=C:\util\SB16\DRV\CTSB16.SYS /UNIT=0 /WIN95 /BLASTER=A:220 I:5 D:1 H:5
DEVICEHIGH=C:\util\SB16\DRV\CTMMSYS.SYS
[COMMON]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment