src/mame/drivers/saturn.c
| r11664 | r11665 | |
| 2494 | 2494 | static MACHINE_START( saturn ) |
| 2495 | 2495 | { |
| 2496 | 2496 | saturn_state *state = machine.driver_data<saturn_state>(); |
| 2497 | |
| 2498 | state->m_maincpu = downcast<legacy_cpu_device*>( machine.device("maincpu") ); |
| 2499 | state->m_slave = downcast<legacy_cpu_device*>( machine.device("slave") ); |
| 2500 | state->m_audiocpu = downcast<legacy_cpu_device*>( machine.device("audiocpu") ); |
| 2501 | |
| 2497 | 2502 | scsp_set_ram_base(machine.device("scsp"), state->m_sound_ram); |
| 2498 | 2503 | |
| 2499 | 2504 | // save states |
| r11664 | r11665 | |
| 2633 | 2638 | /* basic machine hardware */ |
| 2634 | 2639 | MCFG_CPU_ADD("maincpu", SH2, MASTER_CLOCK_352/2) // 28.6364 MHz |
| 2635 | 2640 | MCFG_CPU_PROGRAM_MAP(saturn_mem) |
| 2641 | MCFG_CPU_CONFIG(sh2_conf_master) |
| 2636 | 2642 | MCFG_TIMER_ADD_SCANLINE("scantimer", saturn_scanline, "screen", 0, 1) |
| 2637 | | MCFG_CPU_CONFIG(sh2_conf_master) |
| 2638 | 2643 | |
| 2639 | 2644 | MCFG_CPU_ADD("slave", SH2, MASTER_CLOCK_352/2) // 28.6364 MHz |
| 2640 | 2645 | MCFG_CPU_PROGRAM_MAP(saturn_mem) |
| r11664 | r11665 | |
| 2678 | 2683 | /* basic machine hardware */ |
| 2679 | 2684 | MCFG_CPU_ADD("maincpu", SH2, MASTER_CLOCK_352/2) // 28.6364 MHz |
| 2680 | 2685 | MCFG_CPU_PROGRAM_MAP(stv_mem) |
| 2686 | MCFG_CPU_CONFIG(sh2_conf_master) |
| 2681 | 2687 | MCFG_TIMER_ADD_SCANLINE("scantimer", saturn_scanline, "screen", 0, 1) |
| 2682 | | MCFG_CPU_CONFIG(sh2_conf_master) |
| 2683 | 2688 | |
| 2684 | 2689 | MCFG_CPU_ADD("slave", SH2, MASTER_CLOCK_352/2) // 28.6364 MHz |
| 2685 | 2690 | MCFG_CPU_PROGRAM_MAP(stv_mem) |