summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/xavix_anport.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/xavix_anport.cpp')
-rw-r--r--src/mame/machine/xavix_anport.cpp81
1 files changed, 0 insertions, 81 deletions
diff --git a/src/mame/machine/xavix_anport.cpp b/src/mame/machine/xavix_anport.cpp
deleted file mode 100644
index 502dfc6adee..00000000000
--- a/src/mame/machine/xavix_anport.cpp
+++ /dev/null
@@ -1,81 +0,0 @@
-// license:BSD-3-Clause
-// copyright-holders:David Haywood
-
-// are these still part of the ADC? if so merge into xavix_adc.cpp
-
-#include "emu.h"
-#include "xavix_anport.h"
-
-#define VERBOSE 0
-#include "logmacro.h"
-
-DEFINE_DEVICE_TYPE(XAVIX_ANPORT, xavix_anport_device, "xavix_anport", "XaviX Analog ports")
-
-xavix_anport_device::xavix_anport_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
- : device_t(mconfig, XAVIX_ANPORT, tag, owner, clock)
- , m_in0_cb(*this)
- , m_in1_cb(*this)
- , m_in2_cb(*this)
- , m_in3_cb(*this)
-{
-}
-
-void xavix_anport_device::device_start()
-{
- m_in0_cb.resolve_safe(0xff);
- m_in1_cb.resolve_safe(0xff);
- m_in2_cb.resolve_safe(0xff);
- m_in3_cb.resolve_safe(0xff);
-}
-
-void xavix_anport_device::device_reset()
-{
-}
-
-
-READ8_MEMBER(xavix_anport_device::mouse_7b00_r)
-{
- LOG("%s: mouse_7b00_r\n", machine().describe_context());
- return m_in0_cb();
-
-}
-
-READ8_MEMBER(xavix_anport_device::mouse_7b01_r)
-{
- LOG("%s: mouse_7b01_r\n", machine().describe_context());
- return m_in1_cb();
-}
-
-READ8_MEMBER(xavix_anport_device::mouse_7b10_r)
-{
- LOG("%s: mouse_7b10_r\n", machine().describe_context());
- return m_in2_cb();
-}
-
-READ8_MEMBER(xavix_anport_device::mouse_7b11_r)
-{
- LOG("%s: mouse_7b11_r\n", machine().describe_context());
- return m_in3_cb();
-}
-
-WRITE8_MEMBER(xavix_anport_device::mouse_7b00_w)
-{
- LOG("%s: mouse_7b00_w %02x\n", machine().describe_context(), data);
-}
-
-WRITE8_MEMBER(xavix_anport_device::mouse_7b01_w)
-{
- LOG("%s: mouse_7b01_w %02x\n", machine().describe_context(), data);
-}
-
-WRITE8_MEMBER(xavix_anport_device::mouse_7b10_w)
-{
- LOG("%s: mouse_7b10_w %02x\n", machine().describe_context(), data);
-}
-
-WRITE8_MEMBER(xavix_anport_device::mouse_7b11_w)
-{
- LOG("%s: mouse_7b11_w %02x\n", machine().describe_context(), data);
-}
-
-