From dff073e4599f8f232b046610cf6900643af3aaa2 Mon Sep 17 00:00:00 2001 From: davidhay Date: Sat, 31 May 2008 21:30:16 +0000 Subject: [PATCH] fix some duplicate input port bits, add clone quizoa --- src/mame/drivers/dgpix.c | 1 - src/mame/drivers/gstream.c | 4 ++-- src/mame/drivers/playmark.c | 2 -- src/mame/drivers/quizo.c | 24 +++++++++++++++++++----- src/mame/drivers/realbrk.c | 2 +- src/mame/drivers/tmnt.c | 4 ++-- src/mame/mamedriv.c | 1 + 7 files changed, 25 insertions(+), 13 deletions(-) diff --git a/src/mame/drivers/dgpix.c b/src/mame/drivers/dgpix.c index cb53382c368..e42d3d8d2d3 100644 --- a/src/mame/drivers/dgpix.c +++ b/src/mame/drivers/dgpix.c @@ -257,7 +257,6 @@ static INPUT_PORTS_START( dgpix ) PORT_BIT( 0x00004000, IP_ACTIVE_LOW, IPT_UNUSED ) PORT_BIT( 0x00008000, IP_ACTIVE_LOW, IPT_UNUSED ) PORT_SERVICE_NO_TOGGLE( 0x00010000, IP_ACTIVE_LOW ) - PORT_BIT( 0x00010000, IP_ACTIVE_LOW, IPT_UNUSED ) PORT_BIT( 0x00020000, IP_ACTIVE_LOW, IPT_UNUSED ) PORT_BIT( 0x00040000, IP_ACTIVE_LOW, IPT_SERVICE1 ) PORT_BIT( 0x00080000, IP_ACTIVE_LOW, IPT_UNUSED ) diff --git a/src/mame/drivers/gstream.c b/src/mame/drivers/gstream.c index f1d62f8d162..5795a45a646 100644 --- a/src/mame/drivers/gstream.c +++ b/src/mame/drivers/gstream.c @@ -232,7 +232,7 @@ static INPUT_PORTS_START( gstream ) PORT_BIT( 0x0200, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_BIT( 0x0400, IP_ACTIVE_LOW, IPT_START1 ) PORT_BIT( 0x0800, IP_ACTIVE_LOW, IPT_SERVICE1 ) - PORT_BIT( 0xe000, IP_ACTIVE_LOW, IPT_UNUSED ) + PORT_BIT( 0x7000, IP_ACTIVE_LOW, IPT_UNUSED ) PORT_SERVICE_NO_TOGGLE( 0x8000, IP_ACTIVE_LOW ) PORT_START @@ -248,7 +248,7 @@ static INPUT_PORTS_START( gstream ) PORT_BIT( 0x0200, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_BIT( 0x0400, IP_ACTIVE_LOW, IPT_START2 ) PORT_BIT( 0x0800, IP_ACTIVE_LOW, IPT_SERVICE2 ) - PORT_BIT( 0xe000, IP_ACTIVE_LOW, IPT_UNUSED ) + PORT_BIT( 0x7000, IP_ACTIVE_LOW, IPT_UNUSED ) PORT_SERVICE_NO_TOGGLE( 0x8000, IP_ACTIVE_LOW ) PORT_START diff --git a/src/mame/drivers/playmark.c b/src/mame/drivers/playmark.c index 2f5e5dc2b69..7e9d3577b1d 100644 --- a/src/mame/drivers/playmark.c +++ b/src/mame/drivers/playmark.c @@ -645,8 +645,6 @@ static INPUT_PORTS_START( hotmind ) PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN ) - PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) - PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) diff --git a/src/mame/drivers/quizo.c b/src/mame/drivers/quizo.c index eaadb1365d8..5bcd26a341d 100644 --- a/src/mame/drivers/quizo.c +++ b/src/mame/drivers/quizo.c @@ -141,10 +141,6 @@ static INPUT_PORTS_START( quizo ) PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_COIN2 ) PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_TILT ) PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_START1 ) - - PORT_DIPNAME( 0x02, 0x00, DEF_STR( Unknown) ) - PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) - PORT_DIPSETTING( 0x02, DEF_STR( On ) ) PORT_DIPNAME( 0x20, 0x00, DEF_STR( Unknown) ) PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) PORT_DIPSETTING( 0x20, DEF_STR( On ) ) @@ -230,9 +226,27 @@ ROM_START( quizo ) ROM_LOAD( "82s123", 0x0000, 0x0020, CRC(c3f15914) SHA1(19fd8e6f2a1256ae51c500a3bf1d7358810ef97e) ) ROM_END +ROM_START( quizoa ) + ROM_REGION( 0x10000, REGION_CPU1, 0 ) + ROM_LOAD( "7.bin", 0x0000, 0x4000, CRC(1579ae31) SHA1(b23539413d108223001a9fe827ea151d20682b7b) ) + + ROM_REGION( 0x18000, REGION_USER1, 0 ) + ROM_LOAD( "6.bin", 0x00000, 0x4000, CRC(f00f6356) SHA1(f306ec26ddbb503214e266cc9b74304af86bdbc6) ) + ROM_LOAD( "5.bin", 0x04000, 0x4000, CRC(39e577e3) SHA1(430d9fe916dfeecdb94c23be89f79a6408ff444e) ) + ROM_LOAD( "4.bin", 0x08000, 0x4000, CRC(a977bd3a) SHA1(22f1158253a31cf5513eed3537a6096b993b0919) ) + ROM_LOAD( "3.bin", 0x0c000, 0x4000, CRC(4411bcff) SHA1(2f6692e082b335c3af8b92108f757d333599dd29) ) + ROM_LOAD( "2.bin", 0x10000, 0x4000, CRC(4a0df776) SHA1(4a7dc2347b33843c0a6bb497be56ccae1af1dae0) ) + ROM_LOAD( "1.bin", 0x14000, 0x4000, CRC(d9566c1a) SHA1(2495c071d077e5a359c2d7541d8b7c175b398b56) ) + + ROM_REGION( 0x0020, REGION_PROMS, 0 ) + ROM_LOAD( "82s123", 0x0000, 0x0020, CRC(c3f15914) SHA1(19fd8e6f2a1256ae51c500a3bf1d7358810ef97e) ) +ROM_END + + static DRIVER_INIT(quizo) { videoram=auto_malloc(0x4000*2); } -GAME( 1985, quizo, 0, quizo, quizo, quizo, ROT0, "Seoul Coin Corp.", "Quiz Olympic", 0 ) +GAME( 1985, quizo, 0, quizo, quizo, quizo, ROT0, "Seoul Coin Corp.", "Quiz Olympic (set 1)", 0 ) +GAME( 1985, quizoa, quizo, quizo, quizo, quizo, ROT0, "Seoul Coin Corp.", "Quiz Olympic (set 2)", 0 ) diff --git a/src/mame/drivers/realbrk.c b/src/mame/drivers/realbrk.c index 568344877b8..c5b62501a32 100644 --- a/src/mame/drivers/realbrk.c +++ b/src/mame/drivers/realbrk.c @@ -324,7 +324,7 @@ static INPUT_PORTS_START( pkgnsh ) PORT_BIT( 0x8000, IP_ACTIVE_HIGH, IPT_UNKNOWN ) PORT_START - PORT_BIT( 0x00bf, IP_ACTIVE_LOW, IPT_UNUSED ) + PORT_BIT( 0x003f, IP_ACTIVE_LOW, IPT_UNUSED ) PORT_BIT( 0x00c0, IP_ACTIVE_HIGH, IPT_UNUSED )/*pkgnsh wants these two bits to be 0*/ PORT_DIPNAME( 0x0100, 0x0100, DEF_STR( Unknown ) ) PORT_DIPSETTING( 0x0100, DEF_STR( Off ) ) diff --git a/src/mame/drivers/tmnt.c b/src/mame/drivers/tmnt.c index 6a727116219..22342318a25 100644 --- a/src/mame/drivers/tmnt.c +++ b/src/mame/drivers/tmnt.c @@ -2042,9 +2042,9 @@ static INPUT_PORTS_START( glfgreat ) PORT_BIT( 0x0100, IP_ACTIVE_LOW, IPT_START1 ) PORT_BIT( 0x0200, IP_ACTIVE_LOW, IPT_START2 ) PORT_SERVICE_NO_TOGGLE( 0x0400, IP_ACTIVE_LOW ) - PORT_DIPNAME( 0x8000, 0x0000, "Freeze" ) /* ?? VBLANK ?? */ + PORT_DIPNAME( 0x0800, 0x0000, "Freeze" ) /* ?? VBLANK ?? */ PORT_DIPSETTING( 0x0000, DEF_STR( Off ) ) - PORT_DIPSETTING( 0x8000, DEF_STR( On ) ) + PORT_DIPSETTING( 0x0800, DEF_STR( On ) ) PORT_DIPNAME( 0x1000, 0x1000, DEF_STR( Flip_Screen ) ) PORT_DIPSETTING( 0x1000, DEF_STR( Off ) ) PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) diff --git a/src/mame/mamedriv.c b/src/mame/mamedriv.c index 796cb0c6a62..f1e93f45f75 100644 --- a/src/mame/mamedriv.c +++ b/src/mame/mamedriv.c @@ -8040,6 +8040,7 @@ Other Sun games DRIVER( good ) /* (c) 1983 Kiwako */ DRIVER( filetto ) DRIVER( quizo ) /* (c) 1985 Seoul Coin Corp. */ + DRIVER( quizoa ) /* (c) 1985 Seoul Coin Corp. */ DRIVER( gstream ) /* (c) 2002, Oriental Soft Japan */ DRIVER( miniboy7 ) /* (c) 1983, Bonanza Enterprises */ DRIVER( 39in1 ) /* MAME based bootleg */