summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/raiden2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/raiden2.cpp')
-rw-r--r--src/mame/drivers/raiden2.cpp74
1 files changed, 37 insertions, 37 deletions
diff --git a/src/mame/drivers/raiden2.cpp b/src/mame/drivers/raiden2.cpp
index c1d61acb00b..16ac0d40761 100644
--- a/src/mame/drivers/raiden2.cpp
+++ b/src/mame/drivers/raiden2.cpp
@@ -224,10 +224,10 @@ int cnt=0, ccol = -1;
WRITE16_MEMBER(raiden2_state::m_videoram_private_w)
{
- // map(0x0d000, 0x0d7ff).ram().w(this, FUNC(raiden2_state::raiden2_background_w)).share("back_data");
- // map(0x0d800, 0x0dfff).ram().w(this, FUNC(raiden2_state::raiden2_foreground_w).share("fore_data");
- // map(0x0e000, 0x0e7ff).ram().w(this, FUNC(raiden2_state::raiden2_midground_w).share("mid_data");
- // map(0x0e800, 0x0f7ff).ram().w(this, FUNC(raiden2_state::raiden2_text_w).share("text_data");
+ // map(0x0d000, 0x0d7ff).ram().w(FUNC(raiden2_state::raiden2_background_w)).share("back_data");
+ // map(0x0d800, 0x0dfff).ram().w(FUNC(raiden2_state::raiden2_foreground_w).share("fore_data");
+ // map(0x0e000, 0x0e7ff).ram().w(FUNC(raiden2_state::raiden2_midground_w).share("mid_data");
+ // map(0x0e800, 0x0f7ff).ram().w(FUNC(raiden2_state::raiden2_text_w).share("text_data");
if (offset < 0x800 / 2)
{
@@ -913,7 +913,7 @@ void raiden2_state::raiden2_cop_mem(address_map &map)
map(0x00458, 0x00459).w(m_raiden2cop, FUNC(raiden2cop_device::cop_sort_param_w));
map(0x0045a, 0x0045b).w(m_raiden2cop, FUNC(raiden2cop_device::cop_pal_brightness_val_w)); //palette DMA brightness val, used by X Se Dae / Zero Team
map(0x0045c, 0x0045d).w(m_raiden2cop, FUNC(raiden2cop_device::cop_pal_brightness_mode_w)); //palette DMA brightness mode, used by X Se Dae / Zero Team (sets to 5)
- map(0x00470, 0x00471).rw(this, FUNC(raiden2_state::cop_tile_bank_2_r), FUNC(raiden2_state::cop_tile_bank_2_w)); // implementaton of this varies between games, external hookup?
+ map(0x00470, 0x00471).rw(FUNC(raiden2_state::cop_tile_bank_2_r), FUNC(raiden2_state::cop_tile_bank_2_w)); // implementaton of this varies between games, external hookup?
map(0x00476, 0x00477).w(m_raiden2cop, FUNC(raiden2cop_device::cop_dma_adr_rel_w));
map(0x00478, 0x00479).w(m_raiden2cop, FUNC(raiden2cop_device::cop_dma_src_w));
@@ -934,31 +934,31 @@ void raiden2_state::raiden2_cop_mem(address_map &map)
map(0x00600, 0x0063f).rw("crtc", FUNC(seibu_crtc_device::read), FUNC(seibu_crtc_device::write));
//map(0x00640, 0x006bf).rw("obj", FUNC(seibu_encrypted_sprite_device::read), FUNC(seibu_encrypted_sprite_device::write));
- map(0x006a0, 0x006a3).w(this, FUNC(raiden2_state::sprcpt_val_1_w));
- map(0x006a4, 0x006a7).w(this, FUNC(raiden2_state::sprcpt_data_3_w));
- map(0x006a8, 0x006ab).w(this, FUNC(raiden2_state::sprcpt_data_4_w));
- map(0x006ac, 0x006af).w(this, FUNC(raiden2_state::sprcpt_flags_1_w));
- map(0x006b0, 0x006b3).w(this, FUNC(raiden2_state::sprcpt_data_1_w));
- map(0x006b4, 0x006b7).w(this, FUNC(raiden2_state::sprcpt_data_2_w));
- map(0x006b8, 0x006bb).w(this, FUNC(raiden2_state::sprcpt_val_2_w));
- map(0x006bc, 0x006bf).w(this, FUNC(raiden2_state::sprcpt_adr_w));
- map(0x006c0, 0x006c1).rw(this, FUNC(raiden2_state::sprite_prot_off_r), FUNC(raiden2_state::sprite_prot_off_w));
- map(0x006c2, 0x006c3).rw(this, FUNC(raiden2_state::sprite_prot_src_seg_r), FUNC(raiden2_state::sprite_prot_src_seg_w));
+ map(0x006a0, 0x006a3).w(FUNC(raiden2_state::sprcpt_val_1_w));
+ map(0x006a4, 0x006a7).w(FUNC(raiden2_state::sprcpt_data_3_w));
+ map(0x006a8, 0x006ab).w(FUNC(raiden2_state::sprcpt_data_4_w));
+ map(0x006ac, 0x006af).w(FUNC(raiden2_state::sprcpt_flags_1_w));
+ map(0x006b0, 0x006b3).w(FUNC(raiden2_state::sprcpt_data_1_w));
+ map(0x006b4, 0x006b7).w(FUNC(raiden2_state::sprcpt_data_2_w));
+ map(0x006b8, 0x006bb).w(FUNC(raiden2_state::sprcpt_val_2_w));
+ map(0x006bc, 0x006bf).w(FUNC(raiden2_state::sprcpt_adr_w));
+ map(0x006c0, 0x006c1).rw(FUNC(raiden2_state::sprite_prot_off_r), FUNC(raiden2_state::sprite_prot_off_w));
+ map(0x006c2, 0x006c3).rw(FUNC(raiden2_state::sprite_prot_src_seg_r), FUNC(raiden2_state::sprite_prot_src_seg_w));
map(0x006c4, 0x006c5).nopw(); // constant value written along with 0x6c0
- map(0x006c6, 0x006c7).w(this, FUNC(raiden2_state::sprite_prot_dst1_w));
- map(0x006ca, 0x006cb).w(this, FUNC(raiden2_state::raiden2_bank_w));
- map(0x006cc, 0x006cd).w(this, FUNC(raiden2_state::tile_bank_01_w));
- map(0x006ce, 0x006cf).w(this, FUNC(raiden2_state::sprcpt_flags_2_w));
- map(0x006d8, 0x006d9).w(this, FUNC(raiden2_state::sprite_prot_x_w));
- map(0x006da, 0x006db).w(this, FUNC(raiden2_state::sprite_prot_y_w));
- map(0x006dc, 0x006dd).rw(this, FUNC(raiden2_state::sprite_prot_maxx_r), FUNC(raiden2_state::sprite_prot_maxx_w));
- map(0x006de, 0x006df).w(this, FUNC(raiden2_state::sprite_prot_src_w));
+ map(0x006c6, 0x006c7).w(FUNC(raiden2_state::sprite_prot_dst1_w));
+ map(0x006ca, 0x006cb).w(FUNC(raiden2_state::raiden2_bank_w));
+ map(0x006cc, 0x006cd).w(FUNC(raiden2_state::tile_bank_01_w));
+ map(0x006ce, 0x006cf).w(FUNC(raiden2_state::sprcpt_flags_2_w));
+ map(0x006d8, 0x006d9).w(FUNC(raiden2_state::sprite_prot_x_w));
+ map(0x006da, 0x006db).w(FUNC(raiden2_state::sprite_prot_y_w));
+ map(0x006dc, 0x006dd).rw(FUNC(raiden2_state::sprite_prot_maxx_r), FUNC(raiden2_state::sprite_prot_maxx_w));
+ map(0x006de, 0x006df).w(FUNC(raiden2_state::sprite_prot_src_w));
/* end video block */
map(0x006fc, 0x006fd).w(m_raiden2cop, FUNC(raiden2cop_device::cop_dma_trigger_w));
map(0x006fe, 0x006ff).w(m_raiden2cop, FUNC(raiden2cop_device::cop_sort_dma_trig_w)); // sort-DMA trigger
- map(0x00762, 0x00763).r(this, FUNC(raiden2_state::sprite_prot_dst1_r));
+ map(0x00762, 0x00763).r(FUNC(raiden2_state::sprite_prot_dst1_r));
}
void raiden2_state::raiden2_mem(address_map &map)
@@ -984,10 +984,10 @@ void raiden2_state::raiden2_mem(address_map &map)
map(0x00800, 0x0bfff).ram();
map(0x0c000, 0x0cfff).ram().share("sprites");
- map(0x0d000, 0x0d7ff).ram(); // .w(this, FUNC(raiden2_state::raiden2_background_w)).share("back_data");
- map(0x0d800, 0x0dfff).ram(); // .w(this, FUNC(raiden2_state::raiden2_foreground_w).share("fore_data");
- map(0x0e000, 0x0e7ff).ram(); // .w(this, FUNC(raiden2_state::raiden2_midground_w).share("mid_data");
- map(0x0e800, 0x0f7ff).ram(); // .w(this, FUNC(raiden2_state::raiden2_text_w).share("text_data");
+ map(0x0d000, 0x0d7ff).ram(); // .w(FUNC(raiden2_state::raiden2_background_w)).share("back_data");
+ map(0x0d800, 0x0dfff).ram(); // .w(FUNC(raiden2_state::raiden2_foreground_w).share("fore_data");
+ map(0x0e000, 0x0e7ff).ram(); // .w(FUNC(raiden2_state::raiden2_midground_w).share("mid_data");
+ map(0x0e800, 0x0f7ff).ram(); // .w(FUNC(raiden2_state::raiden2_text_w).share("text_data");
map(0x0f800, 0x0ffff).ram(); /* Stack area */
map(0x10000, 0x1efff).ram();
@@ -1001,7 +1001,7 @@ void raiden2_state::raiden2_mem(address_map &map)
void raiden2_state::raidendx_mem(address_map &map)
{
raiden2_mem(map);
- map(0x00470, 0x00471).rw(this, FUNC(raiden2_state::cop_tile_bank_2_r), FUNC(raiden2_state::raidendx_cop_bank_2_w));
+ map(0x00470, 0x00471).rw(FUNC(raiden2_state::cop_tile_bank_2_r), FUNC(raiden2_state::raidendx_cop_bank_2_w));
map(0x004d0, 0x004d7).ram(); //???
map(0x00600, 0x0063f).rw("crtc", FUNC(seibu_crtc_device::read_alt), FUNC(seibu_crtc_device::write_alt));
// map(0x006ca, 0x006cb).nopw();
@@ -1032,10 +1032,10 @@ void raiden2_state::zeroteam_mem(address_map &map)
map(0x0074c, 0x0074d).portr("SYSTEM");
map(0x00800, 0x0b7ff).ram();
- map(0x0b800, 0x0bfff).ram(); // .w(this, FUNC(raiden2_state::raiden2_background_w)).share("back_data");
- map(0x0c000, 0x0c7ff).ram(); // .w(this, FUNC(raiden2_state::raiden2_foreground_w).share("fore_data");
- map(0x0c800, 0x0cfff).ram(); // .w(this, FUNC(raiden2_state::raiden2_midground_w).share("mid_data");
- map(0x0d000, 0x0dfff).ram(); // .w(this, FUNC(raiden2_state::raiden2_text_w).share("text_data");
+ map(0x0b800, 0x0bfff).ram(); // .w(FUNC(raiden2_state::raiden2_background_w)).share("back_data");
+ map(0x0c000, 0x0c7ff).ram(); // .w(FUNC(raiden2_state::raiden2_foreground_w).share("fore_data");
+ map(0x0c800, 0x0cfff).ram(); // .w(FUNC(raiden2_state::raiden2_midground_w).share("mid_data");
+ map(0x0d000, 0x0dfff).ram(); // .w(FUNC(raiden2_state::raiden2_text_w).share("text_data");
map(0x0e000, 0x0efff).ram(); // .w("palette", palette_device, write).share("palette");
map(0x0f000, 0x0ffff).ram().share("sprites");
map(0x10000, 0x1ffff).ram();
@@ -1070,10 +1070,10 @@ void raiden2_state::xsedae_mem(address_map &map)
map(0x0074c, 0x0074d).portr("SYSTEM");
map(0x00800, 0x0b7ff).ram();
- map(0x0b800, 0x0bfff).ram(); // .w(this, FUNC(raiden2_state::raiden2_background_w)).share("back_data");
- map(0x0c000, 0x0c7ff).ram(); // .w(this, FUNC(raiden2_state::raiden2_foreground_w).share("fore_data");
- map(0x0c800, 0x0cfff).ram(); // .w(this, FUNC(raiden2_state::raiden2_midground_w).share("mid_data");
- map(0x0d000, 0x0dfff).ram(); // .w(this, FUNC(raiden2_state::raiden2_text_w).share("text_data");
+ map(0x0b800, 0x0bfff).ram(); // .w(FUNC(raiden2_state::raiden2_background_w)).share("back_data");
+ map(0x0c000, 0x0c7ff).ram(); // .w(FUNC(raiden2_state::raiden2_foreground_w).share("fore_data");
+ map(0x0c800, 0x0cfff).ram(); // .w(FUNC(raiden2_state::raiden2_midground_w).share("mid_data");
+ map(0x0d000, 0x0dfff).ram(); // .w(FUNC(raiden2_state::raiden2_text_w).share("text_data");
map(0x0e000, 0x0efff).ram(); // .w("palette", palette_device, write).share("palette");
map(0x0f000, 0x0ffff).ram().share("sprites");