home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AMOS PD CD
/
amospdcd.iso
/
501-525
/
apd521
/
rock-star.amos
/
rock-star.amosSourceCode
< prev
Wrap
AMOS Source Code
|
1991-07-10
|
2KB
|
70 lines
Rem *****************************
Rem * *
Rem * AMOS Band Player *
Rem * by *
Rem * Murray Jones *
Rem * *
Rem *****************************
Rem
Rem
Unpack 5 To 0
Flash Off : Curs Off : SPE=16 : KK=2
Colour 2,$A64 : Colour 5,$A64 : Colour 6,$A64 : Colour 12,$A64
Menu$(1)=" Control "
Menu$(1,1)=" Play "
Menu$(1,2)="--------"
Menu$(1,3)=" Stop "
Menu$(1,4)="--------"
Menu$(1,5)=" By "
Menu$(1,5,1)="Murray Jones"
Menu$(1,6)="--------"
Menu$(1,7)=" Quit "
Menu$(2)=" Load Song "
Menu$(2,1)=" From DF0: "
Menu$(2,2)=" From DF1: "
Menu$(3)=" Filter "
Menu$(3,1)=" On "
Menu$(3,2)=" Off "
On Menu Goto TITLE1,TITLE2,TITLE3
FINISH:
On Menu On
Menu On
TITLE1:
If(Choice(2)=1) and(F$<>"") Then Music 1 : Goto BAND
If Choice(2)=3 Then Music Off
If Choice(2)=7 Then Music Off : Cls 0 : End
OMENU
Goto BAND
TITLE2:
If Choice(2)=1 Then F$=Fsel$("DF0:","","")
If Choice(2)=2 Then F$=Fsel$("DF1:","","")
If F$="" Then Goto FINISH
Load F$ : Music 1
OMENU
Goto BAND
TITLE3:
If Choice(2)=1 Then Led On
If Choice(2)=2 Then Led Off
OMENU
Goto BAND
Procedure OMENU
On Menu On
End Proc
Goto BAND
Goto FINISH
BAND:
J$=Inkey$
J=Scancode
If J=79 Then KK=KK+1
If J=78 Then KK=KK-1
If KK<1 Then KK=1
If KK>9 Then KK=9
AA=Vumeter(0) : If AA>0 Then Colour 2,$C00 : Colour 3,$C00 : A=A+1
If A>KK Then Colour 2,$A64 : Colour 3,$888 : A=0
BB=Vumeter(1) : If BB>0 Then Colour 5,$3E1 : Colour 4,$3E1 : B=B+1
If B>KK Then Colour 5,$A64 : Colour 4,$888 : B=0
CC=Vumeter(2) : If CC>0 Then Colour 6,$F : Colour 7,$F : C=C+1
If C>KK Then Colour 6,$A64 : Colour 7,$888 : C=0
DD=Vumeter(3) : If DD>0 Then Colour 12,$FE0 : Colour 8,$FE0 : D=D+1
If D>KK Then Colour 12,$A64 : Colour 8,$888 : D=0
Goto FINISH