Author Topic: J. J. Squawkers (Alternate set)  (Read 6781 times)

Offline JacKc

  • FBNeo Dev
  • ******
  • Posts: 1677
  • Karma: +56/-0
  • Hasta la vista, Baby !
J. J. Squawkers (Alternate set)
« on: November 10, 2011, 05:39:32 AM »
Today added J. J. Squawkers (Alternate set) [jjsquawka] (from f205v site) to d_seta.cpp

For now i've added it as a clone but according to title screen, it's from 1999 so this set has to be swapped as parent rom...

Anyway here's the driver :

Code: [Select]
// J. J. Squawkers (Alternate set)

static struct BurnRomInfo jjsquawkaRomDesc[] = {
{ "u3.3a",    0x080000, 0xf94c913b, 0x01 | BRF_PRG | BRF_ESS }, //  0 68k Code
{ "u4.4a",    0x080000, 0x0227a2be, 0x01 | BRF_PRG | BRF_ESS }, //  1

{ "u64.3l",    0x100000, 0x11d8713a, 0x03 | BRF_GRA },           //  2 Sprites
{ "u63.2l",    0x100000, 0x7a385ef0, 0x03 | BRF_GRA },           //  3

{ "u66.5l",    0x100000, 0xbbaf40c5, 0x04 | BRF_GRA },           //  4 Layer 1 tiles
{ "u65.4l",    0x080000, 0x160646f6, 0x1c | BRF_GRA },           //  5

{ "u68.7l",    0x100000, 0xae9ae01f, 0x05 | BRF_GRA },           //  9 Layer 2 tiles
{ "u67.6l",            0x080000, 0xa235488e, 0x1d | BRF_GRA },      // 10

{ "u70.10l",    0x100000, 0x181a55b8, 0x06 | BRF_SND },           // 11 x1-010 Samples
};

STD_ROM_PICK(jjsquawka)
STD_ROM_FN(jjsquawka)

struct BurnDriver BurnDrvJjsquawka = {
"jjsquawka", "jjsquawk", NULL, NULL, "1999",
"J. J. Squawkers (Alternate set)\0", NULL, "Athena / Able", "Seta",
NULL, NULL, NULL, NULL,
BDF_GAME_WORKING | BDF_CLONE, 2, HARDWARE_MISC_POST90S, GBF_MISC, 0,
NULL, jjsquawkaRomInfo, jjsquawkaRomName, NULL, NULL, JjsquawkInputInfo, JjsquawkDIPInfo,
jjsquawkInit, DrvExit, DrvFrame, seta2layerDraw, DrvScan, &DrvRecalc, 0x1200,
384, 240, 4, 3
};

NOTE :
- if you split u63.2l, u64.3l, u66.5l, u68.7l and u70.10l into 512 kb parts, you will obtain same crc as in jjsquawk parent rom.
- u67.6l = jj-rom4.040



Offline JacKc

  • FBNeo Dev
  • ******
  • Posts: 1677
  • Karma: +56/-0
  • Hasta la vista, Baby !
Re: J. J. Squawkers (Alternate set)
« Reply #1 on: November 24, 2011, 05:19:03 PM »
According to f205v and next MAME release

Code: [Select]
// J. J. Squawkers (bootleg, Blandia conversion)

static struct BurnRomInfo jjsquawkb2RomDesc[] = {
{ "u3.3a",    0x080000, 0xf94c913b, 0x01 | BRF_PRG | BRF_ESS }, //  0 68k Code
{ "u4.4a",    0x080000, 0x0227a2be, 0x01 | BRF_PRG | BRF_ESS }, //  1

{ "u64.3l",    0x100000, 0x11d8713a, 0x03 | BRF_GRA },           //  2 Sprites // jj-rom9 + jj-rom10 from jjsquawk
{ "u63.2l",    0x100000, 0x7a385ef0, 0x03 | BRF_GRA },           //  3         // jj-rom7 + jj-rom8 from jjsquawk

{ "u66.5l",    0x100000, 0xbbaf40c5, 0x04 | BRF_GRA },           //  4 Layer 1 tiles // jj-rom11 + jj-rom12 from jjsquawk
{ "u65.4l",    0x080000, 0x160646f6, 0x1c | BRF_GRA },           //  5               // jj-rom3.040         from jjsquawk

{ "u68.7l",    0x100000, 0xae9ae01f, 0x05 | BRF_GRA },           //  9 Layer 2 tiles // jj-rom14 + jj-rom13 from jjsquawk
{ "u67.6l",            0x080000, 0xa235488e, 0x1d | BRF_GRA },      // 10               // jj-rom4.040 from jjsquawk

{ "u70.10l",    0x100000, 0x181a55b8, 0x06 | BRF_SND },           // 11 x1-010 Samples        // jj-rom5.040 + jj-rom6.040 from jjsquawk
};

STD_ROM_PICK(jjsquawkb2)
STD_ROM_FN(jjsquawkb2)

struct BurnDriver BurnDrvJjsquawkb2 = {
"jjsquawkb2", "jjsquawk", NULL, NULL, "1993",
"J. J. Squawkers (bootleg, Blandia conversion)\0", NULL, "Athena / Able", "Seta",
NULL, NULL, NULL, NULL,
BDF_GAME_WORKING | BDF_CLONE, 2, HARDWARE_MISC_POST90S, GBF_MISC, 0,
NULL, jjsquawkb2RomInfo, jjsquawkb2RomName, NULL, NULL, JjsquawkInputInfo, JjsquawkDIPInfo,
jjsquawkInit, DrvExit, DrvFrame, seta2layerDraw, DrvScan, &DrvRecalc, 0x1200,
384, 240, 4, 3
};

NOTE: 1999 on title screen but it is a J.J. Squawkers Blandia conversion so surely from 1993...


Offline Barry Harris

  • dontbeabarry
  • *
  • Posts: 1785
  • Karma: +0/-65535
  • I'm Barry Harris and I like to f*** people over
Re: J. J. Squawkers (Alternate set)
« Reply #2 on: November 24, 2011, 05:38:07 PM »
Thanks Jack.

By the way, I added the Pang 3 clone already so no need for that one. :)
Account of Barry Harris; the traitor.
Send me an e-mail at barry@fbalpha.com letting me know how big of a piece of sh** I am.

Offline JacKc

  • FBNeo Dev
  • ******
  • Posts: 1677
  • Karma: +56/-0
  • Hasta la vista, Baby !
Re: J. J. Squawkers (Alternate set)
« Reply #3 on: November 25, 2011, 04:13:05 PM »
Great !!!

Regarding MAME GIT, i've updated d_cps1.cpp but i've got some GFX problems with new updated set Forgotten Worlds (World) [forgottn] :

Code: [Select]
static struct BurnRomInfo ForgottnRomDesc[] = {
{ "lw11.12f",      0x020000, 0x73e920b7, BRF_ESS | BRF_PRG | CPS1_68K_PROGRAM_BYTESWAP },
{ "lw15.12h",      0x020000, 0x50d7012d, BRF_ESS | BRF_PRG | CPS1_68K_PROGRAM_BYTESWAP },
{ "lw10.13f",      0x020000, 0xbea45994, BRF_ESS | BRF_PRG | CPS1_68K_PROGRAM_BYTESWAP },
{ "lw14.13h",      0x020000, 0x539b2339, BRF_ESS | BRF_PRG | CPS1_68K_PROGRAM_BYTESWAP },
{ "lw-07.10g",     0x080000, 0xfd252a26, BRF_ESS | BRF_PRG | CPS1_68K_PROGRAM_NO_BYTESWAP },

{ "lw_2.2b",       0x020000, 0x4bd75fee, BRF_GRA | CPS1_TILES },
{ "lw_1.2a",       0x020000, 0x65f41485, BRF_GRA | CPS1_TILES },
{ "lw-08.9b",      0x080000, 0x25a8e43c, BRF_GRA | CPS1_TILES },
{ "lw-05.6d",      0x080000, 0xe4552fd7, BRF_GRA | CPS1_TILES },
{ "lw_30.8h",      0x020000, 0xb385954e, BRF_GRA | CPS1_TILES },
{ "lw_29.8f",      0x020000, 0x7bda1ac6, BRF_GRA | CPS1_TILES },
{ "lw_4.3b",       0x020000, 0x50cf757f, BRF_GRA | CPS1_TILES },
{ "lw_3.3a",       0x020000, 0xc03ef278, BRF_GRA | CPS1_TILES },
{ "lw_32.9h",      0x020000, 0x30967a15, BRF_GRA | CPS1_TILES },
{ "lw_31.9f",      0x020000, 0xc49d37fb, BRF_GRA | CPS1_TILES },
{ "lw-02.6b",      0x080000, 0x43e6c5c8, BRF_GRA | CPS1_TILES },
{ "lw_14.10b",     0x020000, 0x82862cce, BRF_GRA | CPS1_TILES },
{ "lw_13.10a",     0x020000, 0xb81c0e96, BRF_GRA | CPS1_TILES },
{ "lw-06.9d",      0x080000, 0x5b9edffc, BRF_GRA | CPS1_TILES },
{ "lw_26.10e",     0x020000, 0x57bcd032, BRF_GRA | CPS1_TILES },
{ "lw_25.10c",     0x020000, 0xbac91554, BRF_GRA | CPS1_TILES },
{ "lw_16.11b",     0x020000, 0x40b26554, BRF_GRA | CPS1_TILES },
{ "lw_15.11a",     0x020000, 0x1b7d2e07, BRF_GRA | CPS1_TILES },
{ "lw_28.11e",     0x020000, 0xa805ad30, BRF_GRA | CPS1_TILES },
{ "lw_27.11c",     0x020000, 0x103c1bd2, BRF_GRA | CPS1_TILES },

{ "lw_00.13c",     0x010000, 0x59df2a63, BRF_PRG | CPS1_Z80_PROGRAM },

{ "lw-03u.12e",    0x020000, 0x807d051f, BRF_SND | CPS1_OKIM6295_SAMPLES },
{ "lw-04u.13e",    0x020000, 0xe6cd098e, BRF_SND | CPS1_OKIM6295_SAMPLES },

A_BOARD_PLDS

{ "lw621.1a",      0x000117, 0x5eec6ce9, BRF_OPT }, // b-board PLDs
{ "lwio.12b",      0x000117, 0xad52b90c, BRF_OPT },
};

STD_ROM_PICK(Forgottn)
STD_ROM_FN(Forgottn)

struct BurnDriver BurnDrvCpsForgottn = {
"forgottn", NULL, NULL, NULL, "1988",
"Forgotten Worlds (World)\0", NULL, "Capcom", "CPS1",
NULL, NULL, NULL, NULL,
BDF_GAME_WORKING, 2, HARDWARE_CAPCOM_CPS1_GENERIC, GBF_HORSHOOT, 0,
NULL, ForgottnRomInfo, ForgottnRomName, NULL, NULL, ForgottnInputInfo, ForgottnDIPInfo,
ForgottnAltGfxInit, DrvExit, Cps1Frame, CpsRedraw, CpsAreaScan,
&CpsRecalcPal, 0x1000, 384, 224, 4, 3
};

Code: [Select]
{ "forgottn"    , CPS_B_01    , mapper_LW621 , 1, NULL                },
Any clue Treble Winner?


Offline Barry Harris

  • dontbeabarry
  • *
  • Posts: 1785
  • Karma: +0/-65535
  • I'm Barry Harris and I like to f*** people over
Re: J. J. Squawkers (Alternate set)
« Reply #4 on: November 26, 2011, 03:15:00 AM »
Jack,

The graphics roms changed, and that one is a "special" case, using CpsLoadTilesForgottnAlt() in cps.cpp which needs updating to support the new layout.

This should do it;

Code: [Select]
INT32 CpsLoadTilesForgottnAlt(UINT8* Tile, INT32 nStart)
{
CpsLoadOne(Tile + 0 + 0x000000, nStart +  0, 0, 0);
CpsLoadOne(Tile + 0 + 0x000000, nStart +  1, 0, 1);
CpsLoadOne(Tile + 0 + 0x000000, nStart +  2, 1, 2);
CpsLoadOne(Tile + 4 + 0x000000, nStart +  3, 1, 0);
CpsLoadOne(Tile + 4 + 0x000000, nStart +  4, 0, 2);
CpsLoadOne(Tile + 4 + 0x000000, nStart +  5, 0, 3);
CpsLoadOne(Tile + 0 + 0x100000, nStart +  6, 0, 0);
CpsLoadOne(Tile + 0 + 0x100000, nStart +  7, 0, 1);
CpsLoadOne(Tile + 4 + 0x100000, nStart +  8, 0, 2);
CpsLoadOne(Tile + 4 + 0x100000, nStart +  9, 0, 3);
CpsLoadOne(Tile + 0 + 0x200000, nStart + 10, 1, 0);
CpsLoadOne(Tile + 0 + 0x200000, nStart + 11, 0, 2);
CpsLoadOne(Tile + 0 + 0x200000, nStart + 12, 0, 3);
CpsLoadOne(Tile + 4 + 0x200000, nStart + 13, 1, 0);
CpsLoadOne(Tile + 4 + 0x200000, nStart + 14, 0, 2);
CpsLoadOne(Tile + 4 + 0x200000, nStart + 15, 0, 3);
CpsLoadOne(Tile + 0 + 0x300000, nStart + 16, 0, 2);
CpsLoadOne(Tile + 0 + 0x300000, nStart + 17, 0, 3);
CpsLoadOne(Tile + 4 + 0x300000, nStart + 18, 0, 2);
CpsLoadOne(Tile + 4 + 0x300000, nStart + 19, 0, 3);

return 0;
}
Account of Barry Harris; the traitor.
Send me an e-mail at barry@fbalpha.com letting me know how big of a piece of sh** I am.

Offline JacKc

  • FBNeo Dev
  • ******
  • Posts: 1677
  • Karma: +56/-0
  • Hasta la vista, Baby !
Re: J. J. Squawkers (Alternate set)
« Reply #5 on: November 26, 2011, 06:23:02 AM »
Thanks a lot Treble Winner...The GFx in forgottn are now fixed but with this change, it brokes now forgottnu as the tiles are not loaded in the sameway as forgottn.
« Last Edit: November 26, 2011, 07:55:36 AM by JacKc »


Offline Barry Harris

  • dontbeabarry
  • *
  • Posts: 1785
  • Karma: +0/-65535
  • I'm Barry Harris and I like to f*** people over
Re: J. J. Squawkers (Alternate set)
« Reply #6 on: November 26, 2011, 09:52:21 AM »
Just need two seperate functions then - I'll sort it properly when I sync with next MAME u release.
Account of Barry Harris; the traitor.
Send me an e-mail at barry@fbalpha.com letting me know how big of a piece of sh** I am.

Offline JacKc

  • FBNeo Dev
  • ******
  • Posts: 1677
  • Karma: +56/-0
  • Hasta la vista, Baby !
Re: J. J. Squawkers (Alternate set)
« Reply #7 on: November 27, 2011, 06:20:28 PM »
Just for infos :

Concerning J. J. Squawkers (bootleg, Blandia Conversion) [jjsquawkb2] :

Original dump by f205v got u65.4l crc 160646f6 size 524288 but in MAME 0.144u1 they put instead jj-rom3.040 crc a5a35caf size 524288 which has been renamed u65.4l.

Or if you compare them with Winhex, you can see that u65.4l is not the same rom as jj-rom3.040 (contrary to what they wrote in the driver) so 'im not really sure the driver in MAME is correct regarding to the Original Dump...

Quote
Search for differences

1. H:\jj-rom3.040: 524 288 bytes
2. H:\u65.4l: 524 288 bytes
Offsets: hexadec.

 C4DF:   0F   0B
 C4E0:   0F   0B
150D5:   F0   70
4B994:   FF   7F
4F58E:   FF   7F

5 difference(s) found.