mirror of
https://github.com/holub/mame
synced 2025-05-21 13:18:56 +03:00
Added a work-around for 2 Minute Drill,to get it booting again. [Angelo Salese]
============== irq 5 code is this one: 04425A: 007C 0500 ori #$500, SR 04425E: 0279 FFEF 0060 000C andi.w #$ffef, $60000c.l 044266: 0079 0010 0060 000C ori.w #$10, $60000c.l 04426E: 48E7 0080 movem.l A0, -(A7) 044272: 206D 1C18 movea.l ($1c18,A5), A0 044276: 30F9 0070 0002 move.w $700002.l, (A0)+ 04427C: 2B48 1C18 move.l A0, ($1c18,A5) 044280: 4CDF 0100 movem.l (A7)+, A0 044284: 4E73 rte 60000c is an unknown port,but 700002 is for arm power sensor. So I'm guessing that's not related at all with the ym sound chip. I'll check this again at some point...
This commit is contained in:
parent
b931a734df
commit
fc90b8fd1d
@ -392,9 +392,10 @@ static INTERRUPT_GEN( drill_interrupt )
|
||||
cpu_set_input_line(device, 4, HOLD_LINE);
|
||||
}
|
||||
|
||||
/* WRONG,it does something with 60000c & 700002,likely to be called when the player throws the ball.*/
|
||||
static void irqhandler(running_machine *machine, int irq)
|
||||
{
|
||||
cpu_set_input_line(machine->cpu[0],5,irq ? ASSERT_LINE : CLEAR_LINE);
|
||||
// cpu_set_input_line(machine->cpu[0],5,irq ? ASSERT_LINE : CLEAR_LINE);
|
||||
}
|
||||
|
||||
static const ym2610_interface ym2610_config =
|
||||
|
Loading…
Reference in New Issue
Block a user