mirror of
https://github.com/holub/mame
synced 2025-05-22 05:38:52 +03:00
Added DMA fill value, no whatsnew
This commit is contained in:
parent
72a4a5f279
commit
de6cb45a96
@ -198,12 +198,12 @@ WRITE16_MEMBER(raiden2_state::cop_dma_adr_rel_w)
|
|||||||
|
|
||||||
WRITE16_MEMBER(raiden2_state::cop_dma_v1_w)
|
WRITE16_MEMBER(raiden2_state::cop_dma_v1_w)
|
||||||
{
|
{
|
||||||
COMBINE_DATA(&cop_dma_v1[cop_dma_mode]);
|
COMBINE_DATA(&cop_dma_v1);
|
||||||
}
|
}
|
||||||
|
|
||||||
WRITE16_MEMBER(raiden2_state::cop_dma_v2_w)
|
WRITE16_MEMBER(raiden2_state::cop_dma_v2_w)
|
||||||
{
|
{
|
||||||
COMBINE_DATA(&cop_dma_v2[cop_dma_mode]);
|
COMBINE_DATA(&cop_dma_v2);
|
||||||
}
|
}
|
||||||
|
|
||||||
WRITE16_MEMBER(raiden2_state::cop_dma_dst_w)
|
WRITE16_MEMBER(raiden2_state::cop_dma_dst_w)
|
||||||
@ -304,7 +304,7 @@ WRITE16_MEMBER(raiden2_state::cop_dma_trigger_w)
|
|||||||
|
|
||||||
for (i=address;i<address+length;i+=4)
|
for (i=address;i<address+length;i+=4)
|
||||||
{
|
{
|
||||||
space.write_dword(i, 0x0000); //TODO: fill value
|
space.write_dword(i, (cop_dma_v1) | (cop_dma_v2 << 16)); //TODO: fill value
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -67,6 +67,9 @@ public:
|
|||||||
DECLARE_READ16_MEMBER( raiden2_sound_comms_r );
|
DECLARE_READ16_MEMBER( raiden2_sound_comms_r );
|
||||||
DECLARE_WRITE16_MEMBER( raiden2_sound_comms_w );
|
DECLARE_WRITE16_MEMBER( raiden2_sound_comms_w );
|
||||||
|
|
||||||
|
DECLARE_WRITE16_MEMBER( test_w );
|
||||||
|
|
||||||
|
|
||||||
void common_reset();
|
void common_reset();
|
||||||
|
|
||||||
tilemap_t *background_layer,*midground_layer,*foreground_layer,*text_layer;
|
tilemap_t *background_layer,*midground_layer,*foreground_layer,*text_layer;
|
||||||
@ -79,7 +82,7 @@ public:
|
|||||||
UINT32 cop_regs[8], cop_itoa;
|
UINT32 cop_regs[8], cop_itoa;
|
||||||
UINT16 cop_status, cop_scale, cop_itoa_digit_count, cop_angle, cop_dist;
|
UINT16 cop_status, cop_scale, cop_itoa_digit_count, cop_angle, cop_dist;
|
||||||
UINT8 cop_itoa_digits[10];
|
UINT8 cop_itoa_digits[10];
|
||||||
UINT16 cop_dma_mode, cop_dma_src[0x200], cop_dma_dst[0x200], cop_dma_size[0x200], cop_dma_v1[0x200], cop_dma_v2[0x200], cop_dma_adr_rel;
|
UINT16 cop_dma_mode, cop_dma_src[0x200], cop_dma_dst[0x200], cop_dma_size[0x200], cop_dma_v1, cop_dma_v2, cop_dma_adr_rel;
|
||||||
UINT16 sprites_cur_start;
|
UINT16 sprites_cur_start;
|
||||||
|
|
||||||
UINT16 cop_func_trigger[0x100/8]; /* function trigger */
|
UINT16 cop_func_trigger[0x100/8]; /* function trigger */
|
||||||
|
Loading…
Reference in New Issue
Block a user