home *** CD-ROM | disk | FTP | other *** search
- ECHO OFF
- rem SET b=0xFF
- SET b=
- IF ERRORLEVEL 1 GOTO NENV_SP
- rem File: INSTALL.BAT for Host Software Demo Diskette:
- CLS
- ECHO %b%
- ECHO %b%
- ECHO MetaLink iceMASTER 8051 Family Emulator Demo
- ECHO %b%
- ECHO (c) Copyright MetaLink Corporation, 1990, 1991
- ECHO %b%
- ECHO %b%
- ECHO %b%
- ECHO Installation of Host Software Demo Diskette Files
- ECHO (Diskette #2 of 2)
- ECHO %b%
- ECHO %b%
- ECHO %b%
- ECHO %b%
- ECHO %b%
- ECHO %b%
- ECHO %b%
- ECHO %b%
- ECHO %b%
- ECHO %b%
- ECHO %b%
- ECHO %b%
- ECHO %b%
- PAUSE
- CLS
-
- SET f=%1
- IF ERRORLEVEL 1 GOTO NENV_SP
- SET t=%2
- IF ERRORLEVEL 1 GOTO NENV_SP
- SET d=%3
- IF ERRORLEVEL 1 GOTO NENV_SP
-
- IF x%1 == x SET f=A:
- IF ERRORLEVEL 1 GOTO NENV_SP
- IF x%2 == x SET t=C:
- IF ERRORLEVEL 1 GOTO NENV_SP
- IF x%3 == x SET d=\METALINK
- IF ERRORLEVEL 1 GOTO NENV_SP
-
- IF x%b% == x GOTO NENV_SP
- IF x%f% == x GOTO NENV_SP
- IF x%t% == x GOTO NENV_SP
- IF x%d% == x GOTO NENV_SP
- GOTO ENV_OK
- :NENV_SP
- rem (No %b%'s here, because 'b' may not have been defined successfully.)
- CLS
- ECHO ERROR: Environment Space Insufficient to Continue Installation #
- ECHO #
- ECHO You can increase the available space in the environment by adding the #
- ECHO following line to your CONFIG.SYS file and then rebooting your PC: #
- ECHO #
- ECHO SHELL=C:\COMMAND.COM /P /E:2048 #
- ECHO #
- ECHO where 2048 is the new environment size (2048 bytes) and the DOS #
- ECHO command processor (COMMAND.COM) is located at C:\COMMAND.COM #
- ECHO #
- ECHO Alternatively, you can release some environment space "manually". #
- ECHO To do this, first type #
- ECHO #
- ECHO SET #
- ECHO #
- ECHO to see a list of all currently defined environment variables. Then, #
- ECHO for each unnecessary variable (only you can determine which variables #
- ECHO are unnecessary), type #
- ECHO #
- ECHO SET ABC= #
- ECHO #
- ECHO where 'ABC' is the environment variable to be deleted. #
- ECHO #
- GOTO END
-
- :ENV_OK
- CLS
- ECHO The Host Software Demo Distribution Diskette files will be installed:
- ECHO %b%
- ECHO FROM drive: %f%
- ECHO TO drive: %t%
- ECHO INTO directory: %d% (of drive %t%)
- ECHO %b%
- ECHO If the above settings are not satisfactory, terminate this installation by
- ECHO pressing Ctrl-C (Ctrl key and C key, simultaneously). Then, reinvoke
- ECHO this installation procedure with command line arguments of the form:
- ECHO %b%
- ECHO source_drive:INSTALL [source_drive: [target_drive: [target_directory]]]
- ECHO %b%
- ECHO Example: _______________________ one or more blanks
- ECHO / / /
- ECHO A:INSTALL A: C: \METALINK
- ECHO ^ ^ ^ \________/
- ECHO ^ ^ ^ ^-- target directory
- ECHO ^ ^ ^ (if you want subdirectories,
- ECHO ^ ^ ^ create them first)
- ECHO source ^ ^ ^------------ target drive (hard disk)
- ECHO drive --^------------^
- ECHO (location of distribution diskette)
- ECHO %b%
- PAUSE
-
- CLS
- ECHO You are ready to continue loading the Host Software Demo Diskette
- ECHO files onto your hard disk. Recheck the following values.
- ECHO If they are correct, press any key to continue the installation;
- ECHO if they are not correct, press Ctrl-C to terminate the installation:
- ECHO %b%
- ECHO If you continue, the Host Software Demo files will be copied:
- ECHO %b%
- ECHO FROM drive: %f%
- ECHO TO drive: %t%
- ECHO INTO directory: %d% (of drive %t%)
- ECHO %b%
- ECHO ***************************************************************************
- ECHO * *
- ECHO * Press Ctrl-C to TERMINATE the installation; *
- ECHO * Press any other key to CONTINUE with the installation. *
- ECHO * *
- ECHO ***************************************************************************
- ECHO %b%
- PAUSE
-
- ECHO %b%
- ECHO (Do not worry if you see a "Directory already exists" message
- ECHO or an "Unable to create directory" message.)
- ECHO %b%
-
- %t%
- MD %t%%d%
- CD %t%%d%
-
- ECHO %b%
- ECHO ***** Installing Host Software Demo files from %f%, please wait ... *****
- ECHO %b%
-
- COPY %f%\PCKDD51B.EXE
- IF ERRORLEVEL 1 GOTO INS_TERM
- %t%%d%\PCKDD51B
- IF ERRORLEVEL 2 GOTO INS_TERM
- DEL %t%%d%\PCKDD51B.EXE
-
- ECHO %b%
- ECHO ***** Installation Complete *****
- ECHO %b%
- PAUSE
-
- CLS
- ECHO %b%
- ECHO The MetaLink iceMASTER demo program contains not only a fully-functional copy
- ECHO of the host software for a real iceMASTER emulator, but also a software
- ECHO simulator of the emulator itself! This emulator simulator mimics the behavior
- ECHO of a real iceMASTER emulator AND probe card AND target processor. For this
- ECHO reason, the iceMASTER demo program uses much more memory than the actual
- ECHO product. Consequently, we recommend that you remove any
- ECHO "Terminate-and-Stay-Resident" programs (TSRs) from memory before proceeding
- ECHO with the demo.
- ECHO %b%
- ECHO %b%
- ECHO The first part of the demo is a very rapid tour through an actual iceMASTER
- ECHO session. The sole purpose of this tour is to give you a "feel" for the
- ECHO system. The tour will take about 8 minutes. During that time you should
- ECHO not press any keys. You will have plenty of time to play and experiment with
- ECHO the host software after the 8 minute tour is over.
- ECHO %b%
- ECHO %b%
- ECHO You're not about to endure yet another slick slide show ...
- ECHO MetaLink delivers the REAL THING.
- ECHO %b%
- ECHO %b%
- PAUSE
-
- CLS
- ECHO To begin the tour, simply type: SHOWME
- ECHO %b%
- ECHO Note 1: If SHOWME runs too fast for your taste, you can slow it down by typing
- ECHO "SHOWME -d n", where the 'n' is between 0 and 15000 inclusive. 'n' is the
- ECHO key-to-key delay, in milliseconds. The default setting of 'n' is
- ECHO "SHOWME -d 850" (0.85 second delay between canned keystrokes in the SHOWME.MAC
- ECHO macro file). The '-d' option must be typed in lower-case.
- ECHO %b%
- ECHO Note 2: If you experience video incompatibilities or difficulties
- ECHO (for example, a blank screen after the system starts up):
- ECHO a. First, make sure that the display is in 25-line mode.
- ECHO b. Start the tour by typing "SHOWME -v". (Note: '-v' must be lower-case.)
- ECHO %b%
- ECHO Note 3: If you'd rather not bother with the tour at all, you can start using
- ECHO the host software demo/simulator immediately simply by typing:
- ECHO %b%
- ECHO ICEDEMO
- ECHO %b%
- ECHO If you do this, we recommend that, upon entry to the host software, you select
- ECHO the 'Help' command from the pull-down menu bar at the top of the screen. At
- ECHO the end of that General Help topic are several hyperlinks which you can follow
- ECHO to get more information about the demo/simulator and MetaLink's iceMASTER
- ECHO product line.
- GOTO END
-
- :INS_TERM
- ECHO ERROR: Unable to continue installation (see message above).
- GOTO END
-
- :END
-