summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/hx20.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/hx20.cpp')
-rw-r--r--src/mame/drivers/hx20.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/mame/drivers/hx20.cpp b/src/mame/drivers/hx20.cpp
index 839ad466370..9f4fb83fe4a 100644
--- a/src/mame/drivers/hx20.cpp
+++ b/src/mame/drivers/hx20.cpp
@@ -551,16 +551,16 @@ WRITE8_MEMBER( hx20_state::slave_p4_w )
void hx20_state::hx20_mem(address_map &map)
{
map(0x0000, 0x001f).rw(m_maincpu, FUNC(hd63701_cpu_device::m6801_io_r), FUNC(hd63701_cpu_device::m6801_io_w));
- map(0x0020, 0x0020).w(this, FUNC(hx20_state::ksc_w));
- map(0x0022, 0x0022).r(this, FUNC(hx20_state::krtn07_r));
- map(0x0026, 0x0026).w(this, FUNC(hx20_state::lcd_cs_w));
- map(0x0028, 0x0028).r(this, FUNC(hx20_state::krtn89_r));
- map(0x002a, 0x002a).w(this, FUNC(hx20_state::lcd_data_w));
+ map(0x0020, 0x0020).w(FUNC(hx20_state::ksc_w));
+ map(0x0022, 0x0022).r(FUNC(hx20_state::krtn07_r));
+ map(0x0026, 0x0026).w(FUNC(hx20_state::lcd_cs_w));
+ map(0x0028, 0x0028).r(FUNC(hx20_state::krtn89_r));
+ map(0x002a, 0x002a).w(FUNC(hx20_state::lcd_data_w));
map(0x002c, 0x002c); // mask interruption by using IC 8E in sleep mode
map(0x0040, 0x007f).rw(m_rtc, FUNC(mc146818_device::read), FUNC(mc146818_device::write));
map(0x0080, 0x00ff).ram();
map(0x0100, 0x3fff).ram();
- map(0x6000, 0x7fff).rom().r(this, FUNC(hx20_state::optrom_r));
+ map(0x6000, 0x7fff).rom().r(FUNC(hx20_state::optrom_r));
map(0x8000, 0xffff).rom().region(HD6301V1_MAIN_TAG, 0);
}
@@ -571,8 +571,8 @@ void hx20_state::hx20_mem(address_map &map)
void hx20_state::hx20_io(address_map &map)
{
- map(M6801_PORT1, M6801_PORT1).rw(this, FUNC(hx20_state::main_p1_r), FUNC(hx20_state::main_p1_w));
- map(M6801_PORT2, M6801_PORT2).rw(this, FUNC(hx20_state::main_p2_r), FUNC(hx20_state::main_p2_w));
+ map(M6801_PORT1, M6801_PORT1).rw(FUNC(hx20_state::main_p1_r), FUNC(hx20_state::main_p1_w));
+ map(M6801_PORT2, M6801_PORT2).rw(FUNC(hx20_state::main_p2_r), FUNC(hx20_state::main_p2_w));
map(M6801_PORT3, M6801_PORT3).noprw(); // A0-A7, D0-D7
map(M6801_PORT4, M6801_PORT4).noprw(); // A8-A15
}
@@ -596,10 +596,10 @@ void hx20_state::hx20_sub_mem(address_map &map)
void hx20_state::hx20_sub_io(address_map &map)
{
- map(M6801_PORT1, M6801_PORT1).rw(this, FUNC(hx20_state::slave_p1_r), FUNC(hx20_state::slave_p1_w));
- map(M6801_PORT2, M6801_PORT2).rw(this, FUNC(hx20_state::slave_p2_r), FUNC(hx20_state::slave_p2_w));
- map(M6801_PORT3, M6801_PORT3).rw(this, FUNC(hx20_state::slave_p3_r), FUNC(hx20_state::slave_p3_w));
- map(M6801_PORT4, M6801_PORT4).rw(this, FUNC(hx20_state::slave_p4_r), FUNC(hx20_state::slave_p4_w));
+ map(M6801_PORT1, M6801_PORT1).rw(FUNC(hx20_state::slave_p1_r), FUNC(hx20_state::slave_p1_w));
+ map(M6801_PORT2, M6801_PORT2).rw(FUNC(hx20_state::slave_p2_r), FUNC(hx20_state::slave_p2_w));
+ map(M6801_PORT3, M6801_PORT3).rw(FUNC(hx20_state::slave_p3_r), FUNC(hx20_state::slave_p3_w));
+ map(M6801_PORT4, M6801_PORT4).rw(FUNC(hx20_state::slave_p4_r), FUNC(hx20_state::slave_p4_w));
}