Guest User

Untitled

a guest
Jun 21st, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1. 1. EMS
  2. 2. XMS
  3. 3. Windows
  4.  
  5. [MENU]
  6. REM syntax: Name, Descritopn
  7. MENUITEM=DOS, DOS w/o CD
  8. MENUITEM=DOSCD, DOS with CD
  9. MENUITEM=WIN, Windows
  10.  
  11. [COMMON]
  12. DEVICE=C:DOSHIMEM.SYS
  13. DOS=HIGH,UMB
  14.  
  15. [DOSCD]
  16. REM this is only loaded when "DOSCD" is selected
  17. DEVICE=C:DOSEMM386.EXE NOEMS
  18. DEVICE=C:DOSCDROMDRV.SYS /D:CD1
  19.  
  20. [DOS]
  21. REM this is only loaded when "DOS" is selected
  22. DEVICE=C:DOSEMM386.EXE NOEMS
  23.  
  24. [WIN]
  25. REM and this for "WIN", items can even be empty
  26.  
  27. ...
  28.  
  29. REM Uses the identifier from CONFIG.SYS to goto a label
  30. GOTO %CONFIG%
  31.  
  32. REM DOSCD: add mscdex
  33. :DOSCD
  34. LH C:DOSMSCDEX.EXE /D:CD1
  35. GOTO EXIT
  36.  
  37. REM no mscdex needed
  38. :DOS
  39. GOTO EXIT
  40.  
  41.  
  42. REM right into Windows
  43. :WIN
  44. win :
  45.  
  46. :EXIT
  47.  
  48. [MENU]
  49. MENUITEM=EMS
  50. MENUITEM=XMS
  51. MENUITEM=Windows
  52.  
  53. [COMMON]
  54. DEVICE=C:DOSHIMEM.SYS
  55.  
  56. [EMS]
  57. DEVICE=C:DOSEMM386.EXE
  58.  
  59. [XMS]
  60.  
  61. [Windows]
  62.  
  63. @ECHO OFF
  64. :: Common startup here
  65. GOTO %CONFIG%
  66.  
  67. :EMS
  68. :: EMS-specific setup here
  69. GOTO END
  70.  
  71. :XMS
  72. :: XMS-specific setup here
  73. GOTO END
  74.  
  75. :Windows
  76. :: Windows-specific setup here
  77. GOTO END
  78.  
  79. :END
Add Comment
Please, Sign In to add comment