mirror of
https://github.com/holub/mame
synced 2025-06-07 13:23:50 +03:00
Fixed main/audio CPU clock for janyuki / jantouki
Both CPUs were running too fast
This commit is contained in:
parent
465365500d
commit
cd0bc5ac39
@ -4349,12 +4349,12 @@ void jantouki_state::machine_reset()
|
||||
void jantouki_state::jantouki(machine_config &config)
|
||||
{
|
||||
/* basic machine hardware */
|
||||
Z80(config, m_maincpu, 22000000 / 4); /* 5.5MHz */
|
||||
Z80(config, m_maincpu, 22000000 / 8); /* 2.75MHz */
|
||||
m_maincpu->set_addrmap(AS_PROGRAM, &jantouki_state::jantouki_mem_map);
|
||||
m_maincpu->set_addrmap(AS_IO, &jantouki_state::jantouki_io_map);
|
||||
m_maincpu->set_irq_acknowledge_callback("mainirq", FUNC(rst_pos_buffer_device::inta_cb)); // IM 0 needs an opcode on the data bus
|
||||
|
||||
Z80(config, m_soundcpu, 22000000 / 4); /* 5.5MHz */
|
||||
Z80(config, m_soundcpu, 22000000 / 8); /* 2.75MHz */
|
||||
m_soundcpu->set_addrmap(AS_PROGRAM, &jantouki_state::jantouki_sound_mem_map);
|
||||
m_soundcpu->set_addrmap(AS_IO, &jantouki_state::jantouki_sound_io_map);
|
||||
m_soundcpu->set_irq_acknowledge_callback("soundirq", FUNC(rst_pos_buffer_device::inta_cb)); // IM 0 needs an opcode on the data bus
|
||||
|
Loading…
Reference in New Issue
Block a user