22 #ifndef SKY_MUSIC_ADLIBCHANNEL_H 23 #define SKY_MUSIC_ADLIBCHANNEL_H 25 #include "sky/music/musicbase.h" 36 uint8 ampMod_Op1, ampMod_Op2;
37 uint8 waveSelect_Op1, waveSelect_Op2;
40 uint8 totOutLev_Op1, totOutLev_Op2;
42 uint8 pad1, pad2, pad3;
49 uint8 adlibChannelNumber;
53 uint8 adlibReg1, adlibReg2;
55 uint8 assignedInstrument;
67 uint8 process(uint16 aktTime)
override;
68 void updateVolume(uint16 pVolume)
override;
69 bool isActive()
override;
77 uint16 *_frequenceTable;
78 uint8 *_instrumentMap;
79 uint8 *_registerTable, *_opOutputTable;
80 uint8 *_adlibRegMirror;
83 void setRegister(uint8 regNum, uint8 value);
84 int32 getNextEventTime();
85 uint16 getNextNote(uint8 param);
86 void adlibSetupInstrument();
87 void setupInstrument(uint8 opcode);
88 void setupChannelVolume(uint8 volume);
92 void com90_caseNoteOff();
93 void com90_stopChannel();
94 void com90_setupInstrument();
95 uint8 com90_updateTempo();
97 void com90_getFreqOffset();
98 void com90_getChannelVolume();
99 void com90_getTremoVibro();
100 void com90_loopMusic();
104 void com90_setLoopPoint();
110 #endif //ADLIBCHANNEL_H Definition: adlibchannel.h:33
Definition: adlibchannel.h:63
Definition: adlibchannel.h:45
Definition: musicbase.h:46
Definition: autoroute.h:28