mirror of
https://github.com/holub/mame
synced 2025-05-11 16:48:52 +03:00
Fix Batrider's audio CPU clock.
Was doing a repair today that required me to hook up a different clock source to the YM2151, so we tried to use the Z80's clock. Turns out, it's not at all 4MHz, so it was wrong. We put the 32MHz oscillator and the Z80 clock on an oscilloscope and determined the Z80 clock was divided by 6 instead of 8. So instead we divided the 68k's clock by 4 and got 4MHz, so the 68k is indeed 16MHz.
This commit is contained in:
parent
fa4997dd18
commit
0dc02e58a8
@ -4069,10 +4069,10 @@ MACHINE_CONFIG_END
|
||||
static MACHINE_CONFIG_START( batrider )
|
||||
|
||||
/* basic machine hardware */
|
||||
MCFG_CPU_ADD("maincpu", M68000, XTAL_32MHz/2) /* 16MHz , 32MHz Oscillator */
|
||||
MCFG_CPU_ADD("maincpu", M68000, XTAL_32MHz/2) /* 16MHz , 32MHz Oscillator (verified) */
|
||||
MCFG_CPU_PROGRAM_MAP(batrider_68k_mem)
|
||||
|
||||
MCFG_CPU_ADD("audiocpu", Z80, XTAL_32MHz/8) /* 4MHz , 32MHz Oscillator */
|
||||
MCFG_CPU_ADD("audiocpu", Z80, XTAL_32MHz/6) /* 5.333MHz , 32MHz Oscillator (verified) */
|
||||
MCFG_CPU_PROGRAM_MAP(batrider_sound_z80_mem)
|
||||
MCFG_CPU_IO_MAP(batrider_sound_z80_port)
|
||||
|
||||
@ -4109,7 +4109,7 @@ static MACHINE_CONFIG_START( batrider )
|
||||
MCFG_GENERIC_LATCH_8_ADD("soundlatch3")
|
||||
MCFG_GENERIC_LATCH_8_ADD("soundlatch4")
|
||||
|
||||
MCFG_YM2151_ADD("ymsnd", XTAL_32MHz/8)
|
||||
MCFG_YM2151_ADD("ymsnd", XTAL_32MHz/8) /* 4MHz , 32MHz Oscillator (verified) */
|
||||
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
|
||||
|
||||
MCFG_OKIM6295_ADD("oki1", XTAL_32MHz/10, PIN7_HIGH)
|
||||
|
Loading…
Reference in New Issue
Block a user