static MACHINE_START(quakeat) { cpu_set_irq_callback(cputag_get_cpu(machine, "maincpu"), irq_callback); quakeat_devices.pic8259_1 = devtag_get_device( machine, "pic8259_1" ); quakeat_devices.pic8259_2 = devtag_get_device( machine, "pic8259_2" ); }
static MACHINE_START(quakeat) { cpu_set_irq_callback(machine->device("maincpu"), irq_callback); quakeat_devices.pic8259_1 = machine->device( "pic8259_1" ); quakeat_devices.pic8259_2 = machine->device( "pic8259_2" ); }
static MACHINE_START( pcat_dyn ) { cpu_set_irq_callback(machine->device("maincpu"), pcat_irq_callback); init_pc_common(machine, PCCOMMON_KEYBOARD_AT, pcat_dyn_set_keyb_int); kbdc8042_init(machine, &at8042); }
static MACHINE_START(calchase) { cpu_set_irq_callback(devtag_get_device(machine, "maincpu"), irq_callback); calchase_devices.pit8254 = devtag_get_device( machine, "pit8254" ); calchase_devices.pic8259_1 = devtag_get_device( machine, "pic8259_1" ); calchase_devices.pic8259_2 = devtag_get_device( machine, "pic8259_2" ); calchase_devices.dma8237_1 = devtag_get_device( machine, "dma8237_1" ); calchase_devices.dma8237_2 = devtag_get_device( machine, "dma8237_2" ); }
static MACHINE_START(calchase) { cpu_set_irq_callback(machine->device("maincpu"), irq_callback); calchase_devices.pit8254 = machine->device( "pit8254" ); calchase_devices.pic8259_1 = machine->device( "pic8259_1" ); calchase_devices.pic8259_2 = machine->device( "pic8259_2" ); calchase_devices.dma8237_1 = machine->device( "dma8237_1" ); calchase_devices.dma8237_2 = machine->device( "dma8237_2" ); }
static MACHINE_START( streetg2 ) { cpu_set_irq_callback(machine->device("maincpu"), pcat_irq_callback); init_pc_common(machine, PCCOMMON_KEYBOARD_AT, streetg2_set_keyb_int); memory_configure_bank(machine, "rombank", 0, 0x80, machine->region("game_prg")->base(), 0x8000 ); memory_set_bank(machine, "rombank", 0); microtouch_init(machine, pcat_nit_microtouch_tx_callback, NULL); }
static MACHINE_INIT( jaguar ) { cpu_set_irq_callback(0, jaguar_irq_callback); *((UINT32 *) jaguar_gpu_ram) = 0x3d0dead; memset(jaguar_shared_ram, 0, 0x200000); memcpy(jaguar_shared_ram, rom_base, 0x10); rom_base[0x53c / 4] = 0x67000002; #if 0 /* set up main CPU RAM/ROM banks */ memory_set_bankptr(3, jaguar_gpu_ram); /* set up DSP RAM/ROM banks */ memory_set_bankptr(10, jaguar_shared_ram); memory_set_bankptr(11, jaguar_gpu_clut); memory_set_bankptr(12, jaguar_gpu_ram); memory_set_bankptr(13, jaguar_dsp_ram); memory_set_bankptr(14, jaguar_shared_ram); #endif memory_set_bankptr(15, cart_base); memory_set_bankptr(16, rom_base); // memory_set_bankptr(17, jaguar_gpu_ram); /* clear any spinuntil stuff */ jaguar_gpu_resume(); jaguar_dsp_resume(); /* halt the CPUs */ jaguargpu_ctrl_w(1, G_CTRL, 0, 0); jaguardsp_ctrl_w(2, D_CTRL, 0, 0); /* init the sound system */ cojag_sound_reset(); joystick_data = 0xffffffff; }
static MACHINE_INIT(bingo) { memset(&locals, 0, sizeof(locals)); cpu_set_irq_callback(0, irq_callback); }
static MACHINE_RESET( aztarac ) { cpu_set_irq_callback(cputag_get_cpu(machine, "maincpu"), aztarac_irq_callback); }
static MACHINE_RESET( aztarac ) { cpu_set_irq_callback(machine->device("maincpu"), aztarac_irq_callback); }
static MACHINE_INIT( aztarac ) { cpu_set_irq_callback(0, aztarac_irq_callback); }