mirror of
https://github.com/holub/mame
synced 2025-07-04 17:38:08 +03:00
fix FM-Towns RF5C68 clock, fix game/music speed of Xor World
This commit is contained in:
parent
1b452e3bfb
commit
eaae2dbb4c
@ -171,8 +171,11 @@ static MACHINE_CONFIG_START( xorworld, xorworld_state )
|
|||||||
// basic machine hardware
|
// basic machine hardware
|
||||||
MCFG_CPU_ADD("maincpu", M68000, 10000000) // 10 MHz
|
MCFG_CPU_ADD("maincpu", M68000, 10000000) // 10 MHz
|
||||||
MCFG_CPU_PROGRAM_MAP(xorworld_map)
|
MCFG_CPU_PROGRAM_MAP(xorworld_map)
|
||||||
MCFG_CPU_VBLANK_INT_DRIVER("screen", xorworld_state, irq6_line_assert) // irq 4 or 6
|
//MCFG_CPU_VBLANK_INT_DRIVER("screen", xorworld_state, irq6_line_assert) // irq 4 or 6
|
||||||
MCFG_CPU_PERIODIC_INT_DRIVER(xorworld_state, irq2_line_assert, 3*60) //timed irq, unknown timing
|
//MCFG_CPU_PERIODIC_INT_DRIVER(xorworld_state, irq2_line_assert, 3*60) //timed irq, unknown timing
|
||||||
|
// Simple fix - but this sounds good!! -Valley Bell
|
||||||
|
MCFG_CPU_VBLANK_INT_DRIVER("screen", xorworld_state, irq2_line_assert) // irq 4 or 6
|
||||||
|
MCFG_CPU_PERIODIC_INT_DRIVER(xorworld_state, irq6_line_assert, 3*60) //timed irq, unknown timing
|
||||||
|
|
||||||
MCFG_QUANTUM_TIME(attotime::from_hz(60))
|
MCFG_QUANTUM_TIME(attotime::from_hz(60))
|
||||||
|
|
||||||
|
@ -2696,11 +2696,11 @@ static MACHINE_CONFIG_FRAGMENT( towns_base )
|
|||||||
|
|
||||||
/* sound hardware */
|
/* sound hardware */
|
||||||
MCFG_SPEAKER_STANDARD_MONO("mono")
|
MCFG_SPEAKER_STANDARD_MONO("mono")
|
||||||
MCFG_SOUND_ADD("fm", YM3438, 53693100 / 7) // actual clock speed unknown
|
MCFG_SOUND_ADD("fm", YM3438, 16000000 / 2) // actual clock speed unknown
|
||||||
MCFG_YM2612_IRQ_HANDLER(WRITELINE(towns_state, towns_fm_irq))
|
MCFG_YM2612_IRQ_HANDLER(WRITELINE(towns_state, towns_fm_irq))
|
||||||
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
|
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
|
||||||
|
|
||||||
MCFG_RF5C68_ADD("pcm", 53693100 / 7) // actual clock speed unknown
|
MCFG_RF5C68_ADD("pcm", 16000000 / 2) // actual clock speed unknown
|
||||||
MCFG_RF5C68_SAMPLE_END_CB(towns_state, towns_pcm_irq)
|
MCFG_RF5C68_SAMPLE_END_CB(towns_state, towns_pcm_irq)
|
||||||
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.50)
|
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.50)
|
||||||
MCFG_SOUND_ADD("cdda",CDDA,0)
|
MCFG_SOUND_ADD("cdda",CDDA,0)
|
||||||
|
Loading…
Reference in New Issue
Block a user