summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2009-01-15 07:49:10 +0000
committer Aaron Giles <aaron@aarongiles.com>2009-01-15 07:49:10 +0000
commit3579be89559d60f8825d0453c5344632faf5b8af (patch)
treedf6edca82a6d1dccba2cd93cdec50dff1572780d /src
parent6ea9ca05895547064a789f42aad5c1affcfd435a (diff)
From: abcd efgh [cix_999@yahoo.it]
Sent: Tuesday, January 13, 2009 2:20 PM To: submit@mamedev.org Subject: megasys1 Big input Clean Hi Folk I returned wit a tough work (for me!), i've maed a big input clean up in the drive (they were a lot messy), now all looks more tidy ;-) - Delete input port definition in "includes/megasys1.h" - Added generic input in megasys1.c - General input clean Bye Sonikos
Diffstat (limited to 'src')
-rw-r--r--src/mame/drivers/megasys1.c2192
-rw-r--r--src/mame/includes/megasys1.h142
2 files changed, 1010 insertions, 1324 deletions
diff --git a/src/mame/drivers/megasys1.c b/src/mame/drivers/megasys1.c
index bbebad2e280..7c882c36a70 100644
--- a/src/mame/drivers/megasys1.c
+++ b/src/mame/drivers/megasys1.c
@@ -147,13 +147,11 @@ static MACHINE_RESET( megasys1_hachoo )
-/*
-**
-** Main cpu data
-**
-**
-*/
-
+/*************************************
+ *
+ * Main CPU memory handlers
+ *
+ *************************************/
/***************************************************************************
[ Main CPU - System A / Z ]
@@ -369,14 +367,11 @@ static ADDRESS_MAP_START( writemem_D, ADDRESS_SPACE_PROGRAM, 16 )
ADDRESS_MAP_END
-
-
-/*
-**
-** Sound cpu data
-**
-**
-*/
+/*************************************
+ *
+ * Sound CPU memory handlers
+ *
+ *************************************/
/*
[ Sound CPU interrupts ]
@@ -537,7 +532,941 @@ static ADDRESS_MAP_START( sound_io_map, ADDRESS_SPACE_IO, 8 )
ADDRESS_MAP_END
+/*************************************
+ *
+ * Generic port definitions
+ *
+ *************************************/
+
+static INPUT_PORTS_START( megasys1_generic )
+ PORT_START("SYSTEM")
+ PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_START1 )
+ PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_START2 )
+ PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_UNKNOWN )
+ PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_UNKNOWN )
+ PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_UNKNOWN )
+ PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_SERVICE1 )
+ PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_COIN1 )
+ PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_COIN2 )
+ PORT_BIT( 0xff00, IP_ACTIVE_LOW, IPT_UNKNOWN )
+
+ PORT_START("P1")
+ PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(1)
+ PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(1)
+ PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(1)
+ PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(1)
+ PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(1)
+ PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(1)
+ PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_UNKNOWN )
+ PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_UNKNOWN )
+
+ PORT_START("P2")
+ PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_PLAYER(2)
+ PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(2)
+ PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_PLAYER(2)
+ PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_PLAYER(2)
+ PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(2)
+ PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(2)
+ PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_UNKNOWN )
+ PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_UNKNOWN )
+ PORT_BIT( 0x0100, IP_ACTIVE_LOW, IPT_UNKNOWN ) /* Reserve 1P */
+ PORT_BIT( 0x0200, IP_ACTIVE_LOW, IPT_UNKNOWN )
+ PORT_BIT( 0x0400, IP_ACTIVE_LOW, IPT_UNKNOWN )
+ PORT_BIT( 0x0800, IP_ACTIVE_LOW, IPT_UNKNOWN )
+ PORT_BIT( 0x1000, IP_ACTIVE_LOW, IPT_UNKNOWN ) /* Reserve 2P */
+ PORT_BIT( 0x2000, IP_ACTIVE_LOW, IPT_UNKNOWN )
+ PORT_BIT( 0x4000, IP_ACTIVE_LOW, IPT_UNKNOWN )
+ PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_UNKNOWN )
+INPUT_PORTS_END
+
+/* Coinage DSWs */
+// 1] 01-41 02-31 03-21 07-11 06-12 05-13 04-14 00-FC * 2
+// 2] 04-31 02-21 07-11 03-12 05-13 01-14 06-15 00-FC
+// 00-41 20-31 10-21 38-11 18-12 28-13 08-14 30-15
+
+#define COINAGE_8BITS \
+ PORT_DIPNAME( 0x000f, 0x000f, DEF_STR( Coin_A ) )\
+ PORT_DIPSETTING( 0x0007, DEF_STR( 4C_1C ) )\
+ PORT_DIPSETTING( 0x0008, DEF_STR( 3C_1C ) )\
+ PORT_DIPSETTING( 0x0009, DEF_STR( 2C_1C ) )\
+ PORT_DIPSETTING( 0x000f, DEF_STR( 1C_1C ) )\
+/* PORT_DIPSETTING( 0x0005, DEF_STR( 1C_1C ) )*/\
+/* PORT_DIPSETTING( 0x0004, DEF_STR( 1C_1C ) )*/\
+/* PORT_DIPSETTING( 0x0003, DEF_STR( 1C_1C ) )*/\
+/* PORT_DIPSETTING( 0x0002, DEF_STR( 1C_1C ) )*/\
+/* PORT_DIPSETTING( 0x0001, DEF_STR( 1C_1C ) )*/\
+ PORT_DIPSETTING( 0x0006, DEF_STR( 2C_3C ) )\
+ PORT_DIPSETTING( 0x000e, DEF_STR( 1C_2C ) )\
+ PORT_DIPSETTING( 0x000d, DEF_STR( 1C_3C ) )\
+ PORT_DIPSETTING( 0x000c, DEF_STR( 1C_4C ) )\
+ PORT_DIPSETTING( 0x000b, DEF_STR( 1C_5C ) )\
+ PORT_DIPSETTING( 0x000a, DEF_STR( 1C_6C ) )\
+ PORT_DIPSETTING( 0x0000, DEF_STR( Free_Play ) )\
+ PORT_DIPNAME( 0x00f0, 0x00f0, DEF_STR( Coin_B ) )\
+ PORT_DIPSETTING( 0x0070, DEF_STR( 4C_1C ) )\
+ PORT_DIPSETTING( 0x0080, DEF_STR( 3C_1C ) )\
+ PORT_DIPSETTING( 0x0090, DEF_STR( 2C_1C ) )\
+ PORT_DIPSETTING( 0x00f0, DEF_STR( 1C_1C ) )\
+/* PORT_DIPSETTING( 0x0050, DEF_STR( 1C_1C ) )*/\
+/* PORT_DIPSETTING( 0x0040, DEF_STR( 1C_1C ) )*/\
+/* PORT_DIPSETTING( 0x0030, DEF_STR( 1C_1C ) )*/\
+/* PORT_DIPSETTING( 0x0020, DEF_STR( 1C_1C ) )*/\
+/* PORT_DIPSETTING( 0x0010, DEF_STR( 1C_1C ) )*/\
+ PORT_DIPSETTING( 0x0060, DEF_STR( 2C_3C ) )\
+ PORT_DIPSETTING( 0x00e0, DEF_STR( 1C_2C ) )\
+ PORT_DIPSETTING( 0x00d0, DEF_STR( 1C_3C ) )\
+ PORT_DIPSETTING( 0x00c0, DEF_STR( 1C_4C ) )\
+ PORT_DIPSETTING( 0x00b0, DEF_STR( 1C_5C ) )\
+ PORT_DIPSETTING( 0x00a0, DEF_STR( 1C_6C ) )\
+ PORT_DIPSETTING( 0x0000, DEF_STR( Free_Play ) )
+
+/*************************************
+ *
+ * Game-specific port definitions
+ *
+ *************************************/
+
+static INPUT_PORTS_START( 64street )
+ PORT_INCLUDE( megasys1_generic )
+
+ PORT_START("DSW1")
+ COINAGE_8BITS
+
+ PORT_START("DSW2")
+ PORT_DIPNAME( 0x0001, 0x0001, DEF_STR( Flip_Screen ) )
+ PORT_DIPSETTING( 0x0001, DEF_STR( Off ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
+ PORT_DIPNAME( 0x0002, 0x0000, DEF_STR( Demo_Sounds ) )
+ PORT_DIPSETTING( 0x0002, DEF_STR( Off ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
+ PORT_DIPNAME( 0x0004, 0x0004, DEF_STR( Allow_Continue ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( Off ) )
+ PORT_DIPSETTING( 0x0004, DEF_STR( On ) )
+ PORT_DIPNAME( 0x0018, 0x0018, DEF_STR( Difficulty ) )
+ PORT_DIPSETTING( 0x0010, DEF_STR( Easy ) )
+ PORT_DIPSETTING( 0x0018, DEF_STR( Normal ) )
+ PORT_DIPSETTING( 0x0008, DEF_STR( Hard ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( Hardest ) )
+ PORT_DIPNAME( 0x0060, 0x0020, DEF_STR( Lives ) )
+ PORT_DIPSETTING( 0x0040, "1" )
+ PORT_DIPSETTING( 0x0060, "2" )
+ PORT_DIPSETTING( 0x0020, "3" )
+ PORT_DIPSETTING( 0x0000, "5" )
+ PORT_SERVICE( 0x0080, IP_ACTIVE_LOW )
+INPUT_PORTS_END
+
+static INPUT_PORTS_START( astyanax )
+ PORT_INCLUDE( megasys1_generic )
+
+ PORT_MODIFY("P1")
+ PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(1)
+
+ PORT_MODIFY("P2")
+ PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(2)
+
+ PORT_START("DSW")
+ PORT_DIPUNUSED( 0x0001, 0x0001 ) // according to manual
+ PORT_DIPUNUSED( 0x0002, 0x0002 ) // according to manual
+ PORT_DIPNAME( 0x0004, 0x0004, DEF_STR( Bonus_Life ) )
+ PORT_DIPSETTING( 0x0004, "30k 70k 110k then every 30k" )
+ PORT_DIPSETTING( 0x0000, "50k 100k then every 40k" )
+ PORT_DIPNAME( 0x0018, 0x0018, DEF_STR( Lives ) )
+ PORT_DIPSETTING( 0x0008, "2" )
+ PORT_DIPSETTING( 0x0018, "3" )
+ PORT_DIPSETTING( 0x0010, "4" )
+ PORT_DIPSETTING( 0x0000, "5" )
+ PORT_DIPNAME( 0x0020, 0x0020, DEF_STR( Difficulty ) )
+ PORT_DIPSETTING( 0x0020, DEF_STR( Normal ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( Hard ) )
+ PORT_DIPNAME( 0x0040, 0x0040, "Swap 1P/2P Controls" )
+ PORT_DIPSETTING( 0x0040, DEF_STR( Off ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
+ PORT_DIPNAME( 0x0080, 0x0080, DEF_STR( Flip_Screen ) )
+ PORT_DIPSETTING( 0x0080, DEF_STR( Off ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
+
+ PORT_DIPNAME( 0x0700, 0x0700, DEF_STR( Coin_A ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( 4C_1C ) )
+ PORT_DIPSETTING( 0x0400, DEF_STR( 3C_1C ) )
+ PORT_DIPSETTING( 0x0200, DEF_STR( 2C_1C ) )
+ PORT_DIPSETTING( 0x0700, DEF_STR( 1C_1C ) )
+// PORT_DIPSETTING( 0x0300, DEF_STR( 1C_1C ) ) // 1_2 shown in test mode
+// PORT_DIPSETTING( 0x0500, DEF_STR( 1C_1C ) ) // 1_3
+// PORT_DIPSETTING( 0x0100, DEF_STR( 1C_1C ) ) // 1_4
+// PORT_DIPSETTING( 0x0600, DEF_STR( 1C_1C ) ) // 1_5
+ PORT_DIPNAME( 0x3800, 0x3800, DEF_STR( Coin_B ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( 4C_1C ) )
+ PORT_DIPSETTING( 0x2000, DEF_STR( 3C_1C ) )
+ PORT_DIPSETTING( 0x1000, DEF_STR( 2C_1C ) )
+ PORT_DIPSETTING( 0x3800, DEF_STR( 1C_1C ) )
+// PORT_DIPSETTING( 0x1800, DEF_STR( 1C_1C ) ) // 1_2 shown in test mode
+// PORT_DIPSETTING( 0x2800, DEF_STR( 1C_1C ) ) // 1_3
+// PORT_DIPSETTING( 0x0800, DEF_STR( 1C_1C ) ) // 1_4
+// PORT_DIPSETTING( 0x3000, DEF_STR( 1C_1C ) ) // 1_5
+ PORT_DIPNAME( 0x4000, 0x0000, DEF_STR( Demo_Sounds ) )
+ PORT_DIPSETTING( 0x4000, DEF_STR( Off ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
+ PORT_DIPNAME( 0x8000, 0x8000, "Test Mode" )
+ PORT_DIPSETTING( 0x8000, DEF_STR( Off ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
+INPUT_PORTS_END
+
+static INPUT_PORTS_START( avspirit )
+ PORT_INCLUDE( 64street )
+
+ PORT_MODIFY("DSW2")
+ PORT_DIPNAME( 0x0018, 0x0018, DEF_STR( Difficulty ) )
+ PORT_DIPSETTING( 0x0008, DEF_STR( Easy ) )
+ PORT_DIPSETTING( 0x0018, DEF_STR( Normal ) )
+ PORT_DIPSETTING( 0x0010, DEF_STR( Hard ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( Hardest ) )
+ PORT_DIPNAME( 0x0020, 0x0020, DEF_STR( Cabinet ) )
+ PORT_DIPSETTING( 0x0020, DEF_STR( Upright ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( Cocktail ) )
+ PORT_DIPNAME( 0x0040, 0x0040, "Test Mode" ) // freeze & slow motion via P1 + P2 start
+ PORT_DIPSETTING( 0x0040, DEF_STR( Off ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
+INPUT_PORTS_END
+
+
+static INPUT_PORTS_START( phantasm )
+ PORT_INCLUDE( megasys1_generic )
+
+ PORT_START("DSW")
+ PORT_DIPNAME( 0x0001, 0x0001, DEF_STR( Flip_Screen ) )
+ PORT_DIPSETTING( 0x0001, DEF_STR( Off ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
+ PORT_DIPNAME( 0x0002, 0x0000, DEF_STR( Demo_Sounds ) )
+ PORT_DIPSETTING( 0x0002, DEF_STR( Off ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
+ PORT_DIPNAME( 0x0004, 0x0004, DEF_STR( Allow_Continue ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( Off ) )
+ PORT_DIPSETTING( 0x0004, DEF_STR( On ) )
+ PORT_DIPNAME( 0x0018, 0x0018, DEF_STR( Difficulty ) )
+ PORT_DIPSETTING( 0x0008, DEF_STR( Easy ) )
+ PORT_DIPSETTING( 0x0018, DEF_STR( Normal ) )
+ PORT_DIPSETTING( 0x0010, DEF_STR( Hard ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( Hardest ) )
+ PORT_DIPNAME( 0x0020, 0x0020, DEF_STR( Cabinet ) )
+ PORT_DIPSETTING( 0x0020, DEF_STR( Upright ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( Cocktail ) )
+ PORT_DIPNAME( 0x0040, 0x0040, "Test Mode" ) // freeze & slow motion via P1 + P2 start
+ PORT_DIPSETTING( 0x0040, DEF_STR( Off ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
+ PORT_SERVICE( 0x0080, IP_ACTIVE_LOW )
+
+ PORT_DIPNAME( 0x0f00, 0x0f00, DEF_STR( Coin_A ) )
+ PORT_DIPSETTING( 0x0700, DEF_STR( 4C_1C ) )
+ PORT_DIPSETTING( 0x0800, DEF_STR( 3C_1C ) )
+ PORT_DIPSETTING( 0x0900, DEF_STR( 2C_1C ) )
+ PORT_DIPSETTING( 0x0f00, DEF_STR( 1C_1C ) )
+/* PORT_DIPSETTING( 0x0500, DEF_STR( 1C_1C ) )*/
+/* PORT_DIPSETTING( 0x0400, DEF_STR( 1C_1C ) )*/
+/* PORT_DIPSETTING( 0x0300, DEF_STR( 1C_1C ) )*/
+/* PORT_DIPSETTING( 0x0200, DEF_STR( 1C_1C ) )*/
+/* PORT_DIPSETTING( 0x0100, DEF_STR( 1C_1C ) )*/
+ PORT_DIPSETTING( 0x0600, DEF_STR( 2C_3C ) )
+ PORT_DIPSETTING( 0x0e00, DEF_STR( 1C_2C ) )
+ PORT_DIPSETTING( 0x0d00, DEF_STR( 1C_3C ) )
+ PORT_DIPSETTING( 0x0c00, DEF_STR( 1C_4C ) )
+ PORT_DIPSETTING( 0x0b00, DEF_STR( 1C_5C ) )
+ PORT_DIPSETTING( 0x0a00, DEF_STR( 1C_6C ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( Free_Play ) )
+ PORT_DIPNAME( 0xf000, 0xf000, DEF_STR( Coin_B ) )
+ PORT_DIPSETTING( 0x7000, DEF_STR( 4C_1C ) )
+ PORT_DIPSETTING( 0x8000, DEF_STR( 3C_1C ) )
+ PORT_DIPSETTING( 0x9000, DEF_STR( 2C_1C ) )
+ PORT_DIPSETTING( 0xf000, DEF_STR( 1C_1C ) )
+/* PORT_DIPSETTING( 0x5000, DEF_STR( 1C_1C ) )*/
+/* PORT_DIPSETTING( 0x4000, DEF_STR( 1C_1C ) )*/
+/* PORT_DIPSETTING( 0x3000, DEF_STR( 1C_1C ) )*/
+/* PORT_DIPSETTING( 0x2000, DEF_STR( 1C_1C ) )*/
+/* PORT_DIPSETTING( 0x1000, DEF_STR( 1C_1C ) )*/
+ PORT_DIPSETTING( 0x6000, DEF_STR( 2C_3C ) )
+ PORT_DIPSETTING( 0xe000, DEF_STR( 1C_2C ) )
+ PORT_DIPSETTING( 0xd000, DEF_STR( 1C_3C ) )
+ PORT_DIPSETTING( 0xc000, DEF_STR( 1C_4C ) )
+ PORT_DIPSETTING( 0xb000, DEF_STR( 1C_5C ) )
+ PORT_DIPSETTING( 0xa000, DEF_STR( 1C_6C ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( Free_Play ) )
+INPUT_PORTS_END
+
+static INPUT_PORTS_START( bigstrik )
+ PORT_INCLUDE( 64street )
+
+ PORT_MODIFY("P1")
+ PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(1)
+
+ PORT_MODIFY("P2")
+ PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(2)
+
+ PORT_MODIFY("DSW2")
+ PORT_DIPNAME( 0x0006, 0x0006, DEF_STR( Difficulty ) )
+ PORT_DIPSETTING( 0x0002, DEF_STR( Easy ) )
+ PORT_DIPSETTING( 0x0006, DEF_STR( Normal ) )
+ PORT_DIPSETTING( 0x0004, DEF_STR( Hard ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( Hardest ) )
+ PORT_DIPNAME( 0x0018, 0x0018, "Time" )
+ PORT_DIPSETTING( 0x0000, "Very Short" )
+ PORT_DIPSETTING( 0x0010, "Short" )
+ PORT_DIPSETTING( 0x0018, DEF_STR( Normal ) )
+ PORT_DIPSETTING( 0x0008, "Long" )
+ PORT_DIPNAME( 0x0020, 0x0020, DEF_STR( Demo_Sounds ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( Off ) )
+ PORT_DIPSETTING( 0x0020, DEF_STR( On ) )
+ PORT_DIPNAME( 0x0040, 0x0040, "1 Credit 2 Play" )
+ PORT_DIPSETTING( 0x0040, DEF_STR( Off ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
+INPUT_PORTS_END
+
+static INPUT_PORTS_START( chimerab )
+ PORT_INCLUDE( megasys1_generic )
+
+ PORT_START("DSW1")
+ PORT_DIPNAME( 0x0001, 0x0001, DEF_STR( Flip_Screen ) )
+ PORT_DIPSETTING( 0x0001, DEF_STR( Off ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
+ PORT_DIPNAME( 0x0002, 0x0000, DEF_STR( Demo_Sounds ) )
+ PORT_DIPSETTING( 0x0002, DEF_STR( Off ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
+ PORT_DIPNAME( 0x0004, 0x0004, DEF_STR( Allow_Continue ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( Off ) )
+ PORT_DIPSETTING( 0x0004, DEF_STR( On ) )
+ PORT_DIPNAME( 0x0018, 0x0018, DEF_STR( Difficulty ) )
+ PORT_DIPSETTING( 0x0010, DEF_STR( Easy ) )
+ PORT_DIPSETTING( 0x0018, DEF_STR( Normal ) )
+ PORT_DIPSETTING( 0x0008, DEF_STR( Hard ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( Hardest ) )
+ PORT_DIPNAME( 0x0060, 0x0020, DEF_STR( Lives ) )
+ PORT_DIPSETTING( 0x0040, "1" )
+ PORT_DIPSETTING( 0x0060, "2" )
+ PORT_DIPSETTING( 0x0020, "3" )
+ PORT_DIPSETTING( 0x0000, "4" )
+ PORT_SERVICE( 0x0080, IP_ACTIVE_LOW )
+
+ PORT_START("DSW2")
+ COINAGE_8BITS
+INPUT_PORTS_END
+
+static INPUT_PORTS_START( cybattlr )
+ PORT_INCLUDE( megasys1_generic )
+
+ PORT_START("DSW1") /*1fd2d9.b, !1fd009.b */
+ PORT_DIPNAME( 0x0007, 0x0007, DEF_STR( Coin_A ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( 4C_1C ) )
+ PORT_DIPSETTING( 0x0001, DEF_STR( 3C_1C ) )
+ PORT_DIPSETTING( 0x0003, DEF_STR( 2C_1C ) )
+ PORT_DIPSETTING( 0x0007, DEF_STR( 1C_1C ) )
+ PORT_DIPSETTING( 0x0002, DEF_STR( 2C_3C ) )
+ PORT_DIPSETTING( 0x0006, DEF_STR( 1C_2C ) )
+ PORT_DIPSETTING( 0x0005, DEF_STR( 1C_3C ) )
+ PORT_DIPSETTING( 0x0004, DEF_STR( 1C_4C ) )
+ PORT_DIPNAME( 0x0038, 0x0038, DEF_STR( Coin_B ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( 4C_1C ) )
+ PORT_DIPSETTING( 0x0008, DEF_STR( 3C_1C ) )
+ PORT_DIPSETTING( 0x0018, DEF_STR( 2C_1C ) )
+ PORT_DIPSETTING( 0x0038, DEF_STR( 1C_1C ) )
+ PORT_DIPSETTING( 0x0010, DEF_STR( 2C_3C ) )
+ PORT_DIPSETTING( 0x0030, DEF_STR( 1C_2C ) )
+ PORT_DIPSETTING( 0x0028, DEF_STR( 1C_3C ) )
+ PORT_DIPSETTING( 0x0020, DEF_STR( 1C_4C ) )
+ PORT_DIPNAME( 0x0040, 0x0040, DEF_STR( Free_Play ) )
+ PORT_DIPSETTING( 0x0040, DEF_STR( Off ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
+ PORT_SERVICE( 0x0080, IP_ACTIVE_LOW )
+
+ PORT_START("DSW2") /* 1fd2d7.b, !1fd007.b */
+ PORT_DIPNAME( 0x0003, 0x0003, DEF_STR( Difficulty ) )
+ PORT_DIPSETTING( 0x0002, DEF_STR( Easy ) )
+ PORT_DIPSETTING( 0x0003, DEF_STR( Normal ) )
+ PORT_DIPSETTING( 0x0001, DEF_STR( Hard ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( Very_Hard ) )
+ PORT_DIPNAME( 0x0004, 0x0004, "Disable Instruction Screen" ) /* Manual states this dip is "Unused" */
+ PORT_DIPSETTING( 0x0004, DEF_STR( Off ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
+ PORT_DIPNAME( 0x0018, 0x00018, DEF_STR( Allow_Continue ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( Off ) )
+ PORT_DIPSETTING( 0x0010, "Up to Mission 4" )
+ PORT_DIPSETTING( 0x0008, "Not on Final Mission" )
+ PORT_DIPSETTING( 0x0018, DEF_STR( On ) )
+ PORT_DIPNAME( 0x0020, 0x0020, "Intro Music" )
+ PORT_DIPSETTING( 0x0000, DEF_STR( Off ) )
+ PORT_DIPSETTING( 0x0020, DEF_STR( On ) )
+ PORT_DIPNAME( 0x0040, 0x0000, DEF_STR( Demo_Sounds ) )
+ PORT_DIPSETTING( 0x0040, DEF_STR( Off ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
+ PORT_DIPNAME( 0x0080, 0x0080, DEF_STR( Flip_Screen ) )
+ PORT_DIPSETTING( 0x0080, DEF_STR( Off ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
+INPUT_PORTS_END
+
+static INPUT_PORTS_START( edf )
+ PORT_INCLUDE( megasys1_generic )
+
+ PORT_START("DSW1")
+ PORT_DIPNAME( 0x0007, 0x0007, DEF_STR( Coin_A ) )
+ PORT_DIPSETTING( 0x0004, DEF_STR( 3C_1C ) )
+ PORT_DIPSETTING( 0x0002, DEF_STR( 2C_1C ) )
+ PORT_DIPSETTING( 0x0007, DEF_STR( 1C_1C ) )
+ PORT_DIPSETTING( 0x0003, DEF_STR( 1C_2C ) )
+ PORT_DIPSETTING( 0x0005, DEF_STR( 1C_3C ) )
+ PORT_DIPSETTING( 0x0001, DEF_STR( 1C_4C ) )
+ PORT_DIPSETTING( 0x0006, DEF_STR( 1C_5C ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( Free_Play ) )
+ PORT_DIPNAME( 0x0038, 0x0038, DEF_STR( Coin_B ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( 4C_1C ) )
+ PORT_DIPSETTING( 0x0020, DEF_STR( 3C_1C ) )
+ PORT_DIPSETTING( 0x0010, DEF_STR( 2C_1C ) )
+ PORT_DIPSETTING( 0x0038, DEF_STR( 1C_1C ) )
+ PORT_DIPSETTING( 0x0018, DEF_STR( 1C_2C ) )
+ PORT_DIPSETTING( 0x0028, DEF_STR( 1C_3C ) )
+ PORT_DIPSETTING( 0x0008, DEF_STR( 1C_4C ) )
+ PORT_DIPSETTING( 0x0030, DEF_STR( 1C_5C ) )
+ PORT_DIPNAME( 0x000040, 0x000040, DEF_STR( Demo_Sounds ) )
+ PORT_DIPSETTING( 0x000000, DEF_STR( Off ) )
+ PORT_DIPSETTING( 0x000040, DEF_STR( On ) )
+ PORT_SERVICE( 0x000080, IP_ACTIVE_LOW )
+
+ PORT_START("DSW2") /* 0x66007.b */
+ PORT_DIPNAME( 0x0007, 0x0007, "DSW-B bits 2-0" )
+ PORT_DIPSETTING( 0x0000, "0" )
+ PORT_DIPSETTING( 0x0001, "1" )
+ PORT_DIPSETTING( 0x0002, "2" )
+ PORT_DIPSETTING( 0x0003, "3" )
+ PORT_DIPSETTING( 0x0004, "4" )
+ PORT_DIPSETTING( 0x0005, "5" )
+ PORT_DIPSETTING( 0x0006, "6" )
+ PORT_DIPSETTING( 0x0007, "7" )
+ PORT_DIPNAME( 0x0008, 0x0008, DEF_STR( Lives ) )
+ PORT_DIPSETTING( 0x0008, "3" )
+ PORT_DIPSETTING( 0x0000, "4" )
+ PORT_DIPNAME( 0x0030, 0x0030, DEF_STR( Difficulty ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( Easy ) )
+ PORT_DIPSETTING( 0x0030, DEF_STR( Normal ) )
+ PORT_DIPSETTING( 0x0010, DEF_STR( Hard ) )
+ PORT_DIPSETTING( 0x0020, DEF_STR( Very_Hard ) )
+ PORT_DIPNAME( 0x0040, 0x0040, DEF_STR( Unknown ) )
+ PORT_DIPSETTING( 0x0040, DEF_STR( Off ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
+ PORT_DIPNAME( 0x0080, 0x0080, DEF_STR( Flip_Screen ) )
+ PORT_DIPSETTING( 0x0080, DEF_STR( Off ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
+INPUT_PORTS_END
+
+static INPUT_PORTS_START( hachoo )
+ PORT_INCLUDE( megasys1_generic )
+
+ PORT_START("DSW")
+ PORT_DIPUNUSED( 0x0001, 0x0001 ) /* Manual states dips 1-4 & 6 are "Unused" */
+ PORT_DIPUNUSED( 0x0002, 0x0002 )
+ PORT_DIPUNUSED( 0x0004, 0x0004 )
+ PORT_DIPUNUSED( 0x0008, 0x0008 )
+ PORT_DIPNAME( 0x0030, 0x0030, DEF_STR( Difficulty ) )
+ PORT_DIPSETTING( 0x0030, DEF_STR( Normal ) )
+ PORT_DIPSETTING( 0x0020, DEF_STR( Hard ) )
+ PORT_DIPSETTING( 0x0010, DEF_STR( Harder ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( Hardest ) )
+ PORT_DIPUNUSED( 0x0040, 0x0040 )
+ PORT_DIPNAME( 0x0080, 0x0080, DEF_STR( Flip_Screen ) )
+ PORT_DIPSETTING( 0x0080, DEF_STR( Off ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
+
+ PORT_DIPNAME( 0x0700, 0x0700, DEF_STR( Coin_A ) )
+ PORT_DIPSETTING( 0x0400, DEF_STR( 3C_1C ) )
+ PORT_DIPSETTING( 0x0200, DEF_STR( 2C_1C ) )
+ PORT_DIPSETTING( 0x0700, DEF_STR( 1C_1C ) )
+ PORT_DIPSETTING( 0x0300, DEF_STR( 1C_2C ) )
+ PORT_DIPSETTING( 0x0500, DEF_STR( 1C_3C ) )
+ PORT_DIPSETTING( 0x0100, DEF_STR( 1C_4C ) )
+ PORT_DIPSETTING( 0x0600, DEF_STR( 1C_5C ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( Free_Play ) )
+ PORT_DIPNAME( 0x3800, 0x3800, DEF_STR( Coin_B ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( 4C_1C ) )
+ PORT_DIPSETTING( 0x2000, DEF_STR( 3C_1C ) )
+ PORT_DIPSETTING( 0x1000, DEF_STR( 2C_1C ) )
+ PORT_DIPSETTING( 0x3800, DEF_STR( 1C_1C ) )
+ PORT_DIPSETTING( 0x1800, DEF_STR( 1C_2C ) )
+ PORT_DIPSETTING( 0x2800, DEF_STR( 1C_3C ) )
+ PORT_DIPSETTING( 0x0800, DEF_STR( 1C_4C ) )
+ PORT_DIPSETTING( 0x3000, DEF_STR( 1C_5C ) )
+ PORT_DIPNAME( 0x4000, 0x4000, DEF_STR( Demo_Sounds ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( Off ) )
+ PORT_DIPSETTING( 0x4000, DEF_STR( On ) )
+ PORT_DIPUNUSED( 0x8000, 0x8000 )
+INPUT_PORTS_END
+
+static INPUT_PORTS_START( kazan )
+ PORT_INCLUDE( hachoo )
+
+ PORT_MODIFY("DSW")
+ PORT_DIPNAME( 0x0003, 0x0003, DEF_STR( Lives ) )
+ PORT_DIPSETTING( 0x0003, "2" )
+ PORT_DIPSETTING( 0x0001, "3" )
+ PORT_DIPSETTING( 0x0002, "4" )
+ PORT_DIPSETTING( 0x0000, "Infinite (Cheat)" )
+ PORT_DIPNAME( 0x0004, 0x0004, DEF_STR( Bonus_Life ) )
+ PORT_DIPSETTING( 0x0004, "50k" )
+ PORT_DIPSETTING( 0x0000, "200k" )
+ PORT_DIPNAME( 0x0008, 0x0008, DEF_STR( Allow_Continue ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( Off ) )
+ PORT_DIPSETTING( 0x0008, DEF_STR( On ) )
+ PORT_DIPNAME( 0x0040, 0x0000, DEF_STR( Cabinet ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( Upright ) )
+ PORT_DIPSETTING( 0x0040, DEF_STR( Cocktail ) )
+
+ PORT_DIPNAME( 0x8000, 0x8000, "Freeze Screen (Cheat)")
+ PORT_DIPSETTING( 0x8000, DEF_STR( Off ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
+INPUT_PORTS_END
+
+static INPUT_PORTS_START( jitsupro )
+ PORT_INCLUDE( hachoo )
+
+ PORT_MODIFY("P1")
+ PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(1)
+
+ PORT_MODIFY("P2")
+ PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(2)
+
+ PORT_MODIFY("DSW")
+ PORT_DIPNAME( 0x0001, 0x0001, "2 Player Innings per Credit" )
+ PORT_DIPSETTING( 0x0001, "2" )
+ PORT_DIPSETTING( 0x0000, "3" )
+ PORT_DIPNAME( 0x0002, 0x0002, "Difficulty for Catching Ball" )
+ PORT_DIPSETTING( 0x0002, DEF_STR( Normal ) ) // $200-140
+ PORT_DIPSETTING( 0x0000, DEF_STR( Hard ) ) // $400-140
+ PORT_DIPNAME( 0x003c, 0x003c, "Franchise (Increase Batting Power)" )
+ PORT_DIPSETTING( 0x003c, DEF_STR( Normal ) )
+ PORT_DIPSETTING( 0x0038, "G" )
+ PORT_DIPSETTING( 0x0034, "D" )
+ PORT_DIPSETTING( 0x0030, "C" ) /* I hope the Japanese Baseball crowd knows what these leagues are ;-) */
+ PORT_DIPSETTING( 0x002c, "S" )
+ PORT_DIPSETTING( 0x0028, "W (B)" )
+ PORT_DIPSETTING( 0x0024, "T" )
+ PORT_DIPSETTING( 0x0020, "L" )
+ PORT_DIPSETTING( 0x001c, "Br (Bw)" )
+ PORT_DIPSETTING( 0x0018, "F" )
+ PORT_DIPSETTING( 0x0014, "H" )
+ PORT_DIPSETTING( 0x0010, "O (M)" )
+ PORT_DIPSETTING( 0x000c, "Bu" )
+// PORT_DIPSETTING( 0x0008, "13" )
+// PORT_DIPSETTING( 0x0004, "14" )
+// PORT_DIPSETTING( 0x0000, "15" )
+ PORT_DIPNAME( 0x0040, 0x0040, "Scroll Is Based On" )
+ PORT_DIPSETTING( 0x0040, "Shadow of Baseball" )
+ PORT_DIPSETTING( 0x0000, "The Baseball Itself" )
+INPUT_PORTS_END
+
+static INPUT_PORTS_START( kickoff )
+ PORT_INCLUDE( megasys1_generic )
+
+ PORT_START("DSW")
+ PORT_DIPNAME( 0x0003, 0x0003, "Time" ) // -> !f0082.w
+ PORT_DIPSETTING( 0x0003, "3'" )
+ PORT_DIPSETTING( 0x0002, "4'" )
+ PORT_DIPSETTING( 0x0001, "5'" )
+ PORT_DIPSETTING( 0x0000, "6'" )
+ PORT_DIPUNUSED( 0x0004, 0x0004 ) /* Manual states dips 3 & 4 are "Unused" */
+ PORT_DIPUNUSED( 0x0008, 0x0008 )
+ PORT_DIPNAME( 0x0030, 0x0030, DEF_STR( Difficulty ) )
+ PORT_DIPSETTING( 0x0030, DEF_STR( Normal ) )
+ PORT_DIPSETTING( 0x0020, DEF_STR( Hard ) )
+ PORT_DIPSETTING( 0x0010, DEF_STR( Harder ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( Hardest ) )
+ PORT_DIPNAME( 0x0040, 0x0000, DEF_STR( Controls ) )
+ PORT_DIPSETTING( 0x0040, DEF_STR( Trackball ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( Joystick ) )
+ PORT_DIPNAME( 0x0080, 0x0080, DEF_STR( Flip_Screen ) )
+ PORT_DIPSETTING( 0x0080, DEF_STR( Off ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
+
+ PORT_DIPNAME( 0x0700, 0x0700, DEF_STR( Coinage ) )
+ PORT_DIPSETTING( 0x0100, DEF_STR( 4C_1C ) )
+ PORT_DIPSETTING( 0x0200, DEF_STR( 3C_1C ) )
+ PORT_DIPSETTING( 0x0300, DEF_STR( 2C_1C ) )
+ PORT_DIPSETTING( 0x0700, DEF_STR( 1C_1C ) )
+ PORT_DIPSETTING( 0x0600, DEF_STR( 1C_2C ) )
+ PORT_DIPSETTING( 0x0500, DEF_STR( 1C_3C ) )
+ PORT_DIPSETTING( 0x0400, DEF_STR( 1C_4C ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( Free_Play ) )
+ PORT_DIPUNUSED( 0x0800, 0x0800 )
+ PORT_DIPUNUSED( 0x1000, 0x1000 )
+ PORT_DIPNAME( 0x2000, 0x2000, "Freeze Screen (Cheat)" )
+ PORT_DIPSETTING( 0x2000, DEF_STR( Off ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
+ PORT_DIPNAME( 0x4000, 0x0000, DEF_STR( Demo_Sounds ) )
+ PORT_DIPSETTING( 0x4000, DEF_STR( Off ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
+ PORT_DIPNAME( 0x8000, 0x8000, "Text" )
+ PORT_DIPSETTING( 0x8000, DEF_STR( Japanese ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( English ) ) // show "Japan Only" warning
+INPUT_PORTS_END
+
+static INPUT_PORTS_START( lomakai )
+ PORT_INCLUDE( megasys1_generic )
+
+ PORT_START("DSW")
+ PORT_DIPNAME( 0x0003, 0x0003, DEF_STR( Lives ) )
+ PORT_DIPSETTING( 0x0000, "2" )
+ PORT_DIPSETTING( 0x0003, "3" )
+ PORT_DIPSETTING( 0x0002, "4" )
+ PORT_DIPSETTING( 0x0001, "5" )
+ PORT_DIPUNUSED( 0x0004, 0x0004 )
+ PORT_DIPUNUSED( 0x0008, 0x0008 )
+ PORT_DIPNAME( 0x0030, 0x0030, DEF_STR( Difficulty ) ) // boss enemy damage bar
+ PORT_DIPSETTING( 0x0030, DEF_STR( Easy ) ) // 6 dots
+ PORT_DIPSETTING( 0x0020, DEF_STR( Normal ) ) // 8 dots
+ PORT_DIPSETTING( 0x0010, DEF_STR( Hard ) ) // 9 dots
+ PORT_DIPSETTING( 0x0000, DEF_STR( Hardest ) ) // 12 dots
+ PORT_DIPNAME( 0x0040, 0x0000, DEF_STR( Cabinet ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( Upright ) )
+ PORT_DIPSETTING( 0x0040, DEF_STR( Cocktail ) )
+ PORT_DIPNAME( 0x0080, 0x0080, DEF_STR( Flip_Screen ) )
+ PORT_DIPSETTING( 0x0080, DEF_STR( Off ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
+
+ PORT_DIPNAME( 0x0700, 0x0700, DEF_STR( Coin_A ) )
+ PORT_DIPSETTING( 0x0100, DEF_STR( 4C_1C ) )
+ PORT_DIPSETTING( 0x0200, DEF_STR( 3C_1C ) )
+ PORT_DIPSETTING( 0x0300, DEF_STR( 2C_1C ) )
+ PORT_DIPSETTING( 0x0700, DEF_STR( 1C_1C ) )
+ PORT_DIPSETTING( 0x0600, DEF_STR( 1C_2C ) )
+ PORT_DIPSETTING( 0x0500, DEF_STR( 1C_3C ) )
+ PORT_DIPSETTING( 0x0400, DEF_STR( 1C_4C ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( Free_Play ) )
+ PORT_DIPNAME( 0x3800, 0x3800, DEF_STR( Coin_B ) )
+ PORT_DIPSETTING( 0x0800, DEF_STR( 4C_1C ) )
+ PORT_DIPSETTING( 0x1000, DEF_STR( 3C_1C ) )
+ PORT_DIPSETTING( 0x1800, DEF_STR( 2C_1C ) )
+ PORT_DIPSETTING( 0x3800, DEF_STR( 1C_1C ) )
+ PORT_DIPSETTING( 0x3000, DEF_STR( 1C_2C ) )
+ PORT_DIPSETTING( 0x2800, DEF_STR( 1C_3C ) )
+ PORT_DIPSETTING( 0x2000, DEF_STR( 1C_4C ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( Free_Play ) )
+ PORT_DIPNAME( 0x4000, 0x0000, DEF_STR( Demo_Sounds ) )
+ PORT_DIPSETTING( 0x4000, DEF_STR( Off ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
+ PORT_DIPNAME( 0x8000, 0x8000, "Invulnerability (Cheat)")
+ PORT_DIPSETTING( 0x8000, DEF_STR( Off ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
+INPUT_PORTS_END
+
+static INPUT_PORTS_START( p47 )
+ PORT_INCLUDE( lomakai )
+
+ PORT_MODIFY("DSW") /* Manual states dips 3 & 4 are "Unused" */
+ PORT_DIPNAME( 0x0003, 0x0003, DEF_STR( Lives ) )
+ PORT_DIPSETTING( 0x0002, "2" )
+ PORT_DIPSETTING( 0x0003, "3" )
+ PORT_DIPSETTING( 0x0001, "4" )
+ PORT_DIPSETTING( 0x0000, "5" )
+ PORT_DIPNAME( 0x0030, 0x0030, DEF_STR( Difficulty ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( Easy ) )
+ PORT_DIPSETTING( 0x0030, DEF_STR( Normal ) )
+ PORT_DIPSETTING( 0x0020, DEF_STR( Hard ) )
+ PORT_DIPSETTING( 0x0010, DEF_STR( Hardest ) )
+ PORT_DIPUNUSED( 0x0040, 0x0040 ) /* Manual states this dip is "Unused" */
+INPUT_PORTS_END
+
+static INPUT_PORTS_START( plusalph )
+ PORT_INCLUDE( hachoo )
+
+ PORT_MODIFY("DSW")
+ PORT_DIPNAME( 0x0003, 0x0003, DEF_STR( Lives ) )
+ PORT_DIPSETTING( 0x0003, "3" )
+ PORT_DIPSETTING( 0x0002, "4" )
+ PORT_DIPSETTING( 0x0001, "5" )
+ PORT_DIPSETTING( 0x0000, "Infinite (Cheat)" )
+ PORT_DIPNAME( 0x0004, 0x0004, "Hyper Laser Beams" )
+ PORT_DIPSETTING( 0x0000, "2" )
+ PORT_DIPSETTING( 0x0004, "3" )
+ PORT_DIPNAME( 0x0008, 0x0008, DEF_STR( Bonus_Life ) )
+ PORT_DIPSETTING( 0x0008, "70k and every 200k") /* As stated in manual, but was 70K & Every 130K */
+ PORT_DIPSETTING( 0x0000, "100k and 300k Only") /* As stated in manual, but was 100K & Every 200K */
+ PORT_DIPNAME( 0x0030, 0x0030, DEF_STR( Difficulty ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( Easy ) )
+ PORT_DIPSETTING( 0x0030, DEF_STR( Normal ) )
+ PORT_DIPSETTING( 0x0010, DEF_STR( Hard ) )
+ PORT_DIPSETTING( 0x0020, DEF_STR( Hardest ) )
+ PORT_DIPNAME( 0x0040, 0x0000, DEF_STR( Cabinet ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( Upright ) )
+ PORT_DIPSETTING( 0x0040, DEF_STR( Cocktail ) )
+
+ PORT_DIPNAME( 0x8000, 0x8000, "Freeze Screen (Cheat)")
+ PORT_DIPSETTING( 0x8000, DEF_STR( Off ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
+INPUT_PORTS_END
+
+static INPUT_PORTS_START( rodland )
+ PORT_INCLUDE( hachoo )
+
+ PORT_MODIFY("DSW") /* Manual states dips 1 & 2 are "Unused" */
+ PORT_DIPNAME( 0x000c, 0x000c, DEF_STR( Lives ) )
+ PORT_DIPSETTING( 0x0004, "2" )
+ PORT_DIPSETTING( 0x000c, "3" )
+ PORT_DIPSETTING( 0x0008, "4" )
+ PORT_DIPSETTING( 0x0000, "Infinite (Cheat)")
+ PORT_DIPNAME( 0x0010, 0x0010, "Default episode" )
+ PORT_DIPSETTING( 0x0010, "1" )
+ PORT_DIPSETTING( 0x0000, "2" )
+ PORT_DIPNAME( 0x0060, 0x0060, DEF_STR( Difficulty ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( Easy ) )
+ PORT_DIPSETTING( 0x0060, DEF_STR( Normal ) )
+ PORT_DIPSETTING( 0x0020, DEF_STR( Hard ) )
+ PORT_DIPSETTING( 0x0040, DEF_STR( Hardest ) )
+
+ PORT_SERVICE( 0x8000, IP_ACTIVE_LOW )
+INPUT_PORTS_END
+
+static INPUT_PORTS_START( stdragon )
+ PORT_INCLUDE( lomakai )
+
+ PORT_MODIFY("DSW") /* Manual states dips 3 & 4 are "Unused" */
+ PORT_DIPNAME( 0x0003, 0x0003, DEF_STR( Lives ) )
+ PORT_DIPSETTING( 0x0002, "2" )
+ PORT_DIPSETTING( 0x0003, "3" )
+ PORT_DIPSETTING( 0x0001, "4" )
+ PORT_DIPSETTING( 0x0000, "5" )
+ PORT_DIPUNUSED( 0x8000, 0x8000 ) // used?
+INPUT_PORTS_END
+
+static INPUT_PORTS_START( soldam )
+ PORT_INCLUDE( lomakai )
+
+ PORT_MODIFY("DSW")
+ PORT_DIPNAME( 0x0003, 0x0003, DEF_STR( Difficulty ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( Easy ) )
+ PORT_DIPSETTING( 0x0003, DEF_STR( Normal ) )
+ PORT_DIPSETTING( 0x0002, DEF_STR( Hard ) )
+ PORT_DIPSETTING( 0x0001, DEF_STR( Hardest ))
+ PORT_DIPNAME( 0x000c, 0x000c, "Games To Play (Vs)" )
+ PORT_DIPSETTING( 0x0000, "1" )
+ PORT_DIPSETTING( 0x000c, "2" )
+ PORT_DIPSETTING( 0x0008, "3" )
+ PORT_DIPSETTING( 0x0004, "4" )
+ PORT_DIPNAME( 0x0010, 0x0010, DEF_STR( Allow_Continue ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( Off ) )
+ PORT_DIPSETTING( 0x0010, DEF_STR( On ) )
+ PORT_DIPNAME( 0x0020, 0x0020, "Credits To Start (Vs)" )
+ PORT_DIPSETTING( 0x0020, "1" )
+ PORT_DIPSETTING( 0x0000, "2" )
+ PORT_DIPNAME( 0x0040, 0x0040, "Credits To Continue (Vs)" )
+ PORT_DIPSETTING( 0x0040, "1" )
+ PORT_DIPSETTING( 0x0000, "2" )
+ PORT_SERVICE( 0x8000, IP_ACTIVE_LOW )
+INPUT_PORTS_END
+
+static INPUT_PORTS_START( tshingen )
+ PORT_INCLUDE( hachoo )
+
+ PORT_MODIFY("P1")
+ PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(1)
+
+ PORT_MODIFY("P2")
+ PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(2)
+
+ PORT_MODIFY("DSW")
+ PORT_DIPNAME( 0x0003, 0x0001, DEF_STR( Lives ) )
+ PORT_DIPSETTING( 0x0003, "2" )
+ PORT_DIPSETTING( 0x0001, "3" )
+ PORT_DIPSETTING( 0x0002, "4" )
+ PORT_DIPSETTING( 0x0000, "Infinite (Cheat)" )
+ PORT_DIPNAME( 0x000c, 0x000c, DEF_STR( Bonus_Life ) )
+ PORT_DIPSETTING( 0x000c, "20k" )
+ PORT_DIPSETTING( 0x0004, "30k" )
+ PORT_DIPSETTING( 0x0008, "40k" )
+ PORT_DIPSETTING( 0x0000, "50k" )
+ PORT_DIPNAME( 0x0030, 0x0010, DEF_STR( Difficulty ) ) // damage when hit
+ PORT_DIPSETTING( 0x0030, DEF_STR( Easy ) ) // 0
+ PORT_DIPSETTING( 0x0010, DEF_STR( Normal ) ) // 1
+ PORT_DIPSETTING( 0x0020, DEF_STR( Hard ) ) // 2
+ PORT_DIPSETTING( 0x0000, DEF_STR( Hardest ) ) // 3
+ PORT_DIPNAME( 0x0040, 0x0040, DEF_STR( Allow_Continue ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( Off ) )
+ PORT_DIPSETTING( 0x0040, DEF_STR( On ) )
+INPUT_PORTS_END
+
+static INPUT_PORTS_START( hayaosi1 )
+ PORT_START("SYSTEM")
+ PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_START1 )
+ PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_START2 )
+ PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_UNKNOWN )
+ PORT_SERVICE_NO_TOGGLE( 0x0008, IP_ACTIVE_LOW )
+ PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_START3 )
+ PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_SERVICE1 )
+ PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_COIN1 )
+ PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_COIN2 )
+ PORT_BIT( 0xff00, IP_ACTIVE_LOW, IPT_UNKNOWN )
+
+ PORT_START("P1")
+ PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(2)
+ PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(2)
+ PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(1)
+ PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(1)
+ PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(3)
+ PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(3)
+ PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_PLAYER(1)
+ PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_PLAYER(3)
+ PORT_BIT( 0xff00, IP_ACTIVE_LOW, IPT_UNKNOWN )
+
+ PORT_START("P2")
+ PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_PLAYER(2)
+ PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(2)
+ PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_PLAYER(1)
+ PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(1)
+ PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_PLAYER(3)
+ PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(3)
+ PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_PLAYER(2)
+ PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_UNKNOWN )
+
+ PORT_START("DSW1")
+ COINAGE_8BITS
+
+ PORT_START("DSW2") /* 0x69353.b */
+ PORT_DIPNAME( 0x0001, 0x0001, DEF_STR( Flip_Screen ) )
+ PORT_DIPSETTING( 0x0001, DEF_STR( Off ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
+ PORT_DIPNAME( 0x0002, 0x0002, DEF_STR( Demo_Sounds ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( Off ) )
+ PORT_DIPSETTING( 0x0002, DEF_STR( On ) )
+ PORT_DIPNAME( 0x0004, 0x0004, "Unknown 2-2" )
+ PORT_DIPSETTING( 0x0004, DEF_STR( Off ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
+ PORT_DIPNAME( 0x0018, 0x0018, DEF_STR( Difficulty ) )
+ PORT_DIPSETTING( 0x0010, DEF_STR( Easy ) )
+ PORT_DIPSETTING( 0x0018, DEF_STR( Normal ) )
+ PORT_DIPSETTING( 0x0008, DEF_STR( Hard ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( Hardest ) )
+ PORT_DIPNAME( 0x0020, 0x0020, "Points To Win" )
+ PORT_DIPSETTING( 0x0000, "10" )
+ PORT_DIPSETTING( 0x0020, "15" )
+ PORT_DIPNAME( 0x0040, 0x0040, "Unknown 2-6" )
+ PORT_DIPSETTING( 0x0040, DEF_STR( Off ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
+ PORT_DIPNAME( 0x0080, 0x0080, "Unknown 2-7" )
+ PORT_DIPSETTING( 0x0080, DEF_STR( Off ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
+INPUT_PORTS_END
+
+static INPUT_PORTS_START( peekaboo )
+ PORT_START("SYSTEM")
+ PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_COIN3 ) // called "service"
+ PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_COIN4 ) // called "test"
+ PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_COIN1 )
+ PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_COIN2 )
+ PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_START1 )
+ PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_START2 )
+ PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_UNKNOWN )
+ PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_UNKNOWN )
+ PORT_BIT( 0x0100, IP_ACTIVE_LOW, IPT_BUTTON1 )
+ PORT_BIT( 0x0200, IP_ACTIVE_LOW, IPT_BUTTON2 )
+ PORT_BIT( 0x0400, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(2)
+ PORT_BIT( 0x0800, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(2)
+ PORT_BIT( 0x1000, IP_ACTIVE_LOW, IPT_BUTTON3 ) // called "stage clear"
+ PORT_BIT( 0x2000, IP_ACTIVE_LOW, IPT_BUTTON4 ) // called "option"
+ PORT_BIT( 0x4000, IP_ACTIVE_LOW, IPT_UNKNOWN )
+ PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_UNKNOWN )
+
+ PORT_START("P1")
+ PORT_BIT( 0x00ff, 0x0080, IPT_PADDLE ) PORT_PLAYER(1) PORT_MINMAX(0x0018,0x00e0) PORT_SENSITIVITY(50) PORT_KEYDELTA(10) PORT_CENTERDELTA(0)
+
+ PORT_START("P2")
+ PORT_BIT( 0x00ff, 0x0080, IPT_PADDLE ) PORT_PLAYER(2) PORT_MINMAX(0x0018,0x00e0) PORT_SENSITIVITY(50) PORT_KEYDELTA(10) PORT_CENTERDELTA(0) PORT_COCKTAIL
+ PORT_START("DSW")
+ PORT_DIPNAME( 0x0003, 0x0003, DEF_STR( Difficulty ) ) // 1f0358<-!
+ PORT_DIPSETTING( 0x0000, DEF_STR( Easy ) )
+ PORT_DIPSETTING( 0x0003, DEF_STR( Normal ) )
+ PORT_DIPSETTING( 0x0002, DEF_STR( Hard ) )
+ PORT_DIPSETTING( 0x0001, DEF_STR( Hardest ) )
+ PORT_SERVICE( 0x0004, IP_ACTIVE_LOW )
+ PORT_DIPNAME( 0x0008, 0x0008, "Movement" ) // 1f0392<-!
+ PORT_DIPSETTING( 0x0008, "Paddles" )
+ PORT_DIPSETTING( 0x0000, "Buttons" )
+ PORT_DIPNAME( 0x0030, 0x0030, "Nudity" ) // 1f0356<-!
+ PORT_DIPSETTING( 0x0030, "Female and Male (Full)" )
+ PORT_DIPSETTING( 0x0020, "Female (Full)" )
+ PORT_DIPSETTING( 0x0010, "Female (Partial)" )
+ PORT_DIPSETTING( 0x0000, DEF_STR( None ) )
+ PORT_DIPNAME( 0x0040, 0x0040, DEF_STR( Cabinet ) ) // 1f006a<-!
+ PORT_DIPSETTING( 0x0040, DEF_STR( Upright ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( Cocktail ) )
+ PORT_DIPNAME( 0x0080, 0x0080, "Number of controllers" ) // 1f0074<-!
+ PORT_DIPSETTING( 0x0080, "1" )
+ PORT_DIPSETTING( 0x0000, "2" )
+
+ PORT_DIPNAME( 0x0700, 0x0700, DEF_STR( Coin_A ) )
+ PORT_DIPSETTING( 0x0100, DEF_STR( 4C_1C ) )
+ PORT_DIPSETTING( 0x0200, DEF_STR( 3C_1C ) )
+ PORT_DIPSETTING( 0x0300, DEF_STR( 2C_1C ) )
+ PORT_DIPSETTING( 0x0700, DEF_STR( 1C_1C ) )
+ PORT_DIPSETTING( 0x0600, DEF_STR( 1C_2C ) )
+ PORT_DIPSETTING( 0x0500, DEF_STR( 1C_3C ) )
+ PORT_DIPSETTING( 0x0400, DEF_STR( 1C_4C ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( Free_Play ) )
+ PORT_DIPNAME( 0x3800, 0x3800, DEF_STR( Coin_B ) )
+ PORT_DIPSETTING( 0x0800, DEF_STR( 4C_1C ) )
+ PORT_DIPSETTING( 0x1000, DEF_STR( 3C_1C ) )
+ PORT_DIPSETTING( 0x1800, DEF_STR( 2C_1C ) )
+ PORT_DIPSETTING( 0x3800, DEF_STR( 1C_1C ) )
+ PORT_DIPSETTING( 0x3000, DEF_STR( 1C_2C ) )
+ PORT_DIPSETTING( 0x2800, DEF_STR( 1C_3C ) )
+ PORT_DIPSETTING( 0x2000, DEF_STR( 1C_4C ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( Free_Play ) )
+ PORT_DIPNAME( 0x4000, 0x4000, DEF_STR( Demo_Sounds ) ) // 1f0354<-
+ PORT_DIPSETTING( 0x0000, DEF_STR( Off ) )
+ PORT_DIPSETTING( 0x4000, DEF_STR( On ) )
+ PORT_DIPNAME( 0x8000, 0x8000, DEF_STR( Flip_Screen ) ) // 1f0022/6e<-!
+ PORT_DIPSETTING( 0x8000, DEF_STR( Off ) )
+ PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
+INPUT_PORTS_END
+
+/*************************************
+ *
+ * Peek-a-Boo! Custom I/O
+ *
+ *************************************/
+
+static UINT16 protection_val;
+
+/* Read the input ports, through a protection device */
+static READ16_HANDLER( protection_peekaboo_r )
+{
+ switch (protection_val)
+ {
+ case 0x02: return 0x03;
+ case 0x51: return input_port_read(space->machine, "P1");
+ case 0x52: return input_port_read(space->machine, "P2");
+ default: return protection_val;
+ }
+}
+
+static WRITE16_HANDLER( protection_peekaboo_w )
+{
+ static int bank;
+
+ COMBINE_DATA(&protection_val);
+
+ if ((protection_val & 0x90) == 0x90)
+ {
+ UINT8 *RAM = memory_region(space->machine, "oki1");
+ int new_bank = (protection_val & 0x7) % 7;
+
+ if (bank != new_bank)
+ {
+ memcpy(&RAM[0x20000],&RAM[0x40000 + 0x20000*new_bank],0x20000);
+ bank = new_bank;
+ }
+ }
+
+ cpu_set_input_line(space->machine->cpu[0],4,HOLD_LINE);
+}
+
+/*************************************
+ *
+ * Graphics definitions
+ *
+ *************************************/
static const gfx_layout tilelayout =
{
@@ -574,12 +1503,11 @@ static GFXDECODE_START( ABC )
GFXDECODE_ENTRY( "gfx4", 0, spritelayout, 256*3, 16 ) // [3] Sprites
GFXDECODE_END
-
-/***************************************************************************
-
- Machine Driver Macros
-
-***************************************************************************/
+/*************************************
+ *
+ * Machine Driver Macros
+ *
+ *************************************/
/***************************************************************************
@@ -801,16 +1729,11 @@ static MACHINE_DRIVER_START( system_Z )
MACHINE_DRIVER_END
-
-
-
-/***************************************************************************
-
- ROMs Loading
-
-***************************************************************************/
-
-
+/*************************************
+ *
+ * ROM definition(s)
+ *
+ *************************************/
/***************************************************************************
@@ -850,6 +1773,7 @@ ff9df8.w *** level ***
***************************************************************************/
+
ROM_START( 64street )
ROM_REGION( 0x80000, "main", 0 ) /* Main CPU Code */
ROM_LOAD16_BYTE( "64th_03.rom", 0x000000, 0x040000, CRC(ed6c6942) SHA1(f610b31548ed4889a43d77be286b9bfabf700064) )
@@ -922,45 +1846,6 @@ ROM_START( 64streej )
ROM_END
-
-static INPUT_PORTS_START( 64street )
- PORT_START("SYSTEM")
- COINS
-
- PORT_START("P1")
- JOY_2BUTTONS(1) // fire jump
-
- PORT_START("P2")
- JOY_2BUTTONS(2)
- RESERVE // Unused
-
- PORT_START("DSW1")
- COINAGE_8BITS
-
- PORT_START("DSW2")
- PORT_DIPNAME( 0x0001, 0x0001, DEF_STR( Flip_Screen ) )
- PORT_DIPSETTING( 0x0001, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
- PORT_DIPNAME( 0x0002, 0x0000, DEF_STR( Demo_Sounds ) )
- PORT_DIPSETTING( 0x0002, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
- PORT_DIPNAME( 0x0004, 0x0004, DEF_STR( Allow_Continue ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0004, DEF_STR( On ) )
- PORT_DIPNAME( 0x0018, 0x0018, DEF_STR( Difficulty ) )
- PORT_DIPSETTING( 0x0010, DEF_STR( Easy ) )
- PORT_DIPSETTING( 0x0018, DEF_STR( Normal ) )
- PORT_DIPSETTING( 0x0008, DEF_STR( Hard ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( Hardest ) )
- PORT_DIPNAME( 0x0060, 0x0020, DEF_STR( Lives ) )
- PORT_DIPSETTING( 0x0040, "1" )
- PORT_DIPSETTING( 0x0060, "2" )
- PORT_DIPSETTING( 0x0020, "3" )
- PORT_DIPSETTING( 0x0000, "5" )
- PORT_SERVICE( 0x0080, IP_ACTIVE_LOW )
-INPUT_PORTS_END
-
-
/***************************************************************************
[ The Astyanax ] / [ The Lord of King ]
@@ -1014,6 +1899,7 @@ ROM_START( astyanax )
ROM_LOAD( "rd.bpr", 0x0000, 0x0200, CRC(85b30ac4) SHA1(b03f577ceb0f26b67453ffa52ef61fea76a93184) )
ROM_END
+
ROM_START( lordofk )
ROM_REGION( 0x80000, "main", 0 ) /* Main CPU Code */
ROM_LOAD16_BYTE( "lokj02.bin", 0x00000, 0x20000, CRC(0d7f9b4a) SHA1(551f237cd60e3b9aa339e393a672b08645b043cc) )
@@ -1059,70 +1945,6 @@ ROM_START( lordofk )
ROM_END
-static INPUT_PORTS_START( astyanax )
- PORT_START("SYSTEM") /* 0x80001.b */
- COINS
-
- PORT_START("P1") /* 0x80003.b */
- JOY_3BUTTONS(1) // fire jump magic
-
- PORT_START("P2") /* 0x80004.b - 0x80005.b */
- JOY_3BUTTONS(2)
- RESERVE
-
- PORT_START("DSW")
- PORT_DIPNAME( 0x0001, 0x0001, DEF_STR( Unknown ) ) // according to manual
- PORT_DIPSETTING( 0x0001, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
- PORT_DIPNAME( 0x0002, 0x0002, DEF_STR( Unknown ) ) // according to manual
- PORT_DIPSETTING( 0x0002, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
- PORT_DIPNAME( 0x0004, 0x0004, DEF_STR( Bonus_Life ) )
- PORT_DIPSETTING( 0x0004, "30k 70k 110k then every 30k" )
- PORT_DIPSETTING( 0x0000, "50k 100k then every 40k" )
- PORT_DIPNAME( 0x0018, 0x0018, DEF_STR( Lives ) )
- PORT_DIPSETTING( 0x0008, "2" )
- PORT_DIPSETTING( 0x0018, "3" )
- PORT_DIPSETTING( 0x0010, "4" )
- PORT_DIPSETTING( 0x0000, "5" )
- PORT_DIPNAME( 0x0020, 0x0020, DEF_STR( Difficulty ) )
- PORT_DIPSETTING( 0x0020, DEF_STR( Normal ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( Hard ) )
- PORT_DIPNAME( 0x0040, 0x0040, "Swap 1P/2P Controls" )
- PORT_DIPSETTING( 0x0040, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
- PORT_DIPNAME( 0x0080, 0x0080, DEF_STR( Flip_Screen ) )
- PORT_DIPSETTING( 0x0080, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
-
- PORT_DIPNAME( 0x0700, 0x0700, DEF_STR( Coin_A ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( 4C_1C ) )
- PORT_DIPSETTING( 0x0400, DEF_STR( 3C_1C ) )
- PORT_DIPSETTING( 0x0200, DEF_STR( 2C_1C ) )
- PORT_DIPSETTING( 0x0700, DEF_STR( 1C_1C ) )
-// PORT_DIPSETTING( 0x0300, DEF_STR( 1C_1C ) ) // 1_2 shown in test mode
-// PORT_DIPSETTING( 0x0500, DEF_STR( 1C_1C ) ) // 1_3
-// PORT_DIPSETTING( 0x0100, DEF_STR( 1C_1C ) ) // 1_4
-// PORT_DIPSETTING( 0x0600, DEF_STR( 1C_1C ) ) // 1_5
- PORT_DIPNAME( 0x3800, 0x3800, DEF_STR( Coin_B ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( 4C_1C ) )
- PORT_DIPSETTING( 0x2000, DEF_STR( 3C_1C ) )
- PORT_DIPSETTING( 0x1000, DEF_STR( 2C_1C ) )
- PORT_DIPSETTING( 0x3800, DEF_STR( 1C_1C ) )
-// PORT_DIPSETTING( 0x1800, DEF_STR( 1C_1C ) ) // 1_2 shown in test mode
-// PORT_DIPSETTING( 0x2800, DEF_STR( 1C_1C ) ) // 1_3
-// PORT_DIPSETTING( 0x0800, DEF_STR( 1C_1C ) ) // 1_4
-// PORT_DIPSETTING( 0x3000, DEF_STR( 1C_1C ) ) // 1_5
- PORT_DIPNAME( 0x4000, 0x0000, DEF_STR( Demo_Sounds ) )
- PORT_DIPSETTING( 0x4000, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
- PORT_DIPNAME( 0x8000, 0x8000, "Test Mode" )
- PORT_DIPSETTING( 0x8000, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
-INPUT_PORTS_END
-
-
-
/***************************************************************************
[ Avenging Spirit ] / [ Phantasm ]
@@ -1161,6 +1983,7 @@ ffa e0000<-6 test
***************************************************************************/
+
ROM_START( avspirit )
ROM_REGION( 0xc0000, "main", 0 ) /* Main CPU Code: 00000-3ffff & 80000-bffff */
ROM_LOAD16_BYTE( "spirit05.rom", 0x000000, 0x020000, CRC(b26a341a) SHA1(5ff5b7d3aa73cc7cea7b6e8cc2ba55f4cd9b52e5) )
@@ -1240,7 +2063,8 @@ ROM_START( phantasm )
ROM_LOAD( "ph.bin", 0x0000, 0x0200, CRC(8359650a) SHA1(97d0105f06c64340fb19a541db03481a7e0b5e05) )
ROM_END
-/*
+
+/***************************************************************************
Monky Elf
@@ -1273,7 +2097,8 @@ Notes:
YM2151 clock 3.000MHz [12/4]
M6295 clocks 3.000MHz [12/4] pin 7 high
-*/
+***************************************************************************/
+
ROM_START( monkelf )
ROM_REGION( 0xc0000, "main", 0 ) /* Main CPU Code: 00000-3ffff & 80000-bffff */
@@ -1311,117 +2136,6 @@ ROM_START( monkelf )
ROM_END
-static INPUT_PORTS_START( avspirit )
- PORT_START("SYSTEM")
- COINS
-
- PORT_START("P1")
- JOY_2BUTTONS(1)
-
- PORT_START("P2")
- JOY_2BUTTONS(2)
- RESERVE
-
- PORT_START("DSW1")
- COINAGE_8BITS
-
- PORT_START("DSW2")
- PORT_DIPNAME( 0x0001, 0x0001, DEF_STR( Flip_Screen ) )
- PORT_DIPSETTING( 0x0001, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
- PORT_DIPNAME( 0x0002, 0x0000, DEF_STR( Demo_Sounds ) )
- PORT_DIPSETTING( 0x0002, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
- PORT_DIPNAME( 0x0004, 0x0004, DEF_STR( Allow_Continue ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0004, DEF_STR( On ) )
- PORT_DIPNAME( 0x0018, 0x0018, DEF_STR( Difficulty ) )
- PORT_DIPSETTING( 0x0008, DEF_STR( Easy ) )
- PORT_DIPSETTING( 0x0018, DEF_STR( Normal ) )
- PORT_DIPSETTING( 0x0010, DEF_STR( Hard ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( Hardest ) )
- PORT_DIPNAME( 0x0020, 0x0020, DEF_STR( Cabinet ) )
- PORT_DIPSETTING( 0x0020, DEF_STR( Upright ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( Cocktail ) )
- PORT_DIPNAME( 0x0040, 0x0040, "Test Mode" ) // freeze & slow motion via P1 + P2 start
- PORT_DIPSETTING( 0x0040, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
- PORT_SERVICE( 0x0080, IP_ACTIVE_LOW )
-INPUT_PORTS_END
-
-
-static INPUT_PORTS_START( phantasm )
- PORT_START("SYSTEM")
- COINS
-
- PORT_START("P1")
- JOY_2BUTTONS(1)
-
- PORT_START("P2")
- JOY_2BUTTONS(2)
- RESERVE
-
- PORT_START("DSW")
- PORT_DIPNAME( 0x0001, 0x0001, DEF_STR( Flip_Screen ) )
- PORT_DIPSETTING( 0x0001, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
- PORT_DIPNAME( 0x0002, 0x0000, DEF_STR( Demo_Sounds ) )
- PORT_DIPSETTING( 0x0002, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
- PORT_DIPNAME( 0x0004, 0x0004, DEF_STR( Allow_Continue ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0004, DEF_STR( On ) )
- PORT_DIPNAME( 0x0018, 0x0018, DEF_STR( Difficulty ) )
- PORT_DIPSETTING( 0x0008, DEF_STR( Easy ) )
- PORT_DIPSETTING( 0x0018, DEF_STR( Normal ) )
- PORT_DIPSETTING( 0x0010, DEF_STR( Hard ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( Hardest ) )
- PORT_DIPNAME( 0x0020, 0x0020, DEF_STR( Cabinet ) )
- PORT_DIPSETTING( 0x0020, DEF_STR( Upright ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( Cocktail ) )
- PORT_DIPNAME( 0x0040, 0x0040, "Test Mode" ) // freeze & slow motion via P1 + P2 start
- PORT_DIPSETTING( 0x0040, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
- PORT_SERVICE( 0x0080, IP_ACTIVE_LOW )
-
- PORT_DIPNAME( 0x0f00, 0x0f00, DEF_STR( Coin_A ) )
- PORT_DIPSETTING( 0x0700, DEF_STR( 4C_1C ) )
- PORT_DIPSETTING( 0x0800, DEF_STR( 3C_1C ) )
- PORT_DIPSETTING( 0x0900, DEF_STR( 2C_1C ) )
- PORT_DIPSETTING( 0x0f00, DEF_STR( 1C_1C ) )
-/* PORT_DIPSETTING( 0x0500, DEF_STR( 1C_1C ) )*/
-/* PORT_DIPSETTING( 0x0400, DEF_STR( 1C_1C ) )*/
-/* PORT_DIPSETTING( 0x0300, DEF_STR( 1C_1C ) )*/
-/* PORT_DIPSETTING( 0x0200, DEF_STR( 1C_1C ) )*/
-/* PORT_DIPSETTING( 0x0100, DEF_STR( 1C_1C ) )*/
- PORT_DIPSETTING( 0x0600, DEF_STR( 2C_3C ) )
- PORT_DIPSETTING( 0x0e00, DEF_STR( 1C_2C ) )
- PORT_DIPSETTING( 0x0d00, DEF_STR( 1C_3C ) )
- PORT_DIPSETTING( 0x0c00, DEF_STR( 1C_4C ) )
- PORT_DIPSETTING( 0x0b00, DEF_STR( 1C_5C ) )
- PORT_DIPSETTING( 0x0a00, DEF_STR( 1C_6C ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( Free_Play ) )
- PORT_DIPNAME( 0xf000, 0xf000, DEF_STR( Coin_B ) )
- PORT_DIPSETTING( 0x7000, DEF_STR( 4C_1C ) )
- PORT_DIPSETTING( 0x8000, DEF_STR( 3C_1C ) )
- PORT_DIPSETTING( 0x9000, DEF_STR( 2C_1C ) )
- PORT_DIPSETTING( 0xf000, DEF_STR( 1C_1C ) )
-/* PORT_DIPSETTING( 0x5000, DEF_STR( 1C_1C ) )*/
-/* PORT_DIPSETTING( 0x4000, DEF_STR( 1C_1C ) )*/
-/* PORT_DIPSETTING( 0x3000, DEF_STR( 1C_1C ) )*/
-/* PORT_DIPSETTING( 0x2000, DEF_STR( 1C_1C ) )*/
-/* PORT_DIPSETTING( 0x1000, DEF_STR( 1C_1C ) )*/
- PORT_DIPSETTING( 0x6000, DEF_STR( 2C_3C ) )
- PORT_DIPSETTING( 0xe000, DEF_STR( 1C_2C ) )
- PORT_DIPSETTING( 0xd000, DEF_STR( 1C_3C ) )
- PORT_DIPSETTING( 0xc000, DEF_STR( 1C_4C ) )
- PORT_DIPSETTING( 0xb000, DEF_STR( 1C_5C ) )
- PORT_DIPSETTING( 0xa000, DEF_STR( 1C_6C ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( Free_Play ) )
-INPUT_PORTS_END
-
-
-
/***************************************************************************
[ Big Striker ]
@@ -1448,6 +2162,7 @@ $885c/e.w *** time (BCD) ***
***************************************************************************/
+
ROM_START( bigstrik )
ROM_REGION( 0x80000, "main", 0 ) /* Main CPU Code */
ROM_LOAD16_BYTE( "91105v11.3", 0x000000, 0x020000, CRC(5d6e08ec) SHA1(4b80a5073cd0b0142cad094816b935d750ac11fb) )
@@ -1483,77 +2198,6 @@ ROM_START( bigstrik )
ROM_END
-static INPUT_PORTS_START( bigstrik )
- PORT_START("SYSTEM")
- COINS
-
- PORT_START("P1")
- JOY_3BUTTONS(1) // pass shoot feint
-
- PORT_START("P2")
- JOY_3BUTTONS(2)
- RESERVE
-
- PORT_START("DSW1")
- PORT_DIPNAME( 0x000f, 0x000f, DEF_STR( Coin_A ) )
- PORT_DIPSETTING( 0x0007, DEF_STR( 4C_1C ) )
- PORT_DIPSETTING( 0x0008, DEF_STR( 3C_1C ) )
- PORT_DIPSETTING( 0x0009, DEF_STR( 2C_1C ) )
- PORT_DIPSETTING( 0x000f, DEF_STR( 1C_1C ) )
- PORT_DIPSETTING( 0x0005, DEF_STR( 2C_3C ) )
-// PORT_DIPSETTING( 0x0004, DEF_STR( 2C_3C ) )
-// PORT_DIPSETTING( 0x0003, DEF_STR( 2C_3C ) )
-// PORT_DIPSETTING( 0x0002, DEF_STR( 2C_3C ) )
-// PORT_DIPSETTING( 0x0001, DEF_STR( 2C_3C ) )
-// PORT_DIPSETTING( 0x0006, DEF_STR( 2C_3C ) )
- PORT_DIPSETTING( 0x000e, DEF_STR( 1C_2C ) )
- PORT_DIPSETTING( 0x000d, DEF_STR( 1C_3C ) )
- PORT_DIPSETTING( 0x000c, DEF_STR( 1C_4C ) )
- PORT_DIPSETTING( 0x000b, DEF_STR( 1C_5C ) )
- PORT_DIPSETTING( 0x000a, DEF_STR( 1C_6C ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( Free_Play ) )
- PORT_DIPNAME( 0x00f0, 0x00f0, DEF_STR( Coin_B ) )
- PORT_DIPSETTING( 0x0070, DEF_STR( 4C_1C ) )
- PORT_DIPSETTING( 0x0080, DEF_STR( 3C_1C ) )
- PORT_DIPSETTING( 0x0090, DEF_STR( 2C_1C ) )
- PORT_DIPSETTING( 0x00f0, DEF_STR( 1C_1C ) )
- PORT_DIPSETTING( 0x0050, DEF_STR( 2C_3C ) )
-// PORT_DIPSETTING( 0x0040, DEF_STR( 2C_3C ) )
-// PORT_DIPSETTING( 0x0030, DEF_STR( 2C_3C ) )
-// PORT_DIPSETTING( 0x0020, DEF_STR( 2C_3C ) )
-// PORT_DIPSETTING( 0x0010, DEF_STR( 2C_3C ) )
-// PORT_DIPSETTING( 0x0060, DEF_STR( 2C_3C ) )
- PORT_DIPSETTING( 0x00e0, DEF_STR( 1C_2C ) )
- PORT_DIPSETTING( 0x00d0, DEF_STR( 1C_3C ) )
- PORT_DIPSETTING( 0x00c0, DEF_STR( 1C_4C ) )
- PORT_DIPSETTING( 0x00b0, DEF_STR( 1C_5C ) )
- PORT_DIPSETTING( 0x00a0, DEF_STR( 1C_6C ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( Free_Play ) )
-
- PORT_START("DSW2")
- PORT_DIPNAME( 0x0001, 0x0001, DEF_STR( Flip_Screen ) )
- PORT_DIPSETTING( 0x0001, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
- PORT_DIPNAME( 0x0006, 0x0006, DEF_STR( Difficulty ) )
- PORT_DIPSETTING( 0x0002, DEF_STR( Easy ) )
- PORT_DIPSETTING( 0x0006, DEF_STR( Normal ) )
- PORT_DIPSETTING( 0x0004, DEF_STR( Hard ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( Hardest ) )
- PORT_DIPNAME( 0x0018, 0x0018, "Time" )
- PORT_DIPSETTING( 0x0000, "Very Short" )
- PORT_DIPSETTING( 0x0010, "Short" )
- PORT_DIPSETTING( 0x0018, DEF_STR( Normal ) )
- PORT_DIPSETTING( 0x0008, "Long" )
- PORT_DIPNAME( 0x0020, 0x0020, DEF_STR( Demo_Sounds ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0020, DEF_STR( On ) )
- PORT_DIPNAME( 0x0040, 0x0040, "1 Credit 2 Play" )
- PORT_DIPSETTING( 0x0040, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
- PORT_SERVICE( 0x0080, IP_ACTIVE_LOW )
-INPUT_PORTS_END
-
-
/***************************************************************************
[ Chimera Beast ]
@@ -1566,6 +2210,7 @@ Note: This game was a prototype
***************************************************************************/
+
ROM_START( chimerab )
ROM_REGION( 0x80000, "main", 0 ) /* Main CPU Code */
ROM_LOAD16_BYTE( "prg3.bin", 0x000000, 0x040000, CRC(70f1448f) SHA1(60aaee1cf7aa15ffa4962d947747b0ae7cdcfd8a) )
@@ -1601,44 +2246,6 @@ ROM_START( chimerab )
ROM_LOAD( "prom", 0x0000, 0x0200, NO_DUMP )
ROM_END
-static INPUT_PORTS_START( chimerab )
- PORT_START("SYSTEM")
- COINS
-
- PORT_START("P1")
- JOY_2BUTTONS(1) // fire jump unused?(shown in service mode, but not in instructions)
-
- PORT_START("P2")
- JOY_2BUTTONS(2)
- RESERVE // Unused
-
- PORT_START("DSW1")
- PORT_DIPNAME( 0x0001, 0x0001, DEF_STR( Flip_Screen ) )
- PORT_DIPSETTING( 0x0001, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
- PORT_DIPNAME( 0x0002, 0x0000, DEF_STR( Demo_Sounds ) )
- PORT_DIPSETTING( 0x0002, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
- PORT_DIPNAME( 0x0004, 0x0004, DEF_STR( Allow_Continue ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0004, DEF_STR( On ) )
- PORT_DIPNAME( 0x0018, 0x0018, DEF_STR( Difficulty ) )
- PORT_DIPSETTING( 0x0010, DEF_STR( Easy ) )
- PORT_DIPSETTING( 0x0018, DEF_STR( Normal ) )
- PORT_DIPSETTING( 0x0008, DEF_STR( Hard ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( Hardest ) )
- PORT_DIPNAME( 0x0060, 0x0020, DEF_STR( Lives ) )
- PORT_DIPSETTING( 0x0040, "1" )
- PORT_DIPSETTING( 0x0060, "2" )
- PORT_DIPSETTING( 0x0020, "3" )
- PORT_DIPSETTING( 0x0000, "4" )
- PORT_SERVICE( 0x0080, IP_ACTIVE_LOW )
-
- PORT_START("DSW2")
- COINAGE_8BITS
-INPUT_PORTS_END
-
-
/***************************************************************************
@@ -1691,6 +2298,7 @@ c2104 <- 1fd060 (scroll 2 ctrl) c2100 <- 1fd228 (scroll 2 x) c2102 <- 1fd22a
***************************************************************************/
+
ROM_START( cybattlr )
ROM_REGION( 0x80000, "main", 0 ) /* Main CPU Code */
ROM_LOAD16_BYTE( "cb_03.rom", 0x000000, 0x040000, CRC(bee20587) SHA1(3c1d546c63a3d6f8a63b7dee1c8e99a7091d774d) )
@@ -1726,68 +2334,6 @@ ROM_START( cybattlr )
ROM_LOAD( "pr-91028.12", 0x0000, 0x0200, CRC(cfe90082) SHA1(b59991ec7b3e83ba645b709547e5b4cbe03c0f11) )
ROM_END
-static INPUT_PORTS_START( cybattlr )
- PORT_START("SYSTEM")
- COINS
-
- PORT_START("P1")
- JOY_2BUTTONS(1) // fire sword
-
- PORT_START("P2")
- JOY_2BUTTONS(2)
- RESERVE // Unused
-
- PORT_START("DSW1") /*1fd2d9.b, !1fd009.b */
- PORT_DIPNAME( 0x0007, 0x0007, DEF_STR( Coin_A ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( 4C_1C ) )
- PORT_DIPSETTING( 0x0001, DEF_STR( 3C_1C ) )
- PORT_DIPSETTING( 0x0003, DEF_STR( 2C_1C ) )
- PORT_DIPSETTING( 0x0007, DEF_STR( 1C_1C ) )
- PORT_DIPSETTING( 0x0002, DEF_STR( 2C_3C ) )
- PORT_DIPSETTING( 0x0006, DEF_STR( 1C_2C ) )
- PORT_DIPSETTING( 0x0005, DEF_STR( 1C_3C ) )
- PORT_DIPSETTING( 0x0004, DEF_STR( 1C_4C ) )
- PORT_DIPNAME( 0x0038, 0x0038, DEF_STR( Coin_B ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( 4C_1C ) )
- PORT_DIPSETTING( 0x0008, DEF_STR( 3C_1C ) )
- PORT_DIPSETTING( 0x0018, DEF_STR( 2C_1C ) )
- PORT_DIPSETTING( 0x0038, DEF_STR( 1C_1C ) )
- PORT_DIPSETTING( 0x0010, DEF_STR( 2C_3C ) )
- PORT_DIPSETTING( 0x0030, DEF_STR( 1C_2C ) )
- PORT_DIPSETTING( 0x0028, DEF_STR( 1C_3C ) )
- PORT_DIPSETTING( 0x0020, DEF_STR( 1C_4C ) )
- PORT_DIPNAME( 0x0040, 0x0040, DEF_STR( Free_Play ) )
- PORT_DIPSETTING( 0x0040, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
- PORT_SERVICE( 0x0080, IP_ACTIVE_LOW )
-
- PORT_START("DSW2") /* 1fd2d7.b, !1fd007.b */
- PORT_DIPNAME( 0x0003, 0x0003, DEF_STR( Difficulty ) )
- PORT_DIPSETTING( 0x0002, DEF_STR( Easy ) )
- PORT_DIPSETTING( 0x0003, DEF_STR( Normal ) )
- PORT_DIPSETTING( 0x0001, DEF_STR( Hard ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( Very_Hard ) )
- PORT_DIPNAME( 0x0004, 0x0004, "Disable Instruction Screen" ) /* Manual states this dip is "Unused" */
- PORT_DIPSETTING( 0x0004, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
- PORT_DIPNAME( 0x0018, 0x00018, DEF_STR( Allow_Continue ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0010, "Up to Mission 4" )
- PORT_DIPSETTING( 0x0008, "Not on Final Mission" )
- PORT_DIPSETTING( 0x0018, DEF_STR( On ) )
- PORT_DIPNAME( 0x0020, 0x0020, "Intro Music" )
- PORT_DIPSETTING( 0x0000, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0020, DEF_STR( On ) )
- PORT_DIPNAME( 0x0040, 0x0000, DEF_STR( Demo_Sounds ) )
- PORT_DIPSETTING( 0x0040, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
- PORT_DIPNAME( 0x0080, 0x0080, DEF_STR( Flip_Screen ) )
- PORT_DIPSETTING( 0x0080, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
-INPUT_PORTS_END
-
-
-
/***************************************************************************
@@ -1812,6 +2358,7 @@ fc0 (a7)+ -> 58000 (string)
***************************************************************************/
+
ROM_START( edf )
ROM_REGION( 0xc0000, "main", 0 ) /* Main CPU Code: 00000-3ffff & 80000-bffff */
ROM_LOAD16_BYTE( "edf5.b5", 0x000000, 0x020000, CRC(105094d1) SHA1(e962164836756bc20c2b5dc0032042a0219e82d8) )
@@ -1848,6 +2395,7 @@ ROM_START( edf )
ROM_LOAD( "rd.20n", 0x0000, 0x0200, CRC(1d877538) SHA1(a5be0dc65dcfc36fbba10d1fddbe155e24b6122f) )
ROM_END
+
ROM_START( edfu )
ROM_REGION( 0xc0000, "main", 0 ) /* Main CPU Code: 00000-3ffff & 80000-bffff */
ROM_LOAD16_BYTE( "edf5.b5", 0x000000, 0x020000, CRC(105094d1) SHA1(e962164836756bc20c2b5dc0032042a0219e82d8) )
@@ -1884,68 +2432,6 @@ ROM_START( edfu )
ROM_LOAD( "rd.20n", 0x0000, 0x0200, CRC(1d877538) SHA1(a5be0dc65dcfc36fbba10d1fddbe155e24b6122f) )
ROM_END
-static INPUT_PORTS_START( edf )
- PORT_START("SYSTEM")
- COINS
-
- PORT_START("P1")
- JOY_2BUTTONS(1) // fire unfold_weapons
-
- PORT_START("P2")
- JOY_2BUTTONS(2)
- RESERVE
-
- PORT_START("DSW1")
- PORT_DIPNAME( 0x0007, 0x0007, DEF_STR( Coin_A ) )
- PORT_DIPSETTING( 0x0004, DEF_STR( 3C_1C ) )
- PORT_DIPSETTING( 0x0002, DEF_STR( 2C_1C ) )
- PORT_DIPSETTING( 0x0007, DEF_STR( 1C_1C ) )
- PORT_DIPSETTING( 0x0003, DEF_STR( 1C_2C ) )
- PORT_DIPSETTING( 0x0005, DEF_STR( 1C_3C ) )
- PORT_DIPSETTING( 0x0001, DEF_STR( 1C_4C ) )
- PORT_DIPSETTING( 0x0006, DEF_STR( 1C_5C ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( Free_Play ) )
- PORT_DIPNAME( 0x0038, 0x0038, DEF_STR( Coin_B ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( 4C_1C ) )
- PORT_DIPSETTING( 0x0020, DEF_STR( 3C_1C ) )
- PORT_DIPSETTING( 0x0010, DEF_STR( 2C_1C ) )
- PORT_DIPSETTING( 0x0038, DEF_STR( 1C_1C ) )
- PORT_DIPSETTING( 0x0018, DEF_STR( 1C_2C ) )
- PORT_DIPSETTING( 0x0028, DEF_STR( 1C_3C ) )
- PORT_DIPSETTING( 0x0008, DEF_STR( 1C_4C ) )
- PORT_DIPSETTING( 0x0030, DEF_STR( 1C_5C ) )
- PORT_DIPNAME( 0x000040, 0x000040, DEF_STR( Demo_Sounds ) )
- PORT_DIPSETTING( 0x000000, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x000040, DEF_STR( On ) )
- PORT_SERVICE( 0x000080, IP_ACTIVE_LOW )
-
- PORT_START("DSW2") /* 0x66007.b */
- PORT_DIPNAME( 0x0007, 0x0007, "DSW-B bits 2-0" )
- PORT_DIPSETTING( 0x0000, "0" )
- PORT_DIPSETTING( 0x0001, "1" )
- PORT_DIPSETTING( 0x0002, "2" )
- PORT_DIPSETTING( 0x0003, "3" )
- PORT_DIPSETTING( 0x0004, "4" )
- PORT_DIPSETTING( 0x0005, "5" )
- PORT_DIPSETTING( 0x0006, "6" )
- PORT_DIPSETTING( 0x0007, "7" )
- PORT_DIPNAME( 0x0008, 0x0008, DEF_STR( Lives ) )
- PORT_DIPSETTING( 0x0008, "3" )
- PORT_DIPSETTING( 0x0000, "4" )
- PORT_DIPNAME( 0x0030, 0x0030, DEF_STR( Difficulty ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( Easy ) )
- PORT_DIPSETTING( 0x0030, DEF_STR( Normal ) )
- PORT_DIPSETTING( 0x0010, DEF_STR( Hard ) )
- PORT_DIPSETTING( 0x0020, DEF_STR( Very_Hard ) )
- PORT_DIPNAME( 0x0040, 0x0040, "DSW-B bit 6" )
- PORT_DIPSETTING( 0x0040, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
- PORT_DIPNAME( 0x0080, 0x0080, DEF_STR( Flip_Screen ) )
- PORT_DIPSETTING( 0x0080, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
-INPUT_PORTS_END
-
-
/***************************************************************************
@@ -2001,53 +2487,6 @@ ROM_START( hachoo )
ROM_END
-static INPUT_PORTS_START( hachoo )
- PORT_START("SYSTEM") /* 0x80001.b */
- COINS
-
- PORT_START("P1") /* 0x80003.b */
- JOY_2BUTTONS(1) // fire jump
-
- PORT_START("P2") /* 0x80004.b - 0x80005.b */
- JOY_2BUTTONS(2)
- RESERVE
-
- PORT_START("DSW")
- PORT_DIPNAME( 0x0001, 0x0001, DEF_STR( Unused ) ) /* Manual states dips 1-4 & 6 are "Unused" */
- PORT_DIPSETTING( 0x0001, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
- PORT_DIPNAME( 0x0002, 0x0002, DEF_STR( Unused ) )
- PORT_DIPSETTING( 0x0002, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
- PORT_DIPNAME( 0x0004, 0x0004, DEF_STR( Unused ) )
- PORT_DIPSETTING( 0x0004, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
- PORT_DIPNAME( 0x0008, 0x0008, DEF_STR( Unused ) )
- PORT_DIPSETTING( 0x0008, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
- PORT_DIPNAME( 0x0030, 0x0030, DEF_STR( Difficulty ) )
- PORT_DIPSETTING( 0x0030, DEF_STR( Normal ) )
- PORT_DIPSETTING( 0x0020, DEF_STR( Hard ) )
- PORT_DIPSETTING( 0x0010, DEF_STR( Harder ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( Hardest ) )
- PORT_DIPNAME( 0x0040, 0x0040, DEF_STR( Unused ) )
- PORT_DIPSETTING( 0x0040, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
- PORT_DIPNAME( 0x0080, 0x0080, DEF_STR( Flip_Screen ) )
- PORT_DIPSETTING( 0x0080, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
-
- COINAGE_6BITS
- PORT_DIPNAME( 0x4000, 0x4000, DEF_STR( Demo_Sounds ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x4000, DEF_STR( On ) )
- PORT_DIPNAME( 0x8000, 0x8000, DEF_STR( Unused ) )
- PORT_DIPSETTING( 0x8000, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
-INPUT_PORTS_END
-
-
-
/***************************************************************************
Hayaoshi Quiz Ouza Ketteisen
@@ -2085,6 +2524,7 @@ PR-91044 (82S131N)
***************************************************************************/
+
ROM_START( hayaosi1 )
ROM_REGION( 0xc0000, "main", 0 ) /* Main CPU Code: 00000-3ffff & 80000-bffff */
ROM_LOAD16_BYTE( "5", 0x000000, 0x020000, CRC(eaf38fab) SHA1(0f9cd6e674668a86d2bb54228b50217c934e96af) )
@@ -2121,70 +2561,6 @@ ROM_START( hayaosi1 )
ROM_LOAD( "pr-91044", 0x0000, 0x0200, CRC(c69423d6) SHA1(ba9644a9899df2d73a5a16bf7ceef1954c2e25f3) )
ROM_END
-static INPUT_PORTS_START( hayaosi1 )
- PORT_START("SYSTEM")
- PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_START1 )
- PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_START2 )
- PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_UNKNOWN )
- PORT_SERVICE_NO_TOGGLE( 0x0008, IP_ACTIVE_LOW )
- PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_START3 )
- PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_SERVICE1 )
- PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_COIN1 )
- PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_COIN2 )
- PORT_BIT( 0xff00, IP_ACTIVE_LOW, IPT_UNKNOWN )
-
- PORT_START("P1")
- PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(2)
- PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(2)
- PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(1)
- PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(1)
- PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(3)
- PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(3)
- PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_PLAYER(1)
- PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_PLAYER(3)
- PORT_BIT( 0xff00, IP_ACTIVE_LOW, IPT_UNKNOWN )
-
- PORT_START("P2")
- PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_PLAYER(2)
- PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(2)
- PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_PLAYER(1)
- PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(1)
- PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_PLAYER(3)
- PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(3)
- PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_PLAYER(2)
- PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_UNKNOWN )
- RESERVE
-
- PORT_START("DSW1")
- COINAGE_8BITS
-
- PORT_START("DSW2") /* 0x69353.b */
- PORT_DIPNAME( 0x0001, 0x0001, DEF_STR( Flip_Screen ) )
- PORT_DIPSETTING( 0x0001, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
- PORT_DIPNAME( 0x0002, 0x0002, DEF_STR( Demo_Sounds ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0002, DEF_STR( On ) )
- PORT_DIPNAME( 0x0004, 0x0004, "Unknown 2-2" )
- PORT_DIPSETTING( 0x0004, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
- PORT_DIPNAME( 0x0018, 0x0018, DEF_STR( Difficulty ) )
- PORT_DIPSETTING( 0x0010, DEF_STR( Easy ) )
- PORT_DIPSETTING( 0x0018, DEF_STR( Normal ) )
- PORT_DIPSETTING( 0x0008, DEF_STR( Hard ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( Hardest ) )
- PORT_DIPNAME( 0x0020, 0x0020, "Points To Win" )
- PORT_DIPSETTING( 0x0000, "10" )
- PORT_DIPSETTING( 0x0020, "15" )
- PORT_DIPNAME( 0x0040, 0x0040, "Unknown 2-6" )
- PORT_DIPSETTING( 0x0040, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
- PORT_DIPNAME( 0x0080, 0x0080, "Unknown 2-7" )
- PORT_DIPSETTING( 0x0080, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
-INPUT_PORTS_END
-
-
/***************************************************************************
@@ -2202,6 +2578,7 @@ f010c.w credits
***************************************************************************/
+
ROM_START( kazan )
ROM_REGION( 0x60000, "main", 0 ) /* Main CPU Code */
ROM_LOAD16_BYTE( "kazan.2", 0x000000, 0x020000, CRC(072aa3d6) SHA1(49fd03d72f647dcda140d0a507f23a80911427e1) )
@@ -2244,6 +2621,7 @@ ROM_START( kazan )
ROM_LOAD( "kazan.14m", 0x0000, 0x0200, CRC(85b30ac4) SHA1(b03f577ceb0f26b67453ffa52ef61fea76a93184) )
ROM_END
+
ROM_START( iganinju )
ROM_REGION( 0x60000, "main", 0 ) /* Main CPU Code */
ROM_LOAD16_BYTE( "iga_02.bin", 0x000000, 0x020000, CRC(bd00c280) SHA1(d4e074bb25fc7295b1a39aa22e966cf471a6789f) )
@@ -2278,52 +2656,6 @@ ROM_START( iganinju )
ROM_END
-static INPUT_PORTS_START( kazan )
- PORT_START("SYSTEM") /* 0x80001.b */
- COINS
-
- PORT_START("P1") /* 0x80003.b */
- JOY_2BUTTONS(1) // fire jump
-
- PORT_START("P2") /* 0x80004.b - 0x80005.b */
- JOY_2BUTTONS(2)
- RESERVE
-
- PORT_START("DSW")
- PORT_DIPNAME( 0x0003, 0x0003, DEF_STR( Lives ) )
- PORT_DIPSETTING( 0x0003, "2" )
- PORT_DIPSETTING( 0x0001, "3" )
- PORT_DIPSETTING( 0x0002, "4" )
- PORT_DIPSETTING( 0x0000, "Infinite (Cheat)" )
- PORT_DIPNAME( 0x0004, 0x0004, DEF_STR( Bonus_Life ) )
- PORT_DIPSETTING( 0x0004, "50k" )
- PORT_DIPSETTING( 0x0000, "200k" )
- PORT_DIPNAME( 0x0008, 0x0008, DEF_STR( Allow_Continue ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0008, DEF_STR( On ) )
- PORT_DIPNAME( 0x0030, 0x0030, DEF_STR( Difficulty ) )
- PORT_DIPSETTING( 0x0030, DEF_STR( Normal ) )
- PORT_DIPSETTING( 0x0020, DEF_STR( Hard ) )
- PORT_DIPSETTING( 0x0010, DEF_STR( Harder ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( Hardest ) )
- PORT_DIPNAME( 0x0040, 0x0000, DEF_STR( Cabinet ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( Upright ) )
- PORT_DIPSETTING( 0x0040, DEF_STR( Cocktail ) )
- PORT_DIPNAME( 0x0080, 0x0080, DEF_STR( Flip_Screen ) )
- PORT_DIPSETTING( 0x0080, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
-
- COINAGE_6BITS
- PORT_DIPNAME( 0x4000, 0x0000, DEF_STR( Demo_Sounds ) )
- PORT_DIPSETTING( 0x4000, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
- PORT_DIPNAME( 0x8000, 0x8000, "Freeze Screen (Cheat)")
- PORT_DIPSETTING( 0x8000, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
-INPUT_PORTS_END
-
-
-
/***************************************************************************
[ Jitsuryoku!! Pro Yakyuu ]
@@ -2347,6 +2679,7 @@ BS.BPR [85b30ac4] (82S131)
***************************************************************************/
+
ROM_START( jitsupro )
ROM_REGION( 0x60000, "main", 0 ) /* Main CPU Code */
ROM_LOAD16_BYTE( "jp_2.bin", 0x000000, 0x020000, CRC(5d842ff2) SHA1(69032601c0e67c5c78fad1cb2bb4f1b59014fe5a) )
@@ -2381,59 +2714,6 @@ ROM_START( jitsupro )
ROM_END
-static INPUT_PORTS_START( jitsupro )
- PORT_START("SYSTEM") /* 0x80001.b */
- COINS
-
- PORT_START("P1") /* 0x80003.b */
- JOY_3BUTTONS(1) // shoot change view change bat
-
- PORT_START("P2") /* 0x80004.b - 0x80005.b */
- JOY_3BUTTONS(2)
- RESERVE
-
- PORT_START("DSW")
- PORT_DIPNAME( 0x0001, 0x0001, "2 Player Innings per Credit" )
- PORT_DIPSETTING( 0x0001, "2" )
- PORT_DIPSETTING( 0x0000, "3" )
- PORT_DIPNAME( 0x0002, 0x0002, "Difficulty for Catching Ball" )
- PORT_DIPSETTING( 0x0002, DEF_STR( Normal ) ) // $200-140
- PORT_DIPSETTING( 0x0000, DEF_STR( Hard ) ) // $400-140
- PORT_DIPNAME( 0x003c, 0x003c, "Franchise (Increase Batting Power)" )
- PORT_DIPSETTING( 0x003c, DEF_STR( Normal ) )
- PORT_DIPSETTING( 0x0038, "G" )
- PORT_DIPSETTING( 0x0034, "D" )
- PORT_DIPSETTING( 0x0030, "C" ) /* I hope the Japanese Baseball crowd knows what these leagues are ;-) */
- PORT_DIPSETTING( 0x002c, "S" )
- PORT_DIPSETTING( 0x0028, "W (B)" )
- PORT_DIPSETTING( 0x0024, "T" )
- PORT_DIPSETTING( 0x0020, "L" )
- PORT_DIPSETTING( 0x001c, "Br (Bw)" )
- PORT_DIPSETTING( 0x0018, "F" )
- PORT_DIPSETTING( 0x0014, "H" )
- PORT_DIPSETTING( 0x0010, "O (M)" )
- PORT_DIPSETTING( 0x000c, "Bu" )
-// PORT_DIPSETTING( 0x0008, "13" )
-// PORT_DIPSETTING( 0x0004, "14" )
-// PORT_DIPSETTING( 0x0000, "15" )
- PORT_DIPNAME( 0x0040, 0x0040, "Scroll Is Based On" )
- PORT_DIPSETTING( 0x0040, "Shadow of Baseball" )
- PORT_DIPSETTING( 0x0000, "The Baseball Itself" )
- PORT_DIPNAME( 0x0080, 0x0080, DEF_STR( Flip_Screen ) )
- PORT_DIPSETTING( 0x0080, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
-
- COINAGE_6BITS
- PORT_DIPNAME( 0x4000, 0x0000, DEF_STR( Demo_Sounds ) )
- PORT_DIPSETTING( 0x4000, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
- PORT_DIPNAME( 0x8000, 0x8000, DEF_STR( Unused ) )
- PORT_DIPSETTING( 0x8000, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
-INPUT_PORTS_END
-
-
-
/***************************************************************************
[ Kick Off ]
@@ -2464,6 +2744,7 @@ Notes:
***************************************************************************/
+
ROM_START( kickoff )
ROM_REGION( 0x60000, "main", 0 ) /* Main CPU Code */
ROM_LOAD16_BYTE( "kioff03.rom", 0x000000, 0x010000, CRC(3b01be65) SHA1(110b4e02053073c0315aba1eca8c19afe5fafb33) )
@@ -2504,67 +2785,6 @@ ROM_START( kickoff )
ROM_LOAD( "kick.bin", 0x0000, 0x0200, CRC(85b30ac4) SHA1(b03f577ceb0f26b67453ffa52ef61fea76a93184) )
ROM_END
-static INPUT_PORTS_START( kickoff )
- PORT_START("SYSTEM") /* 0x80001.b -> !f0008/a.w */
- COINS
-
- PORT_START("P1") /* 0x80003.b -> !f000c/e.w */
- JOY_2BUTTONS(1) // shoot pass
-
- PORT_START("P2") /* 0x80004.b --> !f0010/11.w */
- JOY_2BUTTONS(2)
- RESERVE
-
- PORT_START("DSW")
- PORT_DIPNAME( 0x0003, 0x0003, "Time" ) // -> !f0082.w
- PORT_DIPSETTING( 0x0003, "3'" )
- PORT_DIPSETTING( 0x0002, "4'" )
- PORT_DIPSETTING( 0x0001, "5'" )
- PORT_DIPSETTING( 0x0000, "6'" )
- PORT_DIPNAME( 0x0004, 0x0004, DEF_STR( Unused ) ) /* Manual states dips 3 & 4 are "Unused" */
- PORT_DIPSETTING( 0x0004, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
- PORT_DIPNAME( 0x0008, 0x0008, DEF_STR( Unused ) )
- PORT_DIPSETTING( 0x0008, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
- PORT_DIPNAME( 0x0030, 0x0030, DEF_STR( Difficulty ) )
- PORT_DIPSETTING( 0x0030, DEF_STR( Normal ) )
- PORT_DIPSETTING( 0x0020, DEF_STR( Hard ) )
- PORT_DIPSETTING( 0x0010, DEF_STR( Harder ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( Hardest ) )
- PORT_DIPNAME( 0x0040, 0x0000, DEF_STR( Controls ) )
- PORT_DIPSETTING( 0x0040, DEF_STR( Trackball ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( Joystick ) )
- PORT_DIPNAME( 0x0080, 0x0080, DEF_STR( Flip_Screen ) )
- PORT_DIPSETTING( 0x0080, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
-
- PORT_DIPNAME( 0x0700, 0x0700, DEF_STR( Coin_A ) )
- PORT_DIPSETTING( 0x0100, DEF_STR( 4C_1C ) )
- PORT_DIPSETTING( 0x0200, DEF_STR( 3C_1C ) )
- PORT_DIPSETTING( 0x0300, DEF_STR( 2C_1C ) )
- PORT_DIPSETTING( 0x0700, DEF_STR( 1C_1C ) )
- PORT_DIPSETTING( 0x0600, DEF_STR( 1C_2C ) )
- PORT_DIPSETTING( 0x0500, DEF_STR( 1C_3C ) )
- PORT_DIPSETTING( 0x0400, DEF_STR( 1C_4C ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( Free_Play ) )
- PORT_DIPNAME( 0x0800, 0x0800, DEF_STR( Unused ) )
- PORT_DIPSETTING( 0x0800, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
- PORT_DIPNAME( 0x1000, 0x1000, DEF_STR( Unused ) )
- PORT_DIPSETTING( 0x1000, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
- PORT_DIPNAME( 0x2000, 0x2000, "Freeze Screen (Cheat)" )
- PORT_DIPSETTING( 0x2000, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
- PORT_DIPNAME( 0x4000, 0x0000, DEF_STR( Demo_Sounds ) )
- PORT_DIPSETTING( 0x4000, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
- PORT_DIPNAME( 0x8000, 0x8000, "Text" )
- PORT_DIPSETTING( 0x8000, DEF_STR( Japanese ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( English ) ) // show "Japan Only" warning
-INPUT_PORTS_END
-
/***************************************************************************
@@ -2600,6 +2820,7 @@ ROM_START( lomakai )
ROM_LOAD( "makaiden.10", 0x0100, 0x0100, CRC(e6709c51) SHA1(f5cd4f0454c1a71a5b0006b098f9e76c2d8a27d2) )
ROM_END
+
ROM_START( makaiden )
ROM_REGION( 0x60000, "main", 0 ) /* Main CPU Code */
ROM_LOAD16_BYTE( "makaiden.3a", 0x000000, 0x020000, CRC(87cf81d1) SHA1(c4410a86a01c683368dbc3daca61e21931885650) )
@@ -2622,50 +2843,6 @@ ROM_START( makaiden )
ROM_LOAD( "makaiden.10", 0x0100, 0x0100, CRC(e6709c51) SHA1(f5cd4f0454c1a71a5b0006b098f9e76c2d8a27d2) )
ROM_END
-static INPUT_PORTS_START( lomakai )
- PORT_START("SYSTEM") /* 0x80001.b */
- COINS
-
- PORT_START("P1") /* 0x80003.b */
- JOY_2BUTTONS(1) // fire jump
-
- PORT_START("P2") /* 0x80004.b - 0x80005.b */
- JOY_2BUTTONS(2)
- RESERVE
-
- PORT_START("DSW")
- PORT_DIPNAME( 0x0003, 0x0003, DEF_STR( Lives ) )
- PORT_DIPSETTING( 0x0000, "2" )
- PORT_DIPSETTING( 0x0003, "3" )
- PORT_DIPSETTING( 0x0002, "4" )
- PORT_DIPSETTING( 0x0001, "5" )
- PORT_DIPNAME( 0x0004, 0x0004, DEF_STR( Unknown ) )
- PORT_DIPSETTING( 0x0004, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
- PORT_DIPNAME( 0x0008, 0x0008, DEF_STR( Unknown ) )
- PORT_DIPSETTING( 0x0008, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
- PORT_DIPNAME( 0x0030, 0x0030, DEF_STR( Difficulty ) ) // boss enemy damage bar
- PORT_DIPSETTING( 0x0030, DEF_STR( Easy ) ) // 6 dots
- PORT_DIPSETTING( 0x0020, DEF_STR( Normal ) ) // 8 dots
- PORT_DIPSETTING( 0x0010, DEF_STR( Hard ) ) // 9 dots
- PORT_DIPSETTING( 0x0000, DEF_STR( Hardest ) ) // 12 dots
- PORT_DIPNAME( 0x0040, 0x0000, DEF_STR( Cabinet ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( Upright ) )
- PORT_DIPSETTING( 0x0040, DEF_STR( Cocktail ) )
- PORT_DIPNAME( 0x0080, 0x0080, DEF_STR( Flip_Screen ) )
- PORT_DIPSETTING( 0x0080, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
-
- COINAGE_6BITS_2
- PORT_DIPNAME( 0x4000, 0x0000, DEF_STR( Demo_Sounds ) )
- PORT_DIPSETTING( 0x4000, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
- PORT_DIPNAME( 0x8000, 0x8000, "Invulnerability (Cheat)")
- PORT_DIPSETTING( 0x8000, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
-INPUT_PORTS_END
-
/***************************************************************************
@@ -2803,52 +2980,6 @@ ROM_START( p47j )
ROM_LOAD( "p-47.14m", 0x0000, 0x0200, CRC(1d877538) SHA1(a5be0dc65dcfc36fbba10d1fddbe155e24b6122f) )
ROM_END
-static INPUT_PORTS_START( p47 )
- PORT_START("SYSTEM") /* 0x80001.b */
- COINS
-
- PORT_START("P1") /* 0x80003.b */
- JOY_2BUTTONS(1) // fire bomb
-
- PORT_START("P2") /* 0x80004.b - 0x80005.b */
- JOY_2BUTTONS(2)
- RESERVE
-
- PORT_START("DSW")
- PORT_DIPNAME( 0x0003, 0x0003, DEF_STR( Lives ) )
- PORT_DIPSETTING( 0x0002, "2" )
- PORT_DIPSETTING( 0x0003, "3" )
- PORT_DIPSETTING( 0x0001, "4" )
- PORT_DIPSETTING( 0x0000, "5" )
- PORT_DIPNAME( 0x0004, 0x0004, DEF_STR( Unused ) ) /* Manual states dips 3 & 4 are "Unused" */
- PORT_DIPSETTING( 0x0004, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
- PORT_DIPNAME( 0x0008, 0x0008, DEF_STR( Unused ) )
- PORT_DIPSETTING( 0x0008, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
- PORT_DIPNAME( 0x0030, 0x0030, DEF_STR( Difficulty ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( Easy ) )
- PORT_DIPSETTING( 0x0030, DEF_STR( Normal ) )
- PORT_DIPSETTING( 0x0020, DEF_STR( Hard ) )
- PORT_DIPSETTING( 0x0010, DEF_STR( Hardest ) )
- PORT_DIPNAME( 0x0040, 0x0040, DEF_STR( Unused ) ) /* Manual states this dip is "Unused" */
- PORT_DIPSETTING( 0x0040, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
- PORT_DIPNAME( 0x0080, 0x0080, DEF_STR( Flip_Screen ) )
- PORT_DIPSETTING( 0x0080, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
-
- COINAGE_6BITS_2
- PORT_DIPNAME( 0x4000, 0x4000, DEF_STR( Demo_Sounds ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x4000, DEF_STR( On ) )
- PORT_DIPNAME( 0x8000, 0x8000, "Invulnerability (Cheat)")
- PORT_DIPSETTING( 0x8000, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
-INPUT_PORTS_END
-
-
-
/***************************************************************************
@@ -2941,6 +3072,7 @@ c2200<-0
***************************************************************************/
+
ROM_START( peekaboo )
ROM_REGION( 0x40000, "main", 0 ) /* 68000 CPU Code */
ROM_LOAD16_BYTE( "j3", 0x000000, 0x020000, CRC(f5f4cf33) SHA1(f135f2b627347255bb0811e9a4a213e3b447c199) )
@@ -2969,103 +3101,6 @@ ROM_START( peekaboo )
ROM_LOAD( "priority.69", 0x000000, 0x200, CRC(b40bff56) SHA1(39c95eed79328ef2df754988db83e07909e848f8) )
ROM_END
-#define PEEKABOO_PADDLE(_FLAG_) \
- PORT_BIT( 0x00ff, 0x0080, IPT_PADDLE ) PORT_PLAYER(_FLAG_) PORT_MINMAX(0x0018,0x00e0) PORT_SENSITIVITY(50) PORT_KEYDELTA(10) PORT_CENTERDELTA(0)
-
-static INPUT_PORTS_START( peekaboo )
- PORT_START("SYSTEM")
- PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_COIN3 ) // called "service"
- PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_COIN4 ) // called "test"
- PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_COIN1 )
- PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_COIN2 )
- PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_START1 )
- PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_START2 )
- PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_UNKNOWN )
- PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_UNKNOWN )
- PORT_BIT( 0x0100, IP_ACTIVE_LOW, IPT_BUTTON1 )
- PORT_BIT( 0x0200, IP_ACTIVE_LOW, IPT_BUTTON2 )
- PORT_BIT( 0x0400, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(2)
- PORT_BIT( 0x0800, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(2)
- PORT_BIT( 0x1000, IP_ACTIVE_LOW, IPT_BUTTON3 ) // called "stage clear"
- PORT_BIT( 0x2000, IP_ACTIVE_LOW, IPT_BUTTON4 ) // called "option"
- PORT_BIT( 0x4000, IP_ACTIVE_LOW, IPT_UNKNOWN )
- PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_UNKNOWN )
-
- PORT_START("P1")
- PEEKABOO_PADDLE(1)
-
- PORT_START("P2")
- PEEKABOO_PADDLE(2) PORT_COCKTAIL
- RESERVE
-
- PORT_START("DSW")
- PORT_DIPNAME( 0x0003, 0x0003, DEF_STR( Difficulty ) ) // 1f0358<-!
- PORT_DIPSETTING( 0x0000, DEF_STR( Easy ) )
- PORT_DIPSETTING( 0x0003, DEF_STR( Normal ) )
- PORT_DIPSETTING( 0x0002, DEF_STR( Hard ) )
- PORT_DIPSETTING( 0x0001, DEF_STR( Hardest ) )
- PORT_SERVICE( 0x0004, IP_ACTIVE_LOW )
- PORT_DIPNAME( 0x0008, 0x0008, "Movement" ) // 1f0392<-!
- PORT_DIPSETTING( 0x0008, "Paddles" )
- PORT_DIPSETTING( 0x0000, "Buttons" )
- PORT_DIPNAME( 0x0030, 0x0030, "Nudity" ) // 1f0356<-!
- PORT_DIPSETTING( 0x0030, "Female and Male (Full)" )
- PORT_DIPSETTING( 0x0020, "Female (Full)" )
- PORT_DIPSETTING( 0x0010, "Female (Partial)" )
- PORT_DIPSETTING( 0x0000, DEF_STR( None ) )
- PORT_DIPNAME( 0x0040, 0x0040, DEF_STR( Cabinet ) ) // 1f006a<-!
- PORT_DIPSETTING( 0x0040, DEF_STR( Upright ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( Cocktail ) )
- PORT_DIPNAME( 0x0080, 0x0080, "Number of controllers" ) // 1f0074<-!
- PORT_DIPSETTING( 0x0080, "1" )
- PORT_DIPSETTING( 0x0000, "2" )
-
- COINAGE_6BITS_2
- PORT_DIPNAME( 0x4000, 0x4000, DEF_STR( Demo_Sounds ) ) // 1f0354<-
- PORT_DIPSETTING( 0x0000, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x4000, DEF_STR( On ) )
- PORT_DIPNAME( 0x8000, 0x8000, DEF_STR( Flip_Screen ) ) // 1f0022/6e<-!
- PORT_DIPSETTING( 0x8000, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
-INPUT_PORTS_END
-
-
-
-static UINT16 protection_val;
-
-/* Read the input ports, through a protection device */
-static READ16_HANDLER( protection_peekaboo_r )
-{
- switch (protection_val)
- {
- case 0x02: return 0x03;
- case 0x51: return input_port_read(space->machine, "P1");
- case 0x52: return input_port_read(space->machine, "P2");
- default: return protection_val;
- }
-}
-
-static WRITE16_HANDLER( protection_peekaboo_w )
-{
- static int bank;
-
- COMBINE_DATA(&protection_val);
-
- if ((protection_val & 0x90) == 0x90)
- {
- UINT8 *RAM = memory_region(space->machine, "oki1");
- int new_bank = (protection_val & 0x7) % 7;
-
- if (bank != new_bank)
- {
- memcpy(&RAM[0x20000],&RAM[0x40000 + 0x20000*new_bank],0x20000);
- bank = new_bank;
- }
- }
-
- cpu_set_input_line(space->machine->cpu[0],4,HOLD_LINE);
-}
-
/***************************************************************************
@@ -3078,6 +3113,7 @@ f30a4.l *** score (BCD) ***
***************************************************************************/
+
ROM_START( plusalph )
ROM_REGION( 0x60000, "main", 0 ) /* Main CPU Code */
ROM_LOAD16_BYTE( "pa-rom2.bin", 0x000000, 0x020000, CRC(33244799) SHA1(686fb7fa8a6c25b5aff78bc509f35c69492d7d1e) )
@@ -3122,50 +3158,6 @@ ROM_START( plusalph )
ROM_LOAD( "prom.14m", 0x0000, 0x0200, CRC(1d877538) SHA1(a5be0dc65dcfc36fbba10d1fddbe155e24b6122f) )
ROM_END
-static INPUT_PORTS_START( plusalph )
- PORT_START("SYSTEM") /* 0x80001.b */
- COINS
-
- PORT_START("P1") /* 0x80003.b */
- JOY_2BUTTONS(1) // fire bomb
-
- PORT_START("P2") /* 0x80004.b - 0x80005.b */
- JOY_2BUTTONS(2)
- RESERVE
-
- PORT_START("DSW")
- PORT_DIPNAME( 0x0003, 0x0003, DEF_STR( Lives ) )
- PORT_DIPSETTING( 0x0003, "3" )
- PORT_DIPSETTING( 0x0002, "4" )
- PORT_DIPSETTING( 0x0001, "5" )
- PORT_DIPSETTING( 0x0000, "Infinite (Cheat)" )
- PORT_DIPNAME( 0x0004, 0x0004, "Hyper Laser Beams" )
- PORT_DIPSETTING( 0x0000, "2" )
- PORT_DIPSETTING( 0x0004, "3" )
- PORT_DIPNAME( 0x0008, 0x0008, DEF_STR( Bonus_Life ) )
- PORT_DIPSETTING( 0x0008, "70k and every 200k") /* As stated in manual, but was 70K & Every 130K */
- PORT_DIPSETTING( 0x0000, "100k and 300k Only") /* As stated in manual, but was 100K & Every 200K */
- PORT_DIPNAME( 0x0030, 0x0030, DEF_STR( Difficulty ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( Easy ) )
- PORT_DIPSETTING( 0x0030, DEF_STR( Normal ) )
- PORT_DIPSETTING( 0x0010, DEF_STR( Hard ) )
- PORT_DIPSETTING( 0x0020, DEF_STR( Hardest ) )
- PORT_DIPNAME( 0x0040, 0x0000, DEF_STR( Cabinet ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( Upright ) )
- PORT_DIPSETTING( 0x0040, DEF_STR( Cocktail ) )
- PORT_DIPNAME( 0x0080, 0x0080, DEF_STR( Flip_Screen ) )
- PORT_DIPSETTING( 0x0080, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
-
- COINAGE_6BITS
- PORT_DIPNAME( 0x4000, 0x4000, DEF_STR( Demo_Sounds ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x4000, DEF_STR( On ) )
- PORT_DIPNAME( 0x8000, 0x8000, "Freeze Screen (Cheat)")
- PORT_DIPSETTING( 0x8000, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
-INPUT_PORTS_END
-
/***************************************************************************
@@ -3198,6 +3190,7 @@ f0012->84204 f0014->8420c f0016->8400c
***************************************************************************/
+
ROM_START( rodland )
ROM_REGION( 0x60000, "main", 0 ) /* Main CPU Code */
ROM_LOAD16_BYTE( "rl_02.rom", 0x000000, 0x020000, CRC(c7e00593) SHA1(055b7bcabf90ed6d5edc2797d0f85a5d49b8693b) )
@@ -3236,6 +3229,7 @@ ROM_START( rodland )
ROM_LOAD( "rl.bin", 0x0000, 0x0200, CRC(8914e72d) SHA1(80a664471f14c8ed8544a5e226fdca425ab3c657) )
ROM_END
+
ROM_START( rodlandj )
ROM_REGION( 0x60000, "main", 0 ) /* Main CPU Code */
ROM_LOAD16_BYTE( "rl_2.bin", 0x000000, 0x020000, CRC(b1d2047e) SHA1(75d282b7614c5f4b76ab44e34fea9e87ab8b992c) )
@@ -3313,49 +3307,6 @@ ROM_START( rodlndjb )
ROM_END
-static INPUT_PORTS_START( rodland )
- PORT_START("SYSTEM") /* 0x80001.b */
- COINS
-
- PORT_START("P1") /* 0x80003.b */
- JOY_2BUTTONS(1) // fire ladder
-
- PORT_START("P2") /* 0x80004.b - 0x80005.b */
- JOY_2BUTTONS(2)
- RESERVE
-
- PORT_START("DSW")
- PORT_DIPNAME( 0x0001, 0x0001, DEF_STR( Unused ) ) /* according to manual */
- PORT_DIPSETTING( 0x0001, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
- PORT_DIPNAME( 0x0002, 0x0002, DEF_STR( Unused ) ) /* according to manual */
- PORT_DIPSETTING( 0x0002, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
- PORT_DIPNAME( 0x000c, 0x000c, DEF_STR( Lives ) )
- PORT_DIPSETTING( 0x0004, "2" )
- PORT_DIPSETTING( 0x000c, "3" )
- PORT_DIPSETTING( 0x0008, "4" )
- PORT_DIPSETTING( 0x0000, "Infinite (Cheat)")
- PORT_DIPNAME( 0x0010, 0x0010, "Default episode" )
- PORT_DIPSETTING( 0x0010, "1" )
- PORT_DIPSETTING( 0x0000, "2" )
- PORT_DIPNAME( 0x0060, 0x0060, DEF_STR( Difficulty ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( Easy ) )
- PORT_DIPSETTING( 0x0060, DEF_STR( Normal ) )
- PORT_DIPSETTING( 0x0020, DEF_STR( Hard ) )
- PORT_DIPSETTING( 0x0040, DEF_STR( Hardest ) )
- PORT_DIPNAME( 0x0080, 0x0080, DEF_STR( Flip_Screen ) )
- PORT_DIPSETTING( 0x0080, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
-
- COINAGE_6BITS
- PORT_DIPNAME( 0x4000, 0x0000, DEF_STR( Demo_Sounds ) )
- PORT_DIPSETTING( 0x4000, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
- PORT_SERVICE( 0x8000, IP_ACTIVE_LOW )
-INPUT_PORTS_END
-
-
/***************************************************************************
[ Saint Dragon ]
@@ -3366,6 +3317,7 @@ interrupts: 1] rte 2] 620 3] 5e6
***************************************************************************/
+
ROM_START( stdragon )
ROM_REGION( 0x60000, "main", 0 ) /* Main CPU Code */
ROM_LOAD16_BYTE( "jsd-02.bin", 0x000000, 0x020000, CRC(cc29ab19) SHA1(e145eeb01fad313e300f0c614c0e7a5c1d75d7d9) )
@@ -3408,52 +3360,6 @@ ROM_START( stdragon )
ROM_LOAD( "prom.14m", 0x0000, 0x0200, CRC(1d877538) SHA1(a5be0dc65dcfc36fbba10d1fddbe155e24b6122f) )
ROM_END
-static INPUT_PORTS_START( stdragon )
- PORT_START("SYSTEM") /* 0x80001.b */
- COINS
-
- PORT_START("P1") /* 0x80003.b */
- JOY_2BUTTONS(1) // fire fire
-
- PORT_START("P2") /* 0x80004.b - 0x80005.b */
- JOY_2BUTTONS(2)
- RESERVE
-
- PORT_START("DSW")
- PORT_DIPNAME( 0x0003, 0x0003, DEF_STR( Lives ) )
- PORT_DIPSETTING( 0x0002, "2" )
- PORT_DIPSETTING( 0x0003, "3" )
- PORT_DIPSETTING( 0x0001, "4" )
- PORT_DIPSETTING( 0x0000, "5" )
- PORT_DIPNAME( 0x0004, 0x0004, DEF_STR( Unused ) ) /* Manual states dips 3 & 4 are "Unused" */
- PORT_DIPSETTING( 0x0004, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
- PORT_DIPNAME( 0x0008, 0x0008, DEF_STR( Unused ) )
- PORT_DIPSETTING( 0x0008, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
- PORT_DIPNAME( 0x0030, 0x0030, DEF_STR( Difficulty ) )
- PORT_DIPSETTING( 0x0030, DEF_STR( Easy ) )
- PORT_DIPSETTING( 0x0020, DEF_STR( Normal ) )
- PORT_DIPSETTING( 0x0010, DEF_STR( Hard ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( Hardest ) )
- PORT_DIPNAME( 0x0040, 0x0000, DEF_STR( Cabinet ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( Upright ) )
- PORT_DIPSETTING( 0x0040, DEF_STR( Cocktail ) )
- PORT_DIPNAME( 0x0080, 0x0080, DEF_STR( Flip_Screen ) )
- PORT_DIPSETTING( 0x0080, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
-
- COINAGE_6BITS_2
- PORT_DIPNAME( 0x4000, 0x4000, DEF_STR( Demo_Sounds ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x4000, DEF_STR( On ) )
- PORT_DIPNAME( 0x8000, 0x8000, DEF_STR( Unused ) ) // used?
- PORT_DIPSETTING( 0x8000, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
-INPUT_PORTS_END
-
-
-
/***************************************************************************
@@ -3467,6 +3373,7 @@ text in english.
***************************************************************************/
+
ROM_START( soldam )
ROM_REGION( 0x60000, "main", 0 ) /* Main CPU Code */
ROM_LOAD16_BYTE( "2ver1j.bin",0x000000, 0x020000, CRC(45444b07) SHA1(d991dd52904671fbd8cfcfe07c956d9fd45b3470) )
@@ -3534,58 +3441,6 @@ ROM_START( soldamj )
ROM_LOAD( "pr-91023.m14", 0x0000, 0x0200, CRC(8914e72d) SHA1(80a664471f14c8ed8544a5e226fdca425ab3c657) )
ROM_END
-static INPUT_PORTS_START( soldamj )
- PORT_START("SYSTEM") /* 0x80001.b */
- COINS
-
- PORT_START("P1") /* 0x80003.b */
- JOY_2BUTTONS(1) // turn turn (3rd button is shown in service mode, but seems unused)
-
- PORT_START("P2") /* 0x80004.b - 0x80005.b */
- JOY_2BUTTONS(2)
- RESERVE
-
- PORT_START("DSW")
- PORT_DIPNAME( 0x0003, 0x0003, DEF_STR( Difficulty ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( Easy ) )
- PORT_DIPSETTING( 0x0003, DEF_STR( Normal ) )
- PORT_DIPSETTING( 0x0002, DEF_STR( Hard ) )
- PORT_DIPSETTING( 0x0001, DEF_STR( Hardest ))
- PORT_DIPNAME( 0x000c, 0x000c, "Games To Play (Vs)" )
- PORT_DIPSETTING( 0x0000, "1" )
- PORT_DIPSETTING( 0x000c, "2" )
- PORT_DIPSETTING( 0x0008, "3" )
- PORT_DIPSETTING( 0x0004, "4" )
- PORT_DIPNAME( 0x0010, 0x0010, DEF_STR( Allow_Continue ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0010, DEF_STR( On ) )
- PORT_DIPNAME( 0x0020, 0x0020, "Credits To Start (Vs)" )
- PORT_DIPSETTING( 0x0020, "1" )
- PORT_DIPSETTING( 0x0000, "2" )
- PORT_DIPNAME( 0x0040, 0x0040, "Credits To Continue (Vs)" )
- PORT_DIPSETTING( 0x0040, "1" )
- PORT_DIPSETTING( 0x0000, "2" )
- PORT_DIPNAME( 0x0080, 0x0080, DEF_STR( Flip_Screen ) )
- PORT_DIPSETTING( 0x0080, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
-
- COINAGE_6BITS_2
- PORT_DIPNAME( 0x4000, 0x4000, DEF_STR( Demo_Sounds ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x4000, DEF_STR( On ) )
- PORT_SERVICE( 0x8000, IP_ACTIVE_LOW )
-INPUT_PORTS_END
-
-static READ16_HANDLER( soldamj_spriteram16_r )
-{
- return spriteram16[offset];
-}
-static WRITE16_HANDLER( soldamj_spriteram16_w )
-{
- if (offset < 0x800/2) COMBINE_DATA(&spriteram16[offset]);
-}
-
-
/***************************************************************************
@@ -3593,7 +3448,8 @@ static WRITE16_HANDLER( soldamj_spriteram16_w )
***************************************************************************/
-ROM_START( tshingen )
+
+ROM_START( tshingna )
ROM_REGION( 0x60000, "main", 0 ) /* Main CPU Code */
ROM_LOAD16_BYTE( "takeda2.bin", 0x000000, 0x020000, CRC(6ddfc9f3) SHA1(0ce1b8eae31453db0b2081717d7dbda9ea7d5a60) )
ROM_LOAD16_BYTE( "takeda1.bin", 0x000001, 0x020000, CRC(1afc6b7d) SHA1(b56da1b8c5b417a88a2952491c2d5472bb783945) )
@@ -3632,7 +3488,8 @@ ROM_START( tshingen )
ROM_LOAD( "ts.bpr", 0x0000, 0x0200, CRC(85b30ac4) SHA1(b03f577ceb0f26b67453ffa52ef61fea76a93184) )
ROM_END
-ROM_START( tshingna )
+
+ROM_START( tshingen )
ROM_REGION( 0x60000, "main", 0 ) /* Main CPU Code */
ROM_LOAD16_BYTE( "shing_02.rom", 0x000000, 0x020000, CRC(d9ab5b78) SHA1(c7622ec11a636dc7a6bcad02556a98aa0a9fb043) )
ROM_LOAD16_BYTE( "shing_01.rom", 0x000001, 0x020000, CRC(a9d2de20) SHA1(b53205722ae19305a1c373abbbac4fbcbcb0b0f0) )
@@ -3671,57 +3528,12 @@ ROM_START( tshingna )
ROM_LOAD( "ts.bpr", 0x0000, 0x0200, CRC(85b30ac4) SHA1(b03f577ceb0f26b67453ffa52ef61fea76a93184) )
ROM_END
-static INPUT_PORTS_START( tshingen )
- PORT_START("SYSTEM") /* 0x80001.b */
- COINS
-
- PORT_START("P1") /* 0x80003.b */
- JOY_3BUTTONS(1) // sword_left sword_right jump
- PORT_START("P2") /* 0x80004.b - 0x80005.b */
- JOY_3BUTTONS(2)
- RESERVE
-
- PORT_START("DSW")
- PORT_DIPNAME( 0x0003, 0x0001, DEF_STR( Lives ) )
- PORT_DIPSETTING( 0x0003, "2" )
- PORT_DIPSETTING( 0x0001, "3" )
- PORT_DIPSETTING( 0x0002, "4" )
- PORT_DIPSETTING( 0x0000, "Infinite (Cheat)" )
- PORT_DIPNAME( 0x000c, 0x000c, DEF_STR( Bonus_Life ) )
- PORT_DIPSETTING( 0x000c, "20k" )
- PORT_DIPSETTING( 0x0004, "30k" )
- PORT_DIPSETTING( 0x0008, "40k" )
- PORT_DIPSETTING( 0x0000, "50k" )
- PORT_DIPNAME( 0x0030, 0x0010, DEF_STR( Difficulty ) ) // damage when hit
- PORT_DIPSETTING( 0x0030, DEF_STR( Easy ) ) // 0
- PORT_DIPSETTING( 0x0010, DEF_STR( Normal ) ) // 1
- PORT_DIPSETTING( 0x0020, DEF_STR( Hard ) ) // 2
- PORT_DIPSETTING( 0x0000, DEF_STR( Hardest ) ) // 3
- PORT_DIPNAME( 0x0040, 0x0040, DEF_STR( Allow_Continue ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0040, DEF_STR( On ) )
- PORT_DIPNAME( 0x0080, 0x0080, DEF_STR( Flip_Screen ) )
- PORT_DIPSETTING( 0x0080, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( On ) )
-
- COINAGE_6BITS
- PORT_DIPNAME( 0x4000, 0x4000, DEF_STR( Demo_Sounds ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x4000, DEF_STR( On ) )
- PORT_DIPNAME( 0x8000, 0x8000, DEF_STR( Unused ) )
- PORT_DIPSETTING( 0x0000, DEF_STR( Off ) )
- PORT_DIPSETTING( 0x8000, DEF_STR( On ) )
-INPUT_PORTS_END
-
-
-
-
-/***************************************************************************
-
- Code Decryption
-
-***************************************************************************/
+/*************************************
+ *
+ * Code Decryption
+ *
+ *************************************/
void phantasm_rom_decode(running_machine *machine, const char *region)
{
@@ -3885,8 +3697,11 @@ static void jitsupro_gfx_unmangle(running_machine *machine, const char *region)
free(buffer);
}
-
-
+/*************************************
+ *
+ * Game-specific driver inits
+ *
+ *************************************/
static DRIVER_INIT( 64street )
{
@@ -4055,6 +3870,15 @@ static DRIVER_INIT( rodlandj )
astyanax_rom_decode(machine, "main");
}
+static READ16_HANDLER( soldamj_spriteram16_r )
+{
+ return spriteram16[offset];
+}
+static WRITE16_HANDLER( soldamj_spriteram16_w )
+{
+ if (offset < 0x800/2) COMBINE_DATA(&spriteram16[offset]);
+}
+
static DRIVER_INIT( soldamj )
{
astyanax_rom_decode(machine, "main");
@@ -4098,15 +3922,19 @@ static DRIVER_INIT( monkelf )
}
-
+/*************************************
+ *
+ * Game driver(s)
+ *
+ *************************************/
GAME( 1988, lomakai, 0, system_Z, lomakai, 0, ROT0, "Jaleco", "Legend of Makai (World)", 0 )
GAME( 1988, makaiden, lomakai, system_Z, lomakai, 0, ROT0, "Jaleco", "Makai Densetsu (Japan)", 0 )
GAME( 1988, p47, 0, system_A, p47, 0, ROT0, "Jaleco", "P-47 - The Phantom Fighter (World)", 0 )
GAME( 1988, p47j, p47, system_A, p47, 0, ROT0, "Jaleco", "P-47 - The Freedom Fighter (Japan)", 0 )
GAME( 1988, kickoff, 0, system_A, kickoff, 0, ROT0, "Jaleco", "Kick Off (Japan)", 0 )
-GAME( 1988, tshingen, 0, system_A, tshingen, phantasm, ROT0, "Jaleco", "Takeda Shingen (Japan, Japanese)", 0 )
-GAME( 1988, tshingna, tshingen, system_A, tshingen, phantasm, ROT0, "Jaleco", "Shingen Samurai-Fighter (Japan, English)", 0 )
+GAME( 1988, tshingen, 0, system_A, tshingen, phantasm, ROT0, "Jaleco", "Shingen Samurai-Fighter (Japan, English)", 0 )
+GAME( 1988, tshingna, tshingen, system_A, tshingen, phantasm, ROT0, "Jaleco", "Takeda Shingen (Japan, Japanese)", 0 )
GAME( 1988, kazan, 0, system_A, kazan, iganinju, ROT0, "Jaleco", "Ninja Kazan (World)", 0 )
GAME( 1988, iganinju, kazan, system_A, kazan, iganinju, ROT0, "Jaleco", "Iga Ninjyutsuden (Japan)", 0 )
GAME( 1989, astyanax, 0, system_A, astyanax, astyanax, ROT0, "Jaleco", "The Astyanax", 0 )
@@ -4125,8 +3953,8 @@ GAME( 1991, edf, 0, system_B, edf, edf, ROT0, "
GAME( 1991, edfu, edf, system_B, edf, edf, ROT0, "Jaleco", "E.D.F. : Earth Defense Force (North America)", 0 )
GAME( 1991, 64street, 0, system_C, 64street, 64street, ROT0, "Jaleco", "64th. Street - A Detective Story (World)", 0 )
GAME( 1991, 64streej, 64street, system_C, 64street, 64street, ROT0, "Jaleco", "64th. Street - A Detective Story (Japan)", 0 )
-GAME( 1992, soldam, 0, system_A, soldamj, soldam, ROT0, "Jaleco", "Soldam", 0 )
-GAME( 1992, soldamj, soldam, system_A, soldamj, soldamj, ROT0, "Jaleco", "Soldam (Japan)", 0 )
+GAME( 1992, soldam, 0, system_A, soldam, soldam, ROT0, "Jaleco", "Soldam", 0 )
+GAME( 1992, soldamj, soldam, system_A, soldam, soldamj, ROT0, "Jaleco", "Soldam (Japan)", 0 )
GAME( 1992, bigstrik, 0, system_C, bigstrik, bigstrik, ROT0, "Jaleco", "Big Striker", 0 )
GAME( 1993, chimerab, 0, system_C, chimerab, chimerab, ROT0, "Jaleco", "Chimera Beast (prototype)", 0 )
GAME( 1993, cybattlr, 0, system_C, cybattlr, cybattlr, ROT90, "Jaleco", "Cybattler", 0 )
diff --git a/src/mame/includes/megasys1.h b/src/mame/includes/megasys1.h
index 42f3418343d..60b191c6261 100644
--- a/src/mame/includes/megasys1.h
+++ b/src/mame/includes/megasys1.h
@@ -8,7 +8,6 @@
This file contains definitions used across multiple megasys1
and non megasys1 Jaleco games:
- * Input ports
* Scrolling layers handling
* Code decryption handling
@@ -17,147 +16,6 @@
/***************************************************************************
- Input Ports
-
-***************************************************************************/
-
-
-#define COINS \
- PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_START1 )\
- PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_START2 )\
- PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_UNKNOWN )\
- PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_UNKNOWN )\
- PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_UNKNOWN )\
- PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_SERVICE1 )\
- PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_COIN1 )\
- PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_COIN2 )\
- PORT_BIT( 0xff00, IP_ACTIVE_LOW, IPT_UNKNOWN )
-
-#define JOY_4BUTTONS(_flag_) \
- PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT) PORT_8WAY PORT_PLAYER(_flag_)\
- PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT) PORT_8WAY PORT_PLAYER(_flag_)\
- PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN) PORT_8WAY PORT_PLAYER(_flag_)\
- PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_JOYSTICK_UP) PORT_8WAY PORT_PLAYER(_flag_)\
- PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON1) PORT_PLAYER(_flag_)\
- PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_BUTTON2) PORT_PLAYER(_flag_)\
- PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_BUTTON3) PORT_PLAYER(_flag_)\
- PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_BUTTON4) PORT_PLAYER(_flag_)
-
-#define JOY_3BUTTONS(_flag_) \
- PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT) PORT_8WAY PORT_PLAYER(_flag_)\
- PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT) PORT_8WAY PORT_PLAYER(_flag_)\
- PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN) PORT_8WAY PORT_PLAYER(_flag_)\
- PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_JOYSTICK_UP) PORT_8WAY PORT_PLAYER(_flag_)\
- PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON1) PORT_PLAYER(_flag_)\
- PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_BUTTON2) PORT_PLAYER(_flag_)\
- PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_BUTTON3) PORT_PLAYER(_flag_)\
- PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_UNKNOWN)
-
-#define JOY_2BUTTONS(_flag_) \
- PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT) PORT_8WAY PORT_PLAYER(_flag_)\
- PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT) PORT_8WAY PORT_PLAYER(_flag_)\
- PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN) PORT_8WAY PORT_PLAYER(_flag_)\
- PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_JOYSTICK_UP) PORT_8WAY PORT_PLAYER(_flag_)\
- PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON1) PORT_PLAYER(_flag_)\
- PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_BUTTON2) PORT_PLAYER(_flag_)\
- PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_UNKNOWN) \
- PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_UNKNOWN)
-
-#define RESERVE \
- PORT_BIT( 0x0100, IP_ACTIVE_LOW, IPT_UNKNOWN ) /* Reserve 1P */\
- PORT_BIT( 0x0200, IP_ACTIVE_LOW, IPT_UNKNOWN )\
- PORT_BIT( 0x0400, IP_ACTIVE_LOW, IPT_UNKNOWN )\
- PORT_BIT( 0x0800, IP_ACTIVE_LOW, IPT_UNKNOWN )\
- PORT_BIT( 0x1000, IP_ACTIVE_LOW, IPT_UNKNOWN ) /* Reserve 2P */\
- PORT_BIT( 0x2000, IP_ACTIVE_LOW, IPT_UNKNOWN )\
- PORT_BIT( 0x4000, IP_ACTIVE_LOW, IPT_UNKNOWN )\
- PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_UNKNOWN )
-
-/* Coinage DSWs */
-// 1] 01-41 02-31 03-21 07-11 06-12 05-13 04-14 00-FC * 2
-// 2] 04-31 02-21 07-11 03-12 05-13 01-14 06-15 00-FC
-// 00-41 20-31 10-21 38-11 18-12 28-13 08-14 30-15
-
-
-#define COINAGE_6BITS \
- PORT_DIPNAME( 0x0700, 0x0700, DEF_STR( Coin_A ) )\
- PORT_DIPSETTING( 0x0400, DEF_STR( 3C_1C ) )\
- PORT_DIPSETTING( 0x0200, DEF_STR( 2C_1C ) )\
- PORT_DIPSETTING( 0x0700, DEF_STR( 1C_1C ) )\
- PORT_DIPSETTING( 0x0300, DEF_STR( 1C_2C ) )\
- PORT_DIPSETTING( 0x0500, DEF_STR( 1C_3C ) )\
- PORT_DIPSETTING( 0x0100, DEF_STR( 1C_4C ) )\
- PORT_DIPSETTING( 0x0600, DEF_STR( 1C_5C ) )\
- PORT_DIPSETTING( 0x0000, DEF_STR( Free_Play ) )\
- PORT_DIPNAME( 0x3800, 0x3800, DEF_STR( Coin_B ) )\
- PORT_DIPSETTING( 0x0000, DEF_STR( 4C_1C ) )\
- PORT_DIPSETTING( 0x2000, DEF_STR( 3C_1C ) )\
- PORT_DIPSETTING( 0x1000, DEF_STR( 2C_1C ) )\
- PORT_DIPSETTING( 0x3800, DEF_STR( 1C_1C ) )\
- PORT_DIPSETTING( 0x1800, DEF_STR( 1C_2C ) )\
- PORT_DIPSETTING( 0x2800, DEF_STR( 1C_3C ) )\
- PORT_DIPSETTING( 0x0800, DEF_STR( 1C_4C ) )\
- PORT_DIPSETTING( 0x3000, DEF_STR( 1C_5C ) )\
-
-#define COINAGE_6BITS_2 \
- PORT_DIPNAME( 0x0700, 0x0700, DEF_STR( Coin_A ) )\
- PORT_DIPSETTING( 0x0100, DEF_STR( 4C_1C ) )\
- PORT_DIPSETTING( 0x0200, DEF_STR( 3C_1C ) )\
- PORT_DIPSETTING( 0x0300, DEF_STR( 2C_1C ) )\
- PORT_DIPSETTING( 0x0700, DEF_STR( 1C_1C ) )\
- PORT_DIPSETTING( 0x0600, DEF_STR( 1C_2C ) )\
- PORT_DIPSETTING( 0x0500, DEF_STR( 1C_3C ) )\
- PORT_DIPSETTING( 0x0400, DEF_STR( 1C_4C ) )\
- PORT_DIPSETTING( 0x0000, DEF_STR( Free_Play ) )\
- PORT_DIPNAME( 0x3800, 0x3800, DEF_STR( Coin_B ) )\
- PORT_DIPSETTING( 0x0800, DEF_STR( 4C_1C ) )\
- PORT_DIPSETTING( 0x1000, DEF_STR( 3C_1C ) )\
- PORT_DIPSETTING( 0x1800, DEF_STR( 2C_1C ) )\
- PORT_DIPSETTING( 0x3800, DEF_STR( 1C_1C ) )\
- PORT_DIPSETTING( 0x3000, DEF_STR( 1C_2C ) )\
- PORT_DIPSETTING( 0x2800, DEF_STR( 1C_3C ) )\
- PORT_DIPSETTING( 0x2000, DEF_STR( 1C_4C ) )\
- PORT_DIPSETTING( 0x0000, DEF_STR( Free_Play ) )\
-
-#define COINAGE_8BITS \
- PORT_DIPNAME( 0x000f, 0x000f, DEF_STR( Coin_A ) )\
- PORT_DIPSETTING( 0x0007, DEF_STR( 4C_1C ) )\
- PORT_DIPSETTING( 0x0008, DEF_STR( 3C_1C ) )\
- PORT_DIPSETTING( 0x0009, DEF_STR( 2C_1C ) )\
- PORT_DIPSETTING( 0x000f, DEF_STR( 1C_1C ) )\
-/* PORT_DIPSETTING( 0x0005, DEF_STR( 1C_1C ) )*/\
-/* PORT_DIPSETTING( 0x0004, DEF_STR( 1C_1C ) )*/\
-/* PORT_DIPSETTING( 0x0003, DEF_STR( 1C_1C ) )*/\
-/* PORT_DIPSETTING( 0x0002, DEF_STR( 1C_1C ) )*/\
-/* PORT_DIPSETTING( 0x0001, DEF_STR( 1C_1C ) )*/\
- PORT_DIPSETTING( 0x0006, DEF_STR( 2C_3C ) )\
- PORT_DIPSETTING( 0x000e, DEF_STR( 1C_2C ) )\
- PORT_DIPSETTING( 0x000d, DEF_STR( 1C_3C ) )\
- PORT_DIPSETTING( 0x000c, DEF_STR( 1C_4C ) )\
- PORT_DIPSETTING( 0x000b, DEF_STR( 1C_5C ) )\
- PORT_DIPSETTING( 0x000a, DEF_STR( 1C_6C ) )\
- PORT_DIPSETTING( 0x0000, DEF_STR( Free_Play ) )\
- PORT_DIPNAME( 0x00f0, 0x00f0, DEF_STR( Coin_B ) )\
- PORT_DIPSETTING( 0x0070, DEF_STR( 4C_1C ) )\
- PORT_DIPSETTING( 0x0080, DEF_STR( 3C_1C ) )\
- PORT_DIPSETTING( 0x0090, DEF_STR( 2C_1C ) )\
- PORT_DIPSETTING( 0x00f0, DEF_STR( 1C_1C ) )\
-/* PORT_DIPSETTING( 0x0050, DEF_STR( 1C_1C ) )*/\
-/* PORT_DIPSETTING( 0x0040, DEF_STR( 1C_1C ) )*/\
-/* PORT_DIPSETTING( 0x0030, DEF_STR( 1C_1C ) )*/\
-/* PORT_DIPSETTING( 0x0020, DEF_STR( 1C_1C ) )*/\
-/* PORT_DIPSETTING( 0x0010, DEF_STR( 1C_1C ) )*/\
- PORT_DIPSETTING( 0x0060, DEF_STR( 2C_3C ) )\
- PORT_DIPSETTING( 0x00e0, DEF_STR( 1C_2C ) )\
- PORT_DIPSETTING( 0x00d0, DEF_STR( 1C_3C ) )\
- PORT_DIPSETTING( 0x00c0, DEF_STR( 1C_4C ) )\
- PORT_DIPSETTING( 0x00b0, DEF_STR( 1C_5C ) )\
- PORT_DIPSETTING( 0x00a0, DEF_STR( 1C_6C ) )\
- PORT_DIPSETTING( 0x0000, DEF_STR( Free_Play ) )
-
-
-/***************************************************************************
-
Scrolling Layers Handling
***************************************************************************/