summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/tvc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/tvc.cpp')
-rw-r--r--src/mame/drivers/tvc.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/mame/drivers/tvc.cpp b/src/mame/drivers/tvc.cpp
index 8d603cf8eb9..7c89f51d82f 100644
--- a/src/mame/drivers/tvc.cpp
+++ b/src/mame/drivers/tvc.cpp
@@ -365,24 +365,24 @@ void tvc_state::tvc_io(address_map &map)
{
map.unmap_value_high();
map.global_mask(0xff);
- map(0x00, 0x00).w(this, FUNC(tvc_state::border_color_w));
- map(0x01, 0x01).w("cent_data_out", FUNC(output_latch_device::write));
- map(0x02, 0x02).w(this, FUNC(tvc_state::bank_w));
- map(0x03, 0x03).w(this, FUNC(tvc_state::keyboard_w));
- map(0x04, 0x06).w(this, FUNC(tvc_state::sound_w));
- map(0x07, 0x07).w(this, FUNC(tvc_state::flipflop_w));
- map(0x0f, 0x0f).w(this, FUNC(tvc_state::vram_bank_w));
+ map(0x00, 0x00).w(FUNC(tvc_state::border_color_w));
+ map(0x01, 0x01).w("cent_data_out", FUNC(output_latch_device::bus_w));
+ map(0x02, 0x02).w(FUNC(tvc_state::bank_w));
+ map(0x03, 0x03).w(FUNC(tvc_state::keyboard_w));
+ map(0x04, 0x06).w(FUNC(tvc_state::sound_w));
+ map(0x07, 0x07).w(FUNC(tvc_state::flipflop_w));
+ map(0x0f, 0x0f).w(FUNC(tvc_state::vram_bank_w));
map(0x10, 0x1f).rw("exp1", FUNC(tvcexp_slot_device::io_read), FUNC(tvcexp_slot_device::io_write));
map(0x20, 0x2f).rw("exp2", FUNC(tvcexp_slot_device::io_read), FUNC(tvcexp_slot_device::io_write));
map(0x30, 0x3f).rw("exp3", FUNC(tvcexp_slot_device::io_read), FUNC(tvcexp_slot_device::io_write));
map(0x40, 0x4f).rw("exp4", FUNC(tvcexp_slot_device::io_read), FUNC(tvcexp_slot_device::io_write));
- map(0x50, 0x50).w(this, FUNC(tvc_state::cassette_w));
- map(0x58, 0x58).r(this, FUNC(tvc_state::keyboard_r));
- map(0x59, 0x59).r(this, FUNC(tvc_state::int_state_r));
- map(0x5a, 0x5a).r(this, FUNC(tvc_state::exp_id_r));
- map(0x5b, 0x5b).r(this, FUNC(tvc_state::_5b_r));
- map(0x58, 0x5b).w(this, FUNC(tvc_state::expint_ack_w));
- map(0x60, 0x63).w(this, FUNC(tvc_state::palette_w));
+ map(0x50, 0x50).w(FUNC(tvc_state::cassette_w));
+ map(0x58, 0x58).r(FUNC(tvc_state::keyboard_r));
+ map(0x59, 0x59).r(FUNC(tvc_state::int_state_r));
+ map(0x5a, 0x5a).r(FUNC(tvc_state::exp_id_r));
+ map(0x5b, 0x5b).r(FUNC(tvc_state::_5b_r));
+ map(0x58, 0x5b).w(FUNC(tvc_state::expint_ack_w));
+ map(0x60, 0x63).w(FUNC(tvc_state::palette_w));
map(0x70, 0x70).w("crtc", FUNC(mc6845_device::address_w));
map(0x71, 0x71).rw("crtc", FUNC(mc6845_device::register_r), FUNC(mc6845_device::register_w));
}