summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/msx_s1985.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/msx_s1985.h')
-rw-r--r--src/mame/machine/msx_s1985.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/mame/machine/msx_s1985.h b/src/mame/machine/msx_s1985.h
new file mode 100644
index 00000000000..98ecdcf631d
--- /dev/null
+++ b/src/mame/machine/msx_s1985.h
@@ -0,0 +1,33 @@
+// license:BSD-3-Clause
+// copyright-holders:Wilbert Pol
+#ifndef __MSX_S1985_H
+#define __MSX_S1985_H
+
+
+#include "msx_switched.h"
+
+
+extern const device_type MSX_S1985;
+
+
+#define MCFG_MSX_S1985_ADD(_tag) \
+ MCFG_DEVICE_ADD(_tag, MSX_S1985, 0)
+
+
+class msx_s1985_device : public msx_switched_device
+{
+public:
+ msx_s1985_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+
+ virtual UINT8 get_id();
+
+ virtual DECLARE_READ8_MEMBER(io_read);
+ virtual DECLARE_WRITE8_MEMBER(io_write);
+
+private:
+ UINT8 m_6_1;
+ UINT8 m_6_2;
+ UINT8 m_7;
+};
+
+#endif