summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/mstation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/mstation.cpp')
-rw-r--r--src/mame/drivers/mstation.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/mame/drivers/mstation.cpp b/src/mame/drivers/mstation.cpp
index a1a30b0f13e..2f62c2b3ee8 100644
--- a/src/mame/drivers/mstation.cpp
+++ b/src/mame/drivers/mstation.cpp
@@ -261,9 +261,9 @@ void mstation_state::mstation_banked_map(address_map &map)
map(0x0000000, 0x00fffff).mirror(0x0300000).rw("flash0", FUNC(intelfsh8_device::read), FUNC(intelfsh8_device::write));
map(0x0400000, 0x041ffff).mirror(0x03e0000).ram().share("nvram");
map(0x0c00000, 0x0c7ffff).mirror(0x0380000).rw("flash1", FUNC(intelfsh8_device::read), FUNC(intelfsh8_device::write));
- map(0x0800000, 0x0803fff).mirror(0x03fc000).rw(this, FUNC(mstation_state::lcd_left_r), FUNC(mstation_state::lcd_left_w));
- map(0x1000000, 0x1003fff).mirror(0x03fc000).rw(this, FUNC(mstation_state::lcd_right_r), FUNC(mstation_state::lcd_right_w));
- map(0x1400000, 0x1403fff).mirror(0x03fc000).rw(this, FUNC(mstation_state::modem_r), FUNC(mstation_state::modem_w));
+ map(0x0800000, 0x0803fff).mirror(0x03fc000).rw(FUNC(mstation_state::lcd_left_r), FUNC(mstation_state::lcd_left_w));
+ map(0x1000000, 0x1003fff).mirror(0x03fc000).rw(FUNC(mstation_state::lcd_right_r), FUNC(mstation_state::lcd_right_w));
+ map(0x1400000, 0x1403fff).mirror(0x03fc000).rw(FUNC(mstation_state::modem_r), FUNC(mstation_state::modem_w));
}
void mstation_state::mstation_mem(address_map &map)
@@ -277,12 +277,12 @@ void mstation_state::mstation_mem(address_map &map)
void mstation_state::mstation_io(address_map &map)
{
map.global_mask(0xff);
- map(0x01, 0x01).rw(this, FUNC(mstation_state::kb_r), FUNC(mstation_state::kb_w));
- map(0x02, 0x02).w(this, FUNC(mstation_state::port2_w));
- map(0x03, 0x03).rw(this, FUNC(mstation_state::irq_r), FUNC(mstation_state::irq_w));
- map(0x05, 0x06).rw(this, FUNC(mstation_state::bank1_r), FUNC(mstation_state::bank1_w));
- map(0x07, 0x08).rw(this, FUNC(mstation_state::bank2_r), FUNC(mstation_state::bank2_w));
- map(0x09, 0x09).r(this, FUNC(mstation_state::battery_status_r));
+ map(0x01, 0x01).rw(FUNC(mstation_state::kb_r), FUNC(mstation_state::kb_w));
+ map(0x02, 0x02).w(FUNC(mstation_state::port2_w));
+ map(0x03, 0x03).rw(FUNC(mstation_state::irq_r), FUNC(mstation_state::irq_w));
+ map(0x05, 0x06).rw(FUNC(mstation_state::bank1_r), FUNC(mstation_state::bank1_w));
+ map(0x07, 0x08).rw(FUNC(mstation_state::bank2_r), FUNC(mstation_state::bank2_w));
+ map(0x09, 0x09).r(FUNC(mstation_state::battery_status_r));
map(0x10, 0x1f).rw("rtc", FUNC(rp5c01_device::read), FUNC(rp5c01_device::write));
//AM_RANGE( 0x2c, 0x2c ) printer
}