Welcome!
General Emulation => MAME => Topic started by: iq_132 on September 07, 2006, 04:05:32 PM
-
A new rom load type:
ROM_IGNORE( )
This is interesting mostly just for 1 rom in Neo-Geo:
ROM_REGION( 0x2000000, REGION_CPU1, 0 )
ROM_LOAD16_WORD_SWAP( "269-p1.bin", 0x000000, 0x2000000, CRC(432cfdfc) SHA1(19b40d32188a8bace6d2d570c6cf3d2f1e31e379) )
You can now load it this way (I think)
ROM_REGION( 0x800000, REGION_CPU1, 0 )
ROM_LOAD16_WORD_SWAP( "269-p1.bin", 0x000000, 0x800000, CRC(432cfdfc) SHA1(19b40d32188a8bace6d2d570c6cf3d2f1e31e379) )
ROM_IGNORE( 0x1800000 )
And it should save you 24mb of ram (hopefully), someone please test this.
-
It could help to save some kb of ram from m1 roms too :biggrin:
-
i think it should be:
ROM_REGION( 0x2000000, REGION_CPU1, 0 )
ROM_LOAD16_WORD_SWAP( "269-p1.bin", 0x000000, 0x800000, CRC(432cfdfc) SHA1(19b40d32188a8bace6d2d570c6cf3d2f1e31e379) )
ROM_IGNORE( 0x1800000 )
-
i think it should be:
ROM_REGION( 0x2000000, REGION_CPU1, 0 )
ROM_LOAD16_WORD_SWAP( "269-p1.bin", 0x000000, 0x800000, CRC(432cfdfc) SHA1(19b40d32188a8bace6d2d570c6cf3d2f1e31e379) )
ROM_IGNORE( 0x1800000 )
Why do you think that ?
-
Exactly right james, doing that still allocates 32mb of ram for the game. The ROM_IGNORE makes it so that you don't have to -- doing as you say, neo, completely defeats the purpose of that function.
-
if i do that, mame will bitch bout incorrect size (iirc) :(
-
if i do that, mame will bitch bout incorrect size (iirc) :(
What version is your source ?
-
hmm.. maybe coz i only updated 'romload.c' & 'romload.h'
im using 108 src btw :p
sorry 4 the confusion