diff options
Diffstat (limited to 'src/mame/drivers/40love.cpp')
-rw-r--r-- | src/mame/drivers/40love.cpp | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/src/mame/drivers/40love.cpp b/src/mame/drivers/40love.cpp index c4f347ea1b4..565b2fdaa4c 100644 --- a/src/mame/drivers/40love.cpp +++ b/src/mame/drivers/40love.cpp @@ -331,27 +331,27 @@ void fortyl_state::_40love_map(address_map &map) map(0x0000, 0x7fff).rom(); map(0x8000, 0x87ff).ram(); /* M5517P on main board */ map(0x8800, 0x8800).rw(m_bmcu, FUNC(taito68705_mcu_device::data_r), FUNC(taito68705_mcu_device::data_w)); - map(0x8801, 0x8801).rw(this, FUNC(fortyl_state::fortyl_mcu_status_r), FUNC(fortyl_state::pix1_mcu_w)); //pixel layer related - map(0x8802, 0x8802).w(this, FUNC(fortyl_state::bank_select_w)); - map(0x8803, 0x8803).rw(this, FUNC(fortyl_state::pix2_r), FUNC(fortyl_state::pix2_w)); //pixel layer related + map(0x8801, 0x8801).rw(FUNC(fortyl_state::fortyl_mcu_status_r), FUNC(fortyl_state::pix1_mcu_w)); //pixel layer related + map(0x8802, 0x8802).w(FUNC(fortyl_state::bank_select_w)); + map(0x8803, 0x8803).rw(FUNC(fortyl_state::pix2_r), FUNC(fortyl_state::pix2_w)); //pixel layer related map(0x8804, 0x8804).r(m_soundlatch2, FUNC(generic_latch_8_device::read)); map(0x8804, 0x8804).w("soundlatch", FUNC(generic_latch_8_device::write)); - map(0x8805, 0x8805).r(this, FUNC(fortyl_state::snd_flag_r)).nopw(); /*sound_reset*/ //???? + map(0x8805, 0x8805).r(FUNC(fortyl_state::snd_flag_r)).nopw(); /*sound_reset*/ //???? map(0x8807, 0x8807).nopr(); /* unknown */ map(0x8808, 0x8808).portr("DSW3"); map(0x8809, 0x8809).portr("P1"); map(0x880a, 0x880a).portr("SYSTEM"); map(0x880b, 0x880b).portr("P2"); - map(0x880c, 0x880c).portr("DSW1").w(this, FUNC(fortyl_state::fortyl_pixram_sel_w)); /* pixram bank select */ + map(0x880c, 0x880c).portr("DSW1").w(FUNC(fortyl_state::fortyl_pixram_sel_w)); /* pixram bank select */ map(0x880d, 0x880d).portr("DSW2").nopw(); /* unknown */ - map(0x9000, 0x97ff).rw(this, FUNC(fortyl_state::fortyl_bg_videoram_r), FUNC(fortyl_state::fortyl_bg_videoram_w)).share("videoram"); /* #1 M5517P on video board */ + map(0x9000, 0x97ff).rw(FUNC(fortyl_state::fortyl_bg_videoram_r), FUNC(fortyl_state::fortyl_bg_videoram_w)).share("videoram"); /* #1 M5517P on video board */ map(0x9800, 0x983f).ram().share("video_ctrl"); /* video control area */ map(0x9840, 0x987f).ram().share("spriteram"); /* sprites part 1 */ - map(0x9880, 0x98bf).rw(this, FUNC(fortyl_state::fortyl_bg_colorram_r), FUNC(fortyl_state::fortyl_bg_colorram_w)).share("colorram"); /* background attributes (2 bytes per line) */ + map(0x9880, 0x98bf).rw(FUNC(fortyl_state::fortyl_bg_colorram_r), FUNC(fortyl_state::fortyl_bg_colorram_w)).share("colorram"); /* background attributes (2 bytes per line) */ map(0x98c0, 0x98ff).ram().share("spriteram2");/* sprites part 2 */ map(0xa000, 0xbfff).bankr("bank1"); //AM_RANGE(0xbf00, 0xbfff) writes here when zooms-in/out, left-over or pixel line clearance? - map(0xc000, 0xffff).rw(this, FUNC(fortyl_state::fortyl_pixram_r), FUNC(fortyl_state::fortyl_pixram_w)); /* banked pixel layer */ + map(0xc000, 0xffff).rw(FUNC(fortyl_state::fortyl_pixram_r), FUNC(fortyl_state::fortyl_pixram_w)); /* banked pixel layer */ } void fortyl_state::undoukai_map(address_map &map) @@ -360,25 +360,25 @@ void fortyl_state::undoukai_map(address_map &map) map(0x8000, 0x9fff).bankr("bank1"); map(0xa000, 0xa7ff).ram().share("mcu_ram"); /* M5517P on main board */ map(0xa800, 0xa800).rw(m_bmcu, FUNC(taito68705_mcu_device::data_r), FUNC(taito68705_mcu_device::data_w)); - map(0xa801, 0xa801).rw(this, FUNC(fortyl_state::fortyl_mcu_status_r), FUNC(fortyl_state::pix1_w)); //pixel layer related - map(0xa802, 0xa802).w(this, FUNC(fortyl_state::bank_select_w)); - map(0xa803, 0xa803).rw(this, FUNC(fortyl_state::pix2_r), FUNC(fortyl_state::pix2_w)); //pixel layer related + map(0xa801, 0xa801).rw(FUNC(fortyl_state::fortyl_mcu_status_r), FUNC(fortyl_state::pix1_w)); //pixel layer related + map(0xa802, 0xa802).w(FUNC(fortyl_state::bank_select_w)); + map(0xa803, 0xa803).rw(FUNC(fortyl_state::pix2_r), FUNC(fortyl_state::pix2_w)); //pixel layer related map(0xa804, 0xa804).r(m_soundlatch2, FUNC(generic_latch_8_device::read)); map(0xa804, 0xa804).w("soundlatch", FUNC(generic_latch_8_device::write)); - map(0xa805, 0xa805).r(this, FUNC(fortyl_state::snd_flag_r)).nopw(); /*sound_reset*/ //???? + map(0xa805, 0xa805).r(FUNC(fortyl_state::snd_flag_r)).nopw(); /*sound_reset*/ //???? map(0xa807, 0xa807).nopr().nopw(); /* unknown */ map(0xa808, 0xa808).portr("DSW3"); map(0xa809, 0xa809).portr("P1"); map(0xa80a, 0xa80a).portr("SYSTEM"); map(0xa80b, 0xa80b).portr("P2"); - map(0xa80c, 0xa80c).portr("DSW1").w(this, FUNC(fortyl_state::fortyl_pixram_sel_w)); /* pixram bank select */ + map(0xa80c, 0xa80c).portr("DSW1").w(FUNC(fortyl_state::fortyl_pixram_sel_w)); /* pixram bank select */ map(0xa80d, 0xa80d).portr("DSW2").nopw(); /* unknown */ - map(0xb000, 0xb7ff).rw(this, FUNC(fortyl_state::fortyl_bg_videoram_r), FUNC(fortyl_state::fortyl_bg_videoram_w)).share("videoram"); /* #1 M5517P on video board */ + map(0xb000, 0xb7ff).rw(FUNC(fortyl_state::fortyl_bg_videoram_r), FUNC(fortyl_state::fortyl_bg_videoram_w)).share("videoram"); /* #1 M5517P on video board */ map(0xb800, 0xb83f).ram().share("video_ctrl"); /* video control area */ map(0xb840, 0xb87f).ram().share("spriteram"); /* sprites part 1 */ - map(0xb880, 0xb8bf).rw(this, FUNC(fortyl_state::fortyl_bg_colorram_r), FUNC(fortyl_state::fortyl_bg_colorram_w)).share("colorram"); /* background attributes (2 bytes per line) */ + map(0xb880, 0xb8bf).rw(FUNC(fortyl_state::fortyl_bg_colorram_r), FUNC(fortyl_state::fortyl_bg_colorram_w)).share("colorram"); /* background attributes (2 bytes per line) */ map(0xb8e0, 0xb8ff).ram().share("spriteram2"); /* sprites part 2 */ - map(0xc000, 0xffff).rw(this, FUNC(fortyl_state::fortyl_pixram_r), FUNC(fortyl_state::fortyl_pixram_w)); + map(0xc000, 0xffff).rw(FUNC(fortyl_state::fortyl_pixram_r), FUNC(fortyl_state::fortyl_pixram_w)); } WRITE8_MEMBER(fortyl_state::sound_control_0_w) @@ -429,14 +429,14 @@ void fortyl_state::sound_map(address_map &map) map(0xc000, 0xc7ff).ram(); map(0xc800, 0xc801).w(m_ay, FUNC(ay8910_device::address_data_w)); map(0xca00, 0xca0d).w(m_msm, FUNC(msm5232_device::write)); - map(0xcc00, 0xcc00).w(this, FUNC(fortyl_state::sound_control_0_w)); - map(0xce00, 0xce00).w(this, FUNC(fortyl_state::sound_control_1_w)); + map(0xcc00, 0xcc00).w(FUNC(fortyl_state::sound_control_0_w)); + map(0xce00, 0xce00).w(FUNC(fortyl_state::sound_control_1_w)); map(0xd800, 0xd800).r("soundlatch", FUNC(generic_latch_8_device::read)); map(0xd800, 0xd800).w(m_soundlatch2, FUNC(generic_latch_8_device::write)); map(0xda00, 0xda00).nopr(); // unknown read map(0xda00, 0xda00).w("soundnmi", FUNC(input_merger_device::in_set<1>)); // enable NMI map(0xdc00, 0xdc00).w("soundnmi", FUNC(input_merger_device::in_clear<1>)); // disable NMI - map(0xde00, 0xde00).nopr().w("dac", FUNC(dac_byte_interface::write)); /* signed 8-bit DAC - unknown read */ + map(0xde00, 0xde00).nopr().w("dac", FUNC(dac_byte_interface::data_w)); /* signed 8-bit DAC - unknown read */ map(0xe000, 0xefff).rom(); /* space for diagnostics ROM */ } |