1. Purpose 2. Neat features 3. Notes 3.1. Example songs 3.2. Hazards 3.3. How does its timer handler work? |
3.4. If it does not play anything 3.5. Memory usage 4. Short example 5. Discussion 6. Copying 7. Downloading |
MPUwrite
subroutine and add a EXIT SUB
clause there to be the first command.
ON PLAY
event mechanism for the timing,
and plays short silent pause commands. Therefore you can not make
speaker beeps while the player is playing. This does not affect
the performance of the main program.
Var | Size in bytes | Type |
---|---|---|
fmperiod | 24 | int[0..11] |
order | 512 | int[0..255] |
adldata | 2400 | int[1..100,0..11] |
insdata | 1200 | {6 ints}[1..100] |
adlchan | 896 | {14 ints}[0..31] |
MIDInote | 64 | int[0..31] |
MIDIchan | 64 | int[0..31] |
fmfilename | 4+n | string |
fmpattern | 4+n | string |
fmeffect | 4+n | string |
fmdata | 46 | {17 ints,double,long} |
fmeff | 24 | {3 ints}[0..3] |
Total: | 5242+n |
'$INCLUDE: 'fmengine.bi'
pleiplei: IF FMtimer% THEN RETURN
IF FMinit < 0 THEN PRINT "FM sound not available.": END
FMload "mysidia.s3m"
' The main loop
WHILE INKEY$ = "": WEND
FMend
END
FMinit%()
, FMtimer%()
, MPUDetect%()
, MPUvol%()
, VibVal%()
, note2period%()
, FMend()
, FMload()
, FMnoteoff()
, FMplayeffect()
, FMplayrowfrom()
, FMtouch()
, FMupdate()
, FMwrite()
, MPUwrite()
and Vaikene()
to the program, but these do not bother your editing, do they? :)
)
* No warranty. You are free to modify this source and to
* distribute the modified sources, as long as you keep the
* existing copyright messages intact and as long as you
* remember to add your own copyright markings.
* You are not allowed to distribute the program or modified versions
* of the program without including the source code (or a reference to
* the publicly available source) and this notice with it.
Generated from
progdesc.php
(last updated: Wed, 15 May 2002 11:23:53 +0300)
with docmaker.php
(last updated: Wed, 15 May 2002 04:26:32 +0300)
at Wed, 15 May 2002 11:23:55 +0300