Exemple #1
0
/* Reset sound chips emulation */
void sound_reset(void)
{
    YM_Reset();
    SN76489_Reset();
    fm_cycles_count = 0;
    psg_cycles_count = 0;
}
Exemple #2
0
void fm_reset(unsigned int cycles)
{
    /* synchronize FM chip with CPU */
    fm_update(cycles);

    /* reset FM chip */
    YM_Reset();
}
Exemple #3
0
void sound_reset(void)
{
    /* reset sound chips */
    YM_Reset();
    SN76489_Reset();

    /* reset FM buffer ouput */
    fm_last[0] = fm_last[1] = 0;

    /* reset FM buffer pointer */
    fm_ptr = fm_buffer;

    /* reset FM cycle counters */
    fm_cycles_start = fm_cycles_count = 0;
}
Exemple #4
0
/* Reset FM chip */
void fm_reset(unsigned int cycles)
{
    fm_update(cycles << 11);
    YM_Reset();
}