summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/vt240.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/vt240.cpp')
-rw-r--r--src/mame/drivers/vt240.cpp62
1 files changed, 31 insertions, 31 deletions
diff --git a/src/mame/drivers/vt240.cpp b/src/mame/drivers/vt240.cpp
index 49d1ca1a450..fa308d20c55 100644
--- a/src/mame/drivers/vt240.cpp
+++ b/src/mame/drivers/vt240.cpp
@@ -553,29 +553,29 @@ void vt240_state::bank_map(address_map &map)
void vt240_state::vt240_mem(address_map &map)
{
map.unmap_value_high();
- map(0000000, 0167777).rw(this, FUNC(vt240_state::mem_r), FUNC(vt240_state::mem_w));
- map(0170000, 0170037).rw(this, FUNC(vt240_state::mem_map_cs_r), FUNC(vt240_state::mem_map_cs_w)).umask16(0x00ff);
- map(0170040, 0170040).w(this, FUNC(vt240_state::mem_map_sel_w));
- map(0170100, 0170100).r(this, FUNC(vt240_state::ctrl_r));
- map(0170140, 0170140).rw(this, FUNC(vt240_state::nvr_store_r), FUNC(vt240_state::nvr_store_w));
+ map(0000000, 0167777).rw(FUNC(vt240_state::mem_r), FUNC(vt240_state::mem_w));
+ map(0170000, 0170037).rw(FUNC(vt240_state::mem_map_cs_r), FUNC(vt240_state::mem_map_cs_w)).umask16(0x00ff);
+ map(0170040, 0170040).w(FUNC(vt240_state::mem_map_sel_w));
+ map(0170100, 0170100).r(FUNC(vt240_state::ctrl_r));
+ map(0170140, 0170140).rw(FUNC(vt240_state::nvr_store_r), FUNC(vt240_state::nvr_store_w));
map(0171000, 0171003).rw(m_i8251, FUNC(i8251_device::data_r), FUNC(i8251_device::data_w)).umask16(0x00ff);
map(0171004, 0171007).rw(m_i8251, FUNC(i8251_device::status_r), FUNC(i8251_device::control_w)).umask16(0x00ff);
- map(0172000, 0172077).rw(this, FUNC(vt240_state::duart_r), FUNC(vt240_state::duart_w)).umask16(0x00ff);
+ map(0172000, 0172077).rw(FUNC(vt240_state::duart_r), FUNC(vt240_state::duart_w)).umask16(0x00ff);
map(0173000, 0173003).r(m_hgdc, FUNC(upd7220_device::read)).umask16(0x00ff);
- map(0173040, 0173077).r(this, FUNC(vt240_state::vom_r)).umask16(0x00ff);
- map(0173140, 0173140).r(this, FUNC(vt240_state::char_buf_r));
+ map(0173040, 0173077).r(FUNC(vt240_state::vom_r)).umask16(0x00ff);
+ map(0173140, 0173140).r(FUNC(vt240_state::char_buf_r));
map(0174000, 0174003).w(m_hgdc, FUNC(upd7220_device::write)).umask16(0x00ff);
- map(0174040, 0174077).w(this, FUNC(vt240_state::vom_w)).umask16(0x00ff);
- map(0174140, 0174140).w(this, FUNC(vt240_state::char_buf_w));
- map(0174400, 0174400).w(this, FUNC(vt240_state::patmult_w));
- map(0174440, 0174440).w(this, FUNC(vt240_state::mask_w));
- map(0174500, 0174500).w(this, FUNC(vt240_state::vpat_w));
- map(0174540, 0174540).w(this, FUNC(vt240_state::lu_w));
- map(0174600, 0174600).w(this, FUNC(vt240_state::reg0_w));
- map(0174640, 0174640).w(this, FUNC(vt240_state::reg1_w));
- map(0174700, 0174700).w(this, FUNC(vt240_state::hbscrl_w));
- map(0174740, 0174740).w(this, FUNC(vt240_state::lbscrl_w));
- map(0175000, 0175005).rw(this, FUNC(vt240_state::i8085_comm_r), FUNC(vt240_state::i8085_comm_w)).umask16(0x00ff);
+ map(0174040, 0174077).w(FUNC(vt240_state::vom_w)).umask16(0x00ff);
+ map(0174140, 0174140).w(FUNC(vt240_state::char_buf_w));
+ map(0174400, 0174400).w(FUNC(vt240_state::patmult_w));
+ map(0174440, 0174440).w(FUNC(vt240_state::mask_w));
+ map(0174500, 0174500).w(FUNC(vt240_state::vpat_w));
+ map(0174540, 0174540).w(FUNC(vt240_state::lu_w));
+ map(0174600, 0174600).w(FUNC(vt240_state::reg0_w));
+ map(0174640, 0174640).w(FUNC(vt240_state::reg1_w));
+ map(0174700, 0174700).w(FUNC(vt240_state::hbscrl_w));
+ map(0174740, 0174740).w(FUNC(vt240_state::lbscrl_w));
+ map(0175000, 0175005).rw(FUNC(vt240_state::i8085_comm_r), FUNC(vt240_state::i8085_comm_w)).umask16(0x00ff);
map(0176000, 0176777).rw(m_nvram, FUNC(x2212_device::read), FUNC(x2212_device::write)).umask16(0x00ff);
// 017700x System comm logic
}
@@ -594,22 +594,22 @@ void vt240_state::vt240_char_io(address_map &map)
map.unmap_value_high();
map.global_mask(0xff);
map(0x00, 0x01).rw(m_hgdc, FUNC(upd7220_device::read), FUNC(upd7220_device::write));
- map(0x10, 0x1f).rw(this, FUNC(vt240_state::vom_r), FUNC(vt240_state::vom_w));
- map(0x20, 0x20).rw(this, FUNC(vt240_state::t11_comm_r), FUNC(vt240_state::t11_comm_w));
- map(0x30, 0x30).rw(this, FUNC(vt240_state::char_buf_r), FUNC(vt240_state::char_buf_w));
- map(0x80, 0x80).w(this, FUNC(vt240_state::patmult_w));
- map(0x90, 0x90).w(this, FUNC(vt240_state::mask_w));
- map(0xa0, 0xa0).w(this, FUNC(vt240_state::vpat_w));
- map(0xb0, 0xb0).w(this, FUNC(vt240_state::lu_w));
- map(0xc0, 0xc0).w(this, FUNC(vt240_state::reg0_w));
- map(0xd0, 0xd0).w(this, FUNC(vt240_state::reg1_w));
- map(0xe0, 0xe0).w(this, FUNC(vt240_state::hbscrl_w));
- map(0xf0, 0xf0).w(this, FUNC(vt240_state::lbscrl_w));
+ map(0x10, 0x1f).rw(FUNC(vt240_state::vom_r), FUNC(vt240_state::vom_w));
+ map(0x20, 0x20).rw(FUNC(vt240_state::t11_comm_r), FUNC(vt240_state::t11_comm_w));
+ map(0x30, 0x30).rw(FUNC(vt240_state::char_buf_r), FUNC(vt240_state::char_buf_w));
+ map(0x80, 0x80).w(FUNC(vt240_state::patmult_w));
+ map(0x90, 0x90).w(FUNC(vt240_state::mask_w));
+ map(0xa0, 0xa0).w(FUNC(vt240_state::vpat_w));
+ map(0xb0, 0xb0).w(FUNC(vt240_state::lu_w));
+ map(0xc0, 0xc0).w(FUNC(vt240_state::reg0_w));
+ map(0xd0, 0xd0).w(FUNC(vt240_state::reg1_w));
+ map(0xe0, 0xe0).w(FUNC(vt240_state::hbscrl_w));
+ map(0xf0, 0xf0).w(FUNC(vt240_state::lbscrl_w));
}
void vt240_state::upd7220_map(address_map &map)
{
- map(0x00000, 0x3ffff).rw(this, FUNC(vt240_state::vram_r), FUNC(vt240_state::vram_w)).share("vram");
+ map(0x00000, 0x3ffff).rw(FUNC(vt240_state::vram_r), FUNC(vt240_state::vram_w)).share("vram");
}