diff options
Diffstat (limited to 'src/mame/drivers/mazerbla.cpp')
-rw-r--r-- | src/mame/drivers/mazerbla.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/mame/drivers/mazerbla.cpp b/src/mame/drivers/mazerbla.cpp index 74d12369ecb..f2c59f75822 100644 --- a/src/mame/drivers/mazerbla.cpp +++ b/src/mame/drivers/mazerbla.cpp @@ -463,22 +463,22 @@ void mazerbla_state::mazerbla_map(address_map &map) { map(0x0000, 0x7fff).rom(); map(0xc000, 0xc7ff).ram().share("share1"); - map(0xd800, 0xd800).r(this, FUNC(mazerbla_state::cfb_zpu_int_req_clr)); + map(0xd800, 0xd800).r(FUNC(mazerbla_state::cfb_zpu_int_req_clr)); map(0xe000, 0xefff).ram().share("nvram"); } void mazerbla_state::mazerbla_io_map(address_map &map) { map.global_mask(0xff); - map(0x4c, 0x4f).rw(this, FUNC(mazerbla_state::ls670_1_r), FUNC(mazerbla_state::ls670_0_w)); - map(0x60, 0x60).w(this, FUNC(mazerbla_state::zpu_bcd_decoder_w)); // AM_READ from protection pal, if populated - map(0x62, 0x62).r(this, FUNC(mazerbla_state::zpu_inputs_r)); + map(0x4c, 0x4f).rw(FUNC(mazerbla_state::ls670_1_r), FUNC(mazerbla_state::ls670_0_w)); + map(0x60, 0x60).w(FUNC(mazerbla_state::zpu_bcd_decoder_w)); // AM_READ from protection pal, if populated + map(0x62, 0x62).r(FUNC(mazerbla_state::zpu_inputs_r)); // 64 is some sort of output latch, unpopulated? // 66 is some sort of output latch, unpopulated? - map(0x68, 0x68).w(this, FUNC(mazerbla_state::zpu_coin_counter_w)); - map(0x6a, 0x6a).w(this, FUNC(mazerbla_state::zpu_lamps_w)); + map(0x68, 0x68).w(FUNC(mazerbla_state::zpu_coin_counter_w)); + map(0x6a, 0x6a).w(FUNC(mazerbla_state::zpu_lamps_w)); // 6c RW is a 6850 acia for communication with another cabinet or debug console? unpopulated? - map(0x6e, 0x6f).w(this, FUNC(mazerbla_state::zpu_led_w)); + map(0x6e, 0x6f).w(FUNC(mazerbla_state::zpu_led_w)); } void mazerbla_state::mazerbla_cpu2_map(address_map &map) @@ -492,9 +492,9 @@ void mazerbla_state::mazerbla_cpu2_map(address_map &map) void mazerbla_state::mazerbla_cpu2_io_map(address_map &map) { map.global_mask(0xff); - map(0x00, 0x00).w(this, FUNC(mazerbla_state::vsb_ls273_audio_control_w)); + map(0x00, 0x00).w(FUNC(mazerbla_state::vsb_ls273_audio_control_w)); map(0x40, 0x41).nopw(); - map(0x80, 0x83).rw(this, FUNC(mazerbla_state::ls670_0_r), FUNC(mazerbla_state::ls670_1_w)); + map(0x80, 0x83).rw(FUNC(mazerbla_state::ls670_0_r), FUNC(mazerbla_state::ls670_1_w)); } void mazerbla_state::mazerbla_cpu3_map(address_map &map) @@ -513,9 +513,9 @@ void mazerbla_state::mazerbla_cpu3_io_map(address_map &map) { map.global_mask(0xff); map(0x01, 0x01).w(m_vcu, FUNC(mb_vcu_device::background_color_w)); - map(0x02, 0x02).r(m_vcu, FUNC(mb_vcu_device::status_r)).w(this, FUNC(mazerbla_state::cfb_led_w)); - map(0x03, 0x03).w(this, FUNC(mazerbla_state::cfb_zpu_int_req_set_w)); - map(0x04, 0x04).w(this, FUNC(mazerbla_state::cfb_rom_bank_sel_w)); + map(0x02, 0x02).r(m_vcu, FUNC(mb_vcu_device::status_r)).w(FUNC(mazerbla_state::cfb_led_w)); + map(0x03, 0x03).w(FUNC(mazerbla_state::cfb_zpu_int_req_set_w)); + map(0x04, 0x04).w(FUNC(mazerbla_state::cfb_rom_bank_sel_w)); map(0x05, 0x05).w(m_vcu, FUNC(mb_vcu_device::vbank_w)); } @@ -530,11 +530,11 @@ void mazerbla_state::greatgun_io_map(address_map &map) { map.global_mask(0xff); map(0x4c, 0x4c).w(m_soundlatch, FUNC(generic_latch_8_device::write)); - map(0x60, 0x60).w(this, FUNC(mazerbla_state::zpu_bcd_decoder_w)); - map(0x62, 0x62).r(this, FUNC(mazerbla_state::zpu_inputs_r)); + map(0x60, 0x60).w(FUNC(mazerbla_state::zpu_bcd_decoder_w)); + map(0x62, 0x62).r(FUNC(mazerbla_state::zpu_inputs_r)); map(0x66, 0x66).nopw(); map(0x68, 0x68).nopw(); - map(0x6e, 0x6f).w(this, FUNC(mazerbla_state::zpu_led_w)); + map(0x6e, 0x6f).w(FUNC(mazerbla_state::zpu_led_w)); } void mazerbla_state::greatgun_sound_map(address_map &map) @@ -544,7 +544,7 @@ void mazerbla_state::greatgun_sound_map(address_map &map) map(0x4000, 0x4000).r("ay1", FUNC(ay8910_device::data_r)); map(0x4000, 0x4001).w("ay1", FUNC(ay8910_device::address_data_w)); map(0x6000, 0x6001).w("ay2", FUNC(ay8910_device::address_data_w)); - map(0x8000, 0x8000).w(this, FUNC(mazerbla_state::sound_int_clear_w)); + map(0x8000, 0x8000).w(FUNC(mazerbla_state::sound_int_clear_w)); map(0xa000, 0xa000).w(m_soundlatch, FUNC(generic_latch_8_device::acknowledge_w)); } |