home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C++ Games Programming
/
CPPGAMES.ISO
/
fgl
/
fglight
/
exfor.arj
/
TEMP
/
15-05.FOR
< prev
next >
Wrap
Text File
|
1995-01-20
|
784b
|
38 lines
$INCLUDE: 'C:\FG\FASTGRAF.FI'
PROGRAM MAIN
INTEGER VOICE_ARRAY(61)
INTEGER I
INTEGER VOLUME
INTEGER FG_PLAYING, FG_TESTMODE
CALL FG_INITPM
IF (FG_TESTMODE(9,0) .EQ. 0) THEN
STOP 'This program requires a PCjr or a Tandy 1000 system.'
END IF
I = 1
DO 10 VOLUME = 1,15
VOICE_ARRAY(I) = 1
I = I + 1
VOICE_ARRAY(I) = 500
I = I + 1
VOICE_ARRAY(I) = VOLUME
I = I + 1
VOICE_ARRAY(I) = 16
I = I + 1
10 CONTINUE
VOICE_ARRAY(I) = 0
CALL FG_VOICES(VOICE_ARRAY,1)
20 IF (FG_PLAYING() .EQ. 1) THEN
WRITE(6,*) 'Still playing...'
GO TO 20
END IF
STOP ' '
END