trunk/src/mame/drivers/sonson.c
r241426 | r241427 | |
238 | 238 | static MACHINE_CONFIG_START( sonson, sonson_state ) |
239 | 239 | |
240 | 240 | /* 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 */ |
242 | 242 | MCFG_CPU_PROGRAM_MAP(main_map) |
243 | 243 | MCFG_CPU_VBLANK_INT_DRIVER("screen", sonson_state, irq0_line_hold) |
244 | 244 | |
245 | | MCFG_CPU_ADD("audiocpu", M6809,12000000/6) /* 2 MHz ??? */ |
| 245 | MCFG_CPU_ADD("audiocpu", M6809, XTAL_12MHz/8) /* 1.5 MHz */ |
246 | 246 | MCFG_CPU_PROGRAM_MAP(sound_map) |
247 | 247 | MCFG_CPU_PERIODIC_INT_DRIVER(sonson_state, irq0_line_hold, 4*60) /* FIRQs are triggered by the main CPU */ |
248 | 248 | |
249 | 249 | |
250 | 250 | /* video hardware */ |
251 | 251 | MCFG_SCREEN_ADD("screen", RASTER) |
252 | | MCFG_SCREEN_REFRESH_RATE(60) |
| 252 | MCFG_SCREEN_REFRESH_RATE(57.37) |
253 | 253 | MCFG_SCREEN_SIZE(32*8, 32*8) |
254 | 254 | MCFG_SCREEN_VISIBLE_AREA(1*8, 31*8-1, 1*8, 31*8-1) |
255 | 255 | MCFG_SCREEN_UPDATE_DRIVER(sonson_state, screen_update_sonson) |
r241426 | r241427 | |
264 | 264 | /* sound hardware */ |
265 | 265 | MCFG_SPEAKER_STANDARD_MONO("mono") |
266 | 266 | |
267 | | MCFG_SOUND_ADD("ay1", AY8910, 12000000/8) |
| 267 | MCFG_SOUND_ADD("ay1", AY8910, XTAL_12MHz/8) /* 1.5 MHz */ |
268 | 268 | MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.30) |
269 | 269 | |
270 | | MCFG_SOUND_ADD("ay2", AY8910, 12000000/8) |
| 270 | MCFG_SOUND_ADD("ay2", AY8910, XTAL_12MHz/8) /* 1.5 MHz */ |
271 | 271 | MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.30) |
272 | 272 | MACHINE_CONFIG_END |
273 | 273 | |