home *** CD-ROM | disk | FTP | other *** search
- @echo off
- rem demonstration batch file for vrix and vrx
- vrx/? ; check if vrix is installed
- if errorlevel 10 goto novrix
- vrx/S ; save video state
- vrx/F 20 ; set fade
- vrx/M I ; set mode to 320 x 200
- vrx/? ; check if mode allowed
- if errorlevel 1 goto nomode
- :again
- vrx/L VGAPAINT.SCI ; load screen
- vrx/? ; Check screen
- if errorlevel 1 goto nofile
- vrx #5 ; wait 5 seconds or until key pressed
- if not errorlevel 255 goto done
- vrx/F 0 ; change fade
- vrx/L cityzoom.sci
- vrx/?
- if errorlevel 1 goto nofile
- vrx #5
- if not errorlevel 255 goto done
- vrx/F 1
- vrx/L hsvop1.sci
- vrx/?
- if errorlevel 1 goto nofile
- vrx #5
- if not errorlevel 255 goto done
- vrx/F 25
- vrx/L hsvop2.sci
- vrx/?
- if errorlevel 1 goto nofile
- vrx #5
- if not errorlevel 255 goto done
- vrx/l makegrad.sci
- vrx/?
- if errorlevel 1 goto nofile
- vrx #5
- if not errorlevel 255 goto done
- vrx/L rot1.sci
- vrx/?
- if errorlevel 1 goto nofile
- vrx #5
- if not errorlevel 255 goto done
- vrx/L rot3.sci
- vrx/?
- if errorlevel 1 goto nofile
- vrx #5
- if not errorlevel 255 goto done
- vrx/L vgast.sci
- vrx/?
- if errorlevel 1 goto nofile
- vrx #5
- if not errorlevel 255 goto done
- goto again
- :nofile
- echo cannot load file
- goto done
- :nomode
- echo cannot do mode
- :done
- vrx/R
- goto end
- :novrix
- echo VRIX is not installed
- :end