@echo off
prompt $p$g
path C:\;C:\DOS;C:\UTILS
doskey

REM !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
REM !!DON'T REMOVE THE FOLLOWING LINES               !!
REM !!                                               !!
REM !!CURRENT_OS_TYPE=DOS                            !!
REM !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

set MENUOPTIONS=/t

echo.
echo PRESS [ALT]+[BACKSPACE] TO TOGGLE BETWEEN VGA AND VIDEO MODES.
echo.
seconds 3

MBREV.EXE
if errorlevel 2 goto HS870
if errorlevel 1 goto JUKI

:HS870
set VGA2TVEXE=vga2tv_N.exe
goto VGA2TV

:JUKI
set VGA2TVEXE=vga2tv_O.exe


:VGA2TV
echo.
cd c:\
if exist vgaopt.txt goto LAUNCH
echo /T > vgaopt.txt
:LAUNCH
%VGA2TVEXE% < vgaopt.txt


:MENU
cd c:\utils
set MENULOOP=0
menu.exe %MENUOPTIONS%
set MENUOPTIONS=
call menu.bat
if %MENULOOP% == 1 goto MENU
