From d1034ed2c74ae0da6c041a46790997ce2be3fe89 Mon Sep 17 00:00:00 2001 From: David Haywood Date: Tue, 22 Sep 2015 18:42:05 +0100 Subject: [PATCH] map some inputs and declare that one working. now if only the other made a bit more sense.. --- src/mame/drivers/scobra.c | 75 +++++++++++++++++++++++++++++++++++---- 1 file changed, 69 insertions(+), 6 deletions(-) diff --git a/src/mame/drivers/scobra.c b/src/mame/drivers/scobra.c index 3bdb3dfa14d..5c4ae2f29be 100644 --- a/src/mame/drivers/scobra.c +++ b/src/mame/drivers/scobra.c @@ -242,17 +242,12 @@ static ADDRESS_MAP_START( minefldfe_map, AS_PROGRAM, 8, scobra_state ) AM_RANGE(0x0c60, 0x0c7f) AM_RAM AM_SHARE("bulletsram") // ok AM_RANGE(0x0c80, 0x17ff) AM_RAM - AM_RANGE(0x2200, 0x3fff) AM_ROM // ok AM_RANGE(0x5800, 0x6dff) AM_ROM AM_RANGE(0x8a00, 0x91ff) AM_ROM - - - AM_RANGE(0x4200, 0x45ff) AM_RAM_WRITE(galaxold_videoram_w) AM_SHARE("videoram") // ok - AM_RANGE(0x7621, 0x7621) AM_WRITE(galaxold_nmi_enable_w) // a801 AM_RANGE(0x7673, 0x7673) AM_WRITE(scrambold_background_enable_w) // a083 AM_RANGE(0x7704, 0x7704) AM_WRITE(galaxold_stars_enable_w) // a804 @@ -607,6 +602,61 @@ static INPUT_PORTS_START( minefld ) PORT_DIPSETTING( 0x00, DEF_STR( On ) ) INPUT_PORTS_END +// doesn't seem to have a 'starting level' dipswitch, probably has difficult tho? +static INPUT_PORTS_START( minefldfe ) + PORT_START("IN0") + PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICKRIGHT_UP ) PORT_8WAY // fire up + PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON1 ) // bomb + PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) ) + PORT_DIPSETTING( 0x04, DEF_STR( Off ) ) + PORT_DIPSETTING( 0x00, DEF_STR( On ) ) + PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) ) + PORT_DIPSETTING( 0x08, DEF_STR( Off ) ) + PORT_DIPSETTING( 0x00, DEF_STR( On ) ) + PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICKLEFT_RIGHT ) PORT_8WAY + PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICKLEFT_LEFT ) PORT_8WAY + PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 ) + PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 ) + + PORT_START("IN1") + PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) ) + PORT_DIPSETTING( 0x01, DEF_STR( Off ) ) + PORT_DIPSETTING( 0x00, DEF_STR( On ) ) + PORT_DIPNAME( 0x02, 0x00, DEF_STR( Demo_Sounds ) ) // also credit sound! + PORT_DIPSETTING( 0x02, DEF_STR( Off ) ) + PORT_DIPSETTING( 0x00, DEF_STR( On ) ) + PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) ) + PORT_DIPSETTING( 0x04, DEF_STR( Off ) ) + PORT_DIPSETTING( 0x00, DEF_STR( On ) ) + PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) ) + PORT_DIPSETTING( 0x08, DEF_STR( Off ) ) + PORT_DIPSETTING( 0x00, DEF_STR( On ) ) + PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICKRIGHT_RIGHT ) PORT_8WAY + PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICKRIGHT_LEFT ) PORT_8WAY + PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START2 ) + PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START1 ) + + PORT_START("IN2") + PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICKRIGHT_DOWN ) PORT_8WAY // fire down + PORT_DIPNAME( 0x02, 0x00, DEF_STR( Coinage ) ) + PORT_DIPSETTING( 0x00, "Coin A 1/1 Coin B 1/10" ) + PORT_DIPSETTING( 0x02, "Coin A 2/1 Coin B 1/3" ) + PORT_DIPNAME( 0x0c, 0x08, DEF_STR( Lives ) ) + PORT_DIPSETTING( 0x0c, "2" ) + PORT_DIPSETTING( 0x08, "3" ) + PORT_DIPSETTING( 0x04, "4" ) + PORT_DIPSETTING( 0x00, "5" ) + + PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICKLEFT_UP ) PORT_8WAY // move up + PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) ) + PORT_DIPSETTING( 0x20, DEF_STR( Off ) ) + PORT_DIPSETTING( 0x00, DEF_STR( On ) ) + PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICKLEFT_DOWN ) PORT_8WAY // move down + PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) ) + PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) + PORT_DIPSETTING( 0x00, DEF_STR( On ) ) +INPUT_PORTS_END + static INPUT_PORTS_START( hustler ) PORT_START("IN0") @@ -1164,6 +1214,19 @@ Both are missing the top sound PCB. */ +/* the 'Minefield' shop shows a Logicshop copyright, and a phone number with a Great Yarmouth area code + which seems to indicate the following manufacturer / operator. + + The Logicshop (Great Yarmouth) + Caesar's Arcade + Beach Rd + Hemsby + Great Yarmouth + Norfolk + NR29 4HS + +*/ + ROM_START( minefldfe ) ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASEFF ) @@ -1390,7 +1453,7 @@ GAME( 1982, aponow, rescue, rescue, rescue, scramble_state, rescue, GAME( 1982, rescuefe, rescue, rescuefe, rescue, driver_device, 0, ROT90, "bootleg (Free Enterprise Games)", "Rescue (Free Enterprise Games, bootleg)", MACHINE_NOT_WORKING | MACHINE_SUPPORTS_SAVE ) GAME( 1983, minefld, 0, minefld, minefld, scramble_state, minefld, ROT90, "Stern Electronics", "Minefield", MACHINE_SUPPORTS_SAVE ) -GAME( 1983, minefldfe, minefld, minefldfe, minefld, driver_device, 0, ROT90, "bootleg (The LogicShop)", "Minefield (The LogicShop, bootleg)", MACHINE_SUPPORTS_SAVE | MACHINE_NOT_WORKING ) // The LogicShop aka Free Enterprise Games? +GAME( 1983, minefldfe, minefld, minefldfe, minefldfe, driver_device, 0, ROT90, "bootleg (The Logicshop)", "Minefield (The Logicshop, bootleg)", MACHINE_SUPPORTS_SAVE ) // The Logicshop ('licensed' from Free Enterprise Games? GAME( 1981, hustler, 0, hustler, hustler, scramble_state, hustler, ROT90, "Konami", "Video Hustler", MACHINE_SUPPORTS_SAVE ) GAME( 1981, hustlerd, hustler, hustler, hustler, scramble_state, hustlerd, ROT90, "Konami (Dynamo Games license)", "Video Hustler (Dynamo Games)", MACHINE_SUPPORTS_SAVE )