mirror of
https://github.com/holub/mame
synced 2025-05-18 19:49:35 +03:00
Some regression fixes as per Tafoid notes
This commit is contained in:
parent
00b10d34d8
commit
c5c475a2ae
@ -98,6 +98,14 @@ static INTERRUPT_GEN( lwings_interrupt )
|
|||||||
device_set_input_line_and_vector(device, 0, HOLD_LINE, 0xd7); /* RST 10h */
|
device_set_input_line_and_vector(device, 0, HOLD_LINE, 0xd7); /* RST 10h */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static INTERRUPT_GEN( avengers_interrupt )
|
||||||
|
{
|
||||||
|
lwings_state *state = device->machine().driver_data<lwings_state>();
|
||||||
|
|
||||||
|
if(state->m_nmi_mask)
|
||||||
|
device_set_input_line(device, INPUT_LINE_NMI, PULSE_LINE);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
static WRITE8_HANDLER( avengers_protection_w )
|
static WRITE8_HANDLER( avengers_protection_w )
|
||||||
{
|
{
|
||||||
@ -857,7 +865,7 @@ static MACHINE_CONFIG_DERIVED( avengers, trojan )
|
|||||||
|
|
||||||
MCFG_CPU_MODIFY("maincpu") //AT: (avengers37b16gre)
|
MCFG_CPU_MODIFY("maincpu") //AT: (avengers37b16gre)
|
||||||
MCFG_CPU_PROGRAM_MAP(avengers_map)
|
MCFG_CPU_PROGRAM_MAP(avengers_map)
|
||||||
MCFG_CPU_VBLANK_INT("screen", nmi_line_pulse) // RST 38h triggered by software
|
MCFG_CPU_VBLANK_INT("screen", avengers_interrupt) // RST 38h triggered by software
|
||||||
|
|
||||||
MCFG_CPU_MODIFY("adpcm")
|
MCFG_CPU_MODIFY("adpcm")
|
||||||
MCFG_CPU_IO_MAP(avengers_adpcm_io_map)
|
MCFG_CPU_IO_MAP(avengers_adpcm_io_map)
|
||||||
|
@ -803,7 +803,7 @@ static MACHINE_CONFIG_START( fghtbskt, m63_state )
|
|||||||
/* basic machine hardware */
|
/* basic machine hardware */
|
||||||
MCFG_CPU_ADD("maincpu", Z80, XTAL_12MHz/4) /* 3 MHz */
|
MCFG_CPU_ADD("maincpu", Z80, XTAL_12MHz/4) /* 3 MHz */
|
||||||
MCFG_CPU_PROGRAM_MAP(fghtbskt_map)
|
MCFG_CPU_PROGRAM_MAP(fghtbskt_map)
|
||||||
MCFG_CPU_VBLANK_INT("screen", nmi_line_pulse)
|
MCFG_CPU_VBLANK_INT("screen", vblank_irq)
|
||||||
|
|
||||||
MCFG_CPU_ADD("soundcpu", I8039,XTAL_12MHz/4) /* ????? */
|
MCFG_CPU_ADD("soundcpu", I8039,XTAL_12MHz/4) /* ????? */
|
||||||
MCFG_CPU_PROGRAM_MAP(i8039_map)
|
MCFG_CPU_PROGRAM_MAP(i8039_map)
|
||||||
|
Loading…
Reference in New Issue
Block a user