mirror of
https://github.com/holub/mame
synced 2025-05-24 06:30:04 +03:00
Fixed Dip Switches for all games in astrof.c driver.
This commit is contained in:
parent
493ccba85f
commit
c911e7c3a8
@ -42,8 +42,6 @@
|
||||
Known issues/to-do's:
|
||||
* Is Astro Fighter supposed to have a blue background???
|
||||
* Analog sound in all games
|
||||
* Verify DIPs for clones
|
||||
* Figure out unknown DIPs for Space Fighter Mark II (set 2)
|
||||
|
||||
****************************************************************************/
|
||||
|
||||
@ -585,13 +583,13 @@ static INPUT_PORTS_START( astrof )
|
||||
PORT_DIPSETTING( 0x03, "6" )
|
||||
PORT_DIPNAME( 0x0c, 0x00, DEF_STR( Coinage ) ) PORT_DIPLOCATION("SW:3,4")
|
||||
PORT_DIPSETTING( 0x08, DEF_STR( 2C_1C ) )
|
||||
/*PORT_DIPSETTING( 0x0c, DEF_STR( 2C_1C ) )*/
|
||||
// PORT_DIPSETTING( 0x0c, DEF_STR( 2C_1C ) ) /* duplicate settings */
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( 1C_1C ) )
|
||||
PORT_DIPSETTING( 0x04, DEF_STR( 1C_2C ) )
|
||||
PORT_DIPNAME( 0x30, 0x00, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("SW:5,6")
|
||||
PORT_DIPSETTING( 0x00, "3000" )
|
||||
PORT_DIPSETTING( 0x10, "5000" )
|
||||
PORT_DIPSETTING( 0x20, "7000" )
|
||||
PORT_DIPNAME( 0x30, 0x00, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("SW:5,6") /* table at 0xf6b2 */
|
||||
PORT_DIPSETTING( 0x00, "5000" )
|
||||
PORT_DIPSETTING( 0x10, "7000" )
|
||||
PORT_DIPSETTING( 0x20, "10000" )
|
||||
PORT_DIPSETTING( 0x30, DEF_STR( None ) )
|
||||
PORT_DIPNAME( 0x40, 0x00, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW:7")
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( Easy ) )
|
||||
@ -610,7 +608,7 @@ static INPUT_PORTS_START( astrof )
|
||||
PORT_BIT( 0xfc, IP_ACTIVE_HIGH, IPT_UNUSED )
|
||||
INPUT_PORTS_END
|
||||
|
||||
|
||||
/* same as 'astrof', but inputs are ACTIVE_HIGH instead of ACTIVE_LOW */
|
||||
static INPUT_PORTS_START( abattle )
|
||||
PORT_START("IN")
|
||||
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_START1 )
|
||||
@ -638,10 +636,10 @@ static INPUT_PORTS_START( abattle )
|
||||
PORT_DIPSETTING( 0x03, "6" )
|
||||
PORT_DIPNAME( 0x0c, 0x00, DEF_STR( Coinage ) ) PORT_DIPLOCATION("SW:3,4")
|
||||
PORT_DIPSETTING( 0x08, DEF_STR( 2C_1C ) )
|
||||
/*PORT_DIPSETTING( 0x0c, DEF_STR( 2C_1C ) )*/
|
||||
// PORT_DIPSETTING( 0x0c, DEF_STR( 2C_1C ) ) /* duplicate settings */
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( 1C_1C ) )
|
||||
PORT_DIPSETTING( 0x04, DEF_STR( 1C_2C ) )
|
||||
PORT_DIPNAME( 0x30, 0x00, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("SW:5,6")
|
||||
PORT_DIPNAME( 0x30, 0x00, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("SW:5,6") /* table at 0xf87a */
|
||||
PORT_DIPSETTING( 0x00, "5000" )
|
||||
PORT_DIPSETTING( 0x10, "7000" )
|
||||
PORT_DIPSETTING( 0x20, "10000" )
|
||||
@ -684,25 +682,21 @@ static INPUT_PORTS_START( spfghmk2 )
|
||||
PORT_BIT( 0xf8, IP_ACTIVE_HIGH, IPT_UNUSED )
|
||||
|
||||
PORT_START("DSW")
|
||||
PORT_DIPNAME( 0x01, 0x00, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW:1") /* most likely not used */
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x01, DEF_STR( On ) )
|
||||
PORT_DIPUNUSED_DIPLOC( 0x01, 0x00, "SW:1" )
|
||||
PORT_DIPNAME( 0x02, 0x00, DEF_STR( Lives ) ) PORT_DIPLOCATION("SW:2")
|
||||
PORT_DIPSETTING( 0x00, "3" )
|
||||
PORT_DIPSETTING( 0x02, "5" )
|
||||
PORT_DIPNAME( 0x0c, 0x00, DEF_STR( Coinage ) ) PORT_DIPLOCATION("SW:3,4")
|
||||
PORT_DIPSETTING( 0x08, DEF_STR( 2C_1C ) )
|
||||
/*PORT_DIPSETTING( 0x0c, DEF_STR( 2C_1C ) )*/
|
||||
// PORT_DIPSETTING( 0x0c, DEF_STR( 2C_1C ) ) /* duplicate settings */
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( 1C_1C ) )
|
||||
PORT_DIPSETTING( 0x04, DEF_STR( 1C_2C ) )
|
||||
PORT_DIPNAME( 0x30, 0x00, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("SW:5,6")
|
||||
PORT_DIPNAME( 0x30, 0x00, "Free Credit" ) PORT_DIPLOCATION("SW:5,6") /* table at 0xfa58 */
|
||||
PORT_DIPSETTING( 0x00, "1500" )
|
||||
PORT_DIPSETTING( 0x10, "2000" )
|
||||
PORT_DIPSETTING( 0x20, "2500" )
|
||||
PORT_DIPSETTING( 0x30, "3000" )
|
||||
PORT_DIPNAME( 0x40, 0x00, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW:7") /* most likely not used */
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x40, DEF_STR( On ) )
|
||||
PORT_DIPUNUSED_DIPLOC( 0x40, 0x00, "SW:7" )
|
||||
PORT_BIT ( 0x80, IP_ACTIVE_LOW, IPT_VBLANK )
|
||||
|
||||
PORT_START("CAB")
|
||||
@ -717,7 +711,6 @@ static INPUT_PORTS_START( spfghmk2 )
|
||||
PORT_BIT( 0xfc, IP_ACTIVE_HIGH, IPT_UNUSED )
|
||||
INPUT_PORTS_END
|
||||
|
||||
|
||||
static INPUT_PORTS_START( spfgmk22 )
|
||||
PORT_START("IN")
|
||||
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START1 )
|
||||
@ -738,25 +731,25 @@ static INPUT_PORTS_START( spfgmk22 )
|
||||
PORT_BIT( 0xf8, IP_ACTIVE_HIGH, IPT_UNUSED )
|
||||
|
||||
PORT_START("DSW")
|
||||
PORT_DIPNAME( 0x01, 0x00, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW:1") /* used */
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x01, DEF_STR( On ) )
|
||||
PORT_DIPNAME( 0x01, 0x00, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW:1")
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( Easy ) )
|
||||
PORT_DIPSETTING( 0x01, DEF_STR( Hard ) )
|
||||
PORT_DIPNAME( 0x02, 0x00, DEF_STR( Lives ) ) PORT_DIPLOCATION("SW:2")
|
||||
PORT_DIPSETTING( 0x00, "3" )
|
||||
PORT_DIPSETTING( 0x02, "5" )
|
||||
PORT_DIPNAME( 0x0c, 0x00, DEF_STR( Coinage ) ) PORT_DIPLOCATION("SW:3,4")
|
||||
PORT_DIPSETTING( 0x08, DEF_STR( 2C_1C ) )
|
||||
/*PORT_DIPSETTING( 0x0c, DEF_STR( 2C_1C ) )*/
|
||||
// PORT_DIPSETTING( 0x0c, DEF_STR( 2C_1C ) ) /* duplicate settings */
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( 1C_1C ) )
|
||||
PORT_DIPSETTING( 0x04, DEF_STR( 1C_2C ) )
|
||||
PORT_DIPNAME( 0x30, 0x00, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("SW:5,6")
|
||||
PORT_DIPNAME( 0x30, 0x00, "Free Credit" ) PORT_DIPLOCATION("SW:5,6") /* table at 0xf9f8 */
|
||||
PORT_DIPSETTING( 0x00, "2000" )
|
||||
PORT_DIPSETTING( 0x10, "3000" )
|
||||
PORT_DIPSETTING( 0x20, "4000" )
|
||||
PORT_DIPSETTING( 0x30, "5000" )
|
||||
PORT_DIPNAME( 0x40, 0x00, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW:7") /* used */
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x40, DEF_STR( On ) )
|
||||
PORT_DIPNAME( 0x40, 0x00, "Kill Saucer after Invaders" ) PORT_DIPLOCATION("SW:7")
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( No ) )
|
||||
PORT_DIPSETTING( 0x40, DEF_STR( Yes ) ) /* if saucer lands, game is over */
|
||||
PORT_BIT ( 0x80, IP_ACTIVE_LOW, IPT_VBLANK )
|
||||
|
||||
PORT_START("CAB")
|
||||
@ -803,10 +796,10 @@ static INPUT_PORTS_START( tomahawk )
|
||||
PORT_DIPSETTING( 0x03, "6" )
|
||||
PORT_DIPNAME( 0x0c, 0x00, DEF_STR( Coinage ) ) PORT_DIPLOCATION("SW:3,4")
|
||||
PORT_DIPSETTING( 0x08, DEF_STR( 2C_1C ) )
|
||||
/*PORT_DIPSETTING( 0x0c, DEF_STR( 2C_1C ) )*/
|
||||
// PORT_DIPSETTING( 0x0c, DEF_STR( 2C_1C ) ) /* duplicate settings */
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( 1C_1C ) )
|
||||
PORT_DIPSETTING( 0x04, DEF_STR( 1C_2C ) )
|
||||
PORT_DIPNAME( 0x30, 0x00, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("SW:5,6")
|
||||
PORT_DIPNAME( 0x30, 0x00, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("SW:5,6") /* table at 0xf428 */
|
||||
PORT_DIPSETTING( 0x00, "5000" )
|
||||
PORT_DIPSETTING( 0x10, "7000" )
|
||||
PORT_DIPSETTING( 0x20, "10000" )
|
||||
@ -828,6 +821,18 @@ static INPUT_PORTS_START( tomahawk )
|
||||
PORT_BIT( 0xfc, IP_ACTIVE_HIGH, IPT_UNUSED )
|
||||
INPUT_PORTS_END
|
||||
|
||||
static INPUT_PORTS_START( tomahaw1 )
|
||||
PORT_INCLUDE( tomahawk )
|
||||
|
||||
PORT_MODIFY("DSW")
|
||||
PORT_DIPNAME( 0x30, 0x00, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("SW:5,6") /* table at 0xf3c8 */
|
||||
PORT_DIPSETTING( 0x00, "3000" )
|
||||
PORT_DIPSETTING( 0x10, "5000" )
|
||||
PORT_DIPSETTING( 0x20, "7000" )
|
||||
PORT_DIPSETTING( 0x30, DEF_STR( None ) )
|
||||
PORT_DIPUNUSED_DIPLOC( 0x40, 0x00, "SW:7" )
|
||||
INPUT_PORTS_END
|
||||
|
||||
|
||||
|
||||
/*************************************
|
||||
@ -1237,4 +1242,4 @@ GAME( 1979, sstarbtl, astrof, abattle, abattle, sstarbtl,ROT90, "bootleg",
|
||||
GAME( 1979, spfghmk2, 0, spfghmk2, spfghmk2, 0, ROT90, "Data East", "Space Fighter Mark II (set 1)", GAME_NO_SOUND | GAME_SUPPORTS_SAVE )
|
||||
GAME( 1979, spfgmk22, spfghmk2, spfghmk2, spfgmk22, 0, ROT90, "Data East", "Space Fighter Mark II (set 2)", GAME_NO_SOUND | GAME_SUPPORTS_SAVE )
|
||||
GAME( 1980, tomahawk, 0, tomahawk, tomahawk, 0, ROT90, "Data East", "Tomahawk 777 (rev 5)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE )
|
||||
GAME( 1980, tomahaw1, tomahawk, tomahawk, tomahawk, 0, ROT90, "Data East", "Tomahawk 777 (rev 1)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE )
|
||||
GAME( 1980, tomahaw1, tomahawk, tomahawk, tomahaw1, 0, ROT90, "Data East", "Tomahawk 777 (rev 1)", GAME_IMPERFECT_SOUND | GAME_SUPPORTS_SAVE )
|
||||
|
Loading…
Reference in New Issue
Block a user