From aebd83fb6e7e2fba19aada9fecee00527a4da373 Mon Sep 17 00:00:00 2001 From: Aaron Giles Date: Tue, 5 Feb 2008 17:22:45 +0000 Subject: [PATCH] From: RansAckeR [mailto:RansAckeR@pandora.be] Subject: 'fix' for jantouki0121u3gra, mcnpshnt0120u3gra & mjdialq2_0120u3gra Bug reports about some dynax.c DIP fixes. -- From: RansAckeR [mailto:RansAckeR@pandora.be] Subject: 'fix' for mjifb0111u2gra "royalmah.c mjifb: Usages of the unknown dip swithces: 3-2: enable/disable F-RATE 3-4: enable/disable BYE-BYTE Bonus 3-6: enable/disable Auto mode after reached 3-7: on - Background blue, off - Background black 4-3: 192 - disable Flip-flop, 212 - enable Flip-flop 4-6: enable/disable Animation" --- src/mame/drivers/dynax.c | 79 ++++++++++++++++++++----------------- src/mame/drivers/royalmah.c | 20 +++++----- 2 files changed, 52 insertions(+), 47 deletions(-) diff --git a/src/mame/drivers/dynax.c b/src/mame/drivers/dynax.c index 40b7cdbbac1..a292da0e61b 100644 --- a/src/mame/drivers/dynax.c +++ b/src/mame/drivers/dynax.c @@ -2147,7 +2147,7 @@ static INPUT_PORTS_START( mjfriday ) PORT_START_TAG("IN2") PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN ) // "17B" PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN ) // "18B" - PORT_SERVICE(0x04, IP_ACTIVE_LOW ) // Test (there isn't a dip switch) + PORT_SERVICE(0x04, IP_ACTIVE_LOW ) // Test (there isn't a dip switch) PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // Analyzer PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE3 ) // Memory Reset PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN ) // "06B" @@ -2160,12 +2160,11 @@ INPUT_PORTS_END static INPUT_PORTS_START( mjdialq2 ) PORT_START_TAG("DSW0") - PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) ) - PORT_DIPSETTING( 0x01, DEF_STR( Off ) ) - PORT_DIPSETTING( 0x00, DEF_STR( On ) ) - PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) ) - PORT_DIPSETTING( 0x02, DEF_STR( Off ) ) - PORT_DIPSETTING( 0x00, DEF_STR( On ) ) + PORT_DIPNAME( 0x03, 0x03, DEF_STR( Coinage ) ) + PORT_DIPSETTING( 0x00, DEF_STR( 3C_1C ) ) + PORT_DIPSETTING( 0x02, DEF_STR( 2C_1C ) ) + PORT_DIPSETTING( 0x03, DEF_STR( 1C_1C ) ) + PORT_DIPSETTING( 0x01, DEF_STR( 1C_2C ) ) PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) ) PORT_DIPSETTING( 0x04, DEF_STR( Off ) ) PORT_DIPSETTING( 0x00, DEF_STR( On ) ) @@ -2186,15 +2185,15 @@ static INPUT_PORTS_START( mjdialq2 ) PORT_DIPSETTING( 0x00, DEF_STR( On ) ) PORT_START_TAG("DSW1") - PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) ) - PORT_DIPSETTING( 0x01, DEF_STR( Off ) ) - PORT_DIPSETTING( 0x00, DEF_STR( On ) ) - PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) ) - PORT_DIPSETTING( 0x02, DEF_STR( Off ) ) - PORT_DIPSETTING( 0x00, DEF_STR( On ) ) - PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) ) - PORT_DIPSETTING( 0x04, DEF_STR( Off ) ) - PORT_DIPSETTING( 0x00, DEF_STR( On ) ) + PORT_DIPNAME( 0x07, 0x07, "Time Setting" ) + PORT_DIPSETTING( 0x07, "08:30" ) + PORT_DIPSETTING( 0x06, "09:00" ) + PORT_DIPSETTING( 0x05, "09:30" ) + PORT_DIPSETTING( 0x04, "10:00" ) + PORT_DIPSETTING( 0x03, "10:30" ) + PORT_DIPSETTING( 0x02, "11:00" ) + PORT_DIPSETTING( 0x01, "11:30" ) + PORT_DIPSETTING( 0x00, "12:00" ) PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) ) PORT_DIPSETTING( 0x08, DEF_STR( Off ) ) PORT_DIPSETTING( 0x00, DEF_STR( On ) ) @@ -2204,7 +2203,7 @@ static INPUT_PORTS_START( mjdialq2 ) PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) ) PORT_DIPSETTING( 0x20, DEF_STR( Off ) ) PORT_DIPSETTING( 0x00, DEF_STR( On ) ) - PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) ) + PORT_DIPNAME( 0x40, 0x40, "Select Special Item" ) /* Allows to select which one of the nine special items you want. */ PORT_DIPSETTING( 0x40, DEF_STR( Off ) ) PORT_DIPSETTING( 0x00, DEF_STR( On ) ) PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) ) @@ -2214,7 +2213,7 @@ static INPUT_PORTS_START( mjdialq2 ) PORT_START_TAG("IN2") PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN ) // "17B" PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN ) // "18B" - PORT_SERVICE_NO_TOGGLE(0x04, IP_ACTIVE_LOW) // Test (there isn't a dip switch) + PORT_SERVICE_NO_TOGGLE(0x04, IP_ACTIVE_LOW) // Test (there isn't a dip switch) PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) // Analyzer PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE3 ) // Memory Reset PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN ) // "06B" @@ -2459,7 +2458,7 @@ static INPUT_PORTS_START( mcnpshnt ) PORT_DIPSETTING( 0x18, DEF_STR( 1C_1C ) ) // PORT_DIPSETTING( 0x00, DEF_STR( 1C_1C ) ) PORT_DIPSETTING( 0x10, DEF_STR( 1C_2C ) ) - PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) ) //* + PORT_DIPNAME( 0x20, 0x20, "Auto TSUMO" ) PORT_DIPSETTING( 0x20, DEF_STR( Off ) ) PORT_DIPSETTING( 0x00, DEF_STR( On ) ) PORT_DIPNAME( 0x40, 0x00, DEF_STR( Demo_Sounds ) ) @@ -2470,25 +2469,28 @@ static INPUT_PORTS_START( mcnpshnt ) PORT_DIPSETTING( 0x80, DEF_STR( On ) ) PORT_START_TAG("DSW1") - PORT_DIPNAME( 0x07, 0x07, DEF_STR( Unknown ) ) - PORT_DIPSETTING( 0x07, "0" ) - PORT_DIPSETTING( 0x06, "1" ) - PORT_DIPSETTING( 0x05, "2" ) - PORT_DIPSETTING( 0x04, "3" ) - PORT_DIPSETTING( 0x03, "4" ) - PORT_DIPSETTING( 0x02, "5" ) - PORT_DIPSETTING( 0x01, "6" ) - PORT_DIPSETTING( 0x00, "7" ) + PORT_DIPNAME( 0x07, 0x07, "Time Setting" ) + PORT_DIPSETTING( 0x07, "8:30" ) + PORT_DIPSETTING( 0x06, "9:00" ) + PORT_DIPSETTING( 0x05, "9:30" ) + PORT_DIPSETTING( 0x04, "10:00" ) + PORT_DIPSETTING( 0x03, "10:30" ) + PORT_DIPSETTING( 0x02, "11:00" ) + PORT_DIPSETTING( 0x01, "11:30" ) + PORT_DIPSETTING( 0x00, "12:00" ) PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) ) PORT_DIPSETTING( 0x08, DEF_STR( Off ) ) PORT_DIPSETTING( 0x00, DEF_STR( On ) ) - PORT_DIPNAME( 0x10, 0x10, "Choose Bonus (Cheat)") + PORT_DIPNAME( 0x10, 0x10, "Buy Screen Bonus Points" ) /* Sets your points to 100 every time you arrive at the screen for buying special items. */ PORT_DIPSETTING( 0x10, DEF_STR( Off ) ) PORT_DIPSETTING( 0x00, DEF_STR( On ) ) - PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) ) //* + /* make your game last at least 4 or 5 minutes. Continue if necessary. Before the next round you begin, + you will get some sort of message in Japanese stating that it is some sort of lucky time of day for you, and + you get 100 bonus points (for purchasing items). */ + PORT_DIPNAME( 0x20, 0x20, "Lucky Time Of Day Bonus" ) PORT_DIPSETTING( 0x20, DEF_STR( Off ) ) PORT_DIPSETTING( 0x00, DEF_STR( On ) ) - PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) ) //* + PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) ) PORT_DIPSETTING( 0x40, DEF_STR( Off ) ) PORT_DIPSETTING( 0x00, DEF_STR( On ) ) PORT_SERVICE( 0x80, IP_ACTIVE_LOW ) @@ -2624,7 +2626,7 @@ static INPUT_PORTS_START( jantouki ) PORT_DIPSETTING( 0x00, DEF_STR( On ) ) PORT_START_TAG("DSW1") - PORT_DIPNAME( 0x07, 0x07, "Hours" ) + PORT_DIPNAME( 0x07, 0x07, "Time Setting" ) PORT_DIPSETTING( 0x07, "08:30" ) PORT_DIPSETTING( 0x06, "09:00" ) PORT_DIPSETTING( 0x05, "09:30" ) @@ -2636,12 +2638,15 @@ static INPUT_PORTS_START( jantouki ) PORT_DIPNAME( 0x08, 0x08, "Moles On Gal's Face" ) PORT_DIPSETTING( 0x08, DEF_STR( Off ) ) PORT_DIPSETTING( 0x00, DEF_STR( On ) ) - PORT_DIPNAME( 0x10, 0x10, "Choose Game Mode" ) + PORT_DIPNAME( 0x10, 0x10, "Buy Screen Bonus Points" ) /* Sets your points to 100 every time you arrive at the screen for buying special items. */ PORT_DIPSETTING( 0x10, DEF_STR( Off ) ) PORT_DIPSETTING( 0x00, DEF_STR( On ) ) - PORT_DIPNAME( 0x20, 0x20, "Bonus Coin Every" ) - PORT_DIPSETTING( 0x00, "30" ) - PORT_DIPSETTING( 0x20, "150" ) + /* make your game last at least 4 or 5 minutes. Continue if necessary. Before the next round you begin, + you will get some sort of message in Japanese stating that it is some sort of lucky time of day for you, and + you get 100 bonus points (for purchasing items). */ + PORT_DIPNAME( 0x20, 0x20, "Lucky Time Of Day Bonus" ) + PORT_DIPSETTING( 0x20, DEF_STR( Off ) ) + PORT_DIPSETTING( 0x00, DEF_STR( On ) ) PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) ) //* PORT_DIPSETTING( 0x40, DEF_STR( Off ) ) PORT_DIPSETTING( 0x00, DEF_STR( On ) ) @@ -3077,7 +3082,7 @@ INPUT_PORTS_END static INPUT_PORTS_START( neruton ) PORT_START_TAG("DSW2") //6a77 (select = 00) - PORT_DIPNAME( 0x07, 0x07, "Hours" ) + PORT_DIPNAME( 0x07, 0x07, "Time Setting" ) PORT_DIPSETTING( 0x07, "08:30" ) PORT_DIPSETTING( 0x06, "09:00" ) PORT_DIPSETTING( 0x05, "09:30" ) diff --git a/src/mame/drivers/royalmah.c b/src/mame/drivers/royalmah.c index db856b45126..984d82d1b04 100644 --- a/src/mame/drivers/royalmah.c +++ b/src/mame/drivers/royalmah.c @@ -2437,24 +2437,24 @@ static INPUT_PORTS_START( mjifb ) PORT_DIPNAME( 0x02, 0x02, "Unknown 3-1" ) PORT_DIPSETTING( 0x02, DEF_STR( Off ) ) PORT_DIPSETTING( 0x00, DEF_STR( On ) ) - PORT_DIPNAME( 0x04, 0x04, "Unknown 3-2" ) + PORT_DIPNAME( 0x04, 0x04, "F-Rate" ) PORT_DIPSETTING( 0x04, DEF_STR( Off ) ) PORT_DIPSETTING( 0x00, DEF_STR( On ) ) PORT_DIPNAME( 0x08, 0x08, "Unknown 3-3" ) PORT_DIPSETTING( 0x08, DEF_STR( Off ) ) PORT_DIPSETTING( 0x00, DEF_STR( On ) ) - PORT_DIPNAME( 0x10, 0x10, "Unknown 3-4" ) + PORT_DIPNAME( 0x10, 0x10, "Bye-Byte Bonus" ) PORT_DIPSETTING( 0x10, DEF_STR( Off ) ) PORT_DIPSETTING( 0x00, DEF_STR( On ) ) PORT_DIPNAME( 0x20, 0x20, "Unknown 3-5" ) PORT_DIPSETTING( 0x20, DEF_STR( Off ) ) PORT_DIPSETTING( 0x00, DEF_STR( On ) ) - PORT_DIPNAME( 0x40, 0x40, "Unknown 3-6" ) + PORT_DIPNAME( 0x40, 0x40, "Auto-Mode After Reached" ) PORT_DIPSETTING( 0x40, DEF_STR( Off ) ) PORT_DIPSETTING( 0x00, DEF_STR( On ) ) - PORT_DIPNAME( 0x80, 0x80, "Unknown 3-7" ) - PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) - PORT_DIPSETTING( 0x00, DEF_STR( On ) ) + PORT_DIPNAME( 0x80, 0x80, "Background Color" ) + PORT_DIPSETTING( 0x80, "Black" ) + PORT_DIPSETTING( 0x00, "Blue" ) PORT_START // IN14 - DSW4 ($8000) PORT_DIPNAME( 0x01, 0x01, "Unknown 4-0" ) @@ -2466,16 +2466,16 @@ static INPUT_PORTS_START( mjifb ) PORT_DIPNAME( 0x04, 0x04, "Unknown 4-2" ) PORT_DIPSETTING( 0x04, DEF_STR( Off ) ) PORT_DIPSETTING( 0x00, DEF_STR( On ) ) - PORT_DIPNAME( 0x08, 0x08, "Unknown 4-3" ) - PORT_DIPSETTING( 0x08, "129" ) - PORT_DIPSETTING( 0x00, "212" ) + PORT_DIPNAME( 0x08, 0x08, "Flip-Flop" ) + PORT_DIPSETTING( 0x08, DEF_STR( Off ) ) + PORT_DIPSETTING( 0x00, DEF_STR( On ) ) PORT_DIPNAME( 0x10, 0x10, DEF_STR( Demo_Sounds ) ) PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) PORT_DIPSETTING( 0x10, DEF_STR( On ) ) PORT_DIPNAME( 0x20, 0x20, DEF_STR( Flip_Screen ) ) PORT_DIPSETTING( 0x20, DEF_STR( Off ) ) PORT_DIPSETTING( 0x00, DEF_STR( On ) ) - PORT_DIPNAME( 0x40, 0x40, "Unknown 4-6" ) + PORT_DIPNAME( 0x40, 0x40, "Animation" ) PORT_DIPSETTING( 0x40, DEF_STR( Off ) ) PORT_DIPSETTING( 0x00, DEF_STR( On ) ) PORT_DIPNAME( 0x80, 0x80, "Full Tests" )