home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format 95
/
af095a.adf
/
c
/
start.lzx
/
c
/
2
< prev
next >
Wrap
Text File
|
2019-03-15
|
2KB
|
89 lines
lab 67
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 68
endif
skip 67 back
lab 68
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 is floppy)."
setenv >nil: type ?
if not exists ram:type
skip 31
endif
if not $type EQ h
skip 31
lab 39
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/
skip 32
lab 31
endif
echo "*EcPlease wait..."
copy AF95a:archives/Extras.lzx ram: BUF=10
assign source: ram:
echo "*EcYou must have a spare disk ready."
setenv pathname "df0:"
lab 33
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 34
endif
echo "An Amiga Format disk is in df0:"
skip 33 back
lab 34
search ram:check "No disk present" >nil:
if warn
skip 35
endif
echo "No disk detected in df0:"
skip 33 back
lab 35
search ram:check "837k" >nil:
if not warn
skip 36
endif
search ram:check "879k" >nil:
if not warn
skip 36
endif
skip 37
lab 36
endif
format drive df0: name AF95_Extras FFS noicons quick <ram:go >nil:
skip 38
lab 37
format drive df0: name AF95_Extras FFS noicons <ram:go >nil:
lab 38
copy ram:disk.info df0:
lab 32
failat 21
cd $pathname >nil:
if fail
failat 10
skip 39 back
endif
failat 10
echo "*EcOK... Installing."
unlzx -a -q -bi24 x source:extras.lzx ""
if exists ram:extras.lzx
delete ram:extras.lzx quiet
endif
delete ram:pathname quiet
if exists ram:type
delete ram:type quiet
endif
assign source: remove
type ram:main