summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/glasgow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/glasgow.cpp')
-rw-r--r--src/mame/drivers/glasgow.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/mame/drivers/glasgow.cpp b/src/mame/drivers/glasgow.cpp
index 302a6c128ae..5ba5be5176f 100644
--- a/src/mame/drivers/glasgow.cpp
+++ b/src/mame/drivers/glasgow.cpp
@@ -230,9 +230,9 @@ void glasgow_state::glasgow_mem(address_map &map)
{
map.global_mask(0x1ffff);
map(0x000000, 0x00ffff).rom();
- map(0x010000, 0x010000).w(this, FUNC(glasgow_state::glasgow_lcd_w));
- map(0x010002, 0x010002).rw(this, FUNC(glasgow_state::glasgow_keys_r), FUNC(glasgow_state::glasgow_keys_w));
- map(0x010004, 0x010004).w(this, FUNC(glasgow_state::glasgow_lcd_flag_w));
+ map(0x010000, 0x010000).w(FUNC(glasgow_state::glasgow_lcd_w));
+ map(0x010002, 0x010002).rw(FUNC(glasgow_state::glasgow_keys_r), FUNC(glasgow_state::glasgow_keys_w));
+ map(0x010004, 0x010004).w(FUNC(glasgow_state::glasgow_lcd_flag_w));
map(0x010006, 0x010006).rw("board", FUNC(mephisto_board_device::input_r), FUNC(mephisto_board_device::led_w));
map(0x010008, 0x010008).w("board", FUNC(mephisto_board_device::mux_w));
map(0x01c000, 0x01ffff).ram(); // 16KB
@@ -242,12 +242,12 @@ void amsterd_state::amsterd_mem(address_map &map)
{
// ADDRESS_MAP_GLOBAL_MASK(0x7FFFF)
map(0x000000, 0x00ffff).rom();
- map(0x800002, 0x800002).w(this, FUNC(amsterd_state::write_lcd));
- map(0x800008, 0x800008).w(this, FUNC(amsterd_state::write_lcd_flag));
- map(0x800004, 0x800004).w(this, FUNC(amsterd_state::write_beeper));
- map(0x800010, 0x800010).w(this, FUNC(amsterd_state::write_board));
+ map(0x800002, 0x800002).w(FUNC(amsterd_state::write_lcd));
+ map(0x800008, 0x800008).w(FUNC(amsterd_state::write_lcd_flag));
+ map(0x800004, 0x800004).w(FUNC(amsterd_state::write_beeper));
+ map(0x800010, 0x800010).w(FUNC(amsterd_state::write_board));
map(0x800020, 0x800020).r("board", FUNC(mephisto_board_device::input_r));
- map(0x800040, 0x800040).r(this, FUNC(amsterd_state::read_newkeys));
+ map(0x800040, 0x800040).r(FUNC(amsterd_state::read_newkeys));
map(0x800088, 0x800088).w("board", FUNC(mephisto_board_device::led_w));
map(0xffc000, 0xffffff).ram(); // 16KB
}
@@ -257,12 +257,12 @@ void amsterd_state::dallas32_mem(address_map &map)
// ADDRESS_MAP_GLOBAL_MASK(0x1FFFF)
map(0x000000, 0x00ffff).rom();
map(0x010000, 0x01ffff).ram(); // 64KB
- map(0x800002, 0x800002).w(this, FUNC(amsterd_state::write_lcd32));
- map(0x800004, 0x800004).w(this, FUNC(amsterd_state::write_beeper));
- map(0x800008, 0x800008).w(this, FUNC(amsterd_state::write_lcd_flag));
- map(0x800010, 0x800010).w(this, FUNC(amsterd_state::write_board));
+ map(0x800002, 0x800002).w(FUNC(amsterd_state::write_lcd32));
+ map(0x800004, 0x800004).w(FUNC(amsterd_state::write_beeper));
+ map(0x800008, 0x800008).w(FUNC(amsterd_state::write_lcd_flag));
+ map(0x800010, 0x800010).w(FUNC(amsterd_state::write_board));
map(0x800020, 0x800020).r("board", FUNC(mephisto_board_device::input_r));
- map(0x800040, 0x800040).r(this, FUNC(amsterd_state::read_newkeys));
+ map(0x800040, 0x800040).r(FUNC(amsterd_state::read_newkeys));
map(0x800088, 0x800088).w("board", FUNC(mephisto_board_device::led_w));
}