summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2021-09-05 15:08:57 +0200
committer hap <happppp@users.noreply.github.com>2021-09-05 15:09:09 +0200
commitfbd121cf43b7d1ff1377d5543a0393c50f9516ad (patch)
tree0b61045c7900fe4325d2354352419f0b166a7aa9 /src
parent40af517851bb4a4a25e2877ab3fc7a5b3adee3f3 (diff)
dariusu: add continue price dipswitch
vigilant: swap punch/kick buttons to match with arcade cabinet
Diffstat (limited to 'src')
-rw-r--r--src/mame/drivers/darius.cpp28
-rw-r--r--src/mame/drivers/vigilant.cpp24
2 files changed, 30 insertions, 22 deletions
diff --git a/src/mame/drivers/darius.cpp b/src/mame/drivers/darius.cpp
index 7eb974bf925..aebc72a3068 100644
--- a/src/mame/drivers/darius.cpp
+++ b/src/mame/drivers/darius.cpp
@@ -499,7 +499,6 @@ void darius_state::darius_sound2_io_map(address_map &map)
INPUT PORTS, DIPs
***********************************************************/
-
#define TAITO_COINAGE_JAPAN_16 \
PORT_DIPNAME( 0x0030, 0x0030, DEF_STR( Coin_A ) ) PORT_DIPLOCATION("SW1:5,6") \
PORT_DIPSETTING( 0x0010, DEF_STR( 2C_1C ) ) \
@@ -544,7 +543,7 @@ static INPUT_PORTS_START( darius )
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
- PORT_START("DSW") /* DSW */
+ PORT_START("DSW")
PORT_DIPNAME( 0x0001, 0x0001, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW1:1")
PORT_DIPSETTING( 0x0001, DEF_STR( Off ) )
PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
@@ -589,23 +588,32 @@ static INPUT_PORTS_START( darius )
PORT_DIPSETTING( 0x8000, DEF_STR( Yes ) )
INPUT_PORTS_END
-static INPUT_PORTS_START( dariusu ) /* The US version uses the Japan coinage settings & Extra Version has continue */
+static INPUT_PORTS_START( dariuse )
PORT_INCLUDE( darius )
- PORT_MODIFY("DSW") /* DSW */
+ PORT_MODIFY("DSW")
TAITO_COINAGE_JAPAN_16
INPUT_PORTS_END
-static INPUT_PORTS_START( dariusj )
- PORT_INCLUDE( darius )
+static INPUT_PORTS_START( dariusj ) // No Continue for this version
+ PORT_INCLUDE( dariuse )
- PORT_MODIFY("DSW") /* DSW */
- TAITO_COINAGE_JAPAN_16
- PORT_DIPNAME( 0x8000, 0x8000, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW2:8") /* No Continue for this version */
+ PORT_MODIFY("DSW")
+ PORT_DIPNAME( 0x8000, 0x8000, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW2:8")
PORT_DIPSETTING( 0x8000, DEF_STR( Off ) )
PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
INPUT_PORTS_END
+static INPUT_PORTS_START( dariusu ) // US version uses the Japan coinage settings
+ PORT_INCLUDE( dariuse )
+
+ PORT_MODIFY("DSW")
+ PORT_DIPNAME( 0x4000, 0x4000, DEF_STR( Continue_Price ) ) PORT_DIPLOCATION("SW2:7")
+ PORT_DIPSETTING( 0x4000, "Discount" )
+ PORT_DIPSETTING( 0x0000, "Same as Start" )
+INPUT_PORTS_END
+
+
/**************************************************************
GFX DECODING
**************************************************************/
@@ -1090,4 +1098,4 @@ GAME( 1986, darius, 0, darius, darius, darius_state, empty_init, ROT0,
GAME( 1986, dariusu, darius, darius, dariusu, darius_state, empty_init, ROT0, "Taito America Corporation", "Darius (US, rev 2)", MACHINE_SUPPORTS_SAVE )
GAME( 1986, dariusj, darius, darius, dariusj, darius_state, empty_init, ROT0, "Taito Corporation", "Darius (Japan, rev 1)", MACHINE_SUPPORTS_SAVE )
GAME( 1986, dariuso, darius, darius, dariusj, darius_state, empty_init, ROT0, "Taito Corporation", "Darius (Japan)", MACHINE_SUPPORTS_SAVE )
-GAME( 1986, dariuse, darius, darius, dariusu, darius_state, empty_init, ROT0, "Taito Corporation", "Darius Extra Version (Japan)", MACHINE_SUPPORTS_SAVE )
+GAME( 1986, dariuse, darius, darius, dariuse, darius_state, empty_init, ROT0, "Taito Corporation", "Darius Extra Version (Japan)", MACHINE_SUPPORTS_SAVE )
diff --git a/src/mame/drivers/vigilant.cpp b/src/mame/drivers/vigilant.cpp
index 6ced81325a1..7abbd42299a 100644
--- a/src/mame/drivers/vigilant.cpp
+++ b/src/mame/drivers/vigilant.cpp
@@ -161,9 +161,9 @@ static INPUT_PORTS_START( vigilant )
PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN )
PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_UP )
PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
- PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_BUTTON1 )
+ PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_BUTTON2 )
PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
- PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_BUTTON2 )
+ PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_BUTTON1 )
PORT_START("IN2")
PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_COCKTAIL
@@ -171,9 +171,9 @@ static INPUT_PORTS_START( vigilant )
PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_COCKTAIL
PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_COCKTAIL
PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_COIN2 )
- PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_COCKTAIL
+ PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_COCKTAIL
PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
- PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_COCKTAIL
+ PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_COCKTAIL
PORT_START("DSW1")
PORT_DIPNAME( 0x03, 0x03, DEF_STR( Lives ) ) PORT_DIPLOCATION("SW1:1,2")
@@ -521,12 +521,12 @@ void vigilant_state::vigilant(machine_config &config)
ym2151_device &ymsnd(YM2151(config, "ymsnd", 3.579545_MHz_XTAL));
ymsnd.irq_handler().set("soundirq", FUNC(rst_neg_buffer_device::rst28_w));
- ymsnd.add_route(0, "lspeaker", 0.55);
- ymsnd.add_route(1, "rspeaker", 0.55);
+ ymsnd.add_route(0, "lspeaker", 0.28);
+ ymsnd.add_route(1, "rspeaker", 0.28);
dac_8bit_r2r_device &dac(DAC_8BIT_R2R(config, "dac", 0)); // unknown DAC
- dac.add_route(ALL_OUTPUTS, "lspeaker", 1.0);
- dac.add_route(ALL_OUTPUTS, "rspeaker", 1.0);
+ dac.add_route(ALL_OUTPUTS, "lspeaker", 0.5);
+ dac.add_route(ALL_OUTPUTS, "rspeaker", 0.5);
}
void vigilant_state::buccanrs(machine_config &config)
@@ -637,12 +637,12 @@ void vigilant_state::kikcubic(machine_config &config)
ym2151_device &ymsnd(YM2151(config, "ymsnd", 3.579545_MHz_XTAL));
ymsnd.irq_handler().set("soundirq", FUNC(rst_neg_buffer_device::rst28_w));
- ymsnd.add_route(0, "lspeaker", 0.55);
- ymsnd.add_route(1, "rspeaker", 0.55);
+ ymsnd.add_route(0, "lspeaker", 0.28);
+ ymsnd.add_route(1, "rspeaker", 0.28);
dac_8bit_r2r_device &dac(DAC_8BIT_R2R(config, "dac", 0)); // unknown DAC
- dac.add_route(ALL_OUTPUTS, "lspeaker", 1.0);
- dac.add_route(ALL_OUTPUTS, "rspeaker", 1.0);
+ dac.add_route(ALL_OUTPUTS, "lspeaker", 0.5);
+ dac.add_route(ALL_OUTPUTS, "rspeaker", 0.5);
}