Author Topic: Post 2002 Neo Geo drivers, questions  (Read 21177 times)

Offline FBX

  • New Member
  • *
  • Posts: 8
  • Karma: +0/-0
  • Junior Member
Post 2002 Neo Geo drivers, questions
« Reply #15 on: March 19, 2005, 04:37:47 AM »
Thanks!

But I am getting a parse error when I compile it. Here's the report for Cygwin:


src/burn/neogeo/d_neogeo.cpp: In function `void samsho5Decrypt()':
src/burn/neogeo/d_neogeo.cpp:8786: error: parse error before `,' token
src/burn/neogeo/d_neogeo.cpp: In function `void samsh5sp_Decrypt()':
src/burn/neogeo/d_neogeo.cpp:8911: error: parse error before `,' token
make[1]: *** [d_neogeo.o] Error 1
make: *** [mingw] Error 2

Offline FBX

  • New Member
  • *
  • Posts: 8
  • Karma: +0/-0
  • Junior Member
Post 2002 Neo Geo drivers, questions
« Reply #16 on: March 19, 2005, 04:42:42 AM »
Found the two error spots and fixed them. You have "int sec[] = {0xC,0xB,0x8,0x1,0x2,0x7,0x4,0xD,0xA,0x3,0x0,0x9,0  x6,0x5};"  and later on "unsigned int sec[] = {0x8,0x7,0xA,0x9,0xC,0x3,0x0,0xB,0x6,0xD,0x2,0x5,0  x4,0x1};", where the gap causes the parse error.

Thanks again!

Offline James33

  • Expert
  • *****
  • Posts: 532
  • Karma: +3/-0
  • The Mame Man
    • Emulation Zone
Post 2002 Neo Geo drivers, questions
« Reply #17 on: March 19, 2005, 08:08:22 AM »
Thats a problem with the forum.
IQ Forum Member

Offline fataku

  • Newbies
  • *
  • Posts: 22
  • Karma: +0/-0
  • Junior Member
Post 2002 Neo Geo drivers, questions
« Reply #18 on: March 19, 2005, 10:41:02 AM »
Quote from: FerchogtX
Hem... i have a weird question: did anyone with more than 64 or 128 MB of RAM tried to save decrypted C-ROMs of svcchaos from the "Save decrypted C-ROMs after loading" option in Kawaks dev?... if yes, who can tell me how many C-ROMs does k-dev save? 2 C-ROMs of 32 MB each? (like the encripted ones but decrypted) or 8 C-ROMs of 8 MB? I know is a weird question but is just for solving some doubts... anyone can tell me how many decrypted C-ROMs does k-dev save after loading svcchaos?
Thanks in advace
See ya!!!!!! :D

kawaks does 8 C roms decrypted.

Offline iq_132

  • Administrator
  • *****
  • Posts: 3723
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
Post 2002 Neo Geo drivers, questions
« Reply #19 on: March 19, 2005, 06:06:09 PM »
Ok, fixed the drivers.zip (with the kof2k3, etc drivers in it)
Also fixed the samsho5, samsh5h ans samsh5sp drivers-- VBulleting seems to have an odd habit of adding breaks where they aren't suppose to be in code that's too long.


Offline FBX

  • New Member
  • *
  • Posts: 8
  • Karma: +0/-0
  • Junior Member
Post 2002 Neo Geo drivers, questions
« Reply #20 on: March 20, 2005, 02:50:17 AM »
I was looking at your samsho5 drivers and noticed none of them matched my mame rom sets. I wrote my own driver for Samsho5sp, but haven't done so yet for the other versions.

Perhaps your rom sets for samsho5 are older? Mine are based on version 94 of mame and include 4 different subset versions, where none of the crc's match any of the ones for your sets. If you're interested, I can post the files names and crc's from each set.

Offline iq_132

  • Administrator
  • *****
  • Posts: 3723
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
Post 2002 Neo Geo drivers, questions
« Reply #21 on: March 20, 2005, 06:06:58 AM »
Afaik my sets are the most up-to-date.
BTW, who's mame are you matching samsho5 to?
It's definitely not in the official build, so I'd suggest questioning the source of that build.


Offline FBX

  • New Member
  • *
  • Posts: 8
  • Karma: +0/-0
  • Junior Member
Post 2002 Neo Geo drivers, questions
« Reply #22 on: March 20, 2005, 06:49:15 AM »
Not sure. It was just listed as the "complete 254 (zero missing) mame32plus  v94 rom set for neo geo".

Rom set includes:

samsho5
samsho5b
samsho5d
samsho5s
samsho5sd

Offline iq_132

  • Administrator
  • *****
  • Posts: 3723
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
Post 2002 Neo Geo drivers, questions
« Reply #23 on: March 20, 2005, 02:19:07 PM »
Again, I'll say this: You are not using an official emulator release. Don't trust the CRCs that are given.


Offline FBX

  • New Member
  • *
  • Posts: 8
  • Karma: +0/-0
  • Junior Member
Post 2002 Neo Geo drivers, questions
« Reply #24 on: March 20, 2005, 07:09:38 PM »
But what's interesting is that all of the other roms in the set have matched the drivers, including all of the SVC and kof200X sets. Additionally, the samsho5 sets have fully decrypted versions.

It just seems strange that the only game not matching is samsho5.

Edit: Checked with romcenter and it explains why mine don't match your crcs. It states the samsho sets you have are called "non-mame". Only problem is the Mame sets are not released yet, so there's no way of verifying the sets I have.

No big deal really.

Offline James33

  • Expert
  • *****
  • Posts: 532
  • Karma: +3/-0
  • The Mame Man
    • Emulation Zone
Post 2002 Neo Geo drivers, questions
« Reply #25 on: March 21, 2005, 09:49:13 AM »
My c3 and v roms do not match IQ's driver for samsho5 and samsho5h and I am missing the m1 .How did I miss that  :confused:  lol
IQ Forum Member

Offline iq_132

  • Administrator
  • *****
  • Posts: 3723
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
Post 2002 Neo Geo drivers, questions
« Reply #26 on: March 21, 2005, 12:24:14 PM »
If I remember correctly, the set you probably have has a watermark (or a bad bit) in the C3.
As for the V roms, I wouldn't worry too much about those.  
AFAIK, all public ones watermarked anyway.


Offline James33

  • Expert
  • *****
  • Posts: 532
  • Karma: +3/-0
  • The Mame Man
    • Emulation Zone
Post 2002 Neo Geo drivers, questions
« Reply #27 on: March 21, 2005, 10:42:40 PM »
I am jealous  :eek:
IQ Forum Member

Offline FerchogtX

  • FBNeo Dev
  • ******
  • Posts: 375
  • Karma: +7/-0
  • FB Alpha Team ;)
    • FB Alpha Plus! Web Site
Post 2002 Neo Geo drivers, questions
« Reply #28 on: March 22, 2005, 09:02:22 PM »
Quote from: fataku
kawaks does 8 C roms decrypted.

Thanks for the answer man :)
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
Post 2002 Neo Geo drivers, questions
« Reply #29 on: April 18, 2005, 11:55:03 PM »
Hey!!!!!! I have something for FBA, this is a code for Neo-PCM2 SNK, like the first one IQ posted but without errors for cygwin of gcc 3.3.1.
Taked from mame src
Code: [Select]
// Neo-PCM2 SNK(c) 1999 Sound Chip Emulation
// Original code by the MAME team, converted to FBA code by IQ_132
if (nPCM2Value != 0) {
// thanks to ElSemi for the NEO-PCM2 info
unsigned short *rom = (unsigned short*)(YM2610ADPCMAROM);
int value = nPCM2Value;
if( rom != NULL ) {
// swap address lines on the whole ROMs
unsigned short *buffer = (unsigned short*)malloc((value / 2) * sizeof(unsigned short));
if (!buffer) return 1;
for(int i = 0; i < nYM2610ADPCMASize / 2; i += (value / 2) ) {
memcpy( buffer, &rom[ i ], value );
for(int j = 0; j < (value / 2); j++ ) {
rom[ i + j ] = buffer[ j ^ (value / 4) ];
}
}
free(buffer);
}
}
See ya!!!!!! :D
« Last Edit: May 10, 2005, 12:37:20 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...