diff options
author | Brian Troha <briantro@users.noreply.github.com> | 2008-06-26 23:51:49 +0000 |
---|---|---|
committer | Brian Troha <briantro@users.noreply.github.com> | 2008-06-26 23:51:49 +0000 |
commit | a2c68b589fa21c5f844ebb03ced290c1bffd4292 (patch) | |
tree | c6e3a4dd29c7214413d197ac0a5d8965f14ec0fc | |
parent | 9ba06ea183e1d95f24e0588157103d33b7210d7e (diff) |
Flower updates:
Fixed dip switches and added dip locations
Changed game name from flower --> flowerk (Flower (Komax)
Changed game name from flowerbl --> flower (Flower (Sega/Alpha) and is the new parent
Added a little info to driver about the oficial Sega game number
-rw-r--r-- | src/mame/drivers/flower.c | 74 | ||||
-rw-r--r-- | src/mame/mamedriv.c | 4 |
2 files changed, 44 insertions, 34 deletions
diff --git a/src/mame/drivers/flower.c b/src/mame/drivers/flower.c index 2d7a2fee38c..542830e83eb 100644 --- a/src/mame/drivers/flower.c +++ b/src/mame/drivers/flower.c @@ -1,6 +1,15 @@ -/* Flower (c)1986 Komax +/* + +Flower (c)1986 Sega/Alpha (Sega game number 834-5998) + (c)1986 Komax (licensed or sold to?) + - Driver by InsideOutBoy +There is a PCB picture that shows two stickers, the first + says "Flower (c) 1986 Clarue" while the second one + is an original serial number tag also showing "Clarue" + + todo: fix sound @@ -132,24 +141,24 @@ static INPUT_PORTS_START( flower ) PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_START1 ) PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_START2 ) - PORT_DIPNAME( 0x08, 0x08, DEF_STR( Difficulty ) ) - PORT_DIPSETTING( 0x08, DEF_STR( Easy ) ) - PORT_DIPSETTING( 0x00, DEF_STR( Hard ) ) - PORT_DIPNAME( 0x10, 0x10, "Invulnerability (Cheat)") + PORT_DIPNAME( 0x08, 0x08, "Energy Decrease" ) PORT_DIPLOCATION("SW2:4") + PORT_DIPSETTING( 0x08, "Slow" ) + PORT_DIPSETTING( 0x00, "Fast" ) + PORT_DIPNAME( 0x10, 0x10, "Invulnerability (Cheat)") PORT_DIPLOCATION("SW2:5") PORT_DIPSETTING( 0x10, DEF_STR( Off ) ) PORT_DIPSETTING( 0x00, DEF_STR( On ) ) - PORT_DIPNAME( 0x20, 0x00, "Keep Items on Life Loss" ) // check code at 0x74a2 + PORT_DIPNAME( 0x20, 0x00, "Keep Weapon Items When Destroyed" ) PORT_DIPLOCATION("SW2:6") /* check code at 0x74a2 */ PORT_DIPSETTING( 0x20, DEF_STR( No ) ) PORT_DIPSETTING( 0x00, DEF_STR( Yes ) ) - PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unused ) ) - PORT_DIPSETTING( 0x40, DEF_STR( Off ) ) - PORT_DIPSETTING( 0x00, DEF_STR( On ) ) - PORT_DIPNAME( 0x80, 0x80, "Shot Range" ) // check code at 0x75f9 - PORT_DIPSETTING( 0x80, DEF_STR( Medium ) ) + PORT_DIPNAME( 0x40, 0x40, "Enemy Bullets" ) PORT_DIPLOCATION("SW2:7") + PORT_DIPSETTING( 0x40, "Less" ) + PORT_DIPSETTING( 0x00, "More" ) + PORT_DIPNAME( 0x80, 0x80, "Shot Range" ) PORT_DIPLOCATION("SW2:8") /* check code at 0x75f9 */ + PORT_DIPSETTING( 0x80, "Short" ) PORT_DIPSETTING( 0x00, "Long" ) PORT_START_TAG("IN1CPU0") - PORT_DIPNAME( 0x07, 0x05, DEF_STR( Lives ) ) // what should be the default value ? + PORT_DIPNAME( 0x07, 0x05, DEF_STR( Lives ) ) PORT_DIPLOCATION("SW1:1,2,3") /* what should be the default value ? */ PORT_DIPSETTING( 0x07, "1" ) PORT_DIPSETTING( 0x06, "2" ) PORT_DIPSETTING( 0x05, "3" ) @@ -158,29 +167,29 @@ static INPUT_PORTS_START( flower ) PORT_DIPSETTING( 0x02, "6" ) PORT_DIPSETTING( 0x01, "7" ) PORT_DIPSETTING( 0x00, "Infinite (Cheat)") - PORT_DIPNAME( 0x18, 0x18, DEF_STR( Coinage ) ) + PORT_DIPNAME( 0x18, 0x18, DEF_STR( Coinage ) ) PORT_DIPLOCATION("SW1:4,5") PORT_DIPSETTING( 0x00, DEF_STR( 3C_1C ) ) PORT_DIPSETTING( 0x08, DEF_STR( 2C_1C ) ) PORT_DIPSETTING( 0x18, DEF_STR( 1C_1C ) ) PORT_DIPSETTING( 0x10, DEF_STR( 1C_2C ) ) - PORT_DIPNAME( 0x20, 0x00, DEF_STR( Cabinet ) ) // check code at 0x759f + PORT_DIPNAME( 0x20, 0x00, DEF_STR( Cabinet ) ) PORT_DIPLOCATION("SW1:6") /* check code at 0x759f */ PORT_DIPSETTING( 0x00, DEF_STR( Upright ) ) PORT_DIPSETTING( 0x20, DEF_STR( Cocktail ) ) - PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unused ) ) + PORT_DIPNAME( 0x40, 0x00, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW1:7") PORT_DIPSETTING( 0x40, DEF_STR( Off ) ) PORT_DIPSETTING( 0x00, DEF_STR( On ) ) - PORT_DIPNAME( 0x80, 0x80, DEF_STR( Bonus_Life ) ) - PORT_DIPSETTING( 0x80, "30k, 80k then every 50k" ) - PORT_DIPSETTING( 0x00, "50k, 130k then every 80k" ) + PORT_DIPNAME( 0x80, 0x80, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("SW1:8") + PORT_DIPSETTING( 0x80, "30k, then every 50k" ) + PORT_DIPSETTING( 0x00, "50k, then every 80k" ) PORT_START_TAG("IN0CPU1") PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) - PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("P1 Fire") // Fire (normal or laser) - PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("P1 Missile") // Missile - PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("P1 Cutter") // Cutter + PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("P1 Fire") + PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("P1 Missile") + PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("P1 Cutter") PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_START_TAG("IN1CPU1") @@ -188,9 +197,9 @@ static INPUT_PORTS_START( flower ) PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_COCKTAIL PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_COCKTAIL PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_COCKTAIL - PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_COCKTAIL PORT_NAME("P2 Fire")// Fire (normal or laser) - PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_COCKTAIL PORT_NAME("P2 Missile")// Missile - PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_COCKTAIL PORT_NAME("P2 Cutter")// Cutter + PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_COCKTAIL PORT_NAME("P2 Fire") + PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_COCKTAIL PORT_NAME("P2 Missile") + PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_COCKTAIL PORT_NAME("P2 Cutter") PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) INPUT_PORTS_END @@ -269,9 +278,10 @@ static MACHINE_DRIVER_START( flower ) MACHINE_DRIVER_END -ROM_START( flower ) + +ROM_START( flower ) /* Sega/Alpha version. Sega game number 834-5998 */ ROM_REGION( 0x10000, REGION_CPU1, 0 ) /* main cpu */ - ROM_LOAD( "1.5j", 0x0000, 0x8000, CRC(a4c3af78) SHA1(d149b0e0d82318273dd9cc5a143b175cdc818d0d) ) + ROM_LOAD( "1", 0x0000, 0x8000, CRC(63a2ef04) SHA1(0770f5a18d58b780abcda7e000c2a5e46f96d319) ) ROM_REGION( 0x10000, REGION_CPU2, 0 ) /* sub cpu */ ROM_LOAD( "2.5f", 0x0000, 0x8000, CRC(7c7ee2d8) SHA1(1e67bfe0f3585be5a6e6719ccf9db764bafbcb01) ) @@ -292,7 +302,7 @@ ROM_START( flower ) ROM_LOAD( "8.10e", 0x0000, 0x2000, CRC(f85eb20f) SHA1(699edc970c359143dee6de2a97cc2a552454785b) ) ROM_LOAD( "6.7e", 0x2000, 0x2000, CRC(3e97843f) SHA1(4e4e5625dbf78eca97536b1428b2e49ad58c618f) ) ROM_LOAD( "9.12e", 0x4000, 0x2000, CRC(f1d9915e) SHA1(158e1cc8c402f9ae3906363d99f2b25c94c64212) ) - ROM_LOAD( "15.9e", 0x6000, 0x2000, CRC(1cad9f72) SHA1(c38dbea266246ed4d47d12bdd8f9fae22a5f8bb8) ) + ROM_LOAD( "7.9e", 0x6000, 0x2000, CRC(e350f36c) SHA1(f97204dc95b4000c268afc053a2333c1629e07d8) ) ROM_REGION( 0x8000, REGION_SOUND1, 0 ) ROM_LOAD( "4.12a", 0x0000, 0x8000, CRC(851ed9fd) SHA1(5dc048b612e45da529502bf33d968737a7b0a646) ) /* 8-bit samples */ @@ -312,9 +322,9 @@ ROM_START( flower ) ROM_LOAD( "82s129.a1", 0x0420, 0x0100, CRC(c8dad3fc) SHA1(8e852efac70223d02e45b20ed8a12e38c5010a78) ) ROM_END -ROM_START( flowerbl ) +ROM_START( flowerk ) /* Komax version */ ROM_REGION( 0x10000, REGION_CPU1, 0 ) /* main cpu */ - ROM_LOAD( "1", 0x0000, 0x8000, CRC(63a2ef04) SHA1(0770f5a18d58b780abcda7e000c2a5e46f96d319) ) + ROM_LOAD( "1.5j", 0x0000, 0x8000, CRC(a4c3af78) SHA1(d149b0e0d82318273dd9cc5a143b175cdc818d0d) ) ROM_REGION( 0x10000, REGION_CPU2, 0 ) /* sub cpu */ ROM_LOAD( "2.5f", 0x0000, 0x8000, CRC(7c7ee2d8) SHA1(1e67bfe0f3585be5a6e6719ccf9db764bafbcb01) ) @@ -335,7 +345,7 @@ ROM_START( flowerbl ) ROM_LOAD( "8.10e", 0x0000, 0x2000, CRC(f85eb20f) SHA1(699edc970c359143dee6de2a97cc2a552454785b) ) ROM_LOAD( "6.7e", 0x2000, 0x2000, CRC(3e97843f) SHA1(4e4e5625dbf78eca97536b1428b2e49ad58c618f) ) ROM_LOAD( "9.12e", 0x4000, 0x2000, CRC(f1d9915e) SHA1(158e1cc8c402f9ae3906363d99f2b25c94c64212) ) - ROM_LOAD( "7", 0x6000, 0x2000, CRC(e350f36c) SHA1(f97204dc95b4000c268afc053a2333c1629e07d8) ) + ROM_LOAD( "15.9e", 0x6000, 0x2000, CRC(1cad9f72) SHA1(c38dbea266246ed4d47d12bdd8f9fae22a5f8bb8) ) ROM_REGION( 0x8000, REGION_SOUND1, 0 ) ROM_LOAD( "4.12a", 0x0000, 0x8000, CRC(851ed9fd) SHA1(5dc048b612e45da529502bf33d968737a7b0a646) ) /* 8-bit samples */ @@ -356,5 +366,5 @@ ROM_START( flowerbl ) ROM_END -GAME( 1986, flower, 0, flower, flower, 0, ROT0, "Komax", "Flower", GAME_IMPERFECT_SOUND ) -GAME( 1986, flowerbl, flower, flower, flower, 0, ROT0, "bootleg", "Flower (bootleg)", GAME_IMPERFECT_SOUND ) +GAME( 1986, flower, 0, flower, flower, 0, ROT0, "Sega/Alpha", "Flower (Sega/Alpha)", GAME_IMPERFECT_SOUND ) +GAME( 1986, flowerk, flower, flower, flower, 0, ROT0, "Komax", "Flower (Komax)", GAME_IMPERFECT_SOUND ) diff --git a/src/mame/mamedriv.c b/src/mame/mamedriv.c index 0311e000387..85bde552658 100644 --- a/src/mame/mamedriv.c +++ b/src/mame/mamedriv.c @@ -7678,8 +7678,8 @@ Other Sun games DRIVER( fitfight ) /* bootleg of Art of Fighting */ DRIVER( histryma ) /* bootleg of Fighter's History */ DRIVER( bbprot ) /* unfinished prototype */ - DRIVER( flower ) /* (c) 1986 Komax */ - DRIVER( flowerbl ) /* bootleg but (c) 1986 Sega/Alpha */ + DRIVER( flower ) /* (c) 1986 Sega/Alpha */ + DRIVER( flowerk ) /* (c) 1986 Komax */ DRIVER( beaminv ) /* Tekunon Kougyou */ DRIVER( beaminva ) /* Tekunon Kougyou */ DRIVER( mcatadv ) /* (c) 1993 Wintechno */ |