summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/airraid.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/airraid.cpp')
-rw-r--r--src/mame/drivers/airraid.cpp13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/mame/drivers/airraid.cpp b/src/mame/drivers/airraid.cpp
index c929bb7a1f5..f8ca047b6fa 100644
--- a/src/mame/drivers/airraid.cpp
+++ b/src/mame/drivers/airraid.cpp
@@ -258,19 +258,18 @@ void airraid_state::airraid_map(address_map &map)
map(0xc003, 0xc003).portr("DSW2");
map(0xc004, 0xc004).portr("DSW1");
map(0xc500, 0xc500).w(FUNC(airraid_state::cshooter_c500_w));
-// AM_RANGE(0xc600, 0xc600) AM_WRITE(cshooter_c600_w) // see notes
+// map(0xc600, 0xc600).w(FUNC(airraid_state::cshooter_c600_w)); // see notes
map(0xc700, 0xc700).w(FUNC(airraid_state::cshooter_c700_w));
-// AM_RANGE(0xc801, 0xc801) AM_WRITE(cshooter_c801_w) // see notes
+// map(0xc801, 0xc801).w(FUNC(airraid_state::cshooter_c801_w)); // see notes
map(0xd000, 0xd7ff).ram().w(m_airraid_video, FUNC(airraid_video_device::txram_w)).share("txram");
map(0xd800, 0xd8ff).ram().w(m_palette, FUNC(palette_device::write8)).share("palette");
map(0xda00, 0xdaff).ram().w(m_palette, FUNC(palette_device::write8_ext)).share("palette_ext");
map(0xdc00, 0xdc0f).ram().w(m_airraid_video, FUNC(airraid_video_device::vregs_w)).share("vregs");
-// AM_RANGE(0xdc10, 0xdc10) AM_RAM
+// map(0xdc10, 0xdc10).ram();
map(0xdc11, 0xdc11).w(FUNC(airraid_state::bank_w));
-// AM_RANGE(0xdc19, 0xdc19) AM_RAM
-// AM_RANGE(0xdc1e, 0xdc1e) AM_RAM
-// AM_RANGE(0xdc1f, 0xdc1f) AM_RAM
-
+// map(0xdc19, 0xdc19).ram();
+// map(0xdc1e, 0xdc1e).ram();
+// map(0xdc1f, 0xdc1f).ram();
map(0xde00, 0xde0f).rw(m_seibu_sound, FUNC(seibu_sound_device::main_r), FUNC(seibu_sound_device::main_w));
map(0xe000, 0xfdff).ram().share("mainram");
map(0xfe00, 0xffff).ram().share("sprite_ram");