summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/cbus/pc9801_cbus.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/cbus/pc9801_cbus.h')
-rw-r--r--src/devices/bus/cbus/pc9801_cbus.h74
1 files changed, 74 insertions, 0 deletions
diff --git a/src/devices/bus/cbus/pc9801_cbus.h b/src/devices/bus/cbus/pc9801_cbus.h
new file mode 100644
index 00000000000..1b1084d8961
--- /dev/null
+++ b/src/devices/bus/cbus/pc9801_cbus.h
@@ -0,0 +1,74 @@
+// license:BSD-3-Clause
+// copyright-holders:Angelo Salese
+/**********************************************************************
+
+
+**********************************************************************/
+#ifndef MAME_MACHINE_PC9801_CBUS_H
+#define MAME_MACHINE_PC9801_CBUS_H
+
+#pragma once
+
+
+
+
+//**************************************************************************
+// CONSTANTS
+//**************************************************************************
+
+
+
+//**************************************************************************
+// INTERFACE CONFIGURATION MACROS
+//**************************************************************************
+
+
+#define MCFG_PC9801CBUS_SLOT_ADD(_tag, _slot_intf, _def_slot) \
+ MCFG_DEVICE_ADD(_tag, PC9801CBUS_SLOT, 0) \
+ MCFG_DEVICE_SLOT_INTERFACE(_slot_intf, _def_slot, false)
+
+
+
+//**************************************************************************
+// TYPE DEFINITIONS
+//**************************************************************************
+
+
+
+
+//class pc9801_slot_device;
+
+#if 0
+class device_pc9801_slot_card_interface : public device_slot_card_interface
+{
+ friend class pc9801_slot_device;
+
+public:
+ // construction/destruction
+ device_pc9801_slot_card_interface(const machine_config &mconfig, device_t &device);
+ virtual ~device_pc9801_card_interface();
+};
+#endif
+
+// ======================> pc9801_slot_device
+
+class pc9801_slot_device : public device_t, public device_slot_interface
+{
+public:
+ // construction/destruction
+ pc9801_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+
+protected:
+ // device-level overrides
+ virtual void device_start() override;
+ virtual void device_config_complete() override;
+//private:
+// device_pc9801_slot_card_interface *m_card;
+
+};
+
+
+// device type definition
+DECLARE_DEVICE_TYPE(PC9801CBUS_SLOT, pc9801_slot_device)
+
+#endif // MAME_MACHINE_PC9801_CBUS_H