summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/mz2500.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/mz2500.cpp')
-rw-r--r--src/mame/drivers/mz2500.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mame/drivers/mz2500.cpp b/src/mame/drivers/mz2500.cpp
index 3d1f7760ace..e04a521dd53 100644
--- a/src/mame/drivers/mz2500.cpp
+++ b/src/mame/drivers/mz2500.cpp
@@ -1232,17 +1232,17 @@ WRITE8_MEMBER(mz2500_state::mz2500_emm_data_w)
void mz2500_state::mz2500_io(address_map &map)
{
map.global_mask(0xff);
-// AM_RANGE(0x60, 0x63) AM_WRITE(w3100a_w)
-// AM_RANGE(0x63, 0x63) AM_READ(w3100a_r)
-// AM_RANGE(0x98, 0x99) ADPCM, unknown type, custom?
+// map(0x60, 0x63).w(FUNC(mz2500_state::w3100a_w));
+// map(0x63, 0x63).r(FUNC(mz2500_state::w3100a_r));
+// map(0x98, 0x99) ADPCM, unknown type, custom?
map(0xa0, 0xa3).rw("z80sio", FUNC(z80sio_device::ba_cd_r), FUNC(z80sio_device::ba_cd_w));
-// AM_RANGE(0xa4, 0xa5) AM_READWRITE(sasi_r, sasi_w)
+// map(0xa4, 0xa5).rw(FUNC(mz2500_state::sasi_r), FUNC(mz2500_state::sasi_w));
map(0xa8, 0xa8).w(FUNC(mz2500_state::mz2500_rom_w));
map(0xa9, 0xa9).r(FUNC(mz2500_state::mz2500_rom_r));
map(0xac, 0xac).w(FUNC(mz2500_state::mz2500_emm_addr_w));
map(0xad, 0xad).r(FUNC(mz2500_state::mz2500_emm_data_r)).w(FUNC(mz2500_state::mz2500_emm_data_w));
map(0xae, 0xae).w(FUNC(mz2500_state::palette4096_io_w));
-// AM_RANGE(0xb0, 0xb3) AM_READWRITE(sio_r,sio_w)
+// map(0xb0, 0xb3).rw(FUNC(mz2500_state::sio_r), FUNC(mz2500_state::sio_w));
map(0xb4, 0xb4).rw(FUNC(mz2500_state::mz2500_bank_addr_r), FUNC(mz2500_state::mz2500_bank_addr_w));
map(0xb5, 0xb5).rw(FUNC(mz2500_state::mz2500_bank_data_r), FUNC(mz2500_state::mz2500_bank_data_w));
map(0xb7, 0xb7).nopw();
@@ -1254,7 +1254,7 @@ void mz2500_state::mz2500_io(address_map &map)
map(0xc6, 0xc6).w(FUNC(mz2500_state::mz2500_irq_sel_w));
map(0xc7, 0xc7).w(FUNC(mz2500_state::mz2500_irq_data_w));
map(0xc8, 0xc9).rw("ym", FUNC(ym2203_device::read), FUNC(ym2203_device::write));
-// AM_RANGE(0xca, 0xca) AM_READWRITE(voice_r,voice_w)
+// map(0xca, 0xca).rw(FUNC(mz2500_state::voice_r), FUNC(mz2500_state::voice_w));
map(0xcc, 0xcc).rw(FUNC(mz2500_state::rp5c15_8_r), FUNC(mz2500_state::rp5c15_8_w));
map(0xce, 0xce).w(FUNC(mz2500_state::mz2500_dictionary_bank_w));
map(0xcf, 0xcf).w(FUNC(mz2500_state::mz2500_kanji_bank_w));
@@ -1268,7 +1268,7 @@ void mz2500_state::mz2500_io(address_map &map)
map(0xef, 0xef).rw(FUNC(mz2500_state::mz2500_joystick_r), FUNC(mz2500_state::mz2500_joystick_w));
map(0xf0, 0xf3).w(FUNC(mz2500_state::timer_w));
map(0xf4, 0xf7).r(FUNC(mz2500_state::mz2500_crtc_hvblank_r)).w(FUNC(mz2500_state::mz2500_tv_crtc_w));
-// AM_RANGE(0xf8, 0xf9) AM_READWRITE(extrom_r,extrom_w)
+// map(0xf8, 0xf9).rw(FUNC(mz2500_state::extrom_r), FUNC(mz2500_state::extrom_w));
}
/* Input ports */