summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/nec/v53.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/cpu/nec/v53.h')
-rw-r--r--src/emu/cpu/nec/v53.h59
1 files changed, 59 insertions, 0 deletions
diff --git a/src/emu/cpu/nec/v53.h b/src/emu/cpu/nec/v53.h
new file mode 100644
index 00000000000..9214fbf3652
--- /dev/null
+++ b/src/emu/cpu/nec/v53.h
@@ -0,0 +1,59 @@
+/* V53 */
+
+#include "nec.h"
+#include "necpriv.h"
+
+class v53_base_device : public nec_common_device
+{
+public:
+ v53_base_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, offs_t fetch_xor, UINT8 prefetch_size, UINT8 prefetch_cycles, UINT32 chip_type);
+
+ DECLARE_WRITE8_MEMBER(BSEL_w);
+ DECLARE_WRITE8_MEMBER(BADR_w);
+ DECLARE_WRITE8_MEMBER(BRC_w);
+ DECLARE_WRITE8_MEMBER(WMB0_w);
+ DECLARE_WRITE8_MEMBER(WCY1_w);
+ DECLARE_WRITE8_MEMBER(WCY0_w);
+ DECLARE_WRITE8_MEMBER(WAC_w);
+ DECLARE_WRITE8_MEMBER(TCKS_w);
+ DECLARE_WRITE8_MEMBER(SBCR_w);
+ DECLARE_WRITE8_MEMBER(REFC_w);
+ DECLARE_WRITE8_MEMBER(WMB1_w);
+ DECLARE_WRITE8_MEMBER(WCY2_w);
+ DECLARE_WRITE8_MEMBER(WCY3_w);
+ DECLARE_WRITE8_MEMBER(WCY4_w);
+ DECLARE_WRITE8_MEMBER(SULA_w);
+ DECLARE_WRITE8_MEMBER(TULA_w);
+ DECLARE_WRITE8_MEMBER(IULA_w);
+ DECLARE_WRITE8_MEMBER(DULA_w);
+ DECLARE_WRITE8_MEMBER(OPHA_w);
+ DECLARE_WRITE8_MEMBER(OPSEL_w);
+ DECLARE_WRITE8_MEMBER(SCTL_w);
+
+ const address_space_config m_io_space_config;
+
+ const address_space_config *memory_space_config(address_spacenum spacenum) const
+ {
+ switch (spacenum)
+ {
+ case AS_IO: return &m_io_space_config;
+ default: return nec_common_device::memory_space_config(spacenum);
+ }
+ }
+};
+
+
+class v53_device : public v53_base_device
+{
+public:
+ v53_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+};
+
+class v53a_device : public v53_base_device
+{
+public:
+ v53a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+};
+
+extern const device_type V53;
+extern const device_type V53A;