summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/mtx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/mtx.cpp')
-rw-r--r--src/mame/drivers/mtx.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/mame/drivers/mtx.cpp b/src/mame/drivers/mtx.cpp
index 99fc7c035c7..b999d55f6d5 100644
--- a/src/mame/drivers/mtx.cpp
+++ b/src/mame/drivers/mtx.cpp
@@ -57,26 +57,26 @@ void mtx_state::mtx_mem(address_map &map)
void mtx_state::mtx_io(address_map &map)
{
map.global_mask(0xff);
- map(0x00, 0x00).rw(this, FUNC(mtx_state::mtx_strobe_r), FUNC(mtx_state::mtx_bankswitch_w));
- map(0x01, 0x01).rw("tms9929a", FUNC(tms9929a_device::vram_read), FUNC(tms9929a_device::vram_write));
- map(0x02, 0x02).rw("tms9929a", FUNC(tms9929a_device::register_read), FUNC(tms9929a_device::register_write));
- map(0x03, 0x03).rw(this, FUNC(mtx_state::mtx_sound_strobe_r), FUNC(mtx_state::mtx_cst_w));
- map(0x04, 0x04).r(this, FUNC(mtx_state::mtx_prt_r)).w("cent_data_out", FUNC(output_latch_device::write));
- map(0x05, 0x05).rw(this, FUNC(mtx_state::mtx_key_lo_r), FUNC(mtx_state::mtx_sense_w));
- map(0x06, 0x06).rw(this, FUNC(mtx_state::mtx_key_hi_r), FUNC(mtx_state::mtx_sound_latch_w));
+ map(0x00, 0x00).rw(FUNC(mtx_state::mtx_strobe_r), FUNC(mtx_state::mtx_bankswitch_w));
+ map(0x01, 0x01).rw("tms9929a", FUNC(tms9929a_device::vram_r), FUNC(tms9929a_device::vram_w));
+ map(0x02, 0x02).rw("tms9929a", FUNC(tms9929a_device::register_r), FUNC(tms9929a_device::register_w));
+ map(0x03, 0x03).rw(FUNC(mtx_state::mtx_sound_strobe_r), FUNC(mtx_state::mtx_cst_w));
+ map(0x04, 0x04).r(FUNC(mtx_state::mtx_prt_r)).w("cent_data_out", FUNC(output_latch_device::bus_w));
+ map(0x05, 0x05).rw(FUNC(mtx_state::mtx_key_lo_r), FUNC(mtx_state::mtx_sense_w));
+ map(0x06, 0x06).rw(FUNC(mtx_state::mtx_key_hi_r), FUNC(mtx_state::mtx_sound_latch_w));
// map(0x07, 0x07) PIO
map(0x08, 0x0b).rw(m_z80ctc, FUNC(z80ctc_device::read), FUNC(z80ctc_device::write));
- map(0x1f, 0x1f).w(this, FUNC(mtx_state::mtx_cst_motor_w));
- map(0x30, 0x31).w(this, FUNC(mtx_state::hrx_address_w));
- map(0x32, 0x32).rw(this, FUNC(mtx_state::hrx_data_r), FUNC(mtx_state::hrx_data_w));
- map(0x33, 0x33).rw(this, FUNC(mtx_state::hrx_attr_r), FUNC(mtx_state::hrx_attr_w));
+ map(0x1f, 0x1f).w(FUNC(mtx_state::mtx_cst_motor_w));
+ map(0x30, 0x31).w(FUNC(mtx_state::hrx_address_w));
+ map(0x32, 0x32).rw(FUNC(mtx_state::hrx_data_r), FUNC(mtx_state::hrx_data_w));
+ map(0x33, 0x33).rw(FUNC(mtx_state::hrx_attr_r), FUNC(mtx_state::hrx_attr_w));
// map(0x38, 0x38).w(MC6845_TAG, FUNC(mc6845_device::address_w));
// map(0x39, 0x39).rw(MC6845_TAG, FUNC(mc6845_device::register_r), FUNC(mc6845_device::register_w));
/* map(0x40, 0x43).rw(FD1791_TAG, FUNC(fd1791_device::read), FUNC(fd1791_device::write));
- map(0x44, 0x44).rw(this, FUNC(mtx_state::fdx_status_r), FUNC(mtx_state::fdx_control_w));
- map(0x45, 0x45).w(this, FUNC(mtx_state::fdx_drv_sel_w));
- map(0x46, 0x46).w(this, FUNC(mtx_state::fdx_dma_lo_w));
- map(0x47, 0x47).w(this, FUNC(mtx_state::fdx_dma_hi_w);*/
+ map(0x44, 0x44).rw(FUNC(mtx_state::fdx_status_r), FUNC(mtx_state::fdx_control_w));
+ map(0x45, 0x45).w(FUNC(mtx_state::fdx_drv_sel_w));
+ map(0x46, 0x46).w(FUNC(mtx_state::fdx_dma_lo_w));
+ map(0x47, 0x47).w(FUNC(mtx_state::fdx_dma_hi_w);*/
}
/*-------------------------------------------------