home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format 95
/
af095a.adf
/
c
/
start.lzx
/
c
/
1
next >
Wrap
Text File
|
2001-09-19
|
4KB
|
162 lines
lab 63
assign AF95a: exists >ram:necessary
search ram:necessary "Mounted" >nil:
if warn
echo "*EcPlease insert the *E[33m*E[3mAmiga Format*E[0m Coverdisk."
else
skip 64
endif
skip 63 back
lab 64
endif
delete ram:necessary quiet
echo "*EcWould you like to install to a floppy or hard drive?"
echo "Enter either 'f' or 'h' (the default for this is still floppy)."
setenv >nil: type ?
if not exists ram:type
skip 1
endif
if not $type EQ h
skip 1
lab 9
endif
echo "Could you please now enter the path name for your hard drive?"
echo "E.g. 'dh0:', 'work:test/', etc..."
setenv >nil: pathname ?
assign source: AF95a:archives/
failat 21
cd $pathname >nil:
if fail
failat 10
skip 9 back
endif
failat 10
echo "*EcOK... Installing disk."
unlzx -a -q -bi24 x source:tcalc.lzx ""
echo "To install the documents we need to know which version of WB you use."
echo "Do you use Workbench 2.1 or Workbench 3?"
ask "Type 'y' for WB2 or 'n' for WB3?"
if warn
unlzx -a -q -bi24 x source:manual2.lzx ""
unlzx -a -q -bi24 x source:pictures.lzx ""
else
unlzx -a -q -bi24 x source:manual3.lzx ""
unlzx -a -q -bi24 x source:pictures.lzx ""
endif
skip 10
lab 1
endif
echo "*EcPlease wait..."
copy AF95a:archives/Tcalc.lzx ram: BUF=10
assign source: ram:
echo "*EcYou must have a spare disk ready."
setenv pathname "df0:"
lab 3
echo "Insert the spare disk into df0: (your internal drive)"
ask "and press the <return> key."
info df0: >ram:check
search ram:check "af95" >nil:
if warn
skip 4
endif
echo "An Amiga Format disk is in df0:"
skip 3 back
lab 4
search ram:check "No disk present" >nil:
if warn
skip 5
endif
echo "No disk detected in df0:"
skip 3 back
lab 5
search ram:check "837k" >nil:
if not warn
skip 6
endif
search ram:check "879k" >nil:
if not warn
skip 6
endif
skip 7
lab 6
endif
format drive df0: name "TurboCalc2" noicons FFS quick <ram:go >nil:
skip 8
lab 7
format drive df0: name "TurboCalc2" noicons FFS <ram:go >nil:
lab 8
cd $pathname >nil:
echo "*EcInstalling disk."
copy ram:disk.info df0:
unlzx -a -q -bi24 x source:TCalc.lzx ""
delete ram:TCalc.lzx
lab 163
assign AF95a: exists >ram:necessary
search ram:necessary "Mounted" >nil:
if warn
echo "*EcPlease insert the *E[33m*E[3mAmiga Format*E[0m Coverdisk."
else
skip 164
endif
skip 163 back
lab 164
endif
delete ram:necessary quiet
echo "*EcTo install the documents we need to know which version of WB you use."
echo "Do you use Workbench 2.1 or Workbench 3?"
ask "Type 'y' for WB2 or 'n' for WB3?"
if warn
copy af95a:archives/manual2.lzx ram:manual.lzx BUF=10
else
copy af95a:archives/manual3.lzx ram:manual.lzx BUF=10
endif
assign source: ram:
echo "*EcYou must have a spare disk ready."
setenv pathname "df0:"
lab 13
echo "Insert the spare disk into df0: (your internal drive)"
ask "and press the <return> key."
info df0: >ram:check
search ram:check "af95" >nil:
if warn
skip 14
endif
echo "An Amiga Format disk is in df0:"
skip 13 back
lab 14
search ram:check "No disk present" >nil:
if warn
skip 15
endif
echo "No disk detected in df0:"
skip 13 back
lab 15
search ram:check "837k" >nil:
if not warn
skip 16
endif
search ram:check "879k" >nil:
if not warn
skip 16
endif
skip 17
lab 16
endif
format drive df0: name "Manual" noicons FFS quick <ram:go >nil:
skip 18
lab 17
format drive df0: name "Manual" noicons FFS <ram:go >nil:
lab 18
cd $pathname >nil:
echo "*EcInstalling disk."
copy ram:disk.info df0:
unlzx -a -q -bi24 x source:manual.lzx ""
delete ram:manual.lzx
lab 10
delete ram:pathname quiet
if exists ram:type
delete ram:type quiet
endif
assign source: remove
type ram:main