Previous 199869 Revisions Next

r31588 Sunday 10th August, 2014 at 07:41:27 UTC by Brian Troha
metro.c: Add dipswitch locations to the Varia Metal sets. [Brian Troha]
[src/mame/drivers]metro.c

trunk/src/mame/drivers/metro.c
r31587r31588
34553455
34563456   PORT_START("DSW0")
34573457   // DSW1, stored at 0xff0085.b (cpl'ed)
3458   PORT_DIPNAME( 0x0007, 0x0007, DEF_STR( Coinage ) )
3458   PORT_DIPNAME( 0x0007, 0x0007, DEF_STR( Coinage ) )   PORT_DIPLOCATION("SW1:1,2,3")
34593459   PORT_DIPSETTING(      0x0005, DEF_STR( 3C_1C )  )
34603460   PORT_DIPSETTING(      0x0006, DEF_STR( 2C_1C )  )
34613461   PORT_DIPSETTING(      0x0007, DEF_STR( 1C_1C )  )
r31587r31588
34643464   PORT_DIPSETTING(      0x0002, DEF_STR( 1C_4C )  )
34653465   PORT_DIPSETTING(      0x0001, DEF_STR( 1C_5C )  )
34663466   PORT_DIPSETTING(      0x0000, DEF_STR( 1C_6C )  )
3467   PORT_DIPUNUSED( 0x0008, IP_ACTIVE_LOW )                 /* 0x01 (OFF) or 0x02 (ON) written to 0xff0112.b but NEVER read back - old credits for 2 players game ? */
3468   PORT_DIPNAME( 0x0010, 0x0010, DEF_STR( Flip_Screen ) )  /* 0x07c1 written to 0x1788ac.w (screen control ?) at first (code at 0x0001b8) */
3467   PORT_DIPUNUSED_DIPLOC( 0x0008, IP_ACTIVE_LOW, "SW1:4" ) /* 0x01 (OFF) or 0x02 (ON) written to 0xff0112.b but NEVER read back - old credits for 2 players game ? */
3468   PORT_DIPNAME( 0x0010, 0x0010, DEF_STR( Flip_Screen ) )   PORT_DIPLOCATION("SW1:5")  /* 0x07c1 written to 0x1788ac.w (screen control ?) at first (code at 0x0001b8) */
34693469   PORT_DIPSETTING(      0x0010, DEF_STR( Off ) )          /* 0x07c1 written to 0xff0114.w (then 0x1788ac.w) during initialisation (code at 0x000436) */
34703470   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )           /* 0x07c0 written to 0xff0114.w (then 0x1788ac.w) during initialisation (code at 0x000436) */
3471   PORT_DIPNAME( 0x0020, 0x0020, DEF_STR( Demo_Sounds ) )
3471   PORT_DIPNAME( 0x0020, 0x0020, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW1:6")
34723472   PORT_DIPSETTING(      0x0000, DEF_STR( Off ) )
34733473   PORT_DIPSETTING(      0x0020, DEF_STR( On ) )
3474   PORT_DIPUNUSED( 0x0040, IP_ACTIVE_LOW )
3475   PORT_DIPUNUSED( 0x0080, IP_ACTIVE_LOW )
3474   PORT_DIPUNUSED_DIPLOC( 0x0040, IP_ACTIVE_LOW, "SW1:7" )
3475   PORT_DIPUNUSED_DIPLOC( 0x0080, IP_ACTIVE_LOW, "SW1:8" )
34763476
34773477   PORT_START("IN2")
34783478   // DSW2, stored at 0xff0084.b (cpl'ed)
3479   PORT_DIPNAME( 0x0003, 0x0003, DEF_STR( Difficulty ) )
3479   PORT_DIPNAME( 0x0003, 0x0003, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW2:1,2")
34803480   PORT_DIPSETTING(      0x0002, DEF_STR( Easy ) )
34813481   PORT_DIPSETTING(      0x0003, DEF_STR( Normal ) )
34823482   PORT_DIPSETTING(      0x0001, DEF_STR( Hard ) )
34833483   PORT_DIPSETTING(      0x0000, DEF_STR( Hardest ) )
3484   PORT_DIPNAME( 0x000c, 0x000c, DEF_STR( Lives ) )
3484   PORT_DIPNAME( 0x000c, 0x000c, DEF_STR( Lives ) )   PORT_DIPLOCATION("SW2:3,4")
34853485   PORT_DIPSETTING(      0x0008, "1"  )
34863486   PORT_DIPSETTING(      0x0004, "2"  )
34873487   PORT_DIPSETTING(      0x000c, "3"  )
34883488   PORT_DIPSETTING(      0x0000, "4"  )
3489   PORT_DIPNAME( 0x0010, 0x0010, DEF_STR( Bonus_Life ) )   /* code at 0x0004a4 */
3489   PORT_DIPNAME( 0x0010, 0x0010, DEF_STR( Bonus_Life ) )   PORT_DIPLOCATION("SW2:5")   /* code at 0x0004a4 */
34903490   PORT_DIPSETTING(      0x0010, "Every 30000" )
34913491   PORT_DIPSETTING(      0x0000, "Every 60000" )
3492   PORT_DIPUNUSED( 0x0020, IP_ACTIVE_LOW )
3493   PORT_DIPUNUSED( 0x0040, IP_ACTIVE_LOW )
3494   PORT_SERVICE( 0x0080, IP_ACTIVE_LOW )
3492   PORT_DIPUNUSED_DIPLOC( 0x0020, IP_ACTIVE_LOW, "SW2:6" )
3493   PORT_DIPUNUSED_DIPLOC( 0x0040, IP_ACTIVE_LOW, "SW2:7" )
3494   PORT_SERVICE_DIPLOC(  0x0080, IP_ACTIVE_LOW, "SW2:8" )
34953495INPUT_PORTS_END
34963496
34973497

Previous 199869 Revisions Next


© 1997-2024 The MAME Team