diff options
Diffstat (limited to 'src/mame/drivers/midas.cpp')
-rw-r--r-- | src/mame/drivers/midas.cpp | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/src/mame/drivers/midas.cpp b/src/mame/drivers/midas.cpp index a9175b6a004..e0624bbc24d 100644 --- a/src/mame/drivers/midas.cpp +++ b/src/mame/drivers/midas.cpp @@ -205,27 +205,27 @@ void midas_state::livequiz_map(address_map &map) map(0x940000, 0x940001).portr("PLAYER2"); map(0x980000, 0x980001).portr("START"); - map(0x980000, 0x980001).w(this, FUNC(midas_state::livequiz_coin_w)); + map(0x980000, 0x980001).w(FUNC(midas_state::livequiz_coin_w)); - map(0x9a0000, 0x9a0001).w(this, FUNC(midas_state::midas_eeprom_w)); + map(0x9a0000, 0x9a0001).w(FUNC(midas_state::midas_eeprom_w)); - map(0x9c0000, 0x9c0005).w(this, FUNC(midas_state::midas_gfxregs_w)); + map(0x9c0000, 0x9c0005).w(FUNC(midas_state::midas_gfxregs_w)); map(0x9c000c, 0x9c000d).nopw(); // IRQ Ack, temporary map(0xa00000, 0xa3ffff).ram().w(m_palette, FUNC(palette_device::write16)).share("palette"); map(0xa40000, 0xa7ffff).ram(); - map(0xb00000, 0xb00001).r(this, FUNC(midas_state::ret_ffff)); - map(0xb20000, 0xb20001).r(this, FUNC(midas_state::ret_ffff)); - map(0xb40000, 0xb40001).r(this, FUNC(midas_state::ret_ffff)); - map(0xb60000, 0xb60001).r(this, FUNC(midas_state::ret_ffff)); + map(0xb00000, 0xb00001).r(FUNC(midas_state::ret_ffff)); + map(0xb20000, 0xb20001).r(FUNC(midas_state::ret_ffff)); + map(0xb40000, 0xb40001).r(FUNC(midas_state::ret_ffff)); + map(0xb60000, 0xb60001).r(FUNC(midas_state::ret_ffff)); map(0xb80008, 0xb8000b).rw("ymz", FUNC(ymz280b_device::read), FUNC(ymz280b_device::write)).umask16(0x00ff); map(0xba0000, 0xba0001).portr("START3"); map(0xbc0000, 0xbc0001).portr("PLAYER3"); - map(0xd00000, 0xd1ffff).ram().w(this, FUNC(midas_state::midas_zoomtable_w)).share("zoomtable"); // zoom table? + map(0xd00000, 0xd1ffff).ram().w(FUNC(midas_state::midas_zoomtable_w)).share("zoomtable"); // zoom table? map(0xe00000, 0xe3ffff).ram(); } @@ -277,31 +277,31 @@ void midas_state::hammer_map(address_map &map) map(0x940000, 0x940001).portr("IN0"); map(0x980000, 0x980001).portr("TILT"); - map(0x980000, 0x980001).w(this, FUNC(midas_state::hammer_coin_w)); + map(0x980000, 0x980001).w(FUNC(midas_state::hammer_coin_w)); - map(0x9a0000, 0x9a0001).w(this, FUNC(midas_state::midas_eeprom_w)); + map(0x9a0000, 0x9a0001).w(FUNC(midas_state::midas_eeprom_w)); - map(0x9c0000, 0x9c0005).w(this, FUNC(midas_state::midas_gfxregs_w)); + map(0x9c0000, 0x9c0005).w(FUNC(midas_state::midas_gfxregs_w)); map(0x9c000c, 0x9c000d).nopw(); // IRQ Ack, temporary map(0xa00000, 0xa3ffff).ram().w(m_palette, FUNC(palette_device::write16)).share("palette"); map(0xa40000, 0xa7ffff).ram(); - map(0xb00000, 0xb00001).r(this, FUNC(midas_state::ret_ffff)); - map(0xb20000, 0xb20001).r(this, FUNC(midas_state::ret_ffff)); - map(0xb40000, 0xb40001).r(this, FUNC(midas_state::ret_ffff)); - map(0xb60000, 0xb60001).r(this, FUNC(midas_state::ret_ffff)); + map(0xb00000, 0xb00001).r(FUNC(midas_state::ret_ffff)); + map(0xb20000, 0xb20001).r(FUNC(midas_state::ret_ffff)); + map(0xb40000, 0xb40001).r(FUNC(midas_state::ret_ffff)); + map(0xb60000, 0xb60001).r(FUNC(midas_state::ret_ffff)); map(0xb80008, 0xb8000b).rw("ymz", FUNC(ymz280b_device::read), FUNC(ymz280b_device::write)).umask16(0x00ff); map(0xba0000, 0xba0001).portr("IN1"); map(0xbc0000, 0xbc0001).portr("HAMMER"); - map(0xbc0002, 0xbc0003).w(this, FUNC(midas_state::hammer_motor_w)); + map(0xbc0002, 0xbc0003).w(FUNC(midas_state::hammer_motor_w)); - map(0xbc0004, 0xbc0005).r(this, FUNC(midas_state::hammer_sensor_r)); + map(0xbc0004, 0xbc0005).r(FUNC(midas_state::hammer_sensor_r)); - map(0xd00000, 0xd1ffff).ram().w(this, FUNC(midas_state::midas_zoomtable_w)).share("zoomtable"); // zoom table? + map(0xd00000, 0xd1ffff).ram().w(FUNC(midas_state::midas_zoomtable_w)).share("zoomtable"); // zoom table? map(0xe00000, 0xe3ffff).ram(); } |