summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/bfm/bfm_ad5.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/bfm/bfm_ad5.h')
-rw-r--r--src/mame/bfm/bfm_ad5.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/mame/bfm/bfm_ad5.h b/src/mame/bfm/bfm_ad5.h
new file mode 100644
index 00000000000..7c2445b504e
--- /dev/null
+++ b/src/mame/bfm/bfm_ad5.h
@@ -0,0 +1,33 @@
+// license:BSD-3-Clause
+// copyright-holders:David Haywood
+#ifndef MAME_BFM_BFM_AD5_H
+#define MAME_BFM_BFM_AD5_H
+
+#pragma once
+
+#include "cpu/m68000/mcf5206e.h"
+
+
+class adder5_state : public driver_device
+{
+public:
+ adder5_state(const machine_config &mconfig, device_type type, const char *tag)
+ : driver_device(mconfig, type, tag)
+ , m_maincpu(*this, "maincpu")
+ { }
+
+ void init_ad5();
+ void bfm_ad5(machine_config &config);
+
+protected:
+ INTERRUPT_GEN_MEMBER(ad5_fake_timer_int);
+ void ad5_map(address_map &map) ATTR_COLD;
+
+private:
+ // devices
+ required_device<cpu_device> m_maincpu;
+};
+
+INPUT_PORTS_EXTERN( bfm_ad5 );
+
+#endif // MAME_BFM_BFM_AD5_H