From a844cb35d7495402f6bc21449af324a7cf86684d Mon Sep 17 00:00:00 2001 From: Brian Troha Date: Tue, 12 Aug 2014 03:11:20 +0000 Subject: [PATCH] nmg5.c: For Search Eye, it's actually Italian and Spanish - NW --- src/mame/drivers/nmg5.c | 75 ++++++++++------------------------------- 1 file changed, 17 insertions(+), 58 deletions(-) diff --git a/src/mame/drivers/nmg5.c b/src/mame/drivers/nmg5.c index 57c91bde8fb..baff993b761 100644 --- a/src/mame/drivers/nmg5.c +++ b/src/mame/drivers/nmg5.c @@ -520,7 +520,7 @@ static INPUT_PORTS_START( searchey ) PORT_DIPSETTING( 0x0000, "Korean Duplicate 1" ) PORT_DIPSETTING( 0x0800, "Korean Duplicate 2" ) PORT_DIPSETTING( 0x1000, "Korean Duplicate 3" ) - PORT_DIPSETTING( 0x1800, DEF_STR( Spanish ) ) + PORT_DIPSETTING( 0x1800, DEF_STR( Italian ) ) PORT_DIPSETTING( 0x2000, DEF_STR( Korean ) ) PORT_DIPSETTING( 0x2800, DEF_STR( Japanese ) ) PORT_DIPSETTING( 0x3000, DEF_STR( English ) ) @@ -539,16 +539,16 @@ static INPUT_PORTS_START( searchey ) PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_PLAYER(1) PORT_8WAY PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_PLAYER(1) PORT_8WAY PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_PLAYER(1) PORT_8WAY - PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(1) - PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(1) + PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(1) PORT_NAME( "Spot" ) + PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(1) PORT_NAME( "Help" ) PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_UNUSED ) // tested in service mode PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_START1 ) PORT_BIT( 0x0100, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_PLAYER(2) PORT_8WAY PORT_BIT( 0x0200, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_PLAYER(2) PORT_8WAY PORT_BIT( 0x0400, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_PLAYER(2) PORT_8WAY PORT_BIT( 0x0800, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_PLAYER(2) PORT_8WAY - PORT_BIT( 0x1000, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(2) - PORT_BIT( 0x2000, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(2) + PORT_BIT( 0x1000, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(2) PORT_NAME( "Spot" ) + PORT_BIT( 0x2000, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(2) PORT_NAME( "Help" ) PORT_BIT( 0x4000, IP_ACTIVE_LOW, IPT_UNUSED ) // tested in service mode PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_START2 ) INPUT_PORTS_END @@ -565,70 +565,29 @@ static INPUT_PORTS_START( searcheya ) INPUT_PORTS_END static INPUT_PORTS_START( searchp2 ) - PORT_START("DSW") - PORT_DIPNAME( 0x0003, 0x0003, "Timer Speed" ) PORT_DIPLOCATION("SW1:8,7") - PORT_DIPSETTING( 0x0003, "Slowest" ) - PORT_DIPSETTING( 0x0002, "Slow" ) - PORT_DIPSETTING( 0x0001, "Fast" ) - PORT_DIPSETTING( 0x0000, "Fastest" ) - PORT_DIPNAME( 0x000c, 0x0000, "Helps" ) PORT_DIPLOCATION("SW1:6,5") - PORT_DIPSETTING( 0x000c, "1" ) - PORT_DIPSETTING( 0x0008, "2" ) - PORT_DIPSETTING( 0x0004, "3" ) - PORT_DIPSETTING( 0x0000, "4" ) - PORT_DIPNAME( 0x0030, 0x0030, DEF_STR( Lives ) ) PORT_DIPLOCATION("SW1:4,3") - PORT_DIPSETTING( 0x0020, "3" ) - PORT_DIPSETTING( 0x0010, "4" ) - PORT_DIPSETTING( 0x0030, "5" ) - PORT_DIPSETTING( 0x0000, "6" ) - PORT_DIPNAME( 0x00c0, 0x00c0, DEF_STR( Coinage ) ) PORT_DIPLOCATION("SW1:2,1") - PORT_DIPSETTING( 0x0000, DEF_STR( 3C_1C ) ) - PORT_DIPSETTING( 0x0040, DEF_STR( 2C_1C ) ) - PORT_DIPSETTING( 0x00c0, DEF_STR( 1C_1C ) ) - PORT_DIPSETTING( 0x0080, DEF_STR( 1C_2C ) ) - PORT_SERVICE_DIPLOC( 0x0100, IP_ACTIVE_LOW, "SW2:8" ) + PORT_INCLUDE(searchey) + + PORT_MODIFY("DSW") PORT_DIPNAME( 0x0600, 0x0600, "Lucky Chance" ) PORT_DIPLOCATION("SW2:7,6") // See notes PORT_DIPSETTING( 0x0600, "Table 1" ) PORT_DIPSETTING( 0x0400, "Table 2" ) PORT_DIPSETTING( 0x0200, "Table 3" ) PORT_DIPSETTING( 0x0000, "Table 4" ) PORT_DIPNAME( 0x3800, 0x3000, DEF_STR( Language ) ) PORT_DIPLOCATION("SW2:5,4,3") // See notes -// PORT_DIPSETTING( 0x3800, DEF_STR( Korean ) ) - PORT_DIPSETTING( 0x3000, DEF_STR( English ) ) - PORT_DIPSETTING( 0x2800, DEF_STR( Japanese ) ) - PORT_DIPSETTING( 0x2000, DEF_STR( Chinese ) ) - PORT_DIPSETTING( 0x1800, DEF_STR( Italian ) ) + PORT_DIPSETTING( 0x0000, "Korean Duplicate 1" ) + PORT_DIPSETTING( 0x0800, "Korean Duplicate 2" ) PORT_DIPSETTING( 0x1000, DEF_STR( Korean ) ) -// PORT_DIPSETTING( 0x0800, DEF_STR( Korean ) ) -// PORT_DIPSETTING( 0x0000, DEF_STR( Korean ) ) + PORT_DIPSETTING( 0x1800, DEF_STR( Italian ) ) + PORT_DIPSETTING( 0x2000, DEF_STR( Chinese ) ) + PORT_DIPSETTING( 0x2800, DEF_STR( Japanese ) ) + PORT_DIPSETTING( 0x3000, DEF_STR( English ) ) + PORT_DIPSETTING( 0x3800, "Korean Duplicate 3" ) PORT_DIPNAME( 0x4000, 0x4000, "Lucky Timer" ) PORT_DIPLOCATION("SW2:2") // See notes PORT_DIPSETTING( 0x0000, "Less" ) PORT_DIPSETTING( 0x4000, "More" ) PORT_DIPNAME( 0x8000, 0x8000, "Items to find" ) PORT_DIPLOCATION("SW2:1") // See notes PORT_DIPSETTING( 0x0000, "Less" ) PORT_DIPSETTING( 0x8000, "More" ) - - PORT_START("SYSTEM") /* Coins */ - PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_COIN1 ) - PORT_BIT( 0xfffe, IP_ACTIVE_LOW, IPT_UNUSED ) - - PORT_START("INPUTS") - PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_PLAYER(1) PORT_8WAY - PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_PLAYER(1) PORT_8WAY - PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_PLAYER(1) PORT_8WAY - PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_PLAYER(1) PORT_8WAY - 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_UNUSED ) - PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_START1 ) - PORT_BIT( 0x0100, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_PLAYER(2) PORT_8WAY - PORT_BIT( 0x0200, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_PLAYER(2) PORT_8WAY - PORT_BIT( 0x0400, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_PLAYER(2) PORT_8WAY - PORT_BIT( 0x0800, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_PLAYER(2) PORT_8WAY - PORT_BIT( 0x1000, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(2) - PORT_BIT( 0x2000, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(2) - PORT_BIT( 0x4000, IP_ACTIVE_LOW, IPT_UNUSED ) - PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_START2 ) INPUT_PORTS_END static INPUT_PORTS_START( pclubys ) @@ -1227,7 +1186,7 @@ ROM_END ROM_START( searchey ) ROM_REGION( 0x100000, "maincpu", 0 ) /* 68000 Code */ ROM_LOAD16_BYTE( "se.u7", 0x000000, 0x40000, CRC(332b0d83) SHA1(8b79f792a0e4bfd0c64744cdcf3be1daf29910d3) ) /* World set?? Supports 4 languages */ - ROM_LOAD16_BYTE( "se.u2", 0x000001, 0x40000, CRC(bd16114e) SHA1(596fb8841168af88a02dc5f028f5731be5fa08a6) ) /* English, Korean, Japanese & Spanish */ + ROM_LOAD16_BYTE( "se.u2", 0x000001, 0x40000, CRC(bd16114e) SHA1(596fb8841168af88a02dc5f028f5731be5fa08a6) ) /* English, Korean, Japanese & Italian */ ROM_REGION( 0x10000, "soundcpu", 0 ) /* Z80 Code */ ROM_LOAD( "u128.bin", 0x00000, 0x10000, CRC(85bae10c) SHA1(a1e58d8b8c8718cc346aae400bb4eadf6873b86d) ) @@ -1592,7 +1551,7 @@ DRIVER_INIT_MEMBER(nmg5_state,prot_val_40) GAME( 1998, nmg5, 0, nmg5, nmg5, nmg5_state, prot_val_10, ROT0, "Yun Sung", "Multi 5 / New Multi Game 5 (set 1)", GAME_SUPPORTS_SAVE ) GAME( 1998, nmg5a, nmg5, nmg5, nmg5, nmg5_state, prot_val_10, ROT0, "Yun Sung", "Multi 5 / New Multi Game 5 (set 2)", GAME_SUPPORTS_SAVE ) GAME( 1997, nmg5e, nmg5, nmg5, nmg5, nmg5_state, prot_val_10, ROT0, "Yun Sung", "Multi 5 / New Multi Game 5 (set 3, earlier)", GAME_SUPPORTS_SAVE ) -GAME( 1999, searchey, 0, nmg5, searchey, nmg5_state, prot_val_10, ROT0, "Yun Sung", "Search Eye (English / Korean / Japanese / Spanish)", GAME_SUPPORTS_SAVE ) +GAME( 1999, searchey, 0, nmg5, searchey, nmg5_state, prot_val_10, ROT0, "Yun Sung", "Search Eye (English / Korean / Japanese / Italian)", GAME_SUPPORTS_SAVE ) GAME( 1999, searcheya, searchey, nmg5, searcheya, nmg5_state, prot_val_10, ROT0, "Yun Sung", "Search Eye (English / Korean)", GAME_SUPPORTS_SAVE ) GAME( 1999, searchp2, 0, searchp2, searchp2, nmg5_state, prot_val_10, ROT0, "Yun Sung", "Search Eye Plus V2.0", GAME_SUPPORTS_SAVE ) GAME( 2000, pclubys, 0, pclubys, pclubys, nmg5_state, prot_val_10, ROT0, "Yun Sung", "Puzzle Club (Yun Sung, set 1)", GAME_SUPPORTS_SAVE )