f-32.c: Use XTAL clocks in the machine config so we can clearly see where the 1.7897725 MHz comes from - NW

This commit is contained in:
Brian Troha 2013-08-16 17:25:15 +00:00
parent 71e5f10d78
commit f603d45ff9

View file

@ -134,7 +134,7 @@ INPUT_PORTS_END
static MACHINE_CONFIG_START( mosaicf2, mosaicf2_state )
/* basic machine hardware */
MCFG_CPU_ADD("maincpu", E132XN, 20000000*4) /* 4x internal multiplier */
MCFG_CPU_ADD("maincpu", E132XN, XTAL_20MHz*4) /* 4x internal multiplier */
MCFG_CPU_PROGRAM_MAP(common_map)
MCFG_CPU_IO_MAP(mosaicf2_io)
MCFG_CPU_VBLANK_INT_DRIVER("screen", mosaicf2_state, irq0_line_hold)
@ -155,11 +155,11 @@ static MACHINE_CONFIG_START( mosaicf2, mosaicf2_state )
/* sound hardware */
MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
MCFG_YM2151_ADD("ymsnd", 14318180/4)
MCFG_YM2151_ADD("ymsnd", XTAL_14_31818MHz/4) /* 3.579545 MHz */
MCFG_SOUND_ROUTE(0, "lspeaker", 1.0)
MCFG_SOUND_ROUTE(1, "rspeaker", 1.0)
MCFG_OKIM6295_ADD("oki", 1789772.5, OKIM6295_PIN7_HIGH)
MCFG_OKIM6295_ADD("oki", XTAL_14_31818MHz/8, OKIM6295_PIN7_HIGH) /* 1.7897725 MHz */
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 1.0)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 1.0)
MACHINE_CONFIG_END