home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AMOS PD CD
/
amospdcd.iso
/
551-575
/
apd559
/
amoner3
/
equaliser.amos
/
equaliser.amosSourceCode
< prev
next >
Wrap
AMOS Source Code
|
1993-11-29
|
1KB
|
48 lines
Rem *******************
Rem ** Equaliser **
Rem ** 18/07/91 **
Rem *******************
'
SETUP
NUMETER
Do
Exit If Mouse Key<>0
Loop
' the next lines added for the amoner disk. Remove for a
' stand alone program.
' Head of added lines:
Default
Show On
Run "Autoexec.Amos"
' End of added lines:
'
Procedure SETUP
Screen Open 0,640,256,16,Hires : Cls 0
Unpack 5
Get Sprite Palette
Flash Off
Hide On
Double Buffer
Shift Up 4,11,15,1
End Proc
Procedure NUMETER
Bob 0,105,210,1
Bob 1,130,217,1
Bob 2,155,224,1
Bob 3,180,231,1
'
A$=" Loop: Let R2=Vu(R0)+1; Let R2=R2/4"
A$=A$+" If R2>R1 then Jump Assign else Jump Test"
A$=A$+" Test: If R2<R1 then Jump Bassign else Jump Show"
A$=A$+" Assign: Let R1=R2; Jump Show"
A$=A$+" Bassign: If R1=1 then Jump Show else Let R1=R1-1; Jump Show"
A$=A$+" Show: Let A=R1; M 0,0,0; Pause; Jump Loop"
'
For N=0 To 3
Channel N To Bob N
Amal N,"Let R0="+Str$(N)+A$
Next N
'
Music 1
Amal On
End Proc