start buttons and p1 launch button function

This commit is contained in:
Michaël Banaan Ananas 2012-05-23 23:08:59 +00:00
parent a3065a0d99
commit efeb630908

View File

@ -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_BIT( 0x01, IP_ACTIVE_HIGH, IPT_COIN1 ) PORT_CHANGED_MEMBER(DEVICE_SELF, flipjack_state, flipjack_coin, 0)
PORT_START("P1") PORT_START("P1")
PORT_DIPUNKNOWN_DIPLOC( 0x01, 0x01, "P1:1" ) // shoot? PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("P1 Launch Ball")
PORT_DIPUNKNOWN_DIPLOC( 0x02, 0x02, "P1:2" ) // left? PORT_DIPUNKNOWN_DIPLOC( 0x02, 0x02, "P1:2" ) // P1 Left Flipper?
PORT_DIPUNKNOWN_DIPLOC( 0x04, 0x04, "P1:3" ) // tilt? PORT_DIPUNKNOWN_DIPLOC( 0x04, 0x04, "P1:3" ) // P1 Tilt?
PORT_DIPUNKNOWN_DIPLOC( 0x08, 0x08, "P1:4" ) // right? PORT_DIPUNKNOWN_DIPLOC( 0x08, 0x08, "P1:4" ) // P1 Right Flipper?
PORT_DIPUNKNOWN_DIPLOC( 0x10, 0x10, "P1:5" ) // start? PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_START1 )
PORT_DIPUNKNOWN_DIPLOC( 0x20, 0x20, "P1:6" ) PORT_DIPUNKNOWN_DIPLOC( 0x20, 0x20, "P1:6" )
PORT_DIPUNKNOWN_DIPLOC( 0x40, 0x40, "P1:7" ) PORT_DIPUNKNOWN_DIPLOC( 0x40, 0x40, "P1:7" )
PORT_DIPUNKNOWN_DIPLOC( 0x80, 0x80, "P1:8" ) PORT_DIPUNKNOWN_DIPLOC( 0x80, 0x80, "P1:8" )
PORT_START("P2") PORT_START("P2")
PORT_DIPUNKNOWN_DIPLOC( 0x01, 0x01, "P2:1" ) // shoot? PORT_DIPUNKNOWN_DIPLOC( 0x01, 0x01, "P2:1" ) // P2 Launch Ball?
PORT_DIPUNKNOWN_DIPLOC( 0x02, 0x02, "P2:2" ) // left? PORT_DIPUNKNOWN_DIPLOC( 0x02, 0x02, "P2:2" ) // P2 Left Flipper?
PORT_DIPUNKNOWN_DIPLOC( 0x04, 0x04, "P2:3" ) // tilt? PORT_DIPUNKNOWN_DIPLOC( 0x04, 0x04, "P2:3" ) // P2 Tilt?
PORT_DIPUNKNOWN_DIPLOC( 0x08, 0x08, "P2:4" ) // right? PORT_DIPUNKNOWN_DIPLOC( 0x08, 0x08, "P2:4" ) // P2 Right Flipper?
PORT_DIPUNKNOWN_DIPLOC( 0x10, 0x10, "P2:5" ) // start? PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_START2 )
PORT_DIPUNKNOWN_DIPLOC( 0x20, 0x20, "P2:6" ) PORT_DIPUNKNOWN_DIPLOC( 0x20, 0x20, "P2:6" )
PORT_DIPUNKNOWN_DIPLOC( 0x40, 0x40, "P2:7" ) PORT_DIPUNKNOWN_DIPLOC( 0x40, 0x40, "P2:7" )
PORT_DIPUNKNOWN_DIPLOC( 0x80, 0x80, "P2:8" ) 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_LOAD( "cg.l6", 0x0000, 0x2000, CRC(8d87f6b9) SHA1(55ca726f190eac9ee7e26b8f4e519f1634bec0dd) )
ROM_REGION( 0x6000, "gfx2", 0 ) ROM_REGION( 0x6000, "gfx2", 0 )
ROM_LOAD( "r.f6", 0x0000, 0x2000, CRC(8c02fe71) SHA1(148e7382dc9b7678c447ada5ad19e03a3a051a7f) ) // red, " ROM_LOAD( "r.f6", 0x0000, 0x2000, CRC(8c02fe71) SHA1(148e7382dc9b7678c447ada5ad19e03a3a051a7f) )
ROM_LOAD( "g.d6", 0x2000, 0x2000, CRC(8624d07f) SHA1(fb51c9c785d56854a6530b71868e95ad6be7cbee) ) // green, what for? ROM_LOAD( "g.d6", 0x2000, 0x2000, CRC(8624d07f) SHA1(fb51c9c785d56854a6530b71868e95ad6be7cbee) )
ROM_LOAD( "b.h6", 0x4000, 0x2000, CRC(bbc8fdcc) SHA1(93758ca13cc49b87508f01c86c652155945dd484) ) // blue, " ROM_LOAD( "b.h6", 0x4000, 0x2000, CRC(bbc8fdcc) SHA1(93758ca13cc49b87508f01c86c652155945dd484) )
ROM_REGION( 0x0100, "proms", 0 ) ROM_REGION( 0x0100, "proms", 0 )
ROM_LOAD( "m3-7611-5.f8", 0x0000, 0x0100, CRC(f0248102) SHA1(22d87935c941e2e8bba5427599f6fd5fa1262ebc) ) ROM_LOAD( "m3-7611-5.f8", 0x0000, 0x0100, CRC(f0248102) SHA1(22d87935c941e2e8bba5427599f6fd5fa1262ebc) )