summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/tomcat.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/tomcat.cpp')
-rw-r--r--src/mame/drivers/tomcat.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mame/drivers/tomcat.cpp b/src/mame/drivers/tomcat.cpp
index 02df72c2f62..769feb5748a 100644
--- a/src/mame/drivers/tomcat.cpp
+++ b/src/mame/drivers/tomcat.cpp
@@ -229,17 +229,17 @@ WRITE8_MEMBER(tomcat_state::tomcat_nvram_w)
void tomcat_state::tomcat_map(address_map &map)
{
map(0x000000, 0x00ffff).rom();
- map(0x402001, 0x402001).r("adc", FUNC(adc0808_device::data_r)).w(this, FUNC(tomcat_state::adcon_w));
- map(0x404000, 0x404001).r(this, FUNC(tomcat_state::tomcat_inputs_r)).w("avg", FUNC(avg_tomcat_device::go_word_w));
+ map(0x402001, 0x402001).r("adc", FUNC(adc0808_device::data_r)).w(FUNC(tomcat_state::adcon_w));
+ map(0x404000, 0x404001).r(FUNC(tomcat_state::tomcat_inputs_r)).w("avg", FUNC(avg_tomcat_device::go_word_w));
map(0x406000, 0x406001).w("avg", FUNC(avg_tomcat_device::reset_word_w));
- map(0x408000, 0x408001).r(this, FUNC(tomcat_state::tomcat_inputs2_r)).w("watchdog", FUNC(watchdog_timer_device::reset16_w));
- map(0x40a000, 0x40a001).rw(this, FUNC(tomcat_state::tomcat_320bio_r), FUNC(tomcat_state::tomcat_irqclr_w));
- map(0x40e000, 0x40e01f).w(this, FUNC(tomcat_state::main_latch_w));
+ map(0x408000, 0x408001).r(FUNC(tomcat_state::tomcat_inputs2_r)).w("watchdog", FUNC(watchdog_timer_device::reset16_w));
+ map(0x40a000, 0x40a001).rw(FUNC(tomcat_state::tomcat_320bio_r), FUNC(tomcat_state::tomcat_irqclr_w));
+ map(0x40e000, 0x40e01f).w(FUNC(tomcat_state::main_latch_w));
map(0x800000, 0x803fff).ram().share("vectorram");
map(0xffa000, 0xffbfff).ram().share("shared_ram");
map(0xffc000, 0xffcfff).ram();
map(0xffd000, 0xffdfff).rw("m48t02", FUNC(timekeeper_device::read), FUNC(timekeeper_device::write)).umask16(0xff00);
- map(0xffd000, 0xffdfff).rw(this, FUNC(tomcat_state::tomcat_nvram_r), FUNC(tomcat_state::tomcat_nvram_w)).umask16(0x00ff);
+ map(0xffd000, 0xffdfff).rw(FUNC(tomcat_state::tomcat_nvram_r), FUNC(tomcat_state::tomcat_nvram_w)).umask16(0x00ff);
}
void tomcat_state::dsp_map(address_map &map)
@@ -266,7 +266,7 @@ void tomcat_state::sound_map(address_map &map)
{
map(0x0000, 0x1fff).ram();
map(0x2000, 0x2001).rw("ymsnd", FUNC(ym2151_device::read), FUNC(ym2151_device::write));
- map(0x3000, 0x30df).w(this, FUNC(tomcat_state::soundlatches_w));
+ map(0x3000, 0x30df).w(FUNC(tomcat_state::soundlatches_w));
map(0x30e0, 0x30e0).noprw(); // COINRD Inputs: D7 = Coin L, D6 = Coin R, D5 = SOUNDFLAG
map(0x5000, 0x507f).ram(); // 6532 ram
map(0x5080, 0x509f).rw("riot", FUNC(riot6532_device::read), FUNC(riot6532_device::write));