more SMS work
it is able to play some modules... the next step is to bind this to the Genesis platform
This commit is contained in:
parent
d9f076ef64
commit
3172fd37ed
7 changed files with 147 additions and 2 deletions
|
|
@ -1,4 +1,5 @@
|
|||
#include "../dispatch.h"
|
||||
#include "../macroInt.h"
|
||||
#include "sound/sn76496.h"
|
||||
|
||||
class DivPlatformSMS: public DivDispatch {
|
||||
|
|
@ -7,6 +8,7 @@ class DivPlatformSMS: public DivDispatch {
|
|||
unsigned char ins, note;
|
||||
bool active, insChanged, freqChanged, keyOn, keyOff;
|
||||
signed char vol;
|
||||
DivMacroInt std;
|
||||
Channel(): freq(0), baseFreq(0), pitch(0), ins(0), note(0), active(false), insChanged(true), freqChanged(false), keyOn(false), keyOff(false), vol(15) {}
|
||||
};
|
||||
Channel chan[4];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue