diff options
Diffstat (limited to 'src/mame/drivers/ymmu100.cpp')
-rw-r--r-- | src/mame/drivers/ymmu100.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/mame/drivers/ymmu100.cpp b/src/mame/drivers/ymmu100.cpp index c19eeae50d1..75912e9ebff 100644 --- a/src/mame/drivers/ymmu100.cpp +++ b/src/mame/drivers/ymmu100.cpp @@ -272,7 +272,7 @@ void mu100_state::mu100_map(address_map &map) { map(0x000000, 0x1fffff).rom().region("maincpu", 0); map(0x200000, 0x21ffff).ram(); // 128K work RAM - map(0x400000, 0x401fff).rw(this, FUNC(mu100_state::snd_r), FUNC(mu100_state::snd_w)); + map(0x400000, 0x401fff).rw(FUNC(mu100_state::snd_r), FUNC(mu100_state::snd_w)); } READ16_MEMBER(mu100_state::snd_r) @@ -421,19 +421,19 @@ WRITE16_MEMBER(mu100_state::pg_w) void mu100_state::mu100_iomap(address_map &map) { - map(h8_device::PORT_1, h8_device::PORT_1).rw(this, FUNC(mu100_state::p1_r), FUNC(mu100_state::p1_w)); - map(h8_device::PORT_2, h8_device::PORT_2).w(this, FUNC(mu100_state::p2_w)); - map(h8_device::PORT_3, h8_device::PORT_3).w(this, FUNC(mu100_state::p3_w)); - map(h8_device::PORT_5, h8_device::PORT_5).w(this, FUNC(mu100_state::p5_w)); - map(h8_device::PORT_6, h8_device::PORT_6).rw(this, FUNC(mu100_state::p6_r), FUNC(mu100_state::p6_w)); - map(h8_device::PORT_A, h8_device::PORT_A).rw(this, FUNC(mu100_state::pa_r), FUNC(mu100_state::pa_w)); - map(h8_device::PORT_F, h8_device::PORT_F).w(this, FUNC(mu100_state::pf_w)); - map(h8_device::PORT_G, h8_device::PORT_G).w(this, FUNC(mu100_state::pg_w)); - map(h8_device::ADC_0, h8_device::ADC_0).r(this, FUNC(mu100_state::adc0_r)); - map(h8_device::ADC_2, h8_device::ADC_2).r(this, FUNC(mu100_state::adc2_r)); - map(h8_device::ADC_4, h8_device::ADC_4).r(this, FUNC(mu100_state::adc4_r)); - map(h8_device::ADC_6, h8_device::ADC_6).r(this, FUNC(mu100_state::adc6_r)); - map(h8_device::ADC_7, h8_device::ADC_7).r(this, FUNC(mu100_state::adc7_r)); + map(h8_device::PORT_1, h8_device::PORT_1).rw(FUNC(mu100_state::p1_r), FUNC(mu100_state::p1_w)); + map(h8_device::PORT_2, h8_device::PORT_2).w(FUNC(mu100_state::p2_w)); + map(h8_device::PORT_3, h8_device::PORT_3).w(FUNC(mu100_state::p3_w)); + map(h8_device::PORT_5, h8_device::PORT_5).w(FUNC(mu100_state::p5_w)); + map(h8_device::PORT_6, h8_device::PORT_6).rw(FUNC(mu100_state::p6_r), FUNC(mu100_state::p6_w)); + map(h8_device::PORT_A, h8_device::PORT_A).rw(FUNC(mu100_state::pa_r), FUNC(mu100_state::pa_w)); + map(h8_device::PORT_F, h8_device::PORT_F).w(FUNC(mu100_state::pf_w)); + map(h8_device::PORT_G, h8_device::PORT_G).w(FUNC(mu100_state::pg_w)); + map(h8_device::ADC_0, h8_device::ADC_0).r(FUNC(mu100_state::adc0_r)); + map(h8_device::ADC_2, h8_device::ADC_2).r(FUNC(mu100_state::adc2_r)); + map(h8_device::ADC_4, h8_device::ADC_4).r(FUNC(mu100_state::adc4_r)); + map(h8_device::ADC_6, h8_device::ADC_6).r(FUNC(mu100_state::adc6_r)); + map(h8_device::ADC_7, h8_device::ADC_7).r(FUNC(mu100_state::adc7_r)); } MACHINE_CONFIG_START(mu100_state::mu100) |