Author Topic: d_neogeo.cpp matching MAME .92  (Read 14225 times)

Offline Shoometsu

  • Jr. Member
  • **
  • Posts: 66
  • Karma: +0/-0
  • I finally have an avatar XD
d_neogeo.cpp matching MAME .92
« Reply #15 on: March 14, 2005, 04:36:52 PM »
Quote from: netbug
Fixing gfx glitches and former bugs in tmnt drivers is beyond my capacity
at present.Just wait for official support or some great men
post the fixed code. :)  ;)
At last I'm terribly hungry now and must breakfast on the street immediately
See you :D  ;)  :mad:  :D  :mad:


but what I said is that there are fixed gfx glitches in the debug build that there aren't in a normal build, using the same drivers... What I need to understand is why the debug build don't have these gfx glitches...

breakfast and respose, quickly plz :D
<- Who are you?

Offline netbug

  • Newbies
  • *
  • Posts: 37
  • Karma: +1/-0
  • Member
d_neogeo.cpp matching MAME .92
« Reply #16 on: March 14, 2005, 08:44:09 PM »
Quote from: Shoometsu
but what I said is that there are fixed gfx glitches in the debug build that there aren't in a normal build, using the same drivers... What I need to understand is why the debug build don't have these gfx glitches...

breakfast and respose, quickly plz :D



The Original tmnt drivers code was posted by FerchogtX,maybe
only he can explain those issues.BTW,the debug build
and the normal build versions of my owner both work
without gfx glitches in Win2k/XP with "32bit" colour depth!!!!
So, God know what's wrong with the drivers....  
:eek:  :eek: :D  :D :D

Offline Shoometsu

  • Jr. Member
  • **
  • Posts: 66
  • Karma: +0/-0
  • I finally have an avatar XD
d_neogeo.cpp matching MAME .92
« Reply #17 on: March 14, 2005, 09:37:36 PM »
look at the attachments...
<- Who are you?

Offline netbug

  • Newbies
  • *
  • Posts: 37
  • Karma: +1/-0
  • Member
d_neogeo.cpp matching MAME .92
« Reply #18 on: March 14, 2005, 10:50:37 PM »
The debug builds version is compiled with debugger code,
however,normal builds version does not include those
code. So...............  :eek:   :D  :D

Offline FerchogtX

  • FBNeo Dev
  • ******
  • Posts: 375
  • Karma: +7/-0
  • FB Alpha Team ;)
    • FB Alpha Plus! Web Site
d_neogeo.cpp matching MAME .92
« Reply #19 on: March 15, 2005, 09:17:10 PM »
Netbug thanks to God that you're here, i need a lil' help with sega stuff, by some strange reason i cannot make the drivers work like in 0.2.94.98... I hope you can help me out converting this to 0.295.23 format, i'll be thankfull
I attach the files that you need for sega, the other thing is to add them to the makefile (no too dificult XD)
Thanks a lot in advance man...
See ya!!!!! :D
P.D. about tmnt GFX, the drawing routine is written for 32 bit desktops, that needs to be fixed (Mame can run the game either in 165 or 32 bitdepths)

Good and evil co-exist because of the balance, lies are not part of it...

FB Alpha Plus! site infos updated, see the latest info clicking on my profile link...

Offline netbug

  • Newbies
  • *
  • Posts: 37
  • Karma: +1/-0
  • Member
d_neogeo.cpp matching MAME .92
« Reply #20 on: March 17, 2005, 03:11:54 AM »
Quote from: FerchogtX
Netbug thanks to God that you're here, i need a lil' help with sega stuff, by some strange reason i cannot make the drivers work like in 0.2.94.98... I hope you can help me out converting this to 0.295.23 format, i'll be thankfull
bitdepths)


I have downloaded your previous sega stuff since you posted in this forum.
However,the games including aburner2 and aburner were still out of control
and no sound in new version,then,I had to abort the attempt.So just await offical updates someday or some gentlemen's fix.BTW,I will be away from internet recently for nearly one year because of my boss.
See you next year.
 :p  :mad:  :o  :D  :D  ;)

Offline FerchogtX

  • FBNeo Dev
  • ******
  • Posts: 375
  • Karma: +7/-0
  • FB Alpha Team ;)
    • FB Alpha Plus! Web Site
d_neogeo.cpp matching MAME .92
« Reply #21 on: March 18, 2005, 09:33:38 PM »
OK netbug, thanks anyways and thanks for all the help you gave me with the about menu and neogeo stuff :)
See ya!!!!! :D

Good and evil co-exist because of the balance, lies are not part of it...

FB Alpha Plus! site infos updated, see the latest info clicking on my profile link...

Offline FerchogtX

  • FBNeo Dev
  • ******
  • Posts: 375
  • Karma: +7/-0
  • FB Alpha Team ;)
    • FB Alpha Plus! Web Site
d_neogeo.cpp matching MAME .92
« Reply #22 on: March 23, 2005, 10:54:53 PM »
Well, i have a doubt... maybe someone that has this games can test and tell me, does both of this work?
Code: [Select]
// Fatal Fury Special (alternate version)

static struct BurnRomInfo fatfursaRomDesc[] = {
{ "058-p1.bin",   0x100000, 0x2f585ba2, 1 | BRF_ESS | BRF_PRG }, //  0 68K code
{ "058-p2.bin",   0x080000, 0xd7c71a6b, 1 | BRF_ESS | BRF_PRG }, //  1

{ "058-s1.bin",   0x020000, 0x2df03197, 2 | BRF_GRA }, //  2 Text layer tiles

{ "058-c1.bin",   0x200000, 0x044ab13c, 3 | BRF_GRA }, //  3 Sprite data
{ "058-c2.bin",   0x200000, 0x11e6bf96, 3 | BRF_GRA }, //  4
{ "058-c3.bin",   0x200000, 0x6f7938d5, 3 | BRF_GRA }, //  5
{ "058-c4.bin",   0x200000, 0x4ad066ff, 3 | BRF_GRA }, //  6
{ "058-c5.bin",   0x200000, 0x49c5e0bf, 3 | BRF_GRA }, //  7
{ "058-c6.bin",   0x200000, 0x8ff1f43d, 3 | BRF_GRA }, //  8

{ "058-m1.bin",   0x020000, 0xccc5186e, 4 | BRF_ESS | BRF_PRG }, //  9 Z80 code

{ "058-v1.bin",   0x200000, 0x55d7ce84, 5 | BRF_SND }, // 10 Sound data
{ "058-v2.bin",   0x200000, 0xee080b10, 5 | BRF_SND }, // 11
{ "058-v3.bin",   0x100000, 0xf9eb3d4a, 5 | BRF_SND }, // 12

{ "058-ep1.bin",  0x080000, 0x9f0c1e1a, 0 | BRF_ESS | BRF_PRG }, // 13 68K code
};

STDROMPICKEXT(fatfursa, fatfursa, neogeo);
STD_ROM_FN(fatfursa);

static void fatfursaCallback()
{
BurnLoadRom(Neo68KROM, 13, 1);
}

static int fatfursaInit()
{
pNeoInitCallback = fatfursaCallback;

  return NeoInit();
}

struct BurnDriver BurnDrvFatfursa = {
"fatfursa", "fatfursp", "neogeo", "1993",
"Fatal Fury Special\0Garou Densetsu Special\0", "Alternate version", "SNK", "Neo Geo",
L"Fatal Fury Special\0\u9913\u72FC\u4F1D\u8AAC Special\0", NULL, NULL, NULL,
BDF_GAME_WORKING | BDF_CLONE, 2, HARDWARE_SNK_NEOGEO,
NULL, fatfursaRomInfo, fatfursaRomName, neogeoInputInfo, neogeoDIPInfo,
fatfursaInit, NeoExit, NeoFrame, NeoRender, NeoScan, &NeoRecalcPalette,
nNeoScreenWidth, 224, 4, 3
};
Code: [Select]
// Art of Fighting 2 (alternate version)

static struct BurnRomInfo aof2aRomDesc[] = {
{ "056-p1.bin",   0x100000, 0xa3b1d021, 1 | BRF_ESS | BRF_PRG }, //  0 68K code

{ "056-s1.bin",   0x020000, 0x8b02638e, 2 | BRF_GRA }, //  1 Text layer tiles

{ "056-c1.bin",   0x200000, 0x17b9cbd2, 3 | BRF_GRA }, //  2 Sprite data
{ "056-c2.bin",   0x200000, 0x5fd76b67, 3 | BRF_GRA }, //  3
{ "056-c3.bin",   0x200000, 0xd2c88768, 3 | BRF_GRA }, //  4
{ "056-c4.bin",   0x200000, 0xdb39b883, 3 | BRF_GRA }, //  5
{ "056-c5.bin",   0x200000, 0xc3074137, 3 | BRF_GRA }, //  6
{ "056-c6.bin",   0x200000, 0x31de68d3, 3 | BRF_GRA }, //  7
{ "056-c7.bin",   0x200000, 0x3f36df57, 3 | BRF_GRA }, //  8
{ "056-c8.bin",   0x200000, 0xe546d7a8, 3 | BRF_GRA }, //  9

{ "056-m1.bin",   0x020000, 0xf27e9d52, 4 | BRF_ESS | BRF_PRG }, // 10 Z80 code

{ "056-v1.bin",   0x200000, 0x4628fde0, 5 | BRF_SND }, // 11 Sound data
{ "056-v2.bin",   0x200000, 0xb710e2f2, 5 | BRF_SND }, // 12
{ "056-v3.bin",   0x100000, 0xd168c301, 5 | BRF_SND }, // 13

{ "056-ep1.bin",  0x080000, 0x75D6301C, 1 | BRF_ESS | BRF_PRG }, // 14 68K code patch
};

STDROMPICKEXT(aof2a, aof2a, neogeo);
STD_ROM_FN(aof2a);

static void aof2aCallback()
{
BurnLoadRom(Neo68KROM, 14, 1);
}

static int aof2aInit()
{
pNeoInitCallback = aof2aCallback;

  return NeoInit();
}

struct BurnDriver BurnDrvAof2a = {
"aof2a", "aof2", "neogeo", "1994",
"Art of Fighting 2\0Ryuuko no Ken 2\0", "Alternate version", "SNK", "Neo Geo",
L"Art of Fighting 2\0\u9F8D\u864E\u306E\u62F3\uFF12\0", NULL, NULL, NULL,
BDF_GAME_WORKING | BDF_CLONE, 2, HARDWARE_SNK_NEOGEO,
NULL, aof2aRomInfo, aof2aRomName, neogeoInputInfo, neogeoDIPInfo,
aof2aInit, NeoExit, NeoFrame, NeoRender, NeoScan, &NeoRecalcPalette,
nNeoScreenWidth, 224, 4, 3
};
why I'm asking this? if no one has noticed that:
Code: [Select]
{ "058-ep1.bin",  0x080000, 0x9f0c1e1a, 0 | BRF_ESS | BRF_PRG }, // 13 68K codeand
Code: [Select]
{ "056-ep1.bin",  0x080000, 0x75D6301C, 1 | BRF_ESS | BRF_PRG }, // 14 68K code patcharen't tha same... why? because in aof2a the ep1 ROM has the "1" in the type and fatfursa has a "0"... the 0 is supposed to mean that the ROM is in the driver but it will be never loaded (more or less like the encrypted m1 ROMs).
So the question is: both of them work? because looks weird...  :confused:
Thanks in advance
See ya!!!!! :D
« Last Edit: May 10, 2005, 12:23:57 PM by iq_132 »

Good and evil co-exist because of the balance, lies are not part of it...

FB Alpha Plus! site infos updated, see the latest info clicking on my profile link...

Offline iq_132

  • Administrator
  • *****
  • Posts: 3724
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
d_neogeo.cpp matching MAME .92
« Reply #23 on: March 24, 2005, 01:54:28 AM »
It doesn't really matter.  The extra rom at the bottom is suppose to be loaded on top of the P-ROM at a certain point.

If I had to choose, I would say that putting a 0 there would be more standard.