| 1 |
/* |
| 2 |
License: Zlib |
| 3 |
see https://gitlab.com/cam900/vgsound_emu/-/blob/main/LICENSE for more details |
| 4 |
|
| 5 |
Copyright holder(s): cam900 |
| 6 |
Ensoniq ES5504/ES5505/ES5506 emulation core |
| 7 |
*/ |
| 8 |
|
| 9 |
#include "es550x.hpp" |
| 10 |
|
| 11 |
// Shared functions |
| 12 |
void es550x_shared_core::reset() |
| 13 |
{ |
| 14 |
m_host_intf.reset(); |
| 15 |
m_ha = 0; |
| 16 |
m_hd = 0; |
| 17 |
m_page = 0; |
| 18 |
m_irqv.reset(); |
| 19 |
m_active = max_voices() - 1; |
| 20 |
m_voice_cycle = 0; |
| 21 |
m_voice_fetch = 0; |
| 22 |
m_voice_update = false; |
| 23 |
m_voice_end = false; |
| 24 |
m_clkin.reset(); |
| 25 |
m_cas.reset(); |
| 26 |
m_e.reset(); |
| 27 |
} |
| 28 |
|
| 29 |
void es550x_shared_core::es550x_voice_t::reset() |
| 30 |
{ |
| 31 |
m_cr.reset(); |
| 32 |
m_alu.reset(); |
| 33 |
m_filter.reset(); |
| 34 |
} |