summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/decwritr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/decwritr.cpp')
-rw-r--r--src/mame/drivers/decwritr.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mame/drivers/decwritr.cpp b/src/mame/drivers/decwritr.cpp
index 46c0f0be4f7..e1e2b450db7 100644
--- a/src/mame/drivers/decwritr.cpp
+++ b/src/mame/drivers/decwritr.cpp
@@ -255,8 +255,7 @@ void decwriter_state::la120_mem(address_map &map)
void decwriter_state::la120_io(address_map &map)
{
map.unmap_value_high();
- map(0x00, 0x00).mirror(0x7C).rw(m_usart, FUNC(i8251_device::data_r), FUNC(i8251_device::data_w)); // 8251 Data
- map(0x01, 0x01).mirror(0x7C).rw(m_usart, FUNC(i8251_device::status_r), FUNC(i8251_device::control_w)); // 8251 Status/Control
+ map(0x00, 0x01).mirror(0x7C).rw(m_usart, FUNC(i8251_device::read), FUNC(i8251_device::write)); // 8251 Status/Control
//map(0x02, 0x02).mirror(0x7D); // other io ports, serial loopback etc, see table 4-9 in TM
// 0x80-0xff are reserved for expansion (i.e. unused, open bus)
map.global_mask(0xff);
@@ -462,7 +461,7 @@ MACHINE_CONFIG_START(decwriter_state::la120)
MCFG_RS232_DSR_HANDLER(WRITELINE("usart", i8251_device, write_dsr))
*/
- MCFG_DEVICE_ADD("nvm", ER1400, 0)
+ ER1400(config, m_nvm);
MACHINE_CONFIG_END