trunk/src/emu/sound/zsg2.c
r32451 | r32452 | |
49 | 49 | - volume/panning is linear? volume slides are too steep |
50 | 50 | - most music sounds tinny, probably due to missing DSP? |
51 | 51 | - what is reg 0xa/0xc? seems related to volume |
| 52 | - chip should running at 31khz (divider of 768 instead of 192) |
52 | 53 | - identify sample flags |
| 54 | * bassdrum in shikigam level 1 music is a good hint: it should be one octave |
| 55 | lower, indicating possible stereo sample, or base octave(like in ymf278) |
53 | 56 | - memory reads out of range sometimes |
54 | 57 | |
55 | 58 | */ |
r32451 | r32452 | |
133 | 136 | for (int ch = 0; ch < 48; ch++) |
134 | 137 | for (int reg = 0; reg < 0x10; reg++) |
135 | 138 | chan_w(ch, reg, 0); |
| 139 | |
| 140 | #if 0 |
| 141 | for (int i = 0; i < m_mem_blocks; i++) |
| 142 | prepare_samples(i); |
| 143 | |
| 144 | FILE* f; |
| 145 | |
| 146 | f = fopen("zoom_samples.bin","wb"); |
| 147 | fwrite(m_mem_copy,1,m_mem_blocks*4,f); |
| 148 | fclose(f); |
| 149 | |
| 150 | f = fopen("zoom_samples.raw","wb"); |
| 151 | fwrite(m_full_samples,2,m_mem_blocks*4,f); |
| 152 | fclose(f); |
| 153 | #endif |
136 | 154 | } |
137 | 155 | |
138 | 156 | |