mirror of
https://github.com/holub/mame
synced 2025-07-04 17:38:08 +03:00
hd63450: Update IRQ output when enable bit changes (nw)
This commit is contained in:
parent
b17e76d105
commit
2529e1432a
@ -206,6 +206,10 @@ WRITE16_MEMBER(hd63450_device::write)
|
|||||||
dma_transfer_halt(channel);
|
dma_transfer_halt(channel);
|
||||||
if (data & 0x0040) // continure operation
|
if (data & 0x0040) // continure operation
|
||||||
dma_transfer_continue(channel);
|
dma_transfer_continue(channel);
|
||||||
|
if ((data & 0x0008) == 0)
|
||||||
|
clear_irq(channel);
|
||||||
|
else if ((m_reg[channel].csr & 0xf2) != 0)
|
||||||
|
set_irq(channel);
|
||||||
LOG("DMA#%i: Channel Control write : %02x\n",channel,m_reg[channel].ccr);
|
LOG("DMA#%i: Channel Control write : %02x\n",channel,m_reg[channel].ccr);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user