summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/nec
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2019-03-07 08:14:34 -0500
committer AJR <ajrhacker@users.noreply.github.com>2019-03-07 08:14:34 -0500
commit8e3543b398c232c9e4b047b901f15b2374ee66f7 (patch)
treea6a1f87d8b4eb28225e1ae15dfa4825202c2ad20 /src/devices/cpu/nec
parentcc1b5720d9283bbec71841e2b9120eed627da5a3 (diff)
am9513, am9517a, am9519, at_keybc, cs4031, ds128x, mc141618, wd7600: Simplify read/write handlers (nw)
Note that the VME handler installing routines can and should be redone later; this is merely enough for now.
Diffstat (limited to 'src/devices/cpu/nec')
-rw-r--r--src/devices/cpu/nec/v5x.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/cpu/nec/v5x.cpp b/src/devices/cpu/nec/v5x.cpp
index 533a112a7a4..bed8b42bc73 100644
--- a/src/devices/cpu/nec/v5x.cpp
+++ b/src/devices/cpu/nec/v5x.cpp
@@ -199,8 +199,8 @@ void v53_device::install_peripheral_io()
}
else // uPD71071 mode
space(AS_IO).install_readwrite_handler(base + 0x00, base + 0x0f,
- read8_delegate(FUNC(v5x_dmau_device::read), m_dmau.target()),
- write8_delegate(FUNC(v5x_dmau_device::write), m_dmau.target()), 0xffff);
+ read8sm_delegate(FUNC(v5x_dmau_device::read), m_dmau.target()),
+ write8sm_delegate(FUNC(v5x_dmau_device::write), m_dmau.target()), 0xffff);
}
if (m_OPSEL & OPSEL_IS)
@@ -264,8 +264,8 @@ void v50_device::install_peripheral_io()
u16 const base = ((m_OPHA << 8) | m_DULA) & 0xfffe;
space(AS_IO).install_readwrite_handler(base + 0x00, base + 0x0f,
- read8_delegate(FUNC(v5x_dmau_device::read), m_dmau.target()),
- write8_delegate(FUNC(v5x_dmau_device::write), m_dmau.target()), 0xffff);
+ read8sm_delegate(FUNC(v5x_dmau_device::read), m_dmau.target()),
+ write8sm_delegate(FUNC(v5x_dmau_device::write), m_dmau.target()), 0xffff);
}
if (m_OPSEL & OPSEL_IS)