From 095f682d54c61f1c82467a5e5a54d7a16d861a81 Mon Sep 17 00:00:00 2001 From: Lord-Nightmare Date: Wed, 13 Sep 2017 21:02:03 -0400 Subject: Fix retofinvb3 colors [Lord Nightmare] --- src/mame/drivers/retofinv.cpp | 30 +++++++++++++++++++++--------- 1 file changed, 21 insertions(+), 9 deletions(-) diff --git a/src/mame/drivers/retofinv.cpp b/src/mame/drivers/retofinv.cpp index 04b2a2efec2..df3ef376561 100644 --- a/src/mame/drivers/retofinv.cpp +++ b/src/mame/drivers/retofinv.cpp @@ -464,14 +464,25 @@ static MACHINE_CONFIG_START( retofinv ) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.80) MACHINE_CONFIG_END -/* bootleg has different palette clut */ -static MACHINE_CONFIG_DERIVED( retofinvb, retofinv ) +/* bootleg which has different palette clut */ +static MACHINE_CONFIG_DERIVED( retofinvb1, retofinv ) MCFG_PALETTE_MODIFY("palette") MCFG_PALETTE_INIT_OWNER(retofinv_state, retofinv_bl) MACHINE_CONFIG_END -/* bootleg which also has no mcu */ -static MACHINE_CONFIG_DERIVED( retofinvb_nomcu, retofinvb ) +/* bootleg which has no mcu */ +static MACHINE_CONFIG_DERIVED( retofinvb_nomcu, retofinv ) + MCFG_CPU_MODIFY("maincpu") + MCFG_CPU_PROGRAM_MAP(bootleg_map) + + MCFG_DEVICE_MODIFY("mainlatch") + MCFG_ADDRESSABLE_LATCH_Q3_OUT_CB(NOOP) + + MCFG_DEVICE_REMOVE("68705") +MACHINE_CONFIG_END + +/* bootleg which has different pallete clut and also has no mcu */ +static MACHINE_CONFIG_DERIVED( retofinvb1_nomcu, retofinvb1 ) MCFG_CPU_MODIFY("maincpu") MCFG_CPU_PROGRAM_MAP(bootleg_map) @@ -575,6 +586,7 @@ ROM_START( retofinvb ) // bootleg with black-box reverse-engineered mcu. Unclear ROM_LOAD( "a37-07.4", 0x0100, 0x0100, CRC(e8f34e11) SHA1(8f438561b8d46ffff00747ed8baf0ebb6a081615) ) /* palette green bits */ ROM_LOAD( "a37-08.3", 0x0200, 0x0100, CRC(50030af0) SHA1(e748ae0b8702b7d20fb65c254dceee23246b3d13) ) /* palette blue bits */ + // below may be incorrect; this bootleg may be supposed to use the same 4 proms as the main set above does. ROM_REGION( 0x0800, "clut", 0 ) // bootleg uses a single 82s191 2kx8 TS prom for the tile color lookup tables; data is scrambled slightly. ROM_LOAD( "82s191n", 0x0000, 0x0800, CRC(93c891e3) SHA1(643a0107717b6a434432dda73a0102e6e8adbca7) ) ROM_END @@ -684,8 +696,8 @@ ROM_START( retofinvb3 ) // Italian bootleg PCB. Only maincpu ROMs differ from pa ROM_LOAD_NIB_LOW ( "6353-1.c", 0x0400, 0x0400, CRC(77a7aaf6) SHA1(61a474f1ad09b89ff8302f2d903b86a90823116c) ) ROM_END -GAME( 1985, retofinv, 0, retofinv, retofinv, retofinv_state, 0, ROT90, "Taito Corporation", "Return of the Invaders", MACHINE_SUPPORTS_SAVE ) -GAME( 1985, retofinvb, retofinv, retofinvb, retofinv, retofinv_state, 0, ROT90, "bootleg", "Return of the Invaders (bootleg w/MCU)", MACHINE_SUPPORTS_SAVE ) -GAME( 1985, retofinvb1, retofinv, retofinvb_nomcu, retofinv, retofinv_state, 0, ROT90, "bootleg", "Return of the Invaders (bootleg no MCU set 1)", MACHINE_SUPPORTS_SAVE ) -GAME( 1985, retofinvb2, retofinv, retofinvb_nomcu, retofin2, retofinv_state, 0, ROT90, "bootleg", "Return of the Invaders (bootleg no MCU set 2)", MACHINE_SUPPORTS_SAVE ) -GAME( 1985, retofinvb3, retofinv, retofinvb_nomcu, retofinv, retofinv_state, 0, ROT90, "bootleg", "Return of the Invaders (bootleg no MCU set 3)", MACHINE_SUPPORTS_SAVE ) +GAME( 1985, retofinv, 0, retofinv, retofinv, retofinv_state, 0, ROT90, "Taito Corporation", "Return of the Invaders", MACHINE_SUPPORTS_SAVE ) +GAME( 1985, retofinvb, retofinv, retofinvb1, retofinv, retofinv_state, 0, ROT90, "bootleg", "Return of the Invaders (bootleg w/MCU)", MACHINE_SUPPORTS_SAVE ) +GAME( 1985, retofinvb1, retofinv, retofinvb1_nomcu, retofinv, retofinv_state, 0, ROT90, "bootleg", "Return of the Invaders (bootleg no MCU set 1)", MACHINE_SUPPORTS_SAVE ) +GAME( 1985, retofinvb2, retofinv, retofinvb1_nomcu, retofin2, retofinv_state, 0, ROT90, "bootleg", "Return of the Invaders (bootleg no MCU set 2)", MACHINE_SUPPORTS_SAVE ) +GAME( 1985, retofinvb3, retofinv, retofinvb_nomcu, retofinv, retofinv_state, 0, ROT90, "bootleg", "Return of the Invaders (bootleg no MCU set 3)", MACHINE_SUPPORTS_SAVE ) -- cgit v1.2.3