Listing of FMequM2.inc
C-2
C.1 Listing of FMequM2.inc
FMequM2.inc contains all the FM command and note definitions that are used
for preparation of FM data. The listings are shown in the following:
*
FMEQU.INC
*
Version
2.08
*
RAM Definitions
*
Constant Definitions
*
DC,BA98:7654,3210
*
––,––––:––––,––––
BIT0
equ
#0001 ;00,0000:0000,0001
BIT1
equ
#0002 ;00,0000:0000,0010
BIT2
equ
#0004 ;00,0000:0000,0100
BIT3
equ
#0008 ;00,0000:0000,1000
BIT4
equ
#0010 ;00,0000:0001,0000
BIT5
equ
#0020 ;00,0000:0010,0000
BIT6
equ
#0040 ;00,0000:0100,0000
BIT7
equ
#0080 ;00,0000:1000,0000
BIT8
equ
#0100 ;00,0001:0000,0000
BIT9
equ
#0200 ;00,0010:0000,0000
BIT10
equ
#0400 ;00,0100:0000,0000
BIT11
equ
#0800 ;00,1000:0000,0000
BIT12
equ
#1000 ;01,0000:0000,0000
BIT13
equ
#2000 ;10,0000:0000,0000
NUMSONGS
equ
2
;# of songs in list.
*
Initialization defaults
*
default gain value
MAXGAIN
equ
24
;default value, also MAX. do not exceed!
*
default Master Modulation Index Scale values
DEFSCLMIX
equ
96
;like a tone control...
*
Song interval delay values
ONESEC
equ
1*10
TWOSECS
equ
2*10
THREESECS
equ
3*10
FOURSECS
equ
4*10
FIVESECS
equ
5*10
TENSECS
equ
10*10
*
FM channel Automated Fader calculations
*
Coded as:
*
BYTE
FADER, CurrFader, ((DestFader–CurrFader) * 16) / #Events
*
Init Fader with Start Gain * 16 = 384
*
So, when each new event comes along, Add FaderInc to Fader
Summary of Contents for MSP53C391
Page 4: ...iv ...
Page 62: ...C 1 Appendix A Listing of FMequM2 inc Topic Page C 1 Listing of FMequM2 inc C 2 Appendix C ...
Page 78: ...E 1 Appendix A Listing of FM2INTR1 inc Topic Page E 1 Listing of FM2INTR1 inc E 2 Appendix E ...
Page 99: ...MSP53C31 and MSP53C32 Data Sheet F 2 F 1 MSP53C31 and MSP53C32 Data Sheet ...