summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/m68000/68340dma.c
blob: f2b3f987d47137d7d76dfa26f5b19c4581436e1a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/* 68340 DMA module */

#include "emu.h"
#include "m68kcpu.h"


READ32_HANDLER( m68340_internal_dma_r )
{
	m68ki_cpu_core *m68k = m68k_get_safe_token(&space->device());
	m68340_dma* dma = m68k->m68340DMA;
	assert(dma != NULL);

	if (dma)
	{
		int pc = cpu_get_pc(&space->device());
		logerror("%08x m68340_internal_dma_r %08x, (%08x)\n", pc, offset*4,mem_mask);
	}
	
	return 0x00000000;
}

WRITE32_HANDLER( m68340_internal_dma_w )
{
	m68ki_cpu_core *m68k = m68k_get_safe_token(&space->device());
	m68340_dma* dma = m68k->m68340DMA;
	assert(dma != NULL);
	
	if (dma)
	{
		int pc = cpu_get_pc(&space->device());
		logerror("%08x m68340_internal_dma_w %08x, %08x (%08x)\n", pc, offset*4,data,mem_mask);
	}
}

void m68340_dma::reset(void)
{

}