Previous 199869 Revisions Next

r32915 Thursday 23rd October, 2014 at 20:52:09 UTC by Brian Troha
sonson.c: Correct Audio CPU clock for Son Son as measured on PCB. [Corrado Tomaselli]
[src/mame/drivers]sonson.c

trunk/src/mame/drivers/sonson.c
r241426r241427
238238static MACHINE_CONFIG_START( sonson, sonson_state )
239239
240240   /* basic machine hardware */
241   MCFG_CPU_ADD("maincpu", M6809,12000000/6)   /* 2 MHz ??? */
241   MCFG_CPU_ADD("maincpu", M6809, XTAL_12MHz/8)   /* 1.5 MHz */
242242   MCFG_CPU_PROGRAM_MAP(main_map)
243243   MCFG_CPU_VBLANK_INT_DRIVER("screen", sonson_state,  irq0_line_hold)
244244
245   MCFG_CPU_ADD("audiocpu", M6809,12000000/6)  /* 2 MHz ??? */
245   MCFG_CPU_ADD("audiocpu", M6809, XTAL_12MHz/8)  /* 1.5 MHz */
246246   MCFG_CPU_PROGRAM_MAP(sound_map)
247247   MCFG_CPU_PERIODIC_INT_DRIVER(sonson_state, irq0_line_hold, 4*60)    /* FIRQs are triggered by the main CPU */
248248
249249
250250   /* video hardware */
251251   MCFG_SCREEN_ADD("screen", RASTER)
252   MCFG_SCREEN_REFRESH_RATE(60)
252   MCFG_SCREEN_REFRESH_RATE(57.37)
253253   MCFG_SCREEN_SIZE(32*8, 32*8)
254254   MCFG_SCREEN_VISIBLE_AREA(1*8, 31*8-1, 1*8, 31*8-1)
255255   MCFG_SCREEN_UPDATE_DRIVER(sonson_state, screen_update_sonson)
r241426r241427
264264   /* sound hardware */
265265   MCFG_SPEAKER_STANDARD_MONO("mono")
266266
267   MCFG_SOUND_ADD("ay1", AY8910, 12000000/8)
267   MCFG_SOUND_ADD("ay1", AY8910, XTAL_12MHz/8)   /* 1.5 MHz */
268268   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.30)
269269
270   MCFG_SOUND_ADD("ay2", AY8910, 12000000/8)
270   MCFG_SOUND_ADD("ay2", AY8910, XTAL_12MHz/8)   /* 1.5 MHz */
271271   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.30)
272272MACHINE_CONFIG_END
273273


Previous 199869 Revisions Next


© 1997-2024 The MAME Team