home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Sauce 'n' Code 2
/
sauce-n-code-02.adf
/
AMOS_Source
/
VU_Bars.amos
/
VU_Bars.amosSourceCode
< prev
Wrap
AMOS Source Code
|
1995-07-02
|
669b
|
32 lines
' Interrupt VU's
' cODED bY �udda/NFA
' StARtEd : 2/7/1995
' FiNiSHed: 2/7/1995
Screen Open 0,320,256,4,Lowres
Curs Off
Hide On
Track Play 3
_AMAL_VU
While Mouse Key=0 : Wend
Procedure _AMAL_VU
A$=A$+" AUtotest(L R1=Vu(R0); If R1=0 X Direct A)"
A$=A$+"A:Let R2=R1;Let X=R0*48+200; Let Y=RA-R1; "
A$=A$+" Move 0,R2,RB; W;"
'Amreg(0)=ypos of equalizer, Amreg(1)=speed
Amreg(0)=300 : Amreg(1)=18
'Change sprite colours to blue
Colour 18,$F : Colour 22,$F
'Put Sprite Bars Onto Screen
For N=0 To 3
Sprite N,N*48,Amreg(0),3
Channel N To Sprite N
Amal N,"Let R0="+Str$(N)+A$
Next N
Amal On
End Proc