@echo off
C:
CD \GAMES\DOOM2
SET BLASTER=A220 I7 D1 H5 T6
echo DOOM > C:\DOOM2MP.ON
z:\config.com -set "cpu cycles=33000" >NUL
CLS
echo.
echo  Finding your opponent over the serial link...
echo  The banner at the TOP says YOU ARE PLAYER 1 or PLAYER 2.
echo.
echo  Connecting you in automatically...
echo  (if it stalls a few seconds, press 1 or 2 as the banner says)
C:\CHOICE.COM /C:12 /N
if errorlevel 2 goto P2
:P1
SERSETUP.EXE -com3 -irq 5 -player1 -altdeath -warp 7 -nomonsters
goto FIN
:P2
SERSETUP.EXE -com3 -irq 5 -player2 -altdeath -warp 7 -nomonsters
goto FIN
:FIN
z:\config.com -set "cpu cycles=max 100%" >NUL
if exist C:\DOOM2MP.ON del C:\DOOM2MP.ON
if exist C:\DOOMP1 del C:\DOOMP1
if exist C:\DOOMP2 del C:\DOOMP2
echo.
echo  Match over. Type GO to play again, or WIN for Windows.
