mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
f1gp.c: Added dipswitch locations to F-1 Grand Prix [Brian Troha]
This commit is contained in:
parent
2be7d19b0d
commit
0d58b9395a
@ -10,6 +10,9 @@
|
||||
being an extra 68000.
|
||||
|
||||
TODO:
|
||||
- Hook up link for Multi Player game mode. Currently will show ID CHECK
|
||||
ERROR then hang.
|
||||
|
||||
f1gp:
|
||||
- gfxctrl register not understood - handling of fg/sprite priority to fix
|
||||
"continue" screen is just a kludge.
|
||||
@ -242,10 +245,8 @@ static INPUT_PORTS_START( f1gp )
|
||||
PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
||||
|
||||
PORT_START("DSW1")
|
||||
PORT_DIPNAME( 0x0100, 0x0100, DEF_STR( Unknown ) )
|
||||
PORT_DIPSETTING( 0x0100, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
|
||||
PORT_DIPNAME( 0x0e00, 0x0e00, DEF_STR( Coin_A ) )
|
||||
PORT_DIPUNUSED_DIPLOC( 0x0100, 0x0100, "SW1:1" ) /* Listed as "Unused" */
|
||||
PORT_DIPNAME( 0x0e00, 0x0e00, DEF_STR( Coin_A ) ) PORT_CONDITION("DSW1",0x8000,PORTCOND_EQUALS,0x8000) PORT_DIPLOCATION("SW1:2,3,4")
|
||||
PORT_DIPSETTING( 0x0a00, DEF_STR( 3C_1C ) )
|
||||
PORT_DIPSETTING( 0x0c00, DEF_STR( 2C_1C ) )
|
||||
PORT_DIPSETTING( 0x0e00, DEF_STR( 1C_1C ) )
|
||||
@ -254,7 +255,7 @@ static INPUT_PORTS_START( f1gp )
|
||||
PORT_DIPSETTING( 0x0400, DEF_STR( 1C_4C ) )
|
||||
PORT_DIPSETTING( 0x0200, DEF_STR( 1C_5C ) )
|
||||
PORT_DIPSETTING( 0x0000, DEF_STR( 1C_6C ) )
|
||||
PORT_DIPNAME( 0x7000, 0x7000, DEF_STR( Coin_B ) )
|
||||
PORT_DIPNAME( 0x7000, 0x7000, DEF_STR( Coin_B ) ) PORT_CONDITION("DSW1",0x8000,PORTCOND_EQUALS,0x8000) PORT_DIPLOCATION("SW1:5,6,7")
|
||||
PORT_DIPSETTING( 0x5000, DEF_STR( 3C_1C ) )
|
||||
PORT_DIPSETTING( 0x6000, DEF_STR( 2C_1C ) )
|
||||
PORT_DIPSETTING( 0x7000, DEF_STR( 1C_1C ) )
|
||||
@ -263,59 +264,45 @@ static INPUT_PORTS_START( f1gp )
|
||||
PORT_DIPSETTING( 0x2000, DEF_STR( 1C_4C ) )
|
||||
PORT_DIPSETTING( 0x1000, DEF_STR( 1C_5C ) )
|
||||
PORT_DIPSETTING( 0x0000, DEF_STR( 1C_6C ) )
|
||||
PORT_DIPNAME( 0x8000, 0x8000, "2 to Start, 1 to Cont." ) // Other desc. was too long !
|
||||
PORT_DIPSETTING( 0x8000, DEF_STR( Off ) )
|
||||
PORT_DIPNAME( 0x7e00, 0x7e00, DEF_STR( Coinage ) ) PORT_CONDITION("DSW1",0x8000,PORTCOND_NOTEQUALS,0x8000) PORT_DIPLOCATION("SW1:2,3,4,5,6,7")
|
||||
PORT_DIPSETTING( 0x7e00, "2 to Start, 1 to Continue" )
|
||||
PORT_DIPNAME( 0x8000, 0x8000, "Continue Coin" ) PORT_DIPLOCATION("SW1:8")
|
||||
PORT_DIPSETTING( 0x8000, "Normal Coinage" )
|
||||
PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
|
||||
PORT_DIPNAME( 0x0003, 0x0003, DEF_STR( Difficulty ) )
|
||||
PORT_DIPNAME( 0x0003, 0x0003, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW2:1,2")
|
||||
PORT_DIPSETTING( 0x0002, DEF_STR( Easy ) )
|
||||
PORT_DIPSETTING( 0x0003, DEF_STR( Normal ) )
|
||||
PORT_DIPSETTING( 0x0001, DEF_STR( Hard ) )
|
||||
PORT_DIPSETTING( 0x0000, DEF_STR( Hardest ) )
|
||||
PORT_DIPNAME( 0x0004, 0x0004, "Game Mode" )
|
||||
PORT_DIPNAME( 0x0004, 0x0004, "Game Mode" ) PORT_DIPLOCATION("SW2:3") /* Setting to Multiple results in "ID CHECK ERROR" then hang */
|
||||
PORT_DIPSETTING( 0x0004, DEF_STR( Single ) )
|
||||
PORT_DIPSETTING( 0x0000, "Multiple" )
|
||||
PORT_DIPNAME( 0x0008, 0x0008, "Multi Player" )
|
||||
PORT_DIPSETTING( 0x0008, "Type 1" )
|
||||
PORT_DIPSETTING( 0x0000, "Type 2" )
|
||||
PORT_DIPNAME( 0x0010, 0x0010, DEF_STR( Unknown ) )
|
||||
PORT_DIPSETTING( 0x0010, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
|
||||
PORT_DIPNAME( 0x0020, 0x0020, DEF_STR( Unknown ) )
|
||||
PORT_DIPSETTING( 0x0020, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
|
||||
PORT_DIPNAME( 0x0040, 0x0040, DEF_STR( Unknown ) )
|
||||
PORT_DIPSETTING( 0x0040, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
|
||||
PORT_DIPNAME( 0x0080, 0x0080, DEF_STR( Unknown ) )
|
||||
PORT_DIPSETTING( 0x0080, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
|
||||
PORT_DIPNAME( 0x0008, 0x0008, "Multi Player Mode" ) PORT_DIPLOCATION("SW2:4")
|
||||
PORT_DIPSETTING( 0x0008, "Single or Multi Player" ) PORT_CONDITION("DSW1",0x0004,PORTCOND_EQUALS,0x0000)
|
||||
PORT_DIPSETTING( 0x0000, "Multi Player Game Only" ) PORT_CONDITION("DSW1",0x0004,PORTCOND_EQUALS,0x0000)
|
||||
PORT_DIPSETTING( 0x0008, "Multi Player Off" ) PORT_CONDITION("DSW1",0x0004,PORTCOND_NOTEQUALS,0x0000)
|
||||
PORT_DIPSETTING( 0x0000, "Multi Player Off" ) PORT_CONDITION("DSW1",0x0004,PORTCOND_NOTEQUALS,0x0000)
|
||||
PORT_DIPUNUSED_DIPLOC( 0x0010, 0x0010, "SW2:5" ) /* Listed as "Unused" */
|
||||
PORT_DIPUNUSED_DIPLOC( 0x0020, 0x0020, "SW2:6" ) /* Listed as "Unused" */
|
||||
PORT_DIPUNUSED_DIPLOC( 0x0040, 0x0040, "SW2:7" ) /* Listed as "Unused" */
|
||||
PORT_DIPUNUSED_DIPLOC( 0x0080, 0x0080, "SW2:8" ) /* Listed as "Unused" */
|
||||
|
||||
PORT_START("DSW2")
|
||||
PORT_SERVICE( 0x0100, IP_ACTIVE_LOW )
|
||||
PORT_DIPNAME( 0x0200, 0x0200, DEF_STR( Flip_Screen ) )
|
||||
PORT_SERVICE_DIPLOC( 0x0100, IP_ACTIVE_LOW, "SW3:1" )
|
||||
PORT_DIPNAME( 0x0200, 0x0200, DEF_STR( Flip_Screen ) ) PORT_DIPLOCATION("SW3:2")
|
||||
PORT_DIPSETTING( 0x0200, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
|
||||
PORT_DIPNAME( 0x0400, 0x0000, DEF_STR( Demo_Sounds ) )
|
||||
PORT_DIPNAME( 0x0400, 0x0000, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW3:3")
|
||||
PORT_DIPSETTING( 0x0400, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
|
||||
PORT_DIPNAME( 0x0800, 0x0800, DEF_STR( Unknown ) )
|
||||
PORT_DIPSETTING( 0x0800, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
|
||||
PORT_DIPNAME( 0x1000, 0x1000, DEF_STR( Unknown ) )
|
||||
PORT_DIPSETTING( 0x1000, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
|
||||
PORT_DIPNAME( 0x2000, 0x2000, DEF_STR( Unknown ) )
|
||||
PORT_DIPSETTING( 0x2000, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
|
||||
PORT_DIPNAME( 0x4000, 0x4000, DEF_STR( Unknown ) )
|
||||
PORT_DIPSETTING( 0x4000, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
|
||||
PORT_DIPNAME( 0x8000, 0x8000, DEF_STR( Unknown ) )
|
||||
PORT_DIPSETTING( 0x8000, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
|
||||
PORT_DIPUNUSED_DIPLOC( 0x0800, 0x0800, "SW3:4" ) /* Listed as "Unused" */
|
||||
PORT_DIPUNUSED_DIPLOC( 0x1000, 0x1000, "SW3:5" ) /* Listed as "Unused" */
|
||||
PORT_DIPUNUSED_DIPLOC( 0x2000, 0x2000, "SW3:6" ) /* Listed as "Unused" */
|
||||
PORT_DIPUNUSED_DIPLOC( 0x4000, 0x4000, "SW3:7" ) /* Listed as "Unused" */
|
||||
PORT_DIPUNUSED_DIPLOC( 0x8000, 0x8000, "SW3:8" ) /* Listed as "Unused" */
|
||||
|
||||
PORT_START("DSW3")
|
||||
PORT_DIPNAME( 0x001f, 0x0010, "Country" )
|
||||
PORT_DIPNAME( 0x001f, 0x0010, "Country" ) /* Jumpers?? */
|
||||
PORT_DIPSETTING( 0x0010, DEF_STR( World ) )
|
||||
PORT_DIPSETTING( 0x0001, "USA & Canada" )
|
||||
PORT_DIPSETTING( 0x0000, DEF_STR( Japan ) )
|
||||
|
Loading…
Reference in New Issue
Block a user