home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AMOS PD CD
/
amospdcd.iso
/
aminet
/
ph_progs.lha
/
PH_PROGS.AMOS
/
Quick_Compiler.AMOS
/
Quick_Compiler.amosSourceCode
Wrap
AMOS Source Code
|
1993-06-02
|
1KB
|
57 lines
S$="df1:Video2_1.AMOS"
D$="df1:video"
'
SRAM=False
DRAM=True
'
DFAULT=False
AMTB=False
LARGE=False
ERRS=False
RM_ACMP=True
'
AMSYS$="AMOS:AMOS_System/"
CONFIG$="AMOS:AMOS_System/Compiler_Configuration"
ACMP$="AMOS:AMOS_System/Acmp"
'
'TYPE=0 : Rem WB
'TYPE=1 : Rem CLI
TYPE=2 : Rem CLI runback
'TYPE=3 : Rem AMOS
'
'*****************************************
'
On Error Proc IGNORE_ERRORS
Music Off : Amal Off : Menu Off : Bob Update Off
For A=0 To 7 : Screen Close A : Next
On Error Goto 0
'
Screen Open 0,640,140,2,Hires : Curs Off : Palette 0,$FFF
Screen Display 0,,49,,
'
If S$=""
S$=Fsel$("","","Source File","")
End If
If S$<>""
If D$="" : D$=Fsel$("","","Dest File","") : End If
If D$<>"" : D$=" -O"+Chr$(34)+D$+Chr$(34) : End If
M$=" -D"+Str$(SRAM+1)-" "+Str$(DRAM+1)-" "
SC$=" -S"+Str$(0-_DFAULT)-" "
T$=" -T"+Str$(TYPE)-" "
A$=" -W"+Str$(0-AMTB)-" "
E$=" -E"+Str$(0-ERRS)-" "
L$="" : If LARGE : L$=" -l" : End If
C$=Chr$(34)+S$+Chr$(34)+D$+M$+SC$+T$+A$+L$+E$+" -C"+CONFIG$+" -F"+AMSYS$
If Not Extension_5_00AE
Extension_5_0098 ACMP$
End If
Extension_5_005E C$
If RM_ACMP
Extension_5_00A0
End If
End If
Print : Centre "Press Any key To Exit" : Wait Key
'
Procedure IGNORE_ERRORS
Resume Next
End Proc