diff options
author | Aaron Giles <aaron@aarongiles.com> | 2008-06-26 15:25:58 +0000 |
---|---|---|
committer | Aaron Giles <aaron@aarongiles.com> | 2008-06-26 15:25:58 +0000 |
commit | 661cf76098f451422706f656f19450dac964e01a (patch) | |
tree | 3e61c4c7b955991a12574bb6d8b87b75e161cc17 | |
parent | ea3780417a03fb4ef6540bc4cf68200e72bd96f1 (diff) |
From: abcd efgh [mailto:cix_999@yahoo.it]
Subject: ddragon3 clean
Finish the work on ddragon3:
- Mapped the correct dip "SW1-8" before was incorrect
- Added "FBI Logo" dips in ctribe
- Fixed the dips condition's implementation to avoid the mame crash in ctribe
- Change the name of (Italian bootleg) in a better (bootleg Set 2)
In gotcha :
- Set OKI's pin 7 to high
Bye Sonikos
-rw-r--r-- | src/mame/drivers/ddragon3.c | 40 | ||||
-rw-r--r-- | src/mame/drivers/gotcha.c | 2 |
2 files changed, 27 insertions, 15 deletions
diff --git a/src/mame/drivers/ddragon3.c b/src/mame/drivers/ddragon3.c index 9fa77c870b0..2730682ff58 100644 --- a/src/mame/drivers/ddragon3.c +++ b/src/mame/drivers/ddragon3.c @@ -307,7 +307,8 @@ static INPUT_PORTS_START( ctribe ) PORT_DIPNAME( 0x1000, 0x1000, DEF_STR( Flip_Screen ) ) PORT_DIPLOCATION("SW1:7") PORT_DIPSETTING( 0x1000, DEF_STR( Off ) ) PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) - PORT_BIT( 0xe000, IP_ACTIVE_LOW, IPT_UNUSED ) + PORT_DIPUNUSED_DIPLOC( 0x2000, 0x2000, "SW1:8" ) + PORT_BIT( 0xc000, IP_ACTIVE_LOW, IPT_UNUSED ) PORT_START_TAG("IN1") PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(2) @@ -332,8 +333,7 @@ static INPUT_PORTS_START( ctribe ) PORT_DIPNAME( 0x2000, 0x2000, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW1:6") PORT_DIPSETTING( 0x0000, DEF_STR( Off ) ) PORT_DIPSETTING( 0x2000, DEF_STR( On ) ) - PORT_DIPUNUSED_DIPLOC( 0x4000, 0x4000, "SW1:8" ) - PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_UNUSED ) + PORT_BIT( 0xc000, IP_ACTIVE_LOW, IPT_UNUSED ) PORT_START_TAG("IN2") PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(3) @@ -353,14 +353,15 @@ static INPUT_PORTS_START( ctribe ) PORT_DIPNAME( 0x0400, 0x0400, "Timer Speed" ) PORT_DIPLOCATION("SW2:3") PORT_DIPSETTING( 0x0400, DEF_STR( Normal ) ) PORT_DIPSETTING( 0x0000, "Fast" ) - PORT_DIPUNUSED_DIPLOC( 0x0800, 0x0800, "SW2:4" ) + PORT_DIPNAME( 0x0800, 0x0800, "FBI Logo" ) PORT_DIPLOCATION("SW2:4") + PORT_DIPSETTING( 0x0000, DEF_STR( Off ) ) + PORT_DIPSETTING( 0x0800, DEF_STR( On ) ) PORT_SERVICE_DIPLOC( 0x1000, IP_ACTIVE_LOW, "SW2:5" ) - PORT_DIPNAME( 0x2000, 0x2000, "Stage Clear Energy" ) PORT_CONDITION("IN3",0x0100,PORTCOND_EQUALS,0x0100) PORT_DIPLOCATION("SW2:6") - PORT_DIPSETTING( 0x2000, "0" ) - PORT_DIPSETTING( 0x0000, "50" ) - PORT_DIPNAME( 0x2000, 0x2000, "Stage Clear Energy" ) PORT_CONDITION("IN3",0x0100,PORTCOND_EQUALS,0x0000) PORT_DIPLOCATION("SW2:6") - PORT_DIPSETTING( 0x2000, "100" ) - PORT_DIPSETTING( 0x0000, "150" ) + PORT_DIPNAME( 0x2000, 0x2000, "Stage Clear Energy" ) PORT_DIPLOCATION("SW2:6") + PORT_DIPSETTING( 0x2000, "0" ) PORT_CONDITION("IN3",0x0100,PORTCOND_EQUALS,0x0100) + PORT_DIPSETTING( 0x0000, "50" ) PORT_CONDITION("IN3",0x0100,PORTCOND_EQUALS,0x0100) + PORT_DIPSETTING( 0x2000, "100" ) PORT_CONDITION("IN3",0x0100,PORTCOND_EQUALS,0x0000) + PORT_DIPSETTING( 0x0000, "150" ) PORT_CONDITION("IN3",0x0100,PORTCOND_EQUALS,0x0000) PORT_BIT( 0xc000, IP_ACTIVE_LOW, IPT_UNUSED ) PORT_START_TAG("IN3") @@ -371,7 +372,7 @@ static INPUT_PORTS_START( ctribe ) PORT_DIPNAME( 0x0200, 0x0200, DEF_STR( Players ) ) PORT_DIPLOCATION("SW2:8") PORT_DIPSETTING( 0x0200, "2" ) PORT_DIPSETTING( 0x0000, "3" ) - PORT_BIT( 0xc000, IP_ACTIVE_LOW, IPT_UNUSED ) + PORT_BIT( 0xfc00, IP_ACTIVE_LOW, IPT_UNUSED ) INPUT_PORTS_END static INPUT_PORTS_START( ddrago3b ) @@ -384,6 +385,10 @@ static INPUT_PORTS_START( ddrago3b ) PORT_DIPNAME( 0x0400, 0x0400, "Player Vs. Player Damage" ) PORT_DIPLOCATION("SW2:3") PORT_DIPSETTING( 0x0400, DEF_STR( Off ) ) PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) + PORT_DIPNAME( 0x2000, 0x2000, "Stage Clear Energy" ) PORT_DIPLOCATION("SW2:6") + PORT_DIPSETTING( 0x0000, DEF_STR( Off ) ) + PORT_DIPSETTING( 0x2000, "50" ) + PORT_DIPUNUSED_DIPLOC( 0x0800, 0x0800, "SW2:4" ) PORT_MODIFY("IN3") PORT_DIPNAME( 0x0100, 0x0100, "Starting Energy" ) PORT_DIPLOCATION("SW2:7") @@ -391,6 +396,13 @@ static INPUT_PORTS_START( ddrago3b ) PORT_DIPSETTING( 0x0100, "230" ) INPUT_PORTS_END +static INPUT_PORTS_START( ctribeb ) + PORT_INCLUDE( ctribe ) + + PORT_MODIFY("IN2") + PORT_DIPUNUSED_DIPLOC( 0x0800, 0x0800, "SW2:4" ) +INPUT_PORTS_END + /************************************* * * Graphics Layouts @@ -813,6 +825,6 @@ GAME( 1990, ddragon3, 0, ddragon3, ddragon3, 0, ROT0, "Technos", "Double GAME( 1990, ddrago3j, ddragon3, ddragon3, ddragon3, 0, ROT0, "Technos", "Double Dragon 3 - The Rosetta Stone (Japan)", GAME_SUPPORTS_SAVE ) GAME( 1990, ddrago3b, ddragon3, ddrago3b, ddrago3b, 0, ROT0, "bootleg", "Double Dragon 3 - The Rosetta Stone (bootleg)", GAME_SUPPORTS_SAVE ) GAME( 1990, ctribe, 0, ctribe, ctribe, 0, ROT0, "Technos", "The Combatribes (US)", GAME_SUPPORTS_SAVE ) -GAME( 1990, ctribe1, ctribe, ctribe, ctribe, 0, ROT0, "Technos", "The Combatribes (US) - Set 1?", GAME_SUPPORTS_SAVE ) -GAME( 1990, ctribeb, ctribe, ctribe, ctribe, 0, ROT0, "bootleg", "The Combatribes (bootleg)", GAME_SUPPORTS_SAVE ) -GAME( 1990, ctribb2, ctribe, ctribe, ctribe, 0, ROT0, "bootleg", "The Combatribes (Italian bootleg)", GAME_SUPPORTS_SAVE ) +GAME( 1990, ctribe1, ctribe, ctribe, ctribe, 0, ROT0, "Technos", "The Combatribes (US Set 1?)", GAME_SUPPORTS_SAVE ) +GAME( 1990, ctribeb, ctribe, ctribe, ctribeb, 0, ROT0, "bootleg", "The Combatribes (bootleg Set 1)", GAME_SUPPORTS_SAVE ) +GAME( 1990, ctribb2, ctribe, ctribe, ctribeb, 0, ROT0, "bootleg", "The Combatribes (bootleg Set 2)", GAME_SUPPORTS_SAVE ) diff --git a/src/mame/drivers/gotcha.c b/src/mame/drivers/gotcha.c index d686e6e77de..3b1c649c510 100644 --- a/src/mame/drivers/gotcha.c +++ b/src/mame/drivers/gotcha.c @@ -306,7 +306,7 @@ static MACHINE_DRIVER_START( gotcha ) MDRV_SOUND_ROUTE(1, "mono", 0.80) MDRV_SOUND_ADD(OKIM6295, 1000000) - MDRV_SOUND_CONFIG(okim6295_interface_region_1_pin7low) + MDRV_SOUND_CONFIG(okim6295_interface_region_1_pin7high) MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.60) MACHINE_DRIVER_END |