sync with MAME 0.145u7
This commit is contained in:
parent
6824411ec7
commit
765fd5b2ff
|
@ -4062,10 +4062,10 @@ static struct BurnRomInfo CawingblRomDesc[] = {
|
|||
{ "caw2.bin", 0x080000, 0x8125d3f0, BRF_ESS | BRF_PRG | CPS1_68K_PROGRAM_BYTESWAP }, // caw2
|
||||
{ "caw1.bin", 0x080000, 0xb19b10ce, BRF_ESS | BRF_PRG | CPS1_68K_PROGRAM_BYTESWAP }, // caw1
|
||||
|
||||
{ "caw5.bin", 0x080000, 0xa045c689, BRF_GRA | CPS1_TILES },
|
||||
{ "caw4.bin", 0x080000, 0x61192f7c, BRF_GRA | CPS1_TILES },
|
||||
{ "caw7.bin", 0x080000, 0x30dd78db, BRF_GRA | CPS1_TILES },
|
||||
{ "caw6.bin", 0x080000, 0x4937fc41, BRF_GRA | CPS1_TILES },
|
||||
{ "caw7.bin", 0x080000, 0xa045c689, BRF_GRA | CPS1_TILES },
|
||||
{ "caw6.bin", 0x080000, 0x61192f7c, BRF_GRA | CPS1_TILES },
|
||||
{ "caw5.bin", 0x080000, 0x30dd78db, BRF_GRA | CPS1_TILES },
|
||||
{ "caw4.bin", 0x080000, 0x4937fc41, BRF_GRA | CPS1_TILES },
|
||||
|
||||
{ "caw3.bin", 0x020000, 0xffe16cdc, BRF_PRG | CPS1_Z80_PROGRAM },
|
||||
};
|
||||
|
@ -5492,10 +5492,7 @@ static struct BurnRomInfo KnightsbRomDesc[] = {
|
|||
{ "kr_gfx6.rom", 0x080000, 0x0200bc3d, BRF_GRA | CPS1_TILES },
|
||||
{ "kr_gfx8.rom", 0x080000, 0x0bb2b4e7, BRF_GRA | CPS1_TILES },
|
||||
|
||||
{ "kr_09.rom", 0x010000, 0x5e44d9ee, BRF_PRG | CPS1_Z80_PROGRAM },
|
||||
|
||||
{ "kr_18.rom", 0x020000, 0xda69d15f, BRF_SND | CPS1_OKIM6295_SAMPLES },
|
||||
{ "kr_19.rom", 0x020000, 0xbfc654e9, BRF_SND | CPS1_OKIM6295_SAMPLES },
|
||||
{ "1.ic26", 0x040000, 0xbd6f9cc1, BRF_PRG | CPS1_Z80_PROGRAM },
|
||||
};
|
||||
|
||||
STD_ROM_PICK(Knightsb)
|
||||
|
@ -8261,12 +8258,27 @@ static struct BurnRomInfo Sf2koryuRomDesc[] = {
|
|||
{ "u221.rom", 0x0020000, 0x64e6e091, BRF_ESS | BRF_PRG | CPS1_68K_PROGRAM_BYTESWAP },
|
||||
{ "u195.rom", 0x0020000, 0xc95e4443, BRF_ESS | BRF_PRG | CPS1_68K_PROGRAM_BYTESWAP },
|
||||
|
||||
#if !defined ROM_VERIFY
|
||||
{ "u70.rom", 0x0100000, 0xbaa0f81f, BRF_GRA | CPS1_TILES },
|
||||
{ "u68.rom", 0x0100000, 0x8edff95a, BRF_GRA | CPS1_TILES },
|
||||
{ "u69.rom", 0x0100000, 0x468962b1, BRF_GRA | CPS1_TILES },
|
||||
{ "u64.rom", 0x0100000, 0x8165f536, BRF_GRA | CPS1_TILES },
|
||||
{ "u19.rom", 0x0100000, 0x39d763d3, BRF_GRA | CPS1_TILES },
|
||||
{ "u18.rom", 0x0100000, 0x93ec42ae, BRF_GRA | CPS1_TILES },
|
||||
#else
|
||||
{ "s92_01.bin", 0x0080000, 0x03b0d852, BRF_GRA | CPS1_TILES },
|
||||
{ "s92_02.bin", 0x0080000, 0x840289ec, BRF_GRA | CPS1_TILES },
|
||||
{ "s92_03.bin", 0x0080000, 0xcdb5f027, BRF_GRA | CPS1_TILES },
|
||||
{ "s92_04.bin", 0x0080000, 0xe2799472, BRF_GRA | CPS1_TILES },
|
||||
{ "s92_05.bin", 0x0080000, 0xba8a2761, BRF_GRA | CPS1_TILES },
|
||||
{ "s92_06.bin", 0x0080000, 0xe584bfb5, BRF_GRA | CPS1_TILES },
|
||||
{ "s92_07.bin", 0x0080000, 0x21e3f87d, BRF_GRA | CPS1_TILES },
|
||||
{ "s92_08.bin", 0x0080000, 0xbefc47df, BRF_GRA | CPS1_TILES },
|
||||
{ "s92_10.bin", 0x0080000, 0x960687d5, BRF_GRA | CPS1_TILES },
|
||||
{ "s92_11.bin", 0x0080000, 0x978ecd18, BRF_GRA | CPS1_TILES },
|
||||
{ "s92_12.bin", 0x0080000, 0xd6ec9a0a, BRF_GRA | CPS1_TILES },
|
||||
{ "s92_13.bin", 0x0080000, 0xed2c67f6, BRF_GRA | CPS1_TILES },
|
||||
#endif
|
||||
|
||||
{ "s92_09.bin", 0x0010000, 0x08f6b60e, BRF_PRG | CPS1_Z80_PROGRAM },
|
||||
|
||||
|
@ -11498,36 +11510,6 @@ void __fastcall Knightsb98WriteWord(UINT32 a, UINT16 d)
|
|||
}
|
||||
|
||||
static INT32 KnightsbInit()
|
||||
{
|
||||
bCpsUpdatePalEveryFrame = 1;
|
||||
Cps1OverrideLayers = 1;
|
||||
Port6SoundWrite = 1;
|
||||
|
||||
Cps1ObjGetCallbackFunction = DinopicObjGet;
|
||||
Cps1ObjDrawCallbackFunction = FcrashObjDraw;
|
||||
|
||||
INT32 nRet = DrvInit();
|
||||
|
||||
CpsBootlegSpriteRam = (UINT8*)BurnMalloc(0x4000);
|
||||
|
||||
SekOpen(0);
|
||||
SekMapMemory(CpsBootlegSpriteRam, 0x990000, 0x993fff, SM_RAM);
|
||||
SekMapHandler(1, 0x980000, 0x98ffff, SM_WRITE);
|
||||
SekSetWriteWordHandler(1, Knightsb98WriteWord);
|
||||
SekClose();
|
||||
|
||||
return nRet;
|
||||
}
|
||||
|
||||
static INT32 Knightsb2Init()
|
||||
{
|
||||
CpsDrawSpritesInReverse = 1;
|
||||
Cps1DetectEndSpriteList8000 = 1;
|
||||
|
||||
return DrvInit();
|
||||
}
|
||||
|
||||
static INT32 Knightsb4Init()
|
||||
{
|
||||
Cps1DisablePSnd = 1;
|
||||
bCpsUpdatePalEveryFrame = 1;
|
||||
|
@ -11556,6 +11538,14 @@ static INT32 Knightsb4Init()
|
|||
return nRet;
|
||||
}
|
||||
|
||||
static INT32 Knightsb2Init()
|
||||
{
|
||||
CpsDrawSpritesInReverse = 1;
|
||||
Cps1DetectEndSpriteList8000 = 1;
|
||||
|
||||
return DrvInit();
|
||||
}
|
||||
|
||||
void __fastcall Kodb98WriteWord(UINT32 a, UINT16 d)
|
||||
{
|
||||
switch (a) {
|
||||
|
@ -13951,7 +13941,7 @@ struct BurnDriver BurnDrvCpsKnightsb4 = {
|
|||
NULL, NULL, NULL, NULL,
|
||||
BDF_GAME_WORKING | BDF_CLONE | BDF_BOOTLEG, 3, HARDWARE_CAPCOM_CPS1, GBF_SCRFIGHT, 0,
|
||||
NULL, Knightsb4RomInfo, Knightsb4RomName, NULL, NULL, KnightsInputInfo, KnightsDIPInfo,
|
||||
Knightsb4Init, DrvExit, Cps1Frame, CpsRedraw, CpsAreaScan,
|
||||
KnightsbInit, DrvExit, Cps1Frame, CpsRedraw, CpsAreaScan,
|
||||
&CpsRecalcPal, 0x1000, 384, 224, 4, 3
|
||||
};
|
||||
|
||||
|
|
|
@ -2584,7 +2584,7 @@ static struct BurnRomInfo kovshpRomDesc[] = {
|
|||
|
||||
{ "m0600.rom", 0x400000, 0x3ada4fd6, 5 | BRF_SND }, // 8 Samples
|
||||
|
||||
{ "kovshp_igs027a.bin", 0x004000, 0x0f09a5c1, 7 | BRF_ESS | BRF_PRG }, // 9 Internal ARM7 Rom
|
||||
{ "kovsh_v100_china.asic", 0x004000, 0x0f09a5c1, 7 | BRF_ESS | BRF_PRG }, // 9 Internal ARM7 Rom
|
||||
};
|
||||
|
||||
STDROMPICKEXT(kovshp, kovshp, pgm)
|
||||
|
@ -3349,7 +3349,7 @@ static struct BurnRomInfo kovlsqh2RomDesc[] = {
|
|||
|
||||
{ "lsqh2_m01.rom", 0x1000000, 0x01af1b65, 5 | BRF_SND }, // 6 Samples
|
||||
|
||||
{ "qhsg_prot.c51", 0x0004000, 0x0f09a5c1, 7 | BRF_ESS | BRF_PRG }, // 7 Internal ARM7 Rom
|
||||
{ "kovsh_v100_china.asic", 0x0004000, 0x0f09a5c1, 7 | BRF_ESS | BRF_PRG }, // 7 Internal ARM7 Rom
|
||||
};
|
||||
|
||||
STDROMPICKEXT(kovlsqh2, kovlsqh2, pgm)
|
||||
|
@ -3389,7 +3389,7 @@ static struct BurnRomInfo kovlsqhRomDesc[] = {
|
|||
|
||||
{ "lsqh2_m01.rom", 0x1000000, 0x01af1b65, 5 | BRF_SND }, // 6 Samples
|
||||
|
||||
{ "qhsg_prot.c51", 0x0004000, 0x0f09a5c1, 7 | BRF_ESS | BRF_PRG }, // 7 Internal ARM7 Rom
|
||||
{ "kovsh_v100_china.asic", 0x0004000, 0x0f09a5c1, 7 | BRF_ESS | BRF_PRG }, // 7 Internal ARM7 Rom
|
||||
};
|
||||
|
||||
STDROMPICKEXT(kovlsqh, kovlsqh, pgm)
|
||||
|
@ -3429,7 +3429,7 @@ static struct BurnRomInfo kovlsjbRomDesc[] = {
|
|||
|
||||
{ "lsqh2_m01.rom", 0x1000000, 0x01af1b65, 5 | BRF_SND }, // 6 Samples
|
||||
|
||||
{ "qhsg_prot.c51", 0x0004000, 0x0f09a5c1, 7 | BRF_ESS | BRF_PRG }, // 7 Internal ARM7 Rom
|
||||
{ "kovsh_v100_china.asic", 0x0004000, 0x0f09a5c1, 7 | BRF_ESS | BRF_PRG }, // 7 Internal ARM7 Rom
|
||||
};
|
||||
|
||||
STDROMPICKEXT(kovlsjb, kovlsjb, pgm)
|
||||
|
@ -3461,7 +3461,7 @@ static struct BurnRomInfo kovlsjbaRomDesc[] = {
|
|||
|
||||
{ "lsqh2_m01.rom", 0x1000000, 0x01af1b65, 5 | BRF_SND }, // 6 Samples
|
||||
|
||||
{ "qhsg_prot.c51", 0x0004000, 0x0f09a5c1, 7 | BRF_ESS | BRF_PRG }, // 7 Internal ARM7 Rom
|
||||
{ "kovsh_v100_china.asic", 0x0004000, 0x0f09a5c1, 7 | BRF_ESS | BRF_PRG }, // 7 Internal ARM7 Rom
|
||||
};
|
||||
|
||||
STDROMPICKEXT(kovlsjba, kovlsjba, pgm)
|
||||
|
@ -3522,28 +3522,28 @@ struct BurnDriverD BurnDrvkovassg = {
|
|||
|
||||
// Knights of Valour: Ao Shi San Guo / Sangoku Senki: Ao Shi San Guo (ver. 202CN)
|
||||
|
||||
static struct BurnRomInfo kovassgaRomDesc[] = {
|
||||
{ "assg_v202cn.rom", 0x400000, 0x3b7b627f, 1 | BRF_ESS | BRF_PRG }, // 0 68K Code
|
||||
static struct BurnRomInfo kovshxasRomDesc[] = {
|
||||
{ "de_p0609.322", 0x400000, 0x3b7b627f, 1 | BRF_ESS | BRF_PRG }, // 0 68K Code
|
||||
|
||||
{ "t0600.rom", 0x800000, 0x4acc1ad6, 2 | BRF_GRA }, // 1 Tile data
|
||||
|
||||
{ "a0600.rom", 0x800000, 0xd8167834, 3 | BRF_GRA }, // 2 Sprite Color Data
|
||||
{ "a0601.rom", 0x800000, 0xff7a4373, 3 | BRF_GRA }, // 3
|
||||
{ "a0602.rom", 0x800000, 0xe7a32959, 3 | BRF_GRA }, // 4
|
||||
{ "a0603as.rom", 0x800000, 0x7057b37e, 3 | BRF_GRA }, // 5
|
||||
{ "a0603xas.rom", 0x800000, 0x7057b37e, 3 | BRF_GRA }, // 5
|
||||
|
||||
{ "b0600.rom", 0x800000, 0x7d3cd059, 4 | BRF_GRA }, // 6 Sprite Masks & Color Indexes
|
||||
{ "b0601as.rom", 0x800000, 0x3784fb49, 4 | BRF_GRA }, // 7
|
||||
{ "b0601xas.rom", 0x800000, 0x3784fb49, 4 | BRF_GRA }, // 7
|
||||
|
||||
{ "m0600.rom", 0x400000, 0x3ada4fd6, 5 | BRF_SND }, // 8 Samples
|
||||
|
||||
{ "kovassga_v100_china.asic", 0x004000, 0x0f09a5c1, 7 | BRF_ESS | BRF_PRG }, // 9 Internal ARM7 Rom
|
||||
{ "kovsh_v100_china.asic", 0x004000, 0x0f09a5c1, 7 | BRF_ESS | BRF_PRG }, // 9 Internal ARM7 Rom
|
||||
};
|
||||
|
||||
STDROMPICKEXT(kovassga, kovassga, pgm)
|
||||
STD_ROM_FN(kovassga)
|
||||
STDROMPICKEXT(kovshxas, kovshxas, pgm)
|
||||
STD_ROM_FN(kovshxas)
|
||||
|
||||
static INT32 kovassgaInit()
|
||||
static INT32 kovshxasInit()
|
||||
{
|
||||
// pPgmProtCallback = install_protection_asic27a_kovshp;
|
||||
|
||||
|
@ -3554,13 +3554,13 @@ static INT32 kovassgaInit()
|
|||
return nRet;
|
||||
}
|
||||
|
||||
struct BurnDriverD BurnDrvkovassga = {
|
||||
"kovassga", "kovshp", "pgm", NULL, "2008",
|
||||
struct BurnDriverD BurnDrvkovshxas = {
|
||||
"kovshxas", "kovshp", "pgm", NULL, "2008",
|
||||
"Knights of Valour: Aoshi Sanguo / Sangoku Senki: Aoshi Sanguo (ver. 202CN)\0", "Imperfect Protection Emulation", "IGS", "PolyGameMaster",
|
||||
NULL, NULL, NULL, NULL,
|
||||
BDF_GAME_WORKING | BDF_CLONE | BDF_BOOTLEG, 4, HARDWARE_IGS_PGM | HARDWARE_IGS_USE_ARM_CPU, GBF_SCRFIGHT, 0,
|
||||
NULL, kovassgaRomInfo, kovassgaRomName, NULL, NULL, pgmInputInfo, sangoDIPInfo,
|
||||
kovassgaInit, pgmExit, pgmFrame, pgmDraw, pgmScan, &nPgmPalRecalc, 0x900,
|
||||
NULL, kovshxasRomInfo, kovshxasRomName, NULL, NULL, pgmInputInfo, sangoDIPInfo,
|
||||
kovshxasInit, pgmExit, pgmFrame, pgmDraw, pgmScan, &nPgmPalRecalc, 0x900,
|
||||
448, 224, 4, 3
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue