@if "%1"=="" goto usage
@echo - Cirrus Logic SVGA installation for OS/2 2.1...

@if exist %1:\os2\screen01.sys copy screen01.sys %1:\os2 >nul
@if exist %1:\os2\screen02.sys copy screen02.sys %1:\os2 >nul
@copy svga.exe          %1:\os2 >nul
@copy psclblt.dsc       %1:\os2\install >nul
@%1:\os2\install\dspinstl
@echo - finishing up, please wait . . .
@xcopy %1:\os2\dll\sv???256.dll  %1:\os2\dll\ibmdev32.dll >nul
@erase %1:\os2\dll\sv???256.dll >nul

@echo -
@echo - Please shutdown and reboot the system for the newly installed
@echo - drivers to take effect . . .
@echo -
@goto home

:usage
@echo *------------------------------------------------------------------*
@echo * Cirrus Logic SVGA installation for OS/2 2.1...                   *
@echo *==================================================================*
@echo *                                                                  *
@echo * Please specify the drive letter for the files to be copied to... *
@echo *                                                                  *
@echo * example: clinst21 c                                              *
@echo * meaning: install Cirrus Logic driver on drive C, the OS/2 drive  *
@echo *                                                                  *
@echo *------------------------------------------------------------------*

:home

