summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/68340tmu.cpp
blob: 92014401a34ff11335d785fc0155c7b8b5092e8d (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
// license:BSD-3-Clause
// copyright-holders:David Haywood
/* 68340 TIMER module */

#include "emu.h"
#include "68340.h"


READ32_MEMBER( m68340_cpu_device::m68340_internal_timer_r )
{
	assert(m68340TIMER);
	//m68340_timer &timer = *m68340TIMER;

	int pc = space.device().safe_pc();
	logerror("%08x m68340_internal_timer_r %08x, (%08x)\n", pc, offset*4,mem_mask);

	return 0x00000000;
}

WRITE32_MEMBER( m68340_cpu_device::m68340_internal_timer_w )
{
	assert(m68340TIMER);
	//m68340_timer &timer = *m68340TIMER;

	int pc = space.device().safe_pc();
	logerror("%08x m68340_internal_timer_w %08x, %08x (%08x)\n", pc, offset*4,data,mem_mask);
}

void m68340_timer::reset()
{
}