summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/astrcorp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/astrcorp.cpp')
-rw-r--r--src/mame/drivers/astrcorp.cpp44
1 files changed, 22 insertions, 22 deletions
diff --git a/src/mame/drivers/astrcorp.cpp b/src/mame/drivers/astrcorp.cpp
index 35954a5afa1..1a59fface44 100644
--- a/src/mame/drivers/astrcorp.cpp
+++ b/src/mame/drivers/astrcorp.cpp
@@ -321,16 +321,16 @@ void astrocorp_state::showhand_map(address_map &map)
{
map(0x000000, 0x01ffff).rom();
map(0x050000, 0x050fff).ram().share("spriteram");
- map(0x052000, 0x052001).w(this, FUNC(astrocorp_state::astrocorp_draw_sprites_w));
+ map(0x052000, 0x052001).w(FUNC(astrocorp_state::astrocorp_draw_sprites_w));
map(0x054000, 0x054001).portr("INPUTS");
- map(0x058000, 0x058001).w(this, FUNC(astrocorp_state::astrocorp_eeprom_w));
- map(0x05a000, 0x05a001).w(this, FUNC(astrocorp_state::showhand_outputs_w));
+ map(0x058000, 0x058001).w(FUNC(astrocorp_state::astrocorp_eeprom_w));
+ map(0x05a000, 0x05a001).w(FUNC(astrocorp_state::showhand_outputs_w));
map(0x05e000, 0x05e001).portr("EEPROMIN");
map(0x060000, 0x0601ff).ram().w(m_palette, FUNC(palette_device::write16)).share("palette");
map(0x070000, 0x073fff).ram().share("nvram"); // battery
- map(0x080000, 0x080001).w(this, FUNC(astrocorp_state::astrocorp_sound_bank_w));
- map(0x0a0000, 0x0a0001).w(this, FUNC(astrocorp_state::astrocorp_screen_enable_w));
- map(0x0d0000, 0x0d0001).r(this, FUNC(astrocorp_state::astrocorp_unk_r));
+ map(0x080000, 0x080001).w(FUNC(astrocorp_state::astrocorp_sound_bank_w));
+ map(0x0a0000, 0x0a0001).w(FUNC(astrocorp_state::astrocorp_screen_enable_w));
+ map(0x0d0000, 0x0d0001).r(FUNC(astrocorp_state::astrocorp_unk_r));
map(0x0d0000, 0x0d0000).w(m_oki, FUNC(okim6295_device::write));
}
@@ -338,16 +338,16 @@ void astrocorp_state::showhanc_map(address_map &map)
{
map(0x000000, 0x01ffff).rom();
map(0x060000, 0x0601ff).ram().w(m_palette, FUNC(palette_device::write16)).share("palette");
- map(0x070000, 0x070001).w(this, FUNC(astrocorp_state::astrocorp_sound_bank_w));
+ map(0x070000, 0x070001).w(FUNC(astrocorp_state::astrocorp_sound_bank_w));
map(0x080000, 0x080fff).ram().share("spriteram");
- map(0x082000, 0x082001).w(this, FUNC(astrocorp_state::astrocorp_draw_sprites_w));
+ map(0x082000, 0x082001).w(FUNC(astrocorp_state::astrocorp_draw_sprites_w));
map(0x084000, 0x084001).portr("INPUTS");
- map(0x088000, 0x088001).w(this, FUNC(astrocorp_state::astrocorp_eeprom_w));
- map(0x08a000, 0x08a001).w(this, FUNC(astrocorp_state::showhand_outputs_w));
+ map(0x088000, 0x088001).w(FUNC(astrocorp_state::astrocorp_eeprom_w));
+ map(0x08a000, 0x08a001).w(FUNC(astrocorp_state::showhand_outputs_w));
map(0x08e000, 0x08e001).portr("EEPROMIN");
map(0x090000, 0x093fff).ram().share("nvram"); // battery
- map(0x0a0000, 0x0a0001).w(this, FUNC(astrocorp_state::astrocorp_screen_enable_w));
- map(0x0e0000, 0x0e0001).r(this, FUNC(astrocorp_state::astrocorp_unk_r));
+ map(0x0a0000, 0x0a0001).w(FUNC(astrocorp_state::astrocorp_screen_enable_w));
+ map(0x0e0000, 0x0e0001).r(FUNC(astrocorp_state::astrocorp_unk_r));
map(0x0e0000, 0x0e0000).w(m_oki, FUNC(okim6295_device::write));
}
@@ -355,15 +355,15 @@ void astrocorp_state::skilldrp_map(address_map &map)
{
map(0x000000, 0x03ffff).rom();
map(0x200000, 0x200fff).ram().share("spriteram");
- map(0x202000, 0x202001).w(this, FUNC(astrocorp_state::astrocorp_draw_sprites_w));
+ map(0x202000, 0x202001).w(FUNC(astrocorp_state::astrocorp_draw_sprites_w));
map(0x204000, 0x204001).portr("INPUTS");
- map(0x208000, 0x208001).w(this, FUNC(astrocorp_state::astrocorp_eeprom_w));
- map(0x20a000, 0x20a001).w(this, FUNC(astrocorp_state::skilldrp_outputs_w));
+ map(0x208000, 0x208001).w(FUNC(astrocorp_state::astrocorp_eeprom_w));
+ map(0x20a000, 0x20a001).w(FUNC(astrocorp_state::skilldrp_outputs_w));
map(0x20e000, 0x20e001).portr("EEPROMIN");
map(0x380000, 0x3801ff).ram().w(m_palette, FUNC(palette_device::write16)).share("palette");
- map(0x400000, 0x400001).w(this, FUNC(astrocorp_state::astrocorp_screen_enable_w));
+ map(0x400000, 0x400001).w(FUNC(astrocorp_state::astrocorp_screen_enable_w));
map(0x500000, 0x507fff).ram().share("nvram"); // battery
- map(0x580000, 0x580001).w(this, FUNC(astrocorp_state::skilldrp_sound_bank_w));
+ map(0x580000, 0x580001).w(FUNC(astrocorp_state::skilldrp_sound_bank_w));
map(0x600001, 0x600001).rw(m_oki, FUNC(okim6295_device::read), FUNC(okim6295_device::write));
}
@@ -372,14 +372,14 @@ void astrocorp_state::speeddrp_map(address_map &map)
map(0x000000, 0x01ffff).rom();
map(0x280000, 0x283fff).ram().share("nvram"); // battery
map(0x380000, 0x380fff).ram().share("spriteram");
- map(0x382000, 0x382001).w(this, FUNC(astrocorp_state::astrocorp_draw_sprites_w));
+ map(0x382000, 0x382001).w(FUNC(astrocorp_state::astrocorp_draw_sprites_w));
map(0x384000, 0x384001).portr("INPUTS");
- map(0x388000, 0x388001).w(this, FUNC(astrocorp_state::astrocorp_eeprom_w));
- map(0x38a000, 0x38a001).w(this, FUNC(astrocorp_state::skilldrp_outputs_w));
+ map(0x388000, 0x388001).w(FUNC(astrocorp_state::astrocorp_eeprom_w));
+ map(0x38a000, 0x38a001).w(FUNC(astrocorp_state::skilldrp_outputs_w));
map(0x38e000, 0x38e001).portr("EEPROMIN");
map(0x480000, 0x4801ff).ram().w(m_palette, FUNC(palette_device::write16)).share("palette");
- map(0x500000, 0x500001).w(this, FUNC(astrocorp_state::astrocorp_screen_enable_w));
- map(0x580000, 0x580001).w(this, FUNC(astrocorp_state::skilldrp_sound_bank_w));
+ map(0x500000, 0x500001).w(FUNC(astrocorp_state::astrocorp_screen_enable_w));
+ map(0x580000, 0x580001).w(FUNC(astrocorp_state::skilldrp_sound_bank_w));
map(0x600001, 0x600001).rw(m_oki, FUNC(okim6295_device::read), FUNC(okim6295_device::write));
}