From 390c1ece6993263c1e9821998a42779e672fbcbb Mon Sep 17 00:00:00 2001 From: Roberto Fresca Date: Sat, 23 Dec 2023 04:39:13 +0100 Subject: magicard.cpp: - Added CANCEL & BET inputs and button-lamps layout to set magicrd1c. Now the game is completely playable. - Switched DIP switches description Tschech-->CSFR. - Remapped KEY OUT input to match the "all coins out" from the test. --- src/mame/misc/magicard.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/mame/misc/magicard.cpp b/src/mame/misc/magicard.cpp index 36f9d185f1f..37466fcb580 100644 --- a/src/mame/misc/magicard.cpp +++ b/src/mame/misc/magicard.cpp @@ -587,8 +587,8 @@ static INPUT_PORTS_START( magicard ) PORT_DIPNAME( 0x38, 0x38, "Setting" ) PORT_DIPLOCATION("DIP 1:5,4,3") PORT_DIPSETTING( 0x38, "Austria 1" ) PORT_DIPSETTING( 0x30, "Austria 2" ) - PORT_DIPSETTING( 0x18, "Tschech 1" ) - PORT_DIPSETTING( 0x10, "Tschech 2" ) + PORT_DIPSETTING( 0x18, "CSFR 1" ) // Czech Slovak Federal Republic + PORT_DIPSETTING( 0x10, "CSFR 2" ) // Czech Slovak Federal Republic PORT_DIPSETTING( 0x28, "Germany 1" ) PORT_DIPSETTING( 0x20, "Germany 2" ) PORT_DIPSETTING( 0x08, "Hungary 1" ) @@ -600,7 +600,7 @@ static INPUT_PORTS_START( magicard ) PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) PORT_DIPSETTING( 0x00, DEF_STR( On ) ) - PORT_BIT( 0x0100, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("All Coins Out") PORT_CODE(KEYCODE_T) + PORT_BIT( 0x0100, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT ) PORT_BIT( 0x0200, IP_ACTIVE_LOW, IPT_GAMBLE_DOOR ) PORT_NAME("Door Switch") PORT_BIT( 0x0400, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Reserve In 5") PORT_CODE(KEYCODE_A) PORT_BIT( 0x0800, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Reserve In 6") PORT_CODE(KEYCODE_S) @@ -811,7 +811,7 @@ static INPUT_PORTS_START( jjokeri ) PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) PORT_DIPSETTING( 0x00, DEF_STR( On ) ) - PORT_BIT( 0x0100, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("All Coins Out") PORT_CODE(KEYCODE_T) + PORT_BIT( 0x0100, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT ) PORT_BIT( 0x0200, IP_ACTIVE_LOW, IPT_GAMBLE_DOOR ) PORT_NAME("Door Switch") PORT_BIT( 0x0400, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Reserve In 5") PORT_CODE(KEYCODE_A) PORT_BIT( 0x0800, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Reserve In 6") PORT_CODE(KEYCODE_S) @@ -2271,7 +2271,7 @@ GAME( 1994, magicard, 0, magicard, magicard, magicard_state, em GAMEL( 1994, magicrd1, 0, magicard_pic56, magicard, magicard_state, empty_init, ROT0, "Impera", "Magic Card (v1.10 14.09.94)", MACHINE_SUPPORTS_SAVE, layout_magicard ) GAME( 1993, magicrd1a, magicrd1, magicard, magicard, magicard_state, empty_init, ROT0, "Impera", "Magic Card (v1.5 17.12.93, set 1)", MACHINE_SUPPORTS_SAVE | MACHINE_NOT_WORKING ) GAME( 1993, magicrd1b, magicrd1, magicard, magicard, magicard_state, empty_init, ROT0, "Impera", "Magic Card (v1.5 17.12.93, set 2)", MACHINE_SUPPORTS_SAVE | MACHINE_NOT_WORKING ) -GAME( 1993, magicrd1c, magicrd1, magicard_pic54, magicard, magicard_state, empty_init, ROT0, "Impera", "Magic Card (v1.2 200/93, set 1)", MACHINE_SUPPORTS_SAVE ) +GAMEL( 1993, magicrd1c, magicrd1, magicard_pic54, magicard, magicard_state, empty_init, ROT0, "Impera", "Magic Card (v1.2 200/93, set 1)", MACHINE_SUPPORTS_SAVE, layout_magicard ) GAME( 1993, magicrd1d, magicrd1, magicard, magicard, magicard_state, empty_init, ROT0, "Impera", "Magic Card (v1.2 200/93, set 2)", MACHINE_SUPPORTS_SAVE | MACHINE_NOT_WORKING ) GAME( 1994, magicrde, 0, hotslots_pic54, magicrde, hotslots_state, empty_init, ROT0, "Impera", "Magic Card Export 94 (v2.11a, set 1)", MACHINE_SUPPORTS_SAVE | MACHINE_NOT_WORKING ) GAME( 1994, magicrdea, magicrde, hotslots_pic54, magicrde, hotslots_state, empty_init, ROT0, "Impera", "Magic Card Export 94 (v2.11a, set 2)", MACHINE_SUPPORTS_SAVE | MACHINE_NOT_WORKING ) -- cgit v1.2.3