#include <genesis.h>
Data Fields | |
u8 | ALL [7] |
struct { | |
union { | |
u8 freqreg | |
struct { | |
u8 fmult:4 | |
u8 detune:3 | |
u8 dummy3:1 | |
} | |
} | |
union { | |
u8 tlreg | |
struct { | |
u8 totallevel:7 | |
u8 dummy4:1 | |
} | |
} | |
union { | |
u8 atkrsreg | |
struct { | |
u8 attackrate:5 | |
u8 dummy5:1 | |
u8 ratescale:2 | |
} | |
} | |
union { | |
u8 dec1amreg | |
struct { | |
u8 decay1rate:5 | |
u8 dummy6:2 | |
u8 amplfo:1 | |
} | |
} | |
union { | |
u8 dec2reg | |
struct { | |
u8 decay2rate:5 | |
u8 dummy7:3 | |
} | |
} | |
union { | |
u8 rellvlreg | |
struct { | |
u8 releaserate:4 | |
u8 decaylevel:4 | |
} | |
} | |
union { | |
u8 ssgreg | |
struct { | |
u8 ssg_hold:1 | |
u8 ssg_toggle:1 | |
u8 ssg_init:1 | |
u8 ssg_enable:1 | |
u8 dummy9:4 | |
} | |
} | |
}; |
struct { ... } |