mirror of
https://github.com/holub/mame
synced 2025-05-23 14:19:01 +03:00
m72.cpp : Fix sample rate for m72 PCBs, Add notes (#4291)
* m72.cpp : Fix sample rate for m72 PCBs, Add notes * m72.cpp : Fix regression * m72.cpp : Fix copy-n-paste error
This commit is contained in:
parent
2dc938da29
commit
060abb5682
@ -1863,7 +1863,8 @@ void m72_state::m72_base(machine_config &config)
|
||||
void m72_state::m72(machine_config &config)
|
||||
{
|
||||
m72_base(config);
|
||||
m_soundcpu->set_periodic_int(FUNC(m72_state::fake_nmi), attotime::from_hz(128*55)); /* clocked by V1? (Vigilante) */
|
||||
/* Sample rate verified (Gallop : https://youtu.be/aozd0dbPzOw) */
|
||||
m_soundcpu->set_periodic_int(FUNC(m72_state::fake_nmi), attotime::from_hz(32000000/8/512));
|
||||
/* IRQs are generated by main Z80 and YM2151 */
|
||||
}
|
||||
|
||||
@ -1913,7 +1914,8 @@ void m72_state::m72_xmultipl(machine_config &config)
|
||||
m72_8751(config);
|
||||
m_maincpu->set_addrmap(AS_PROGRAM, &m72_state::xmultiplm72_map);
|
||||
|
||||
m_soundcpu->set_periodic_int(FUNC(m72_state::nmi_line_pulse), attotime::from_hz(128*55)); /* clocked by V1? (Vigilante) */
|
||||
/* Sample rate verified (Gallop : https://youtu.be/aozd0dbPzOw) */
|
||||
m_soundcpu->set_periodic_int(FUNC(m72_state::nmi_line_pulse), attotime::from_hz(32000000/8/512));
|
||||
/* IRQs are generated by main Z80 and YM2151 */
|
||||
}
|
||||
|
||||
@ -1922,7 +1924,8 @@ void m72_state::m72_dbreed(machine_config &config)
|
||||
m72_base(config);
|
||||
m_maincpu->set_addrmap(AS_PROGRAM, &m72_state::dbreedm72_map);
|
||||
|
||||
m_soundcpu->set_periodic_int(FUNC(m72_state::nmi_line_pulse), attotime::from_hz(128*55)); /* clocked by V1? (Vigilante) */
|
||||
/* Sample rate verified (Gallop : https://youtu.be/aozd0dbPzOw) */
|
||||
m_soundcpu->set_periodic_int(FUNC(m72_state::nmi_line_pulse), attotime::from_hz(32000000/8/512));
|
||||
/* IRQs are generated by main Z80 and YM2151 */
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user