summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhap <hap@749742ba-7341-0410-aadc-df50b521781e>2012-05-23 23:08:59 (GMT)
committer hap <hap@749742ba-7341-0410-aadc-df50b521781e>2012-05-23 23:08:59 (GMT)
commitec630dd1e8b8d17b3cefb0fa102c3cd1d364c491 (patch)
treecc2b29d03b657176d3997e1ad1a7938f91b452fb
parentf9e6b121997545a00dcb2d762366187b7b11aac1 (diff)
downloadmame-ec630dd1e8b8d17b3cefb0fa102c3cd1d364c491.zip
mame-ec630dd1e8b8d17b3cefb0fa102c3cd1d364c491.tar.bz2
start buttons and p1 launch button function
git-svn-id: svn://mamedev.org/mame/trunk@16413 749742ba-7341-0410-aadc-df50b521781e
-rw-r--r--src/mame/drivers/flipjack.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/mame/drivers/flipjack.c b/src/mame/drivers/flipjack.c
index 4ab85d5..2b11d3e 100644
--- a/src/mame/drivers/flipjack.c
+++ b/src/mame/drivers/flipjack.c
@@ -212,21 +212,21 @@ static INPUT_PORTS_START( flipjack )
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_COIN1 ) PORT_CHANGED_MEMBER(DEVICE_SELF, flipjack_state, flipjack_coin, 0)
PORT_START("P1")
- PORT_DIPUNKNOWN_DIPLOC( 0x01, 0x01, "P1:1" ) // shoot?
- PORT_DIPUNKNOWN_DIPLOC( 0x02, 0x02, "P1:2" ) // left?
- PORT_DIPUNKNOWN_DIPLOC( 0x04, 0x04, "P1:3" ) // tilt?
- PORT_DIPUNKNOWN_DIPLOC( 0x08, 0x08, "P1:4" ) // right?
- PORT_DIPUNKNOWN_DIPLOC( 0x10, 0x10, "P1:5" ) // start?
+ PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("P1 Launch Ball")
+ PORT_DIPUNKNOWN_DIPLOC( 0x02, 0x02, "P1:2" ) // P1 Left Flipper?
+ PORT_DIPUNKNOWN_DIPLOC( 0x04, 0x04, "P1:3" ) // P1 Tilt?
+ PORT_DIPUNKNOWN_DIPLOC( 0x08, 0x08, "P1:4" ) // P1 Right Flipper?
+ PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_START1 )
PORT_DIPUNKNOWN_DIPLOC( 0x20, 0x20, "P1:6" )
PORT_DIPUNKNOWN_DIPLOC( 0x40, 0x40, "P1:7" )
PORT_DIPUNKNOWN_DIPLOC( 0x80, 0x80, "P1:8" )
PORT_START("P2")
- PORT_DIPUNKNOWN_DIPLOC( 0x01, 0x01, "P2:1" ) // shoot?
- PORT_DIPUNKNOWN_DIPLOC( 0x02, 0x02, "P2:2" ) // left?
- PORT_DIPUNKNOWN_DIPLOC( 0x04, 0x04, "P2:3" ) // tilt?
- PORT_DIPUNKNOWN_DIPLOC( 0x08, 0x08, "P2:4" ) // right?
- PORT_DIPUNKNOWN_DIPLOC( 0x10, 0x10, "P2:5" ) // start?
+ PORT_DIPUNKNOWN_DIPLOC( 0x01, 0x01, "P2:1" ) // P2 Launch Ball?
+ PORT_DIPUNKNOWN_DIPLOC( 0x02, 0x02, "P2:2" ) // P2 Left Flipper?
+ PORT_DIPUNKNOWN_DIPLOC( 0x04, 0x04, "P2:3" ) // P2 Tilt?
+ PORT_DIPUNKNOWN_DIPLOC( 0x08, 0x08, "P2:4" ) // P2 Right Flipper?
+ PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_START2 )
PORT_DIPUNKNOWN_DIPLOC( 0x20, 0x20, "P2:6" )
PORT_DIPUNKNOWN_DIPLOC( 0x40, 0x40, "P2:7" )
PORT_DIPUNKNOWN_DIPLOC( 0x80, 0x80, "P2:8" )
@@ -386,9 +386,9 @@ ROM_START( flipjack )
ROM_LOAD( "cg.l6", 0x0000, 0x2000, CRC(8d87f6b9) SHA1(55ca726f190eac9ee7e26b8f4e519f1634bec0dd) )
ROM_REGION( 0x6000, "gfx2", 0 )
- ROM_LOAD( "r.f6", 0x0000, 0x2000, CRC(8c02fe71) SHA1(148e7382dc9b7678c447ada5ad19e03a3a051a7f) ) // red, "
- ROM_LOAD( "g.d6", 0x2000, 0x2000, CRC(8624d07f) SHA1(fb51c9c785d56854a6530b71868e95ad6be7cbee) ) // green, what for?
- ROM_LOAD( "b.h6", 0x4000, 0x2000, CRC(bbc8fdcc) SHA1(93758ca13cc49b87508f01c86c652155945dd484) ) // blue, "
+ ROM_LOAD( "r.f6", 0x0000, 0x2000, CRC(8c02fe71) SHA1(148e7382dc9b7678c447ada5ad19e03a3a051a7f) )
+ ROM_LOAD( "g.d6", 0x2000, 0x2000, CRC(8624d07f) SHA1(fb51c9c785d56854a6530b71868e95ad6be7cbee) )
+ ROM_LOAD( "b.h6", 0x4000, 0x2000, CRC(bbc8fdcc) SHA1(93758ca13cc49b87508f01c86c652155945dd484) )
ROM_REGION( 0x0100, "proms", 0 )
ROM_LOAD( "m3-7611-5.f8", 0x0000, 0x0100, CRC(f0248102) SHA1(22d87935c941e2e8bba5427599f6fd5fa1262ebc) )