diff options
author | Vas Crabb <vas@vastheman.com> | 2018-06-08 01:29:39 +1000 |
---|---|---|
committer | Vas Crabb <vas@vastheman.com> | 2018-06-08 01:29:39 +1000 |
commit | 93eaa6a4943ade6513257a740fcde97ca9468559 (patch) | |
tree | 1340f2160a7064a839b7ca649b2257489cdd3d6d /src/mame/drivers/spool99.cpp | |
parent | fafafe7050e4d04230656215b840ac53aad081e7 (diff) |
as if millions of this pointers suddenly cried out in terror, and were suddenly silenced
* streamline templates in addrmap.h
* get rid of overloads on read/write member names - this will become even more important in the near future
Diffstat (limited to 'src/mame/drivers/spool99.cpp')
-rw-r--r-- | src/mame/drivers/spool99.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/mame/drivers/spool99.cpp b/src/mame/drivers/spool99.cpp index fd30bf607be..a7ffc30b7bb 100644 --- a/src/mame/drivers/spool99.cpp +++ b/src/mame/drivers/spool99.cpp @@ -233,17 +233,17 @@ void spool99_state::spool99_map(address_map &map) { map(0x0000, 0x00ff).ram().share("mainram"); map(0x0100, 0xaeff).rom().region("maincpu", 0x100).nopw(); - map(0xaf00, 0xafff).r(this, FUNC(spool99_state::spool99_io_r)); - map(0xafed, 0xafed).w(this, FUNC(spool99_state::eeprom_resetline_w)); - map(0xafee, 0xafee).w(this, FUNC(spool99_state::eeprom_clockline_w)); - map(0xafef, 0xafef).w(this, FUNC(spool99_state::eeprom_dataline_w)); + map(0xaf00, 0xafff).r(FUNC(spool99_state::spool99_io_r)); + map(0xafed, 0xafed).w(FUNC(spool99_state::eeprom_resetline_w)); + map(0xafee, 0xafee).w(FUNC(spool99_state::eeprom_clockline_w)); + map(0xafef, 0xafef).w(FUNC(spool99_state::eeprom_dataline_w)); map(0xaff8, 0xaff8).w(m_oki, FUNC(okim6295_device::write)); map(0xb000, 0xb3ff).ram().w("palette", FUNC(palette_device::write8)).share("palette"); map(0xb800, 0xdfff).ram(); - map(0xe000, 0xefff).ram().w(this, FUNC(spool99_state::vram_w)).share("vram"); - map(0xf000, 0xffff).ram().w(this, FUNC(spool99_state::cram_w)).share("cram"); + map(0xe000, 0xefff).ram().w(FUNC(spool99_state::vram_w)).share("vram"); + map(0xf000, 0xffff).ram().w(FUNC(spool99_state::cram_w)).share("cram"); } READ8_MEMBER(spool99_state::vcarn_io_r) @@ -280,18 +280,18 @@ void spool99_state::vcarn_map(address_map &map) { map(0x0000, 0x00ff).ram().share("mainram"); map(0x0100, 0xa6ff).rom().region("maincpu", 0x100).nopw(); - map(0xa700, 0xa7ff).r(this, FUNC(spool99_state::vcarn_io_r)); - map(0xa745, 0xa745).w(this, FUNC(spool99_state::eeprom_resetline_w)); - map(0xa746, 0xa746).w(this, FUNC(spool99_state::eeprom_clockline_w)); - map(0xa747, 0xa747).w(this, FUNC(spool99_state::eeprom_dataline_w)); + map(0xa700, 0xa7ff).r(FUNC(spool99_state::vcarn_io_r)); + map(0xa745, 0xa745).w(FUNC(spool99_state::eeprom_resetline_w)); + map(0xa746, 0xa746).w(FUNC(spool99_state::eeprom_clockline_w)); + map(0xa747, 0xa747).w(FUNC(spool99_state::eeprom_dataline_w)); map(0xa780, 0xa780).w(m_oki, FUNC(okim6295_device::write)); map(0xa800, 0xabff).ram().w("palette", FUNC(palette_device::write8)).share("palette"); map(0xb000, 0xdfff).ram(); // AM_RANGE(0xdf00, 0xdfff) AM_READWRITE(vcarn_io_r,vcarn_io_w) AM_SHARE("vcarn_io") - map(0xe000, 0xefff).ram().w(this, FUNC(spool99_state::vram_w)).share("vram"); - map(0xf000, 0xffff).ram().w(this, FUNC(spool99_state::cram_w)).share("cram"); + map(0xe000, 0xefff).ram().w(FUNC(spool99_state::vram_w)).share("vram"); + map(0xf000, 0xffff).ram().w(FUNC(spool99_state::cram_w)).share("cram"); } |