This file lists some things that were removed from the main source tree.

pacman.c
*** Madpac with broken gfx in JumpShot ***

ROM_START( madpac )
	ROM_REGION( 0x110000, REGION_CPU1, 0 )
	ROM_LOAD( "madpac.cpu",   0x10000, 0x80000, CRC(615a9454) SHA1(09b9e94d0848561c1759161679103edc44aa39e1) )
	ROM_LOAD( "madpac.cp2",   0x90000, 0x80000, CRC(ce7c3e2d) SHA1(9b09d023c7de2f9416bd3ded5398faae2f68c9ad) )

	/* reorganise gfx so that all chars come first, followed by all sprites */
	ROM_REGION( 0x40000, REGION_GFX1, ROMREGION_DISPOSE )
	ROM_LOAD( "madpac.gfx",   0x00000, 0x1000, CRC(6a1b231a) SHA1(67046022a179043f9c017b12ecadd9d5772705a9) )
	ROM_CONTINUE(             0x20000, 0x1000 )
	ROM_CONTINUE(             0x01000, 0x1000 )
	ROM_CONTINUE(             0x21000, 0x1000 )
	ROM_CONTINUE(             0x02000, 0x1000 )
	ROM_CONTINUE(             0x22000, 0x1000 )
	ROM_CONTINUE(             0x03000, 0x1000 )
	ROM_CONTINUE(             0x23000, 0x1000 )
	ROM_CONTINUE(             0x04000, 0x1000 )
	ROM_CONTINUE(             0x24000, 0x1000 )
	ROM_CONTINUE(             0x05000, 0x1000 )
	ROM_CONTINUE(             0x25000, 0x1000 )
	ROM_CONTINUE(             0x06000, 0x1000 )
	ROM_CONTINUE(             0x26000, 0x1000 )
	ROM_CONTINUE(             0x07000, 0x1000 )
	ROM_CONTINUE(             0x27000, 0x1000 )
	ROM_CONTINUE(             0x08000, 0x1000 )
	ROM_CONTINUE(             0x28000, 0x1000 )
	ROM_CONTINUE(             0x09000, 0x1000 )
	ROM_CONTINUE(             0x29000, 0x1000 )
	ROM_CONTINUE(             0x0a000, 0x1000 )
	ROM_CONTINUE(             0x2a000, 0x1000 )
	ROM_CONTINUE(             0x0b000, 0x1000 )
	ROM_CONTINUE(             0x2b000, 0x1000 )
	ROM_CONTINUE(             0x0c000, 0x1000 )
	ROM_CONTINUE(             0x2c000, 0x1000 )
	ROM_CONTINUE(             0x0d000, 0x1000 )
	ROM_CONTINUE(             0x2d000, 0x1000 )
	ROM_CONTINUE(             0x0e000, 0x1000 )
	ROM_CONTINUE(             0x2e000, 0x1000 )
	ROM_CONTINUE(             0x0f000, 0x1000 )
	ROM_CONTINUE(             0x2f000, 0x1000 )
	ROM_CONTINUE(             0x10000, 0x1000 )
	ROM_CONTINUE(             0x30000, 0x1000 )
	ROM_CONTINUE(             0x11000, 0x1000 )
	ROM_CONTINUE(             0x31000, 0x1000 )
	ROM_CONTINUE(             0x12000, 0x1000 )
	ROM_CONTINUE(             0x32000, 0x1000 )
	ROM_CONTINUE(             0x13000, 0x1000 )
	ROM_CONTINUE(             0x33000, 0x1000 )
	ROM_CONTINUE(             0x14000, 0x1000 )
	ROM_CONTINUE(             0x34000, 0x1000 )
	ROM_CONTINUE(             0x15000, 0x1000 )
	ROM_CONTINUE(             0x35000, 0x1000 )
	ROM_CONTINUE(             0x16000, 0x1000 )
	ROM_CONTINUE(             0x36000, 0x1000 )
	ROM_CONTINUE(             0x17000, 0x1000 )
	ROM_CONTINUE(             0x37000, 0x1000 )
	ROM_CONTINUE(             0x18000, 0x1000 )
	ROM_CONTINUE(             0x38000, 0x1000 )
	ROM_CONTINUE(             0x19000, 0x1000 )
	ROM_CONTINUE(             0x39000, 0x1000 )
	ROM_CONTINUE(             0x1a000, 0x1000 )
	ROM_CONTINUE(             0x3a000, 0x1000 )
	ROM_CONTINUE(             0x1b000, 0x1000 )
	ROM_CONTINUE(             0x3b000, 0x1000 )
	ROM_CONTINUE(             0x1c000, 0x1000 )
	ROM_CONTINUE(             0x3c000, 0x1000 )
	ROM_CONTINUE(             0x1d000, 0x1000 )
	ROM_CONTINUE(             0x3d000, 0x1000 )
	ROM_CONTINUE(             0x1e000, 0x1000 )
	ROM_CONTINUE(             0x3e000, 0x1000 )
	ROM_CONTINUE(             0x1f000, 0x1000 )
	ROM_CONTINUE(             0x3f000, 0x1000 )

	ROM_REGION( 0x41000, REGION_PROMS, 0 )
	/* palette comes as banks of 16 - we change it to banks of 32, and remove banks 1 to 0xf (they are same as bank 0) */
	ROM_LOAD( "madpac.7f",    0x1000, 0x40000, CRC(63e60ac6) SHA1(03b7035eb0a7e62f21793661c09b449113562ebb) )
	ROM_COPY( REGION_PROMS,   0x1000, 0x0000, 0x10 )	/* pacman and mspacman */
	ROM_COPY( REGION_PROMS,   0x1100, 0x0020, 0x10 )	/* 10. balloon ace */
	ROM_COPY( REGION_PROMS,   0x1110, 0x0040, 0x10 )	/* 11. beastie feastie */
	ROM_COPY( REGION_PROMS,   0x1120, 0x0060, 0x10 )	/* 12. make trax */
	ROM_COPY( REGION_PROMS,   0x1130, 0x0080, 0x10 )	/* 13. lizard wizard */
	ROM_COPY( REGION_PROMS,   0x1140, 0x00a0, 0x10 )	/* 14. atlantic city action */
	ROM_COPY( REGION_PROMS,   0x1150, 0x00c0, 0x10 )	/* 15. jump shot */
	ROM_COPY( REGION_PROMS,   0x1160, 0x00e0, 0x10 )	/* 16. ladybug */
	ROM_COPY( REGION_PROMS,   0x1170, 0x0100, 0x10 )	/* 17. zig zag */
	ROM_COPY( REGION_PROMS,   0x1180, 0x0120, 0x10 )	/* 18. chicken */
	ROM_COPY( REGION_PROMS,   0x1190, 0x0140, 0x10 )	/* 19. pacplus */
	ROM_COPY( REGION_PROMS,   0x11a0, 0x0160, 0x10 )	/* 1A. naughty mouse */
	ROM_COPY( REGION_PROMS,   0x11b0, 0x0180, 0x10 )	/* 1B. cycle battle */
	ROM_COPY( REGION_PROMS,   0x11c0, 0x01a0, 0x10 )	/* 1C. eggor */
	ROM_COPY( REGION_PROMS,   0x11d0, 0x01c0, 0x10 )	/* 1D. gorkans */
	ROM_COPY( REGION_PROMS,   0x11e0, 0x01e0, 0x10 )	/* 1E. homercide */
	/* lookup table is already at banks of 128 */
	ROM_LOAD( "madpac.4a",    0x0280, 0x0800, CRC(16057dac) SHA1(8dfa69f3847140dd5fa8514e9bf49962f5f9f0c0) )
	ROM_COPY( REGION_PROMS,   0x0280, 0x0200, 0x80 )	/* pacman and mspacman */

	ROM_REGION( 0x0200, REGION_SOUND1, 0 )
	ROM_LOAD( "82s126.1m",    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
	ROM_LOAD( "82s126.3m",    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )
ROM_END

GAME( 2005, madpaca,  madpac,	madpac,   96in1,    madpac,   ROT90, "David Widel", "Mad Pac a [h]", GAME_SUPPORTS_SAVE )



*** Pactest *****

	ROM_LOAD( "pactest.2",    0x1000, 0x1000, CRC(71c8493c) SHA1(9c8618c4dcb6c03e6faec66cd575e536778d2727) )
	ROM_LOAD( "pactest.3",    0x2000, 0x1000, CRC(127142a7) SHA1(75febf592026eefd707a36985470fe3923a1441d) )
	ROM_LOAD( "pactest.4",    0x3000, 0x1000, CRC(fe12f50b) SHA1(a28a32751a1f1ce410aa473271596a192ffab3dc) )
	ROM_LOAD( "boot5",        0x8000, 0x1000, CRC(8c3e6de6) SHA1(fed6e9a2b210b07e7189a18574f6b8c4ec5bb49b) )
	ROM_LOAD( "boot6",        0x9000, 0x1000, CRC(368cb165) SHA1(387010a0c76319a1eab61b54c9bcb5c66c4b67a1) )

*** Pacstrm *** this appears to be someone's attempt to make something from nothing
		because mspacman gfx are not compatible with pacman ************

/* gfx are corrupt because it's using mspacman roms */
ROM_START( pacstrm )
	ROM_REGION( 0x10000, REGION_CPU1, 0 )
	ROM_LOAD( "pacman.6e",    0x0000, 0x1000, CRC(c1e6ab10) SHA1(e87e059c5be45753f7e9f33dff851f16d6751181) )
	ROM_LOAD( "pacfast.6f",   0x1000, 0x1000, CRC(720dc3ee) SHA1(7224d7acfa0144b681c71d7734a7337189835361) )
	ROM_LOAD( "pacman.6h",    0x2000, 0x1000, CRC(bcdd1beb) SHA1(8e47e8c2c4d6117d174cdac150392042d3e0a881) )
	ROM_LOAD( "pacman.6j",    0x3000, 0x1000, CRC(817d94e3) SHA1(d4a70d56bb01d27d094d73db8667ffb00ca69cb9) )

	ROM_REGION( 0x2000, REGION_GFX1, ROMREGION_DISPOSE )
	ROM_LOAD( "msdstorm.5e",  0x0000, 0x1000, CRC(b2940b89) SHA1(bfe7066fa11468d8373b43f966e76d92b17c0f48) )
	ROM_LOAD( "msdstorm.5f",  0x1000, 0x1000, CRC(5c65865f) SHA1(988b6deccd985a32d4561164bfabd80ebb43f0a6) )

	ROM_REGION( 0x0120, REGION_PROMS, 0 )
	ROM_LOAD( "82s123.7f",    0x0000, 0x0020, CRC(2fc650bd) SHA1(8d0268dee78e47c712202b0ec4f1f51109b1f2a5) )
	ROM_LOAD( "82s126.4a",    0x0020, 0x0100, CRC(3eb3a8e4) SHA1(19097b5f60d1030f8b82d9f1d3a241f93e5c75d6) )

	ROM_REGION( 0x0200, REGION_SOUND1, 0 )
	ROM_LOAD( "82s126.1m",    0x0000, 0x0100, CRC(a9cc86bf) SHA1(bbcec0570aeceb582ff8238a4bc8546a23430081) )
	ROM_LOAD( "82s126.3m",    0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )
ROM_END

GAME( 2000, pacstrm,  puckman,  pacman,   pacman,   0,        ROT90, "Mike Naylor", "Desert Storm Pacman", GAME_IMPERFECT_GRAPHICS )

======================================================================================================================

bzone.c
*** bzonep ******
ROM_START( bzonep )
	ROM_REGION( 0x8000, REGION_CPU1, 0 )
	ROM_LOAD( "x036408.01",  0x7800, 0x0800, CRC(7513fc40) SHA1(88cbf5c98b41cde5524e9bef537a03db9e783f17) )
	ROM_LOAD( "x036414.01",  0x5000, 0x0800, CRC(55e0b5d5) SHA1(88cbf5c98b41cde5524e9bef537a03db9e783f17) )
	ROM_LOAD( "036413.01",  0x5800, 0x0800, CRC(5d9d9111) SHA1(42638cff53a9791a0f18d316f62a0ea8eea4e194) )
	ROM_LOAD( "x036412.01",  0x6000, 0x0800, CRC(3e0931d7) SHA1(1366a8e9b18a5b2d3f23d9069845403b5d65d32d) )
	ROM_LOAD( "036411.01",  0x6800, 0x0800, CRC(ad281297) SHA1(54c5e06b2e69eb731a6c9b1704e4340f493e7ea5) )
	ROM_LOAD( "036410.01",  0x7000, 0x0800, CRC(0b7bfaa4) SHA1(33ae0f68b4e2eae9f3aecbee2d0b29003ce460b2) )
//	ROM_LOAD( "x036409.01",  0x7800, 0x0800, CRC(debaea12) SHA1(d23cf62182e76562f4d4e9023a8be6243183da00) )
	// extra unknown rom 036408.01 size=0x800 CRC(7513fc40)
	/* Vector Generator ROMs */
	ROM_LOAD( "036422.01",  0x3000, 0x0800, CRC(7414177b) SHA1(147d97a3b475e738ce00b1a7909bbd787ad06eda) )
	ROM_LOAD( "036421.01",  0x3800, 0x0800, CRC(8ea8f939) SHA1(b71e0ab0e220c3e64dc2b094c701fb1a960b64e4) )

	/* AVG PROM */
	ROM_REGION( 0x100, REGION_PROMS, 0 )
	ROM_LOAD( "036498-01.k7",   0x0000, 0x0100, CRC(5903af03) SHA1(24bc0366f394ad0ec486919212e38be0f08d0239) )
ROM_END

GAMEL(1980, bzonep, 0, bzone,    bzone,    0,       ROT0, "Clay Cowgill", "Battle Zone Plus", 0, layout_bzone )

======================================================================================================================

scramble.c
*** mmonscrp ***
The entire difference between this and mimonkey is that it does some reads/writes to 8xxx instead of 4xxx.
Even if it was coded correctly, the result would be no different to mimonkey.

READ8_HANDLER( mmonscrh_videoram_r )
{
	return galaxian_videoram_r ( offset | 0x300 );
}

static ADDRESS_MAP_START( mmonscrh_map, ADDRESS_SPACE_PROGRAM, 8 )
	AM_RANGE(0x0000, 0x3fff) AM_ROM
	AM_RANGE(0x4000, 0x43ff) AM_RAM AM_READWRITE(galaxian_videoram_r,galaxian_videoram_w)
	AM_RANGE(0x4400, 0x47ff) AM_RAM
	AM_RANGE(0x4800, 0x4bff) AM_WRITE(galaxian_videoram_w) AM_BASE(&galaxian_videoram)
	AM_RANGE(0x5000, 0x50ff) AM_RAM
	AM_RANGE(0x5000, 0x503f) AM_WRITE(galaxian_attributesram_w) AM_BASE(&galaxian_attributesram)
	AM_RANGE(0x5040, 0x505f) AM_WRITE(MWA8_RAM) AM_BASE(&galaxian_spriteram) AM_SIZE(&galaxian_spriteram_size)
	AM_RANGE(0x5060, 0x507f) AM_WRITE(MWA8_RAM) AM_BASE(&galaxian_bulletsram) AM_SIZE(&galaxian_bulletsram_size)
	AM_RANGE(0x6801, 0x6801) AM_WRITE(galaxian_nmi_enable_w)
	AM_RANGE(0x6800, 0x6802) AM_WRITE(galaxian_gfxbank_w)
	AM_RANGE(0x6803, 0x6805) AM_WRITENOP
	AM_RANGE(0x6806, 0x6806) AM_WRITE(galaxian_flip_screen_x_w)
	AM_RANGE(0x6807, 0x6807) AM_WRITE(galaxian_flip_screen_y_w)
	AM_RANGE(0x7000, 0x7000) AM_READ(watchdog_reset_r)
	AM_RANGE(0x8100, 0x8103) AM_READWRITE(ppi8255_0_r,ppi8255_0_w)
	AM_RANGE(0x8200, 0x8203) AM_READWRITE(ppi8255_1_r,ppi8255_1_w)
	AM_RANGE(0x8300, 0x83ff) AM_READ(mmonscrh_videoram_r)
	AM_RANGE(0x8400, 0x87ff) AM_RAM	/* this needs to be a mirror of 4400-47ff */
	AM_RANGE(0x8800, 0x8bff) AM_WRITE(galaxian_videoram_w)
	AM_RANGE(0xc000, 0xffff) AM_ROM
ADDRESS_MAP_END
/* need to mirror 68xx to a8xx, and 82xx to a0xx */

static MACHINE_DRIVER_START( mmonscrh )

	/* basic machine hardware */
	MDRV_IMPORT_FROM(scramble)
	MDRV_CPU_MODIFY("main")
	MDRV_CPU_PROGRAM_MAP(mmonscrh_map,0)

	/* video hardware */
	MDRV_VIDEO_START(mimonkey)
MACHINE_DRIVER_END

ROM_START( mmonscrh )
	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 64k for code */
	ROM_LOAD( "mm1",          0x0000, 0x1000, CRC(0399a0c4) SHA1(8314124f9b535ce531663625d19cd3a76782ed3b) )
	ROM_LOAD( "mm2",          0x1000, 0x1000, CRC(2c5e971e) SHA1(39f979b99566e30a19c63115c936bb11fae4c609) )
	ROM_LOAD( "mm3",          0x2000, 0x1000, CRC(24ce1ce3) SHA1(ae5ba6913cabab2152bf48c0c0d5983ecbe5c700) )
	ROM_LOAD( "frah_2b",      0x3000, 0x1000, CRC(ddf6ea72) SHA1(a993fa955fa8c0c58614527dc3e2b73822fe4a37) )
	ROM_LOAD( "mm5",          0xc000, 0x1000, CRC(a9f12dfc) SHA1(c279e3ac84194cc83642a2c330fd869eaae8f063) )
	ROM_LOAD( "mm6",          0xd000, 0x1000, CRC(e492a40c) SHA1(d01d6f9c18821fd8c7ed11d65d13bd0c9595881f) )
	ROM_LOAD( "frah_3b",      0xd800, 0x1000, CRC(03684e21) SHA1(7bb2abfb5c9c6d0fa427f94c5f8c0c050038798c) )
	ROM_LOAD( "mm7",          0xe000, 0x1000, CRC(5339928d) SHA1(7c28516fb7d762e2f77d0ed3dc56a57d0213dbf9) )
	ROM_LOAD( "mm8",          0xf000, 0x1000, CRC(eee7a12e) SHA1(bde6bfe98b15215c48c85a22615b0242ea4f0224) )

	ROM_REGION( 0x10000, REGION_CPU2, 0 )	/* 64k for the audio CPU */
	ROM_LOAD( "mmsound1",	  0x0000, 0x1000, CRC(2d14c527) SHA1(062414ce0415b6c471149319ecae22f465df3a4f) )
	ROM_LOAD( "mmsnd2a",	  0x1000, 0x1000, CRC(35ed0f96) SHA1(5aaacae5c2acf97540b72491f71ea823f5eeae1a) )

	ROM_REGION( 0x4000, REGION_GFX1, ROMREGION_DISPOSE )
	ROM_LOAD( "mmgfx1",	  0x0000, 0x2000, CRC(4af47337) SHA1(225f7bcfbb61e3a163ecaed675d4c81b3609562f) )
	ROM_LOAD( "mmgfx2",	  0x2000, 0x2000, CRC(def47da8) SHA1(8e62e5dc5c810efaa204d0fcb3d02bc84f61ba35) )

	ROM_REGION( 0x0020, REGION_PROMS, 0 )
	ROM_LOAD( "c01s.6e",	  0x0000, 0x0020, CRC(4e3caeab) SHA1(a25083c3e36d28afdefe4af6e6d4f3155e303625) )
ROM_END

static DRIVER_INIT( mmonscrh )
{
	UINT8 *RAM = memory_region(REGION_CPU1);
	RAM[0x00fd] = 0xed;
//	RAM[0x0117] = 0x58;	/* add the checksums for the 2 new roms */
	init_mimonscr(machine);
}

GAME( 198?, mmonscrh, mimonkey, mmonscrh, mimonscr, mmonscrh,     ROT90, "bootleg", "Mighty Monkey (French Hack on Scramble?)", GAME_NOT_WORKING )

=====================================================================================================================

neogeo.c
*** kof97hp *** some s text is corrupt

ROM_START( kof97hp )
	ROM_REGION( 0x500000, REGION_CPU1, 0 )
	ROM_LOAD16_WORD_SWAP( "232-p1p.bin", 0x000000, 0x100000, CRC(af39dd49) SHA1(6d48899f0b976fabc6ca20dbee8f0d9dc07eafa3) )
	ROM_LOAD16_WORD_SWAP( "232-p2p.bin", 0x100000, 0x400000, CRC(7bfb252e) SHA1(62a0a87c7c1b5a6536224d400c6cf3472c16bb7b) )

	NEO_SFIX_128K( "232-s1p.bin", CRC(ece9abba) SHA1(608ea08ef8fd5f32e97a99df4edf285eb9f2e108) )

	NEO_BIOS_SOUND_128K( "232-m1.bin", CRC(45348747) SHA1(ed77cbae2b208d1177a9f5f6e8cd57070e90b65b) )

	ROM_REGION( 0xc00000, REGION_SOUND1, 0 )
	ROM_LOAD( "232-v1.bin", 0x000000, 0x400000, CRC(22a2b5b5) SHA1(ebdbc977332e6d93e266755000b43857e0082965) )
	ROM_LOAD( "232-v2.bin", 0x400000, 0x400000, CRC(2304e744) SHA1(98d283e2bcc9291a53f52afd35ef76dfb0828432) )
	ROM_LOAD( "232-v3.bin", 0x800000, 0x400000, CRC(759eb954) SHA1(54e77c4e9e6b89458e59824e478ddc33a9c72655) )

	NO_DELTAT_REGION

	ROM_REGION( 0x2800000, REGION_GFX3, 0 )
	ROM_LOAD16_BYTE( "232-c1.bin", 0x0000000, 0x800000, CRC(5f8bf0a1) SHA1(e8b63bbc814de171fd18c5864a7fc639970c1ecf) ) /* Plane 0,1 */
	ROM_LOAD16_BYTE( "232-c2.bin", 0x0000001, 0x800000, CRC(e4d45c81) SHA1(fdb2b9326362e27b1c7a5beb977e0bc537488186) ) /* Plane 2,3 */
	ROM_LOAD16_BYTE( "232-c3p.bin", 0x1000000, 0x800000, CRC(b092e64f) SHA1(7d809432d068db8f9056f5210570191416f1a53b) ) /* Plane 0,1 */
	ROM_LOAD16_BYTE( "232-c4p.bin", 0x1000001, 0x800000, CRC(d25e8a04) SHA1(52227828e3fdd27399b4cd514551abf856293f47) ) /* Plane 2,3 */
	ROM_LOAD16_BYTE( "232-c5p.bin", 0x2000000, 0x400000, CRC(9af776d3) SHA1(a054ca17e6b35c8743286a025488b04186eebdbe) ) /* Plane 0,1 */
	ROM_LOAD16_BYTE( "232-c6p.bin", 0x2000001, 0x400000, CRC(9428d70c) SHA1(c0122ef6f83645f57edef6956400fe49fd94dfca) ) /* Plane 2,3 */
ROM_END

GAMEB( 1997, kof97hp,   kof97,    neogeo, neogeon, neogeo,  neogeo,   ROT0, "LRHT", "The King of Fighters '97 (Hyper Plus)", 0 )

*** I used some of this... ****

ROM_START( fr2ch ) /* CD to MVS Conversion */
	ROM_REGION( 0x100000, REGION_CPU1, 0 )
	ROM_LOAD16_WORD_SWAP( "098-p1ch.bin", 0x000000, 0x080000, 0x9AA8CEE0 )

	NEO_SFIX_128K( "098-s1ch.bin", 0x764AC7AA )

	NEO_BIOS_SOUND_64K( "098-m1ch.bin", 0xa455fa31 )

	ROM_REGION( 0x100000, REGION_SOUND1, ROMREGION_SOUNDONLY )
	ROM_LOAD( "098-v1ch.bin", 0x000000, 0x100000, 0x92e175f0 )

	NO_DELTAT_REGION

	ROM_REGION( 0x600000, REGION_GFX3, 0 )
	/* Encrypted */
	ROM_LOAD16_BYTE( "098-c1ch.bin", 0x000000, 0x100000, 0x6158CF4A ) /* Plane 0,1 */
	ROM_LOAD16_BYTE( "098-c2ch.bin", 0x000001, 0x100000, 0x93A809A3 ) /* Plane 2,3 */
	ROM_LOAD16_BYTE( "098-c3ch.bin", 0x200000, 0x100000, 0xFAFA3381 ) /* Plane 0,1 */
	ROM_LOAD16_BYTE( "098-c4ch.bin", 0x200001, 0x100000, 0x9895E23F ) /* Plane 2,3 */
	ROM_LOAD16_BYTE( "098-c5ch.bin", 0x400000, 0x100000, 0xEEAAA818 ) /* Plane 0,1 */
	ROM_LOAD16_BYTE( "098-c6ch.bin", 0x400001, 0x100000, 0xF3D9A190 ) /* Plane 2,3 */
ROM_END

//============================================================
// Idol Mahjong - final romance 2 (CD to MVS Conversion)
//============================================================
static WRITE16_HANDLER( fr2ch_cx_hack_w )
{
	int i, n;
	UINT8 *src = memory_region( REGION_GFX3 );
	if (offset == 1) {
		for (i = 0; i < 0x200000; i++) {
			n = src[0x200000 + i];
			src[0x200000 + i] = src[0x400000 + i];
			src[0x400000 + i] = n;
		}
	}
}

void fr2ch_cx_hack( void )
{
	install_mem_write16_handler(0, 0x200000, 0x2fffff, fr2ch_cx_hack_w);
}

void fr2ch_patches( void )
{
	UINT16 *src = (UINT16*)memory_region( REGION_CPU1 );
	UINT8 *rom = memory_region( REGION_CPU1 );
	UINT8 *dst = memory_region( REGION_GFX1 );

	int i;
	UINT8 data[16] = {
		0x49, 0x46, 0x41, 0x4E, 0x20, 0x4C, 0x4F, 0x52,
		0x41, 0x4D, 0x43, 0x4E, 0x20, 0x45, 0x20, 0x32
	};

	// change jsr to C004DA
	src[0x01AF8 >> 1] = 0x04DA; // C00552 (Not used?)
	src[0x01BF6 >> 1] = 0x04DA; // C0056A (fixes crash)
	src[0x01ED8 >> 1] = 0x04DA; // C00570 (Not used?)
	src[0x1C384 >> 1] = 0x04DA; // C00552 (fixes crash) 

	// 0x001C06 - this routine can cause a loop/freeze
	src[0x01C06 >> 1] = 0x4E75;

	// can cause bugs
	// Move text for credit + coin info (Thanks to Kanyero)
	memcpy(dst, dst + 0x600, 0x140);

	// Patch out neogeo intro (Moving S causes garbage)
	src[0x00112 >> 1] = 0x0180;
	src[0x00114 >> 1] = 0x0180;

	// optional
	// Hack in the proper identification (see setup menu [F2])
	for (i = 0; i < 0x10; i++)
	{
		rom[0x3A6 + i] = rom[0x61E + i] = rom[0x896 + i] = data[i];
	}
	for (i = 0; i < 0x20; i += 4)
	{
		src[(0x40 + i + 2) >> 1] = 0x0426;
	}

	// Album Fix
	src[0x1C382 >> 1] = 0x0008; // C00552
	src[0x1C384 >> 1] = 0x0000;
	src[0x80000 >> 1] = 0x33FC;
	src[0x80002 >> 1] = 0x0001;
	src[0x80004 >> 1] = 0x0020;
	src[0x80006 >> 1] = 0x0002;
	src[0x80008 >> 1] = 0x4E75;
}

DRIVER_INIT( fr2ch )
{
	fr2ch_patches();
	fr2ch_cx_hack();
	init_neogeo();
}


void neogeo_plus_init_machine(void)
{
	data16_t src, res, *mem16= (data16_t *)memory_region(REGION_USER1);
	time_t ltime;
	struct tm *today;
	struct tm static_rtc;
#ifdef EMEMAME32
	extern int RePlay;
	extern void neogeo_new_reset_vidhrdw(void);
	extern void driver_reset_neogeo_new(void);
	neogeo_new_reset_vidhrdw();
	replay_neogeo_init();
#endif

	/* Reset variables & RAM */
	memset (neogeo_ram16, 0, 0x10000);

	if (!(!strcmp(Machine->gamedrv->name,"samsho5spuni") ||
		!strcmp(Machine->gamedrv->name,"matrimuni")))
	{
		/* Set up machine country */
		src = readinputport(5);
		res = src & 0x3;

		/* Console/arcade mode */
		if (src & 0x04) 
			res |= 0x8000;

		/* write the ID in the system BIOS ROM */
		mem16[0x0200] = res;

		if (memcard_manager==1)
		{
			memcard_manager=0;
			mem16[0x11b1a/2] = 0x500a;
		}
		else
		{
			mem16[0x11b1a/2] = 0x1b6a;
		}
	}


	mem16 = (data16_t *)memory_region(REGION_USER1);
	if (mem16[0x11b00/2] == 0x4eba)
	{
		/* standard bios */

		/* Remove memory check for now */
		mem16[0x11b00/2] = 0x4e71;
		mem16[0x11b02/2] = 0x4e71;
		mem16[0x11b16/2] = 0x4ef9;
		mem16[0x11b18/2] = 0x00c1;
		mem16[0x11b1a/2] = 0x1b6a;

		/* Patch bios rom, for Calendar errors */
		mem16[0x11c14/2] = 0x4e71;
		mem16[0x11c16/2] = 0x4e71;
		mem16[0x11c1c/2] = 0x4e71;
		mem16[0x11c1e/2] = 0x4e71;

		/* Rom internal checksum fails for now.. */
		mem16[0x11c62/2] = 0x4e71;
		mem16[0x11c64/2] = 0x4e71;
	}


