From f0cf972136808b716d4055a7edf2e4b9d05d980a Mon Sep 17 00:00:00 2001 From: hap Date: Fri, 27 May 2022 20:55:06 +0200 Subject: miconkit: add one more dipsw setting and factory defaults --- src/mame/drivers/hh_tms1k.cpp | 4 ++-- src/mame/drivers/miconkit.cpp | 17 ++++++++++------- src/mame/layout/micon2.lay | 4 ++-- 3 files changed, 14 insertions(+), 11 deletions(-) diff --git a/src/mame/drivers/hh_tms1k.cpp b/src/mame/drivers/hh_tms1k.cpp index 73316510697..65f5b595116 100644 --- a/src/mame/drivers/hh_tms1k.cpp +++ b/src/mame/drivers/hh_tms1k.cpp @@ -5184,10 +5184,10 @@ static INPUT_PORTS_START( mmarvin ) PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_KEYPAD ) PORT_CODE(KEYCODE_S) PORT_NAME("Space") PORT_START("IN.4") - PORT_BIT( 0xff, 150, IPT_PADDLE ) PORT_SENSITIVITY(15) PORT_KEYDELTA(15) PORT_CENTERDELTA(0) PORT_PLAYER(1) PORT_NAME("Speed Dial") + PORT_BIT( 0xff, 0x80, IPT_PADDLE ) PORT_SENSITIVITY(15) PORT_KEYDELTA(15) PORT_CENTERDELTA(0) PORT_PLAYER(1) PORT_NAME("Speed Dial") PORT_START("IN.5") - PORT_BIT( 0xff, 100, IPT_PADDLE ) PORT_SENSITIVITY(15) PORT_KEYDELTA(15) PORT_CENTERDELTA(0) PORT_PLAYER(2) PORT_NAME("Tone Dial") + PORT_BIT( 0xff, 0x80, IPT_PADDLE ) PORT_SENSITIVITY(15) PORT_KEYDELTA(15) PORT_CENTERDELTA(0) PORT_PLAYER(2) PORT_NAME("Tone Dial") INPUT_PORTS_END void mmarvin_state::mmarvin(machine_config &config) diff --git a/src/mame/drivers/miconkit.cpp b/src/mame/drivers/miconkit.cpp index 6b98205b8c8..b9e56e4c307 100644 --- a/src/mame/drivers/miconkit.cpp +++ b/src/mame/drivers/miconkit.cpp @@ -26,7 +26,6 @@ TODO: - unknown XTAL/CPU clock - any peripheral chips? - correct video timing -- any other (dip) switches? ******************************************************************************/ @@ -196,15 +195,19 @@ static INPUT_PORTS_START( micon2 ) PORT_START("IN.4") PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_CUSTOM ) // button PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_START1 ) - PORT_DIPNAME( 0x04, 0x04, DEF_STR( Cabinet ) ) - PORT_DIPSETTING( 0x04, DEF_STR( Upright ) ) - PORT_DIPSETTING( 0x00, DEF_STR( Cocktail ) ) + PORT_CONFNAME( 0x04, 0x04, DEF_STR( Cabinet ) ) + PORT_CONFSETTING( 0x04, DEF_STR( Upright ) ) + PORT_CONFSETTING( 0x00, DEF_STR( Cocktail ) ) PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_COIN1 ) - PORT_BIT( 0x30, IP_ACTIVE_LOW, IPT_UNKNOWN ) - PORT_DIPNAME( 0x40, 0x40, DEF_STR( Coinage ) ) + PORT_DIPNAME( 0x30, 0x10, "Replay" ) PORT_DIPLOCATION("DSW:4,3") + PORT_DIPSETTING( 0x00, DEF_STR( None ) ) + PORT_DIPSETTING( 0x10, "400" ) + PORT_DIPSETTING( 0x20, "500" ) + PORT_DIPSETTING( 0x30, "600" ) + PORT_DIPNAME( 0x40, 0x40, DEF_STR( Coinage ) ) PORT_DIPLOCATION("DSW:2") PORT_DIPSETTING( 0x40, DEF_STR( 1C_1C ) ) PORT_DIPSETTING( 0x00, DEF_STR( 1C_2C ) ) - PORT_DIPNAME( 0x80, 0x00, DEF_STR( Lives ) ) + PORT_DIPNAME( 0x80, 0x80, DEF_STR( Lives ) ) PORT_DIPLOCATION("DSW:1") PORT_DIPSETTING( 0x00, "3" ) PORT_DIPSETTING( 0x80, "5" ) INPUT_PORTS_END diff --git a/src/mame/layout/micon2.lay b/src/mame/layout/micon2.lay index 2a2bef2e3d1..f7190587828 100644 --- a/src/mame/layout/micon2.lay +++ b/src/mame/layout/micon2.lay @@ -14,11 +14,11 @@ license:CC0 - + - + -- cgit v1.2.3