summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/apollo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/apollo.cpp')
-rw-r--r--src/mame/machine/apollo.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/machine/apollo.cpp b/src/mame/machine/apollo.cpp
index a76920b279a..2e2e96ddac1 100644
--- a/src/mame/machine/apollo.cpp
+++ b/src/mame/machine/apollo.cpp
@@ -722,7 +722,7 @@ void apollo_sio::device_reset()
ip6_w((input_data & 0x40) ? ASSERT_LINE : CLEAR_LINE);
}
-READ8_MEMBER( apollo_sio::read )
+uint8_t apollo_sio::read(offs_t offset)
{
static int last_read8_offset[2] = { -1, -1 };
static int last_read8_value[2] = { -1, -1 };
@@ -732,7 +732,7 @@ READ8_MEMBER( apollo_sio::read )
"1X/16X Test", "RHRB", "IVR", "Input Ports", "Start Counter",
"Stop Counter" };
- int data = duart_base_device::read(space, offset/2, mem_mask);
+ int data = duart_base_device::read(offset/2);
switch (offset / 2)
{
@@ -766,7 +766,7 @@ READ8_MEMBER( apollo_sio::read )
return data;
}
-WRITE8_MEMBER( apollo_sio::write )
+void apollo_sio::write(offs_t offset, uint8_t data)
{
static const char * const duart68681_reg_write_names[0x10] = { "MRA",
"CSRA", "CRA", "THRA", "ACR", "IMR", "CRUR", "CTLR", "MRB", "CSRB",
@@ -788,7 +788,7 @@ WRITE8_MEMBER( apollo_sio::write )
break;
#endif
}
- duart_base_device::write(space, offset/2, data, mem_mask);
+ duart_base_device::write(offset/2, data);
}
// device type definition