summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/spoker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/spoker.cpp')
-rw-r--r--src/mame/drivers/spoker.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/mame/drivers/spoker.cpp b/src/mame/drivers/spoker.cpp
index 41264a5ec3c..edd9cfea0e2 100644
--- a/src/mame/drivers/spoker.cpp
+++ b/src/mame/drivers/spoker.cpp
@@ -278,15 +278,15 @@ void spoker_state::spoker_portmap(address_map &map)
map(0x0000, 0x003f).ram(); // Z180 internal regs
map(0x2000, 0x23ff).ram().w(m_palette, FUNC(palette_device::write8)).share("palette");
map(0x2400, 0x27ff).ram().w(m_palette, FUNC(palette_device::write8_ext)).share("palette_ext");
- map(0x3000, 0x33ff).ram().w(this, FUNC(spoker_state::bg_tile_w)).share("bg_tile_ram");
- map(0x5000, 0x5fff).ram().w(this, FUNC(spoker_state::fg_tile_w)).share("fg_tile_ram");
+ map(0x3000, 0x33ff).ram().w(FUNC(spoker_state::bg_tile_w)).share("bg_tile_ram");
+ map(0x5000, 0x5fff).ram().w(FUNC(spoker_state::fg_tile_w)).share("fg_tile_ram");
map(0x6480, 0x6483).rw("ppi8255_0", FUNC(i8255_device::read), FUNC(i8255_device::write)); /* NMI and coins (w), service (r), coins (r) */
map(0x6490, 0x6493).rw("ppi8255_1", FUNC(i8255_device::read), FUNC(i8255_device::write)); /* buttons 1 (r), video and leds (w), leds (w) */
map(0x64a0, 0x64a0).portr("BUTTONS2");
map(0x64b0, 0x64b1).w("ymsnd", FUNC(ym2413_device::write));
map(0x64c0, 0x64c0).rw("oki", FUNC(okim6295_device::read), FUNC(okim6295_device::write));
- map(0x64d0, 0x64d1).rw(this, FUNC(spoker_state::magic_r), FUNC(spoker_state::magic_w)); // DSW1-5
- map(0x7000, 0x7fff).ram().w(this, FUNC(spoker_state::fg_color_w)).share("fg_color_ram");
+ map(0x64d0, 0x64d1).rw(FUNC(spoker_state::magic_r), FUNC(spoker_state::magic_w)); // DSW1-5
+ map(0x7000, 0x7fff).ram().w(FUNC(spoker_state::fg_color_w)).share("fg_color_ram");
}
void spoker_state::_3super8_portmap(address_map &map)
@@ -294,14 +294,14 @@ void spoker_state::_3super8_portmap(address_map &map)
// AM_RANGE(0x1000, 0x1fff) AM_WRITENOP
map(0x2000, 0x27ff).ram().w(m_palette, FUNC(palette_device::write8)).share("palette");
map(0x2800, 0x2fff).ram().w(m_palette, FUNC(palette_device::write8_ext)).share("palette_ext");
- map(0x3000, 0x33ff).ram().w(this, FUNC(spoker_state::bg_tile_w)).share("bg_tile_ram");
+ map(0x3000, 0x33ff).ram().w(FUNC(spoker_state::bg_tile_w)).share("bg_tile_ram");
map(0x4000, 0x4000).portr("DSW1");
map(0x4001, 0x4001).portr("DSW2");
map(0x4002, 0x4002).portr("DSW3");
map(0x4003, 0x4003).portr("DSW4");
map(0x4004, 0x4004).portr("DSW5");
// AM_RANGE(0x4000, 0x40ff) AM_WRITENOP
- map(0x5000, 0x5fff).ram().w(this, FUNC(spoker_state::fg_tile_w)).share("fg_tile_ram");
+ map(0x5000, 0x5fff).ram().w(FUNC(spoker_state::fg_tile_w)).share("fg_tile_ram");
// The following one (0x6480) should be output. At beginning of code, there is a PPI initialization
// setting O-I-I for ports ABC. Except these routines are just a leftover from the original game,
@@ -311,10 +311,10 @@ void spoker_state::_3super8_portmap(address_map &map)
map(0x6491, 0x6491).rw("oki", FUNC(okim6295_device::read), FUNC(okim6295_device::write));
map(0x64a0, 0x64a0).portr("IN2");
- map(0x64b0, 0x64b0).w(this, FUNC(spoker_state::leds_w));
+ map(0x64b0, 0x64b0).w(FUNC(spoker_state::leds_w));
map(0x64c0, 0x64c0).nopr(); //irq ack?
- map(0x64f0, 0x64f0).w(this, FUNC(spoker_state::nmi_and_coins_w));
- map(0x7000, 0x7fff).ram().w(this, FUNC(spoker_state::fg_color_w)).share("fg_color_ram");
+ map(0x64f0, 0x64f0).w(FUNC(spoker_state::nmi_and_coins_w));
+ map(0x7000, 0x7fff).ram().w(FUNC(spoker_state::fg_color_w)).share("fg_color_ram");
}