home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Science & Nature: Electr…etism (Secondary Edition)
/
Acorn_YITM_ScienceAndNature3_ElectricityAndMagnetismSecondaryEdition.iso
/
_sci3sec
/
_run
< prev
next >
Wrap
Text File
|
1996-05-02
|
1KB
|
43 lines
WimpSlot -min 800k -max 800k
| Science Series 3
| Garry E Self for ILP, KBM 2/5/96
|
Set Sci3$Running 0
<Obey$Dir>.IfTask "Science 3" Then Set Sci3$Running 1
If <Sci3$Running> Then Error "Science 3 is already running"
Unset Sci3$Running
|
|
Set Sci3$Dir <Obey$Dir>
Set Sci3$Path <Sci3$Dir>.
Set Sci3Data$Dir Sci3:^.data
Set Sci3Data$Path <Sci3Data$Dir>.
Set Sci3General$Path Sci3Data:general.
Set Sci3Overview$Dir Sci3General:overview
Set Sci3Help$Dir Sci3General:help
Set Sci3LM$Path Sci3:Layman.
Set Sci3SlideProp$Path Sci3General:slideprop.
|
| Find out which ARM chip we've got here
|
*Run Sci3:ARMType
If "<ARM$Type>"="200" Then Set ARMovie$Suffix 2
If "<ARM$Type>"="2" Then Set ARMovie$Suffix 2
If "<ARM$Type>"="250" Then Set ARMovie$Suffix 2
|
| Save !ARMovie context
|
Set Sci3$OldARMovie <ARMovie$Dir>
SetEval Sci3App$Test "<ARMovie$Dir>"=""
if Sci3App$Test Then Run <Sci3$Dir>.!ARMovie
if Sci3App$Test Then Set Sci3App$ARMovie <ARMovie$Dir>
|
| Run the "ILPINTRO" application
|
RUN Sci3:!ILPINTRO.!Run
|
WimpSlot -min 448k -max 448k
|
| Run the main program
|
Run Sci3:!RunImage %*0