Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
1.6 KiB

  1. @echo off
  2. REM AUTOEXEC.BAT is not used to initialize the MS-DOS environment.
  3. REM AUTOEXEC.NT is used to initialize the MS-DOS environment unless a
  4. REM different startup file is specified in an application's PIF.
  5. REM Install CD ROM extensions
  6. lh %SystemRoot%\system32\mscdexnt.exe
  7. REM Install network redirector (load before dosx.exe)
  8. lh %SystemRoot%\system32\redir
  9. REM Install DPMI support
  10. lh %SystemRoot%\system32\dosx
  11. REM The following line enables Sound Blaster 2.0 support on NTVDM.
  12. REM The command for setting the BLASTER environment is as follows:
  13. REM SET BLASTER=A220 I5 D1 P330
  14. REM where:
  15. REM A specifies the sound blaster's base I/O port
  16. REM I specifies the interrupt request line
  17. REM D specifies the 8-bit DMA channel
  18. REM P specifies the MPU-401 base I/O port
  19. REM T specifies the type of sound blaster card
  20. REM 1 - Sound Blaster 1.5
  21. REM 2 - Sound Blaster Pro I
  22. REM 3 - Sound Blaster 2.0
  23. REM 4 - Sound Blaster Pro II
  24. REM 6 - SOund Blaster 16/AWE 32/32/64
  25. REM
  26. REM The default value is A220 I5 D1 T3 and P330. If any of the switches is
  27. REM left unspecified, the default value will be used. (NOTE, since all the
  28. REM ports are virtualized, the information provided here does not have to
  29. REM match the real hardware setting.) NTVDM supports Sound Blaster 2.0 only.
  30. REM The T switch must be set to 3, if specified.
  31. SET BLASTER=A220 I5 D1 P330 T3
  32. REM To disable the sound blaster 2.0 support on NTVDM, specify an invalid
  33. REM SB base I/O port address. For example:
  34. REM SET BLASTER=A0