diff options
Diffstat (limited to 'src/mame/drivers/dunhuang.cpp')
-rw-r--r-- | src/mame/drivers/dunhuang.cpp | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/src/mame/drivers/dunhuang.cpp b/src/mame/drivers/dunhuang.cpp index 28a65424a0a..98a4ca1a19e 100644 --- a/src/mame/drivers/dunhuang.cpp +++ b/src/mame/drivers/dunhuang.cpp @@ -486,28 +486,28 @@ WRITE8_MEMBER(dunhuang_state::rombank_w) void dunhuang_state::dunhuang_io_map(address_map &map) { - map(0x0000, 0x0000).w(this, FUNC(dunhuang_state::pos_x_w)); - map(0x0001, 0x0001).w(this, FUNC(dunhuang_state::pos_y_w)); - map(0x0002, 0x0004).w(this, FUNC(dunhuang_state::tile_w)); - map(0x0005, 0x0007).w(this, FUNC(dunhuang_state::tile2_w)); + map(0x0000, 0x0000).w(FUNC(dunhuang_state::pos_x_w)); + map(0x0001, 0x0001).w(FUNC(dunhuang_state::pos_y_w)); + map(0x0002, 0x0004).w(FUNC(dunhuang_state::tile_w)); + map(0x0005, 0x0007).w(FUNC(dunhuang_state::tile2_w)); - map(0x0008, 0x0008).w(this, FUNC(dunhuang_state::vert_clear_w)); + map(0x0008, 0x0008).w(FUNC(dunhuang_state::vert_clear_w)); map(0x000c, 0x000c).r("watchdog", FUNC(watchdog_timer_device::reset_r)); - map(0x000f, 0x000f).w(this, FUNC(dunhuang_state::block_addr_lo_w)); - map(0x0010, 0x0010).w(this, FUNC(dunhuang_state::block_addr_hi_w)); + map(0x000f, 0x000f).w(FUNC(dunhuang_state::block_addr_lo_w)); + map(0x0010, 0x0010).w(FUNC(dunhuang_state::block_addr_hi_w)); // AM_RANGE( 0x0011, 0x0011 ) ? - map(0x0012, 0x0012).w(this, FUNC(dunhuang_state::block_c_w)); - map(0x0015, 0x0015).w(this, FUNC(dunhuang_state::block_x_w)); - map(0x0016, 0x0016).w(this, FUNC(dunhuang_state::block_y_w)); - map(0x0017, 0x0017).w(this, FUNC(dunhuang_state::block_w_w)); - map(0x0018, 0x0018).w(this, FUNC(dunhuang_state::block_h_w)); + map(0x0012, 0x0012).w(FUNC(dunhuang_state::block_c_w)); + map(0x0015, 0x0015).w(FUNC(dunhuang_state::block_x_w)); + map(0x0016, 0x0016).w(FUNC(dunhuang_state::block_y_w)); + map(0x0017, 0x0017).w(FUNC(dunhuang_state::block_w_w)); + map(0x0018, 0x0018).w(FUNC(dunhuang_state::block_h_w)); - map(0x0019, 0x0019).w(this, FUNC(dunhuang_state::clear_y_w)); - map(0x001a, 0x001a).w(this, FUNC(dunhuang_state::horiz_clear_w)); + map(0x0019, 0x0019).w(FUNC(dunhuang_state::clear_y_w)); + map(0x001a, 0x001a).w(FUNC(dunhuang_state::horiz_clear_w)); - map(0x001b, 0x001b).w(this, FUNC(dunhuang_state::block_dest_w)); + map(0x001b, 0x001b).w(FUNC(dunhuang_state::block_dest_w)); map(0x0081, 0x0081).w("ymsnd", FUNC(ym2413_device::register_port_w)); map(0x0089, 0x0089).w("ymsnd", FUNC(ym2413_device::data_port_w)); @@ -518,11 +518,11 @@ void dunhuang_state::dunhuang_io_map(address_map &map) map(0x008b, 0x008b).w("ramdac", FUNC(ramdac_device::pal_w)); map(0x0093, 0x0093).w("ramdac", FUNC(ramdac_device::mask_w)); - map(0x0084, 0x0084).r(this, FUNC(dunhuang_state::service_r)); - map(0x0085, 0x0085).r(this, FUNC(dunhuang_state::input_r)); + map(0x0084, 0x0084).r(FUNC(dunhuang_state::service_r)); + map(0x0085, 0x0085).r(FUNC(dunhuang_state::input_r)); - map(0x0086, 0x0086).w(this, FUNC(dunhuang_state::rombank_w)); - map(0x0087, 0x0087).w(this, FUNC(dunhuang_state::layers_w)); + map(0x0086, 0x0086).w(FUNC(dunhuang_state::rombank_w)); + map(0x0087, 0x0087).w(FUNC(dunhuang_state::layers_w)); map(0x0088, 0x0088).r("ay8910", FUNC(ay8910_device::data_r)); map(0x0090, 0x0090).w("ay8910", FUNC(ay8910_device::data_w)); |