Welcome!
General Emulation => MAME => Topic started by: narcissus on March 10, 2008, 04:18:51 AM
-
I would like to compile mame0123 to make it support the neogeo system with over-64MB-size c-rom
because I want to add some games which have 80MB c-rom
I have already added the games in "\src\mame\drivers\neodrvr.c".
But I don't know how to change the code in "\src\mame\video\neogeo.c".
I thought maybe this code control the c-rom's size, but I can't understand more.
int y;
for (y = 0; y < 0x10; y++)
{
int x;
for (x = 0; x < 8; x++)
{
*(dest++) = (((src[0x43 | (y << 2)] >> x) & 0x01) << 3) |
(((src[0x41 | (y << 2)] >> x) & 0x01) << 2) |
(((src[0x42 | (y << 2)] >> x) & 0x01) << 1) |
(((src[0x40 | (y << 2)] >> x) & 0x01) << 0);
}
for (x = 0; x < 8; x++)
{
*(dest++) = (((src[0x03 | (y << 2)] >> x) & 0x01) << 3) |
(((src[0x01 | (y << 2)] >> x) & 0x01) << 2) |
(((src[0x02 | (y << 2)] >> x) & 0x01) << 1) |
(((src[0x00 | (y << 2)] >> x) & 0x01) << 0);
}
Please help me
thx a lot
-
Erm.. it should already have support. Do you mean you have a single c rom that is 80mb?
-
I mean one c-rom is 8MB, I have the game which has 10 c-roms
FBA can support it well
But when I run it in MAME, there's something wrong
the sprites in c9 & c10 can't display correctly
the game driver:
ROM_REGION( 0x5000000, NEOGEO_REGION_SPRITES, 0 )
or
ROM_REGION( 0x4000000, NEOGEO_REGION_SPRITES, 0 )
have the same effect in playing
-
Mind posting your full driver for that game?
-
ROM_START( kf2k2ps2 )
ROM_REGION( 0x600000, NEOGEO_REGION_MAIN_CPU_CARTRIDGE, 0 )
ROM_LOAD16_WORD_SWAP( "kf2k2ps2-p1.bin", 0x000000, 0x100000, CRC(336C4CA8) )
ROM_LOAD16_WORD_SWAP( "kf2k2ps2-p2.bin", 0x100000, 0x500000, CRC(CB0032BF) )
NEO_SFIX_128K( "kf2k2ps2-s1.bin", CRC(714ADE47) )
NEO_BIOS_AUDIO_128K( "265-m1_decrypted.bin", CRC(1c661a4b) SHA1(4e5aa862a0a182a806d538996ddc68d9f2dffaf7) )
ROM_REGION( 0x1000000, NEOGEO_REGION_AUDIO_DATA_1, 0 )
ROM_LOAD( "265-v1d.bin", 0x000000, 0x800000, CRC(0fc9a58d) )
ROM_LOAD( "265-v2d.bin", 0x800000, 0x800000, CRC(b8c475a4) )
NO_DELTAT_REGION
ROM_REGION( 0x5000000, NEOGEO_REGION_SPRITES, 0 )
ROM_LOAD16_BYTE( "265-c1d.bin", 0x0000000, 0x800000, CRC(7efa6ef7) SHA1(71345A4202E7CC9239538FB978638141416C8893) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "265-c2d.bin", 0x0000001, 0x800000, CRC(aa82948b) SHA1(B2A40797F68BDEB80BC54DCCC5495BE68934BF0E) ) /* Plane 2,3 */
ROM_LOAD16_BYTE( "265-c3d.bin", 0x1000000, 0x800000, CRC(959fad0b) SHA1(63AB83DDC5F688DC8165A7FF8D262DF3FCD942A2) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "265-c4d.bin", 0x1000001, 0x800000, CRC(efe6a468) SHA1(2A414285E48AA948B5B0D4A9333BAB083B5FB853) ) /* Plane 2,3 */
ROM_LOAD16_BYTE( "265-c5d.bin", 0x2000000, 0x800000, CRC(74bba7c6) SHA1(E01ADC7A4633BC0951B9B4F09ABC07D728E9A2D9) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "265-c6d.bin", 0x2000001, 0x800000, CRC(e20d2216) SHA1(5D28EEA7B581E780B78F391A8179F1678EE0D9A5) ) /* Plane 2,3 */
ROM_LOAD16_BYTE( "kf2k2ps2-c7.bin", 0x3000000, 0x800000, CRC(1B1D35FB) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "kf2k2ps2-c8.bin", 0x3000001, 0x800000, CRC(A5E35D11) ) /* Plane 2,3 */
ROM_LOAD16_BYTE( "kf2k2ps2-c9.bin", 0x4000000, 0x800000, CRC(AA8BBC97) ) /* Plane 0,1 */
ROM_LOAD16_BYTE( "kf2k2ps2-c10.bin", 0x4000001, 0x800000, CRC(9832713D) ) /* Plane 2,3 */
ROM_END
all the roms are decrypted
-
Hmm.. I've added this to my fba build and am not sure what I'm looking for that's wrong.
Any notes on what's different in this set than the standard one?
-
choose the console mode and there're 5 new charaters which appeared in PS2 version have been added
Shingo and King can be seen in select menu
press start at Rugal, Billy and Iori, you will see others
this game run well in fba. I need a driver for mame0123
I think only a driver in "\src\mame\drivers\neodrvr.c" is not enough for the new charaters' gfx sprites displayed bad
-
Ok, I got it to reproduce that issue. It looks like it's crapping out because of bank 4 (the 5th mb of the p2) isn't quite right (protection?).
I'll look at again later tonight.
-
Nm lol, I had the p2 set at the wrong size (4 mb) so it wasn't banks witching the last bank in.
So that works now. Can you post a screen shot of what it does for you? It may be a
bank switching issue for you as well.
-
I don't think the rom has any protection
this is my screen shot
-
Hmm... Try changing this:
ROM_REGION( 0x5000000, NEOGEO_REGION_SPRITES, 0 )
to this:
ROM_REGION( 0x8000000, NEOGEO_REGION_SPRITES, 0 )
If that works, I have some ideas on how to best resolve the issue (without using 128mb of ram just for tiles).
-
ah...
I tried this but it's the same as before like my screen shot :S
-
ok, sorry man, I'm stumped :S
-
Hello all,
I have always same problem with kf2k2ps2 in mame, someone have good way for me please?
And now kof98ae is out and i have a same err gfx with this,this set have 12 C roms (8mb x 12) i need help please thanks