mirror of
https://github.com/holub/mame
synced 2025-05-26 07:41:28 +03:00
fixed 3 more tags
This commit is contained in:
parent
d4fb6ec81f
commit
d4987f1134
@ -121,7 +121,7 @@ static offs_t speedup_pc;
|
||||
|
||||
static TIMER_CALLBACK( irq5_gen )
|
||||
{
|
||||
cputag_set_input_line(machine, "audiocpu", R3000_IRQ5, ASSERT_LINE);
|
||||
cputag_set_input_line(machine, "maincpu", R3000_IRQ5, ASSERT_LINE);
|
||||
}
|
||||
|
||||
|
||||
|
@ -44,7 +44,7 @@ static WRITE8_HANDLER( irq_enable_w )
|
||||
{
|
||||
irq_enable = data & 1;
|
||||
if (!irq_enable)
|
||||
cputag_set_input_line(space->machine, "audiocpu", INPUT_LINE_NMI, CLEAR_LINE);
|
||||
cputag_set_input_line(space->machine, "maincpu", INPUT_LINE_NMI, CLEAR_LINE);
|
||||
}
|
||||
|
||||
|
||||
|
@ -90,7 +90,7 @@ static WRITE32_HANDLER( cpua_ctrl_w )
|
||||
|
||||
if (ACCESSING_BITS_8_15)
|
||||
{
|
||||
cputag_set_input_line(space->machine, "mcu", INPUT_LINE_RESET, (data &0x200) ? CLEAR_LINE : ASSERT_LINE);
|
||||
cputag_set_input_line(space->machine, "sub", INPUT_LINE_RESET, (data &0x200) ? CLEAR_LINE : ASSERT_LINE);
|
||||
if (data&0x8000) cputag_set_input_line(space->machine, "maincpu", 3, HOLD_LINE); /* Guess */
|
||||
}
|
||||
|
||||
@ -485,7 +485,7 @@ static DRIVER_INIT( superchs )
|
||||
{
|
||||
/* Speedup handlers */
|
||||
memory_install_read32_handler(cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_PROGRAM), 0x100000, 0x100003, 0, 0, main_cycle_r);
|
||||
memory_install_read16_handler(cputag_get_address_space(machine, "mcu", ADDRESS_SPACE_PROGRAM), 0x80000a, 0x80000b, 0, 0, sub_cycle_r);
|
||||
memory_install_read16_handler(cputag_get_address_space(machine, "sub", ADDRESS_SPACE_PROGRAM), 0x80000a, 0x80000b, 0, 0, sub_cycle_r);
|
||||
}
|
||||
|
||||
GAMEL( 1992, superchs, 0, superchs, superchs, superchs, ROT0, "Taito America Corporation", "Super Chase - Criminal Termination (US)", 0, layout_superchs )
|
||||
|
@ -245,12 +245,12 @@ WRITE32_HANDLER( policetr_video_w )
|
||||
|
||||
/* latch 0x50 clears IRQ4 */
|
||||
case 0x50:
|
||||
cputag_set_input_line(space->machine, "audiocpu", R3000_IRQ4, CLEAR_LINE);
|
||||
cputag_set_input_line(space->machine, "maincpu", R3000_IRQ4, CLEAR_LINE);
|
||||
break;
|
||||
|
||||
/* latch 0x60 clears IRQ5 */
|
||||
case 0x60:
|
||||
cputag_set_input_line(space->machine, "audiocpu", R3000_IRQ5, CLEAR_LINE);
|
||||
cputag_set_input_line(space->machine, "maincpu", R3000_IRQ5, CLEAR_LINE);
|
||||
break;
|
||||
|
||||
/* log anything else */
|
||||
|
Loading…
Reference in New Issue
Block a user