summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/pc9801_cbus.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/pc9801_cbus.c')
-rw-r--r--src/mame/machine/pc9801_cbus.c80
1 files changed, 80 insertions, 0 deletions
diff --git a/src/mame/machine/pc9801_cbus.c b/src/mame/machine/pc9801_cbus.c
new file mode 100644
index 00000000000..2e3f6b59670
--- /dev/null
+++ b/src/mame/machine/pc9801_cbus.c
@@ -0,0 +1,80 @@
+// license:BSD-3-Clause
+// copyright-holders:Angelo Salese
+/**********************************************************************
+
+ CCBUS Slot interface for PC-98xx family
+
+**********************************************************************/
+
+#include "pc9801_cbus.h"
+
+
+
+//**************************************************************************
+// GLOBAL VARIABLES
+//**************************************************************************
+
+const device_type PC9801CBUS_SLOT = &device_creator<pc9801_slot_device>;
+
+
+
+//**************************************************************************
+// DEVICE PC9801 CARD INTERFACE
+//**************************************************************************
+
+#if 0
+//-------------------------------------------------
+// device_pc9801cbus_card_interface - constructor
+//-------------------------------------------------
+
+device_pc9801cbus_card_interface::device_pc9801cbus_card_interface(const machine_config &mconfig, device_t &device)
+ : device_slot_card_interface(mconfig, device)
+{
+}
+
+
+//-------------------------------------------------
+// ~device_pc9801cbus_card_interface - destructor
+//-------------------------------------------------
+
+device_pc9801cbus_card_interface::~device_pc9801cbus_card_interface()
+{
+}
+#endif
+
+
+//**************************************************************************
+// LIVE DEVICE
+//**************************************************************************
+
+//-------------------------------------------------
+// pc9801_slot_device - constructor
+//-------------------------------------------------
+
+pc9801_slot_device::pc9801_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+ device_t(mconfig, PC9801CBUS_SLOT, "PC-9801 sound cbus slot", tag, owner, clock, "pc9801_slot", __FILE__),
+ device_slot_interface(mconfig, *this)
+{
+}
+
+
+//-------------------------------------------------
+// device_config_complete - perform any
+// operations now that the configuration is
+// complete
+//-------------------------------------------------
+
+void pc9801_slot_device::device_config_complete()
+{
+ // ...
+}
+
+
+//-------------------------------------------------
+// device_start - device-specific startup
+//-------------------------------------------------
+
+void pc9801_slot_device::device_start()
+{
+// m_card = dynamic_cast<device_pc9801_slot_card_interface *>(get_card_device());
+}