REM  INSTALL.SYS for IBM PC-DOS 

Set Title = \33C6 OPERATION EUROPE\33C7 Hard Drive Installation \33c7
Set DiskFree = 3174400
Set dir  = \OPEU
Set shell = KOEI.COM
Set dirfname = OPEU.DIR
Set verfname = DISK-1.VER
SET STARTDISK = NONE

IF AU_size < 5 GOTO CF2
Set Config = config.lar
GOTO CF1
:CF2
Set Config = config.sma

:CF1
IF DOS < 5.0 GOTO dos
Set Config = config.5
:DOS
INIT_END
REM  These messages are used for changing disks and copying messages
cls1
cls2
if exist DISK-1.VER goto DISK-1_COPY
echo 1  \33c7 Please make sure that \33C6OPERATION EUROPE DISK 1\33C7 is  
echo \33c7 in your \33C2floppy drive \33C7, and press\n \33c5ENTER\33c7. 

BEEP
Gosub Get_Return_Key
:DISK-1_CHANGE
if exist DISK-1.VER goto DISK-1_COPY
echo 3  \33C2 This is not OPERATION EUROPE DISK 1. Please check your disk.\n
echo \33C2 When you have inserted the correct disk, press\33c5ENTER\33c7. 

BEEP
Gosub Get_Return_Key
cls3
goto DISK-1_CHANGE
:DISK-1_COPY
cls1
echo 1  \33c7 Copying the contents of \33c2DISK 1\33c7 to your hard drive... 

cls2
MakeFile OPEU.SAV 103955
copy *.*
del INSTALL.SYS
del INSTALL.EXE
del DISK-1.VER

cls1
cls2
echo 2 \33c7 Please put \33C6OPERATION EUROPE DISK 2\33C7 into your \33C2floppy drive\33C7,\n
echo \33c7 and press \33c5ENTER\33c7.

BEEP
Gosub Get_Return_Key
:DISK-2_CHANGE
if exist DISK-2.VER goto DISK-2_COPY

echo 3  \33C2 This is not OPERATION EUROPE DISK 2. Please check your disk.\n
echo \33C2 When you have inserted the correct disk, press \33c5ENTER\33c2. 

BEEP
Gosub Get_Return_Key
cls3
goto DISK-2_CHANGE

:DISK-2_COPY
cls1
echo 1 \33c7 Copying the contents of \33c2DISK 2\33c7 to your hard drive... 
cls2
copy *.*
del DISK-2.VER

cls2
cls3
cls1
echo  1  \33c7 This completes the installation.
BEEP

cls2 
echo 2  \33c7 Please put \33C6OPERATION EUROPE DISK 1\33C7 back into your \33C2floppy drive\33C7,\n
echo \33c7 and press \33c5ENTER\33c7.
gosub Get_Return_Key

:BAT-DISK
if exist DISK-1.VER goto END_MSG
cls3
echo 3  \33C2 This is not OPERATION EUROPE DISK 1. Please check your disk.\n
echo \33C2 When you have inserted the correct disk, press \33c5ENTER\33c2. 

BEEP
Gosub Get_Return_Key
cls3
goto BAT-DISK

:END_MSG

REM This message appears if there is no need for a boot disk.
cls2
echo    \33c7 Before playing \33c6OPERATION EUROPE\33c7, we strongly suggest that you\n
echo    \33c7 check your memory for bytes free with the DOS command, \33c5MEM\33c7.\n
echo    \33c7 You must have at least \33c2540,000\33c7 bytes free of conventional\n
echo    \33c7 memory and at least \33c2100,000\33c7 bytes free of EMS/XMS memory\n
echo    \33c7 for \33c6OPERATION EUROPE\33c7 to run properly.\n\n
Gosub Mes_Cont 
cls2
echo    \33c7 If you find that you have less than the required amount of\n
echo    \33c7 bytes free, please refer to the Reference Card that came with\n
echo    \33c7 the package for assistance in making a Boot Disk or changing\n
echo    \33c7 your current AUTOEXEC.BAT/CONFIG.SYS files.\n\n
Gosub Mes_Cont
cls2
echo    \33c7 To start the game, move to the drive where you installed\n
echo    \33c6 OPERATION EUROPE\33c7 and type \33c5KOEI\33c7.     

:Owari
cls3
echo  \33c7 Hit \33c5ENTER\33c7 to return to MS-DOS.

BEEP
Gosub Get_Return_Key
install_end


REM --- return key input
:Get_Return_Key
Pause
if key != 0x0d goto Get_Return_Key
return

:Mes_Cont
echo    \33c7 Hit \33c5ENTER\33c7 to continue message...
Gosub Get_Return_Key
return

