summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/hp_dio/hp98550.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/hp_dio/hp98550.cpp')
-rw-r--r--src/devices/bus/hp_dio/hp98550.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/devices/bus/hp_dio/hp98550.cpp b/src/devices/bus/hp_dio/hp98550.cpp
index e67c44e0eea..738926eae77 100644
--- a/src/devices/bus/hp_dio/hp98550.cpp
+++ b/src/devices/bus/hp_dio/hp98550.cpp
@@ -87,13 +87,13 @@ void dio32_98550_device::device_start()
dio().install_memory(
0x200000, 0x3fffff,
- read16_delegate(*this, FUNC(dio32_98550_device::vram_r)),
- write16_delegate(*this, FUNC(dio32_98550_device::vram_w)));
+ read16s_delegate(*this, FUNC(dio32_98550_device::vram_r)),
+ write16s_delegate(*this, FUNC(dio32_98550_device::vram_w)));
dio().install_memory(
0x560000, 0x56ffff,
- read16_delegate(*this, FUNC(dio32_98550_device::rom_r)),
- write16_delegate(*this, FUNC(dio32_98550_device::rom_w)));
+ read16s_delegate(*this, FUNC(dio32_98550_device::rom_r)),
+ write16s_delegate(*this, FUNC(dio32_98550_device::rom_w)));
dio().install_memory(
0x564000, 0x5648ff,
@@ -112,7 +112,7 @@ void dio32_98550_device::device_reset()
m_ints = 0;
}
-READ16_MEMBER(dio32_98550_device::rom_r)
+uint16_t dio32_98550_device::rom_r(offs_t offset, uint16_t mem_mask)
{
LOG("%s: %04x\n", __func__, offset);
@@ -122,7 +122,7 @@ READ16_MEMBER(dio32_98550_device::rom_r)
return 0xff00 | m_rom[offset];
}
-WRITE16_MEMBER(dio32_98550_device::rom_w)
+void dio32_98550_device::rom_w(offs_t offset, uint16_t data, uint16_t mem_mask)
{
switch (offset) {
case 0:
@@ -139,7 +139,7 @@ WRITE16_MEMBER(dio32_98550_device::rom_w)
}
}
-READ16_MEMBER(dio32_98550_device::catseye_r)
+uint16_t dio32_98550_device::catseye_r(address_space &space, offs_t offset, uint16_t mem_mask)
{
uint16_t ret = 0;
@@ -149,14 +149,14 @@ READ16_MEMBER(dio32_98550_device::catseye_r)
return ret;
}
-WRITE16_MEMBER(dio32_98550_device::catseye_w)
+void dio32_98550_device::catseye_w(address_space &space, offs_t offset, uint16_t data, uint16_t mem_mask)
{
LOG("%s: %04X = %04X\n", __func__, offset << 1, data);
for (auto &ce: m_catseye)
ce->ctrl_w(offset, data, mem_mask);
}
-READ16_MEMBER(dio32_98550_device::vram_r)
+uint16_t dio32_98550_device::vram_r(offs_t offset, uint16_t mem_mask)
{
uint16_t ret = 0;
@@ -166,7 +166,7 @@ READ16_MEMBER(dio32_98550_device::vram_r)
return ret;
}
-WRITE16_MEMBER(dio32_98550_device::vram_w)
+void dio32_98550_device::vram_w(offs_t offset, uint16_t data, uint16_t mem_mask)
{
for (auto &ce: m_catseye)
ce->vram_w(offset, data, mem_mask);