home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The CDPD Public Domain Collection for CDTV 4
/
CDPD_IV.bin
/
e
/
mailinglists
/
binaries
/
escripts.lha
/
Startup
< prev
Wrap
AmigaDOS Script File
|
1993-08-27
|
1KB
|
47 lines
.key epp/S
.bra [
.ket ]
CD DH0:E
Path bin scripts add
If $CPU eq 68030 ;for my Derringer-030
Run >NIL: SYS:System/Monitors/GOMF1.0
If "[epp]" eq "epp"
If not exists RAM:PModules
MakeDir RAM:PModules
Protect RAM:PModules -d
Copy PModules/#?.e RAM:PModules quiet
MakeDir RAM:PModules/Headers
Copy PModules/Headers RAM:PModules/Headers all quiet
EndIf
Assign PMODULES: RAM:PModules
Assign EHEADERS: RAM:PModules/Headers
Else
Assign PMODULES: PModules
Assign EHEADERS: PModules/Headers
EndIf
Else ;$CPU eq 68000
Assign PMODULES: PModules
Assign EHEADERS: PModules/Headers
EndIf
Assign EMODULES: Modules
Failat 21
Execute >NIL: Scripts/AutoCD
CD >NIL: source
; if the first one fails the second will succeed, and vice versa
Failat 10
Quit
; SCRIPT NAME
; DH0:E/Startup
;
; DESCRIPTION
; Selects development environment for E based on cpu type (stored in
; environment var $CPU by program IdentifyProcessors) and the switch EPP.
; If switch EPP is supplied on the command line, pmodules and headers are
; installed in ram:.