summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/bus/cbm2/user.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2015-09-13 08:41:44 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2015-09-13 08:41:44 +0200
commitf88cefad27a1737c76e09d99c9fb43e173506081 (patch)
tree2d8167d03579c46e226471747eb4407bd00ed6fa /src/emu/bus/cbm2/user.c
parente92ac9e0fa8e99869894bea00589bbb526be30aa (diff)
Move all devices into separate part of src tree (nw)
Diffstat (limited to 'src/emu/bus/cbm2/user.c')
-rw-r--r--src/emu/bus/cbm2/user.c77
1 files changed, 0 insertions, 77 deletions
diff --git a/src/emu/bus/cbm2/user.c b/src/emu/bus/cbm2/user.c
deleted file mode 100644
index 6383f39b061..00000000000
--- a/src/emu/bus/cbm2/user.c
+++ /dev/null
@@ -1,77 +0,0 @@
-// license:BSD-3-Clause
-// copyright-holders:Curt Coder
-/**********************************************************************
-
- Commodore CBM-II User Port emulation
-
-**********************************************************************/
-
-#include "user.h"
-
-
-
-//**************************************************************************
-// DEVICE DEFINITIONS
-//**************************************************************************
-
-const device_type CBM2_USER_PORT = &device_creator<cbm2_user_port_device>;
-
-
-
-//**************************************************************************
-// CARD INTERFACE
-//**************************************************************************
-
-//-------------------------------------------------
-// device_cbm2_user_port_interface - constructor
-//-------------------------------------------------
-
-device_cbm2_user_port_interface::device_cbm2_user_port_interface(const machine_config &mconfig, device_t &device) :
- device_slot_card_interface(mconfig,device)
-{
- m_slot = dynamic_cast<cbm2_user_port_device *>(device.owner());
-}
-
-
-
-//**************************************************************************
-// LIVE DEVICE
-//**************************************************************************
-
-//-------------------------------------------------
-// cbm2_user_port_device - constructor
-//-------------------------------------------------
-
-cbm2_user_port_device::cbm2_user_port_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
- device_t(mconfig, CBM2_USER_PORT, "CBM2 user port", tag, owner, clock, "cbm2_user_port", __FILE__),
- device_slot_interface(mconfig, *this),
- m_write_irq(*this),
- m_write_sp(*this),
- m_write_cnt(*this),
- m_write_flag(*this)
-{
-}
-
-
-//-------------------------------------------------
-// device_start - device-specific startup
-//-------------------------------------------------
-
-void cbm2_user_port_device::device_start()
-{
- m_card = dynamic_cast<device_cbm2_user_port_interface *>(get_card_device());
-
- // resolve callbacks
- m_write_irq.resolve_safe();
- m_write_sp.resolve_safe();
- m_write_cnt.resolve_safe();
- m_write_flag.resolve_safe();
-}
-
-
-//-------------------------------------------------
-// SLOT_INTERFACE( cbm2_user_port_cards )
-//-------------------------------------------------
-
-SLOT_INTERFACE_START( cbm2_user_port_cards )
-SLOT_INTERFACE_END