diff --git a/src/mame/drivers/mitchell.c b/src/mame/drivers/mitchell.c index b129e80bef8..f4024660253 100644 --- a/src/mame/drivers/mitchell.c +++ b/src/mame/drivers/mitchell.c @@ -717,6 +717,9 @@ INPUT_PORTS_END static INPUT_PORTS_START( spangbl ) PORT_INCLUDE( pang ) + PORT_MODIFY("SYS0") + PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) /* unused? */ + PORT_MODIFY("IN1") PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_UNKNOWN ) // must be high for game to boot.. INPUT_PORTS_END @@ -724,12 +727,12 @@ INPUT_PORTS_END static INPUT_PORTS_START( mstworld ) /* this port may not have the same role */ PORT_START("SYS0") - PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN ) /* USED - handled in port5_r */ + PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN ) /* unused? */ PORT_SERVICE_NO_TOGGLE( 0x02, IP_ACTIVE_LOW ) PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) /* unused? */ PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_VBLANK ) PORT_BIT( 0x70, IP_ACTIVE_LOW, IPT_UNKNOWN ) /* unused? */ - PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_READ_LINE_DEVICE_MEMBER("eeprom", eeprom_device, read_bit) + PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) /* unused? */ PORT_START("IN0") PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN ) @@ -1107,11 +1110,11 @@ static TIMER_DEVICE_CALLBACK( mitchell_irq ) mitchell_state *state = timer.machine().driver_data(); int scanline = param; - if(scanline == 248 || scanline == 0) + if (scanline == 240 || scanline == 0) { - device_set_input_line(state->m_maincpu,0,HOLD_LINE); + device_set_input_line(state->m_maincpu, 0, HOLD_LINE); - state->m_irq_source = (scanline == 248); + state->m_irq_source = (scanline == 0); } } @@ -1230,13 +1233,13 @@ static const msm5205_interface msm5205_config = static MACHINE_CONFIG_DERIVED( spangbl, pang ) - MCFG_DEVICE_REMOVE("maincpu") - - MCFG_CPU_ADD("maincpu",Z80, XTAL_16MHz/2) + MCFG_CPU_MODIFY("maincpu") MCFG_CPU_PROGRAM_MAP(spangbl_map) MCFG_CPU_IO_MAP(spangbl_io_map) MCFG_CPU_VBLANK_INT("screen", irq0_line_hold) + MCFG_DEVICE_REMOVE("scantimer") + MCFG_CPU_ADD("audiocpu", Z80, 8000000) MCFG_CPU_PROGRAM_MAP(spangbl_sound_map) MCFG_CPU_IO_MAP(spangbl_sound_io_map)