diff options
Diffstat (limited to 'src/mame/drivers/pencil2.cpp')
-rw-r--r-- | src/mame/drivers/pencil2.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/mame/drivers/pencil2.cpp b/src/mame/drivers/pencil2.cpp index ad616b35dce..bb94833eb96 100644 --- a/src/mame/drivers/pencil2.cpp +++ b/src/mame/drivers/pencil2.cpp @@ -142,17 +142,17 @@ void pencil2_state::io_map(address_map &map) { map.unmap_value_high(); map.global_mask(0xff); - map(0x00, 0x0f).w("cent_data_out", FUNC(output_latch_device::write)); - map(0x10, 0x1f).w(this, FUNC(pencil2_state::port10_w)); - map(0x30, 0x3f).w(this, FUNC(pencil2_state::port30_w)); - map(0x80, 0x9f).w(this, FUNC(pencil2_state::port80_w)); - map(0xa0, 0xa0).mirror(0x1e).rw("tms9928a", FUNC(tms9928a_device::vram_read), FUNC(tms9928a_device::vram_write)); - map(0xa1, 0xa1).mirror(0x1e).rw("tms9928a", FUNC(tms9928a_device::register_read), FUNC(tms9928a_device::register_write)); - map(0xc0, 0xdf).w(this, FUNC(pencil2_state::portc0_w)); - map(0xe0, 0xff).w("sn76489a", FUNC(sn76489a_device::write)); + map(0x00, 0x0f).w("cent_data_out", FUNC(output_latch_device::bus_w)); + map(0x10, 0x1f).w(FUNC(pencil2_state::port10_w)); + map(0x30, 0x3f).w(FUNC(pencil2_state::port30_w)); + map(0x80, 0x9f).w(FUNC(pencil2_state::port80_w)); + map(0xa0, 0xa0).mirror(0x1e).rw("tms9928a", FUNC(tms9928a_device::vram_r), FUNC(tms9928a_device::vram_w)); + map(0xa1, 0xa1).mirror(0x1e).rw("tms9928a", FUNC(tms9928a_device::register_r), FUNC(tms9928a_device::register_w)); + map(0xc0, 0xdf).w(FUNC(pencil2_state::portc0_w)); + map(0xe0, 0xff).w("sn76489a", FUNC(sn76489a_device::command_w)); map(0xe0, 0xe0).portr("E0"); map(0xe1, 0xe1).portr("E1"); - map(0xe2, 0xe2).r(this, FUNC(pencil2_state::porte2_r)); + map(0xe2, 0xe2).r(FUNC(pencil2_state::porte2_r)); map(0xe3, 0xe3).portr("E3"); map(0xe4, 0xe4).portr("E4"); map(0xe6, 0xe6).portr("E6"); |