From 7b947eb7f0287f14f3f847b2686da7b7e396fdcd Mon Sep 17 00:00:00 2001 From: Robbbert Date: Fri, 28 Jan 2022 14:13:38 +1100 Subject: [PATCH] New working machines -------------------- The Dice Game! [Jonas Jago] --- src/mame/drivers/m90.cpp | 77 ++++++++++++++++++++++++++++++++++++++++ src/mame/mame.lst | 1 + 2 files changed, 78 insertions(+) diff --git a/src/mame/drivers/m90.cpp b/src/mame/drivers/m90.cpp index 2826230a6c1..d85e9af7192 100644 --- a/src/mame/drivers/m90.cpp +++ b/src/mame/drivers/m90.cpp @@ -657,6 +657,58 @@ static INPUT_PORTS_START( riskchal ) PORT_BIT( 0xffff, IP_ACTIVE_LOW, IPT_UNUSED ) INPUT_PORTS_END +static INPUT_PORTS_START( dicegame ) + PORT_START("P1_P2") + IREM_GENERIC_JOYSTICKS_2_BUTTONS(1, 2) + + PORT_START("SYSTEM") + IREM_COINS + + PORT_START("DSW") + PORT_DIPNAME( 0x0001, 0x0001, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW1:1") + PORT_DIPSETTING( 0x0001, DEF_STR( Off ) ) + PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) + PORT_DIPNAME( 0x0002, 0x0002, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW1:2") + PORT_DIPSETTING( 0x0002, DEF_STR( Off ) ) + PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) + PORT_DIPNAME( 0x0004, 0x0004, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW1:3") + PORT_DIPSETTING( 0x0004, DEF_STR( Off ) ) + PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) + PORT_DIPNAME( 0x0008, 0x0008, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW1:4") + PORT_DIPSETTING( 0x0008, DEF_STR( Off ) ) + PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) + PORT_DIPNAME( 0x0010, 0x0010, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW1:5") + PORT_DIPSETTING( 0x0010, DEF_STR( Off ) ) + PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) + PORT_DIPNAME( 0x0020, 0x0020, DEF_STR( Allow_Continue ) ) PORT_DIPLOCATION("SW1:6") + PORT_DIPSETTING( 0x0000, DEF_STR( No ) ) + PORT_DIPSETTING( 0x0020, DEF_STR( Yes ) ) + PORT_DIPNAME( 0x0040, 0x0000, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW1:7") + PORT_DIPSETTING( 0x0040, DEF_STR( Off ) ) + PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) + PORT_SERVICE_DIPLOC( 0x0080, IP_ACTIVE_LOW, "SW1:8" ) + + PORT_DIPNAME( 0x0100, 0x0100, DEF_STR( Flip_Screen ) ) PORT_DIPLOCATION("SW2:1") + PORT_DIPSETTING( 0x0100, DEF_STR( Off ) ) + PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) + PORT_DIPNAME( 0x0200, 0x0200, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW2:2") + PORT_DIPSETTING( 0x0200, DEF_STR( Off ) ) + PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) + PORT_DIPNAME( 0x0400, 0x0400, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW2:3") + PORT_DIPSETTING( 0x0400, DEF_STR( Off ) ) + PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) + PORT_DIPNAME( 0x0800, 0x0800, "Coin Mode" ) PORT_DIPLOCATION("SW2:4") + PORT_DIPSETTING( 0x0800, "1" ) + PORT_DIPSETTING( 0x0000, "2" ) + /* Coin Mode 1 */ + IREM_COIN_MODE_1_NEW_HIGH + /* Coin Mode 2 */ + IREM_COIN_MODE_2_HIGH + + PORT_START("P3_P4") /* unused */ + PORT_BIT( 0xffff, IP_ACTIVE_LOW, IPT_UNUSED ) +INPUT_PORTS_END + /*****************************************************************************/ static const gfx_layout charlayout = @@ -859,6 +911,12 @@ void m90_state::dynablsb(machine_config &config) subdevice("ymsnd")->irq_handler().set_nop(); /* this bootleg polls the YM2151 instead of taking interrupts from it */ } +void m90_state::dicegame(machine_config &config) +{ + m90(config); + m_screen->set_visarea(10*8, 50*8-1, 17*8, 47*8-1); +} + /***************************************************************************/ @@ -1245,6 +1303,24 @@ ROM_START( shisen2 ) /* No samples */ ROM_END +ROM_START( dicegame ) // JP language, but it came from Germany sold by Turing. + ROM_REGION( CODE_SIZE, "maincpu", 0 ) + ROM_LOAD16_BYTE( "dice-p1.ic61", 0x00001, 0x20000, CRC(8f2257d8) SHA1(d804c0ca7cd70bdc30c028607040eaf260d877d4) ) + ROM_LOAD16_BYTE( "dice-p0.ic65", 0x00000, 0x20000, CRC(9c191d18) SHA1(5016b0c688cfd62aee5b829653f28ab1889e5b46) ) + ROM_COPY( "maincpu", 0x3fff0, 0xffff0, 0x10 ) /* start vector */ + + ROM_REGION( 0x20000, "soundcpu", 0 ) + ROM_LOAD( "dice-sp.ic23", 0x0000, 0x20000, CRC(73e8796e) SHA1(3edcc462254ec42a80be036e3c87c3a506b00679) ) + + ROM_REGION( 0x80000, "gfx1", 0 ) + ROM_LOAD( "dice-c0.ic66", 0x000000, 0x20000, CRC(a1eda342) SHA1(59f23528d0d04115a0bd062911772446e342520d) ) + ROM_LOAD( "dice-c1.ic67", 0x020000, 0x20000, CRC(20850a15) SHA1(b1e3478ae883a9de5accd3b79a64b27138c79829) ) + ROM_LOAD( "dice-c2.ic68", 0x040000, 0x20000, CRC(6c39915f) SHA1(5862f2b442417c243e4c34122f88d4903497d8f4) ) + ROM_LOAD( "dice-c3.ic69", 0x060000, 0x20000, CRC(81d58e68) SHA1(af0e34f276d2607f5c7ed2c50e417b2e7fcef83d) ) + + ROM_REGION( 0x20000, "m72", 0 ) /* samples */ + ROM_LOAD( "dice-v0.ic20", 0x0000, 0x20000, CRC(04dc9196) SHA1(3e3ecbf0e2b6e691f9894698aaf41a64ec7b41f1) ) +ROM_END void m90_state::init_quizf1() @@ -1286,3 +1362,4 @@ GAME( 1993, riskchal, 0, riskchal, riskchal, m90_state, empty_init, RO GAME( 1993, gussun, riskchal, riskchal, riskchal, m90_state, empty_init, ROT0, "Irem", "Gussun Oyoyo (Japan)", MACHINE_NO_COCKTAIL | MACHINE_SUPPORTS_SAVE ) GAME( 1993, matchit2, 0, matchit2, matchit2, m90_state, empty_init, ROT0, "Tamtex", "Match It II", MACHINE_NO_COCKTAIL | MACHINE_SUPPORTS_SAVE ) GAME( 1993, shisen2, matchit2, matchit2, shisen2, m90_state, empty_init, ROT0, "Tamtex", "Shisensho II", MACHINE_NO_COCKTAIL | MACHINE_SUPPORTS_SAVE ) +GAME( 199?, dicegame, 0, dicegame, dicegame, m90_state, empty_init, ROT0, "bootleg", "The Dice Game!", MACHINE_NO_COCKTAIL | MACHINE_SUPPORTS_SAVE ) diff --git a/src/mame/mame.lst b/src/mame/mame.lst index 93739404a27..728845e7f13 100644 --- a/src/mame/mame.lst +++ b/src/mame/mame.lst @@ -20488,6 +20488,7 @@ bbmanwj // (c) 1992 Irem (Japan) bbmanwja // (c) 1992 Irem (Japan) - revised sound hardware bomblord // bootleg bombrman // (c) 1991 Irem (Japan) +dicegame // bootleg dynablst // (c) 1991 Irem (World) dynablstb // bootleg dynablstb2 // bootleg