summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/machine/68307tmu.h
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2015-09-13 08:41:44 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2015-09-13 08:41:44 +0200
commitf88cefad27a1737c76e09d99c9fb43e173506081 (patch)
tree2d8167d03579c46e226471747eb4407bd00ed6fa /src/emu/machine/68307tmu.h
parente92ac9e0fa8e99869894bea00589bbb526be30aa (diff)
Move all devices into separate part of src tree (nw)
Diffstat (limited to 'src/emu/machine/68307tmu.h')
-rw-r--r--src/emu/machine/68307tmu.h41
1 files changed, 0 insertions, 41 deletions
diff --git a/src/emu/machine/68307tmu.h b/src/emu/machine/68307tmu.h
deleted file mode 100644
index 2c62858b66d..00000000000
--- a/src/emu/machine/68307tmu.h
+++ /dev/null
@@ -1,41 +0,0 @@
-// license:BSD-3-Clause
-// copyright-holders:David Haywood
-
-#include "cpu/m68000/m68000.h"
-
-class m68307cpu_device;
-
-
-#define m68307TIMER_TMR (0x0)
-#define m68307TIMER_TRR (0x1)
-#define m68307TIMER_TCR (0x2)
-#define m68307TIMER_TCN (0x3)
-#define m68307TIMER_TER (0x4)
-#define m68307TIMER_WRR (0x5)
-#define m68307TIMER_WCR (0x6)
-#define m68307TIMER_XXX (0x7)
-
-struct m68307_single_timer
-{
- UINT16 regs[0x8];
- bool enabled;
- emu_timer *mametimer;
-};
-
-
-class m68307_timer
-{
- public:
- m68307_single_timer singletimer[2];
-
- emu_timer *wd_mametimer;
- m68307cpu_device *parent;
-
- void write_tmr(UINT16 data, UINT16 mem_mask, int which);
- void write_trr(UINT16 data, UINT16 mem_mask, int which);
- void write_ter(UINT16 data, UINT16 mem_mask, int which);
- UINT16 read_tcn(UINT16 mem_mask, int which);
-
- void init(m68307cpu_device *device);
- void reset(void);
-};