diff options
author | Michaël Banaan Ananas <happppp@users.noreply.github.com> | 2012-12-15 17:41:23 +0000 |
---|---|---|
committer | Michaël Banaan Ananas <happppp@users.noreply.github.com> | 2012-12-15 17:41:23 +0000 |
commit | 7a9891c9f67de1edd58d84e2a485b9656f70f150 (patch) | |
tree | 2619e6057cf6c6d12d4cb0ba4b4570b24ee0789a | |
parent | ea1c27733896e8d32a71ab7e0aafe06e669ec79d (diff) |
spclaser dipswitch info from gregf
-rw-r--r-- | src/mame/drivers/8080bw.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/mame/drivers/8080bw.c b/src/mame/drivers/8080bw.c index 4d706d3de73..e7829733e16 100644 --- a/src/mame/drivers/8080bw.c +++ b/src/mame/drivers/8080bw.c @@ -870,6 +870,26 @@ static INPUT_PORTS_START( spclaser ) PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT ) PORT_2WAY PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNKNOWN ) + // TODO: figure out where dipswitch is read, it's not IN0 or IN2 in the current implementation +#if 0 + // these are the settings according to Gameplan Intruder manual + PORT_DIPNAME( 0x03, 0x02, DEF_STR( Lives ) ) PORT_DIPLOCATION("SW1:1,2") + PORT_DIPSETTING( 0x00, "3" ) + PORT_DIPSETTING( 0x01, "4" ) + PORT_DIPSETTING( 0x02, "5" ) + PORT_DIPSETTING( 0x03, "6" ) + PORT_SERVICE_DIPLOC( 0x04, IP_ACTIVE_LOW, "SW1:3" ) + PORT_DIPNAME( 0x08, 0x08, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("SW1:4") + PORT_DIPSETTING( 0x08, "1000" ) + PORT_DIPSETTING( 0x00, "1500" ) + PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_UNKNOWN ) + PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNKNOWN ) + PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNKNOWN ) + PORT_DIPNAME( 0x80, 0x80, "Display Coinage" ) PORT_DIPLOCATION("SW:8") + PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) + PORT_DIPSETTING( 0x00, DEF_STR( On ) ) +#endif + PORT_START("IN2") PORT_DIPUNKNOWN_DIPLOC( 0x01, 0x00, "SW1:1" ) PORT_DIPUNKNOWN_DIPLOC( 0x02, 0x00, "SW1:2" ) |