Esempio n. 1
0
void lsi53c810_device::dmaop_move_memory()
{
	UINT32 src = FETCH();
	UINT32 dst = FETCH();
	int count;

	count = dcmd & 0xffffff;
	if(dma_callback != NULL) {
		dma_callback(machine(), src, dst, count, 1);
	}
}
/* Unmask the DMA interrupt if enabled */
void pcm_play_unlock(void)
{
    if(--locked == 0 && is_playing)
    {
        int old = disable_irq_save();
        if(play_callback_pending)
        {
            play_callback_pending = false;
            dma_callback();
        }
        restore_irq(old);
    }
}
Esempio n. 3
0
 void DMA_IRQHandler(void) {
	if (dma_callback) {
		dma_callback();
	}
}