summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/tvc/tvc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/tvc/tvc.cpp')
-rw-r--r--src/devices/bus/tvc/tvc.cpp20
1 files changed, 8 insertions, 12 deletions
diff --git a/src/devices/bus/tvc/tvc.cpp b/src/devices/bus/tvc/tvc.cpp
index f73e5e4e8db..c1c8dc902e6 100644
--- a/src/devices/bus/tvc/tvc.cpp
+++ b/src/devices/bus/tvc/tvc.cpp
@@ -75,10 +75,6 @@ tvcexp_slot_device::~tvcexp_slot_device()
void tvcexp_slot_device::device_start()
{
m_cart = get_card_device();
-
- // resolve callbacks
- m_out_irq_cb.resolve_safe();
- m_out_nmi_cb.resolve_safe();
}
/*-------------------------------------------------
@@ -124,10 +120,10 @@ uint8_t tvcexp_slot_device::int_r()
read
-------------------------------------------------*/
-READ8_MEMBER(tvcexp_slot_device::read)
+uint8_t tvcexp_slot_device::read(offs_t offset)
{
if (m_cart)
- return m_cart->read(space, offset);
+ return m_cart->read(offset);
else
return 0x00;
}
@@ -137,20 +133,20 @@ READ8_MEMBER(tvcexp_slot_device::read)
write
-------------------------------------------------*/
-WRITE8_MEMBER(tvcexp_slot_device::write)
+void tvcexp_slot_device::write(offs_t offset, uint8_t data)
{
if (m_cart)
- m_cart->write(space, offset, data);
+ m_cart->write(offset, data);
}
/*-------------------------------------------------
IO read
-------------------------------------------------*/
-READ8_MEMBER(tvcexp_slot_device::io_read)
+uint8_t tvcexp_slot_device::io_read(offs_t offset)
{
if (m_cart)
- return m_cart->io_read(space, offset);
+ return m_cart->io_read(offset);
else
return 0x00;
}
@@ -160,8 +156,8 @@ READ8_MEMBER(tvcexp_slot_device::io_read)
IO write
-------------------------------------------------*/
-WRITE8_MEMBER(tvcexp_slot_device::io_write)
+void tvcexp_slot_device::io_write(offs_t offset, uint8_t data)
{
if (m_cart)
- m_cart->io_write(space, offset, data);
+ m_cart->io_write(offset, data);
}