summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/melps4/m58846.h
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2015-06-15 03:24:24 +0200
committer hap <happppp@users.noreply.github.com>2015-06-15 03:24:24 +0200
commit215e9a8be91b6ef9b6ea43d1e9674b7abd661c23 (patch)
tree6c047f28df7ebff35bc920dd6c907f9117a83420 /src/emu/cpu/melps4/m58846.h
parentba0057dfc03a659042795eaef4ecac75a577e364 (diff)
added interrupt handling
Diffstat (limited to 'src/emu/cpu/melps4/m58846.h')
-rw-r--r--src/emu/cpu/melps4/m58846.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/emu/cpu/melps4/m58846.h b/src/emu/cpu/melps4/m58846.h
index 7ee094df568..458f649c4f0 100644
--- a/src/emu/cpu/melps4/m58846.h
+++ b/src/emu/cpu/melps4/m58846.h
@@ -29,6 +29,13 @@ protected:
// device_disasm_interface overrides
virtual offs_t disasm_disassemble(char *buffer, offs_t pc, const UINT8 *oprom, const UINT8 *opram, UINT32 options);
+
+ // timers
+ virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr);
+ virtual void write_v(UINT8 data);
+
+ emu_timer *m_timer[2];
+ void reset_timer1();
};