home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AMOS PD CD
/
amospdcd.iso
/
101-125
/
apd124
/
autoexec.amos
/
autoexec.amosSourceCode
next >
Wrap
AMOS Source Code
|
1990-09-27
|
3KB
|
124 lines
'-------------------------------------
'-------------------------------------
'--------- D E M O N S I N T R O ----
'--------- V 1.0 ----
'-------------------------------------
'--------- Loader of the BOBS DEMO ---
'--------- Coding by Blue Max ---
'--------- Music by Scott ---
'-------------------------------------
'-------------------------------------
Close Editor
Close Workbench
Screen Open 0,320,256,32,Lowres
Curs Off : Flash Off : Cls 0
Hide : Led Off
TEST
FIE
FAST
Procedure FIE
Screen Open 1,320,256,32,Lowres : Curs Off : Flash Off : Cls 0
Screen Hide 1 : Screen To Front 0
Data $0,$FD7,$FC6,$FB5,$FA4,$F93,$F82,$F70,$F60,$E40,$C20,$A00,$800,$600,$400,$50
For I=0 To 15 : Read A : Colour I,A : Next I
Colour 15,$0
Bob 7,30,50,5
Double Buffer
Data 35,75,125,155,205,245
Data 80,75,90,76,78,74
Dim FX(6),FY(6)
For J=1 To 6
Read N
FX(J)=N
Next J
For J=1 To 6
Read N
FY(J)=N
Next J
Colour 16,$0
Pen 16 : Paper 0 : Ink 16,0
Locate 0,20 : Centre "Presents another production from"
Locate 0,21 : Centre "- POSITRON -"
Screen 0 : Get Palette 1
Screen 1
Screen Show 1 : Screen To Front 1
For I=0 To 15 : Colour I,$0 : Next I
Music 1
Fade 6 To 0
For J=1 To 2
For I=1 To 100
Bob 1,FX(1),FY(1),K
Bob 2,FX(2),FY(2),K
Bob 3,FX(3),FY(3),K
Bob 4,FX(4),FY(4),K
Bob 5,FX(5),FY(5),K
Bob 6,FX(6),FY(6),K
Wait Vbl
Add K,1,1 To 4
Next I
Fade 5,,,,,,,,,,,,,,,,,$FFF
Next J
Fade 1,,,,,,,,,,,,,,,,,$0 : Tempo 1
For I=1 To 50
Bob 1,FX(1),FY(1),K
Bob 2,FX(2),FY(2),K
Bob 3,FX(3),FY(3),K
Bob 4,FX(4),FY(4),K
Bob 5,FX(5),FY(5),K
Bob 6,FX(6),FY(6),K
Wait Vbl
Add K,1,1 To 4
Next I
Fade 8
For I=1 To 40
Bob 1,FX(1),FY(1),K
Bob 2,FX(2),FY(2),K
Bob 3,FX(3),FY(3),K
Bob 4,FX(4),FY(4),K
Bob 5,FX(5),FY(5),K
Bob 6,FX(6),FY(6),K
Wait Vbl
Add K,1,1 To 4
Mvolume 40-I
Next I
Screen 0 : Cls 0
Music Off : Mvolume 63
Screen Close 1
Erase 3
End Proc
Procedure FAST
Screen Open 1,400,256,32,Lowres : Curs Off : Flash Off : Cls 0
Screen Hide 1
For I=3 To 31 : Add C,128
Colour I,C
Ink I : Draw 0,100+I To 400,100+I
Next I
For I=31 To 3 Step -1 : Ink I : Draw 0,162-I To 400,162-I : Next I
Screen Show 1
Screen 0 : Ink 1,0 : Colour 1,$0
Text 10,10,"Fast loading..." : Get Bob 20,0,0 To 16*8,15 : Cls 0
Screen 1
Bob Draw : Colour 1,$FFF : For Y=90 To 120 : Bob 1,105,Y,20 : Wait Vbl : Next Y
A$="df0:Positron.amos"
Erase 1
Run A$
End Proc
Procedure TEST
C=Chip Free
F=Fast Free
If F=0
Colour 1,$FFF : Ink 1,0,1
Cls 0
Text 10,10,"Oh shit ! I need more memory "
Text 10,20,"Please Buy a extension..."
C$="Chip memory : "+Str$(C)
F$="Fast memory : "+Str$(F)
Text 10,40,C$
Text 10,50,F$
Wait 250
Fade 5 : Wait 5*15
FIE
End
End If
Load "df0:msic.abk"
End Proc