mirror of
https://github.com/holub/mame
synced 2025-05-31 01:51:46 +03:00
Functionality macro change, noticed yesterday night in Zero Team, no whatsnew
This commit is contained in:
parent
25f1f2b6aa
commit
145b12ea88
@ -2226,9 +2226,11 @@ static WRITE16_HANDLER( generic_cop_w )
|
|||||||
command = -1;
|
command = -1;
|
||||||
/* search the uploaded 'trigger' table for a matching trigger*/
|
/* search the uploaded 'trigger' table for a matching trigger*/
|
||||||
/* note, I don't know what the 'mask' or 'value' tables are... probably important, might determine what actually gets executed! */
|
/* note, I don't know what the 'mask' or 'value' tables are... probably important, might determine what actually gets executed! */
|
||||||
|
/* note: Zero Team triggers macro 0x904 instead of 0x905, Seibu Cup Soccer triggers 0xe30e instead of 0xe38e. I highly doubt that AT LEAST
|
||||||
|
it isn't supposed to do anything, especially in the former case (it definitely NEED that sprites have an ark movement when they are knocked down). */
|
||||||
for (i=0;i<32;i++)
|
for (i=0;i<32;i++)
|
||||||
{
|
{
|
||||||
if (cop_mcu_ram[offset]==copd2_table_4[i])
|
if ((cop_mcu_ram[offset] & 0xff00) == (copd2_table_4[i] & 0xff00))
|
||||||
{
|
{
|
||||||
#if LOG_CMDS
|
#if LOG_CMDS
|
||||||
seibu_cop_log(" Cop Command %04x found in slot %02x with other params %04x %04x\n", cop_mcu_ram[offset], i, copd2_table_2[i], copd2_table_3[i]);
|
seibu_cop_log(" Cop Command %04x found in slot %02x with other params %04x %04x\n", cop_mcu_ram[offset], i, copd2_table_2[i], copd2_table_3[i]);
|
||||||
@ -2283,6 +2285,15 @@ static WRITE16_HANDLER( generic_cop_w )
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(COP_CMD(0x194,0x288,0x088,0x000,0x000,0x000,0x000,0x000,6,0xfbfb))
|
||||||
|
{
|
||||||
|
//static UINT8 offs;
|
||||||
|
|
||||||
|
//offs = (offset & 3) * 4;
|
||||||
|
|
||||||
|
//space->write_dword(cop_register[0] + 16 + offs, space->read_dword(cop_register[0] + 16 + offs) + 0x2000);
|
||||||
|
}
|
||||||
|
|
||||||
/* SINE math - 0x8100 */
|
/* SINE math - 0x8100 */
|
||||||
/* FIXME: going up is slower than going down */
|
/* FIXME: going up is slower than going down */
|
||||||
/* FIXME: cop scale is unreliable */
|
/* FIXME: cop scale is unreliable */
|
||||||
@ -2366,13 +2377,6 @@ static WRITE16_HANDLER( generic_cop_w )
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 0
|
|
||||||
if(COP_CMD(0x194,0x288,0x088,0x000,0x000,0x000,0x000,0x000,6,0xfbfb))
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
collision detection:
|
collision detection:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user