trunk/src/emu/sound/tms5110.c
| r249065 | r249066 | |
| 78 | 78 | //define INTERP_SHIFT / (1<<m_coeff->interp_coeff[m_IP]) |
| 79 | 79 | |
| 80 | 80 | /* Other hacks */ |
| 81 | | /* HACK?: if defined, outputs the low 4 bits of the lattice filter to the i/o |
| 81 | /* HACK: if defined, outputs the low 4 bits of the lattice filter to the i/o |
| 82 | 82 | * or clip logic, even though the real hardware doesn't do this, partially verified by decap */ |
| 83 | 83 | #undef ALLOW_4_LSB |
| 84 | 84 | |
| 85 | /* forces m_TALK active instantly whenever m_SPEN would be activated, causing speech delay to be reduced by up to one frame time */ |
| 86 | /* for some reason, this hack makes snmath behave marginally more accurate to hardware, though it does not match the patent */ |
| 87 | #define FAST_START_HACK 1 |
| 85 | 88 | |
| 89 | |
| 86 | 90 | /* *****configuration of chip connection stuff***** */ |
| 87 | 91 | /* must be defined; if 0, output the waveform as if it was tapped on the speaker pin as usual, if 1, output the waveform as if it was tapped on the i/o pin (volume is much lower in the latter case) */ |
| 88 | 92 | #define FORCE_DIGITAL 0 |
| r249065 | r249066 | |
| 851 | 855 | #endif |
| 852 | 856 | perform_dummy_read(); |
| 853 | 857 | m_SPEN = 1; /* start immediately */ |
| 858 | #ifdef FAST_START_HACK |
| 859 | m_TALK = 1; |
| 860 | #endif |
| 854 | 861 | /* clear out variables before speaking */ |
| 855 | 862 | m_zpar = 1; // zero all the parameters |
| 856 | 863 | m_uv_zpar = 1; // zero k4-k10 as well |
| r249065 | r249066 | |
| 886 | 893 | #endif |
| 887 | 894 | perform_dummy_read(); |
| 888 | 895 | m_SPEN = 1; /* start immediately */ |
| 896 | #ifdef FAST_START_HACK |
| 897 | m_TALK = 1; |
| 898 | #endif |
| 889 | 899 | /* clear out variables before speaking */ |
| 890 | 900 | m_zpar = 1; // zero all the parameters |
| 891 | 901 | m_uv_zpar = 1; // zero k4-k10 as well |