From fe55be0764115f004532e8d59c6b13c9e886d1bb Mon Sep 17 00:00:00 2001 From: David Haywood Date: Sun, 16 Aug 2015 02:45:29 +0100 Subject: [PATCH] new clones Meteors [Andrew Welburn, Trevor Brown] It's a clone of Space Force, but Horizontal, not Vertical, also the outputs are swapped around (irq enable moved for example) --- src/mame/arcade.lst | 1 + src/mame/drivers/spcforce.c | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/src/mame/arcade.lst b/src/mame/arcade.lst index ae1f0edc5b3..14612126bf7 100644 --- a/src/mame/arcade.lst +++ b/src/mame/arcade.lst @@ -9531,6 +9531,7 @@ puzzlet // (c) 2000 Yunizu Corporation (Japan) spcforce // (c) 1980 Venture Line spcforc2 // bootleg meteor // (c) 1981 Venture Line +meteors // (c) 1981 Amusement World looping // (c) 1982 Video Games GmbH loopingv // (c) 1982 Video Games GmbH (Venture Line license) loopingva // (c) 1982 Video Games GmbH (Venture Line license) diff --git a/src/mame/drivers/spcforce.c b/src/mame/drivers/spcforce.c index b313ad7c999..303d4c61a87 100644 --- a/src/mame/drivers/spcforce.c +++ b/src/mame/drivers/spcforce.c @@ -119,6 +119,13 @@ static ADDRESS_MAP_START( spcforce_map, AS_PROGRAM, 8, spcforce_state ) AM_RANGE(0xa000, 0xa3ff) AM_RAM AM_SHARE("scrollram") ADDRESS_MAP_END +static ADDRESS_MAP_START( meteors_map, AS_PROGRAM, 8, spcforce_state ) + AM_RANGE(0x700b, 0x700b) AM_WRITENOP + AM_RANGE(0x700d, 0x700d) AM_WRITE(irq_mask_w) // ?? + AM_RANGE(0x700e, 0x700e) AM_WRITE(flip_screen_w) // irq mask isn't here, gets written too early causing the game to not boot, see startup code between sets + AM_IMPORT_FROM(spcforce_map) +ADDRESS_MAP_END + static ADDRESS_MAP_START( spcforce_sound_map, AS_PROGRAM, 8, spcforce_state ) AM_RANGE(0x0000, 0x07ff) AM_ROM ADDRESS_MAP_END @@ -265,6 +272,7 @@ PALETTE_INIT_MEMBER(spcforce_state, spcforce) INTERRUPT_GEN_MEMBER(spcforce_state::vblank_irq) { + if(m_irq_mask) device.execute().set_input_line(3, HOLD_LINE); } @@ -310,6 +318,11 @@ static MACHINE_CONFIG_START( spcforce, spcforce_state ) MCFG_SN76496_READY_HANDLER(WRITELINE(spcforce_state, write_sn3_ready)) MACHINE_CONFIG_END +static MACHINE_CONFIG_DERIVED( meteors, spcforce ) + MCFG_CPU_MODIFY("maincpu") + MCFG_CPU_PROGRAM_MAP(meteors_map) +MACHINE_CONFIG_END + /*************************************************************************** @@ -385,7 +398,31 @@ ROM_START( meteor ) ROM_LOAD( "bm2v", 0x2800, 0x0800, CRC(2858cf5c) SHA1(1313b4e4adda074499153e4a42bc2c6b41b0ec7e) ) ROM_END +ROM_START( meteors ) + ROM_REGION( 0x10000, "maincpu", 0 ) + ROM_LOAD( "1hz1_2.1ab", 0x0000, 0x0800, CRC(86de2a63) SHA1(083a0d31f29bd9d68d240b23234645eeea57556d) ) + ROM_LOAD( "2hz1_2.1cd", 0x0800, 0x0800, CRC(7ef2c421) SHA1(f01327748e5a2144744557cd3cef16c93076466c) ) + ROM_LOAD( "3hz1_2.2ab", 0x1000, 0x0800, CRC(6d631f33) SHA1(4c69e3761d7db5ed6c8c23cc5e255cacfac6137f) ) + ROM_LOAD( "4hz1_2.2cd", 0x1800, 0x0800, CRC(48cb5acc) SHA1(791f9ca0225465d7af8a2a61f617112570f529e6)) + /*0x2000 empty */ + ROM_LOAD( "6hz1_2.3cd", 0x2800, 0x0800, CRC(39541265) SHA1(e55eb6c826fb553123991577be4daa3c2aa236f6) ) + ROM_LOAD( "7hz1_2.4ab", 0x3000, 0x0800, CRC(e718e807) SHA1(d8f3f66aea409c296785d66937b067f4b2c76ed4) ) + ROM_LOAD( "mbv21_2.4cd", 0x3800, 0x0800, CRC(f805c3cd) SHA1(78eb13b99aae895742b34ed56bee9313d3643de1) ) + + ROM_REGION( 0x1000, "audiocpu", 0 ) /* sound MCU */ + ROM_LOAD( "vms.10l", 0x0000, 0x0800, CRC(b14ccd57) SHA1(0349ec5d0ca7f98ffdd96d7bf01cf096fe547f7a)) + + ROM_REGION( 0x3000, "gfx1", 0 ) + ROM_LOAD( "rm1h1_2.6st", 0x0000, 0x0800, CRC(409fef31) SHA1(7260e06fa654d54f3660712a63f8db8c28b872c9) ) + ROM_LOAD( "rm2h1_2.7st", 0x0800, 0x0800, CRC(b3981251) SHA1(b6743d121a6b3ad8e8beebe1faff2678b89e7d16) ) + ROM_LOAD( "gm1h1_2.6pr", 0x1000, 0x0800, CRC(0b85c282) SHA1(b264c92d4b2533c18ac7831491133170a2fd400b) ) + ROM_LOAD( "gm2h1_2.7pr", 0x1800, 0x0800, CRC(0997d945) SHA1(16eba77b14c62b2a0ebea47a28d4d5d21d7a2234) ) + ROM_LOAD( "bm1h1_2.6nm", 0x2000, 0x0800, CRC(f9501c8e) SHA1(483d3d4c3f9601d7fcbf263bba5bdc5529b13f70) ) + ROM_LOAD( "bm2h1_2.7nm", 0x2800, 0x0800, CRC(2858cf5c) SHA1(1313b4e4adda074499153e4a42bc2c6b41b0ec7e) ) +ROM_END + GAME( 1980, spcforce, 0, spcforce, spcforce, driver_device, 0, ROT270, "Venture Line", "Space Force (set 1)", MACHINE_IMPERFECT_COLORS | MACHINE_SUPPORTS_SAVE ) GAME( 19??, spcforc2, spcforce, spcforce, spcforc2, driver_device, 0, ROT270, "bootleg? (Elcon)", "Space Force (set 2)", MACHINE_IMPERFECT_COLORS | MACHINE_SUPPORTS_SAVE ) GAME( 1981, meteor, spcforce, spcforce, spcforc2, driver_device, 0, ROT270, "Venture Line", "Meteoroids", MACHINE_IMPERFECT_COLORS | MACHINE_SUPPORTS_SAVE ) +GAME( 19??, meteors, spcforce, meteors, spcforc2, driver_device, 0, ROT0, "Amusement World", "Meteors", MACHINE_IMPERFECT_COLORS | MACHINE_SUPPORTS_SAVE )