@echo off
PATH Z:\;C:\WINDOWS;C:\GAMES\DOOM2;C:\
SET BLASTER=A220 I7 D1 H5 T6
C:
CD \GAMES\DOOM2
if exist C:\DOOMP1 del C:\DOOMP1
if exist C:\DOOMP2 del C:\DOOMP2
echo DOOM > C:\DOOM2MP.ON
z:\config.com -set "cpu cycles=33000" >NUL
CLS
echo  ====================================================
echo      DOOM II  -  MULTIPLAYER  (null-modem deathmatch)
echo  ====================================================
echo.
echo   Connecting to the other player over the serial link...
echo   A 2nd player must also launch "DOOM II Multiplayer".
echo.
:WP
if exist C:\DOOMP1 goto P1
if exist C:\DOOMP2 goto P2
goto WP
:P1
SERSETUP.EXE -com3 -irq 5 -player1 -altdeath -warp 1
goto FIN
:P2
SERSETUP.EXE -com3 -irq 5 -player2 -altdeath -warp 1
goto FIN
:FIN
z:\config.com -set "cpu cycles=max 100%" >NUL
del C:\DOOM2MP.ON
if exist C:\DOOMP1 del C:\DOOMP1
if exist C:\DOOMP2 del C:\DOOMP2
