mirror of
https://github.com/holub/mame
synced 2025-05-19 20:29:09 +03:00
Fixed RAM fill in Seibu DMA COP command 0x116, allowing Godzilla to boot [Angelo Salese]
This commit is contained in:
parent
570bb1cae5
commit
29733a2f0f
@ -2434,7 +2434,7 @@ static WRITE16_HANDLER( generic_cop_w )
|
||||
return;
|
||||
}
|
||||
|
||||
/* Godzilla, hack (and imperfect) implementation until we understand ... */
|
||||
/* Godzilla specific */
|
||||
if (cop_dma_trigger == 0x116)
|
||||
{
|
||||
UINT32 length, address;
|
||||
@ -2444,11 +2444,10 @@ static WRITE16_HANDLER( generic_cop_w )
|
||||
// return;
|
||||
|
||||
address = (cop_dma_src[cop_dma_trigger] << 6);
|
||||
length = ((cop_dma_size[cop_dma_trigger]+1) << 5);
|
||||
length = ((cop_dma_size[cop_dma_trigger]+1) << 4);
|
||||
|
||||
printf("%08x %08x\n",address,length);
|
||||
|
||||
if(length & 0x23ff)
|
||||
/* guess: palette can't be cleared by this, only by 0x8* commands? */
|
||||
if((address & 0x11f000) == 0x104000)
|
||||
return;
|
||||
|
||||
for (i=address;i<address+length;i+=4)
|
||||
|
Loading…
Reference in New Issue
Block a user