summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/mfabfz.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/mfabfz.cpp')
-rw-r--r--src/mame/drivers/mfabfz.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/mame/drivers/mfabfz.cpp b/src/mame/drivers/mfabfz.cpp
index 0c9b3aa76f9..fd2c520e10b 100644
--- a/src/mame/drivers/mfabfz.cpp
+++ b/src/mame/drivers/mfabfz.cpp
@@ -78,18 +78,15 @@ void mfabfz_state::mfabfz_io(address_map &map)
{
map.unmap_value_high();
map.global_mask(0xff);
- map(0xbe, 0xbe).rw("uart1", FUNC(i8251_device::data_r), FUNC(i8251_device::data_w));
- map(0xbf, 0xbf).rw("uart1", FUNC(i8251_device::status_r), FUNC(i8251_device::control_w));
- map(0xfe, 0xfe).rw("uart2", FUNC(i8251_device::data_r), FUNC(i8251_device::data_w));
- map(0xff, 0xff).rw("uart2", FUNC(i8251_device::status_r), FUNC(i8251_device::control_w));
+ map(0xbe, 0xbf).rw("uart1", FUNC(i8251_device::read), FUNC(i8251_device::write));
+ map(0xfe, 0xff).rw("uart2", FUNC(i8251_device::read), FUNC(i8251_device::write));
}
void mfabfz_state::mfabfz85_io(address_map &map)
{
map.unmap_value_high();
map.global_mask(0xff);
- map(0xfe, 0xfe).rw("uart2", FUNC(i8251_device::data_r), FUNC(i8251_device::data_w));
- map(0xff, 0xff).rw("uart2", FUNC(i8251_device::status_r), FUNC(i8251_device::control_w));
+ map(0xfe, 0xff).rw("uart2", FUNC(i8251_device::read), FUNC(i8251_device::write));
}
/* Input ports */