@@ -32,8 +32,6 @@ The riser board has a pair of HM4334 1K*4 static RAMs and a quad 2-input NAND ga
3232- game sometimes leaves gaps when the lady is undressing
3333- colors aren't 100% correct (see i.e. the stripes in the curtains), reference video:
3434 https://www.youtube.com/watch?v=zTOFIhuwR2w
35- - verify sound pitch (unfortunately, no pcb sound in above video)
36- - verify irq frequency, though it looks similar to the pcb video
3735
3836*/
3937
@@ -276,9 +274,7 @@ void yakyuken_state::yakyuken(machine_config &config)
276274 Z80 (config, m_maincpu, 18 .432_MHz_XTAL / 3 / 2 ); // 3.072 MHz
277275 m_maincpu->set_addrmap (AS_PROGRAM, &yakyuken_state::main_program_map);
278276 m_maincpu->set_addrmap (AS_IO, &yakyuken_state::main_io_map);
279-
280- attotime irq_period = attotime::from_ticks (0x2000 , 18 .432_MHz_XTAL / 3 );
281- m_maincpu->set_periodic_int (FUNC (yakyuken_state::irq0_line_hold), irq_period);
277+ m_maincpu->set_periodic_int (FUNC (yakyuken_state::irq0_line_hold), attotime::from_hz (4 *60 ));
282278
283279 Z80 (config, m_audiocpu, 18 .432_MHz_XTAL / 3 / 4 ); // 1.536 MHz
284280 m_audiocpu->set_addrmap (AS_PROGRAM, &yakyuken_state::sound_program_map);
@@ -304,7 +300,8 @@ void yakyuken_state::yakyuken(machine_config &config)
304300
305301 GENERIC_LATCH_8 (config, " soundlatch" );
306302
307- AY8910 (config, m_ay, 18 .432_MHz_XTAL / 3 / 16 ).add_route (ALL_OUTPUTS, " mono" , 0.35 );
303+ AY8910 (config, m_ay, 18 .432_MHz_XTAL / 3 / 4 ); // 1.536 MHz
304+ m_ay->add_route (ALL_OUTPUTS, " mono" , 0.35 );
308305}
309306
310307
0 commit comments