Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1. EMS
- 2. XMS
- 3. Windows
- [MENU]
- REM syntax: Name, Descritopn
- MENUITEM=DOS, DOS w/o CD
- MENUITEM=DOSCD, DOS with CD
- MENUITEM=WIN, Windows
- [COMMON]
- DEVICE=C:DOSHIMEM.SYS
- DOS=HIGH,UMB
- [DOSCD]
- REM this is only loaded when "DOSCD" is selected
- DEVICE=C:DOSEMM386.EXE NOEMS
- DEVICE=C:DOSCDROMDRV.SYS /D:CD1
- [DOS]
- REM this is only loaded when "DOS" is selected
- DEVICE=C:DOSEMM386.EXE NOEMS
- [WIN]
- REM and this for "WIN", items can even be empty
- ...
- REM Uses the identifier from CONFIG.SYS to goto a label
- GOTO %CONFIG%
- REM DOSCD: add mscdex
- :DOSCD
- LH C:DOSMSCDEX.EXE /D:CD1
- GOTO EXIT
- REM no mscdex needed
- :DOS
- GOTO EXIT
- REM right into Windows
- :WIN
- win :
- :EXIT
- [MENU]
- MENUITEM=EMS
- MENUITEM=XMS
- MENUITEM=Windows
- [COMMON]
- DEVICE=C:DOSHIMEM.SYS
- [EMS]
- DEVICE=C:DOSEMM386.EXE
- [XMS]
- [Windows]
- @ECHO OFF
- :: Common startup here
- GOTO %CONFIG%
- :EMS
- :: EMS-specific setup here
- GOTO END
- :XMS
- :: XMS-specific setup here
- GOTO END
- :Windows
- :: Windows-specific setup here
- GOTO END
- :END
Add Comment
Please, Sign In to add comment