diff options
author | Olivier Galibert <galibert@pobox.com> | 2016-11-10 09:21:56 +0100 |
---|---|---|
committer | Olivier Galibert <galibert@pobox.com> | 2016-11-10 09:22:06 +0100 |
commit | b8d8a898129e39546f8d8b0febdedf2c8e8a21d9 (patch) | |
tree | 3c11f14427797b83629943ea12c15a364732e428 /src/mame/drivers/tranz330.cpp | |
parent | 1333280f8a688510806efb8d8c4efc328d30c373 (diff) |
addrmap: Dotify [O. Galibert]
Diffstat (limited to 'src/mame/drivers/tranz330.cpp')
-rw-r--r-- | src/mame/drivers/tranz330.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/mame/drivers/tranz330.cpp b/src/mame/drivers/tranz330.cpp index 1228b707a62..f6e1bbcc8f3 100644 --- a/src/mame/drivers/tranz330.cpp +++ b/src/mame/drivers/tranz330.cpp @@ -27,8 +27,8 @@ static void construct_address_map_tranz330_mem(address_map &map) { map.configure(AS_PROGRAM, 8); - map.add(0x0000, 0x7fff)->set_read_type(AMH_ROM); - map.add(0x8000, 0xffff)->set_read_type(AMH_RAM)->set_write_type(AMH_RAM); + map.add(0x0000, 0x7fff).set_read_type(AMH_ROM); + map.add(0x8000, 0xffff).set_read_type(AMH_RAM).set_write_type(AMH_RAM); } static void construct_address_map_tranz330_io(address_map &map) @@ -36,17 +36,17 @@ static void construct_address_map_tranz330_io(address_map &map) map.configure(AS_IO, 8); map.set_global_mask(0xff); - map.add(0x00, 0x03)->set_handler(read8_delegate(&z80pio_device::read_alt, "z80pio_device::read_alt", PIO_TAG, (z80pio_device *)nullptr), - write8_delegate(&z80pio_device::write_alt, "z80pio_device::write_alt", PIO_TAG, (z80pio_device *)nullptr)); + map.add(0x00, 0x03).set_handler(read8_delegate(&z80pio_device::read_alt, "z80pio_device::read_alt", PIO_TAG, (z80pio_device *)nullptr), + write8_delegate(&z80pio_device::write_alt, "z80pio_device::write_alt", PIO_TAG, (z80pio_device *)nullptr)); - map.add(0x10, 0x13)->set_handler(read8_delegate(&z80ctc_device::read, "z80ctc_device::read", CTC_TAG, (z80ctc_device *)nullptr), - write8_delegate(&z80ctc_device::write, "z80ctc_device::write", CTC_TAG, (z80ctc_device *)nullptr)); + map.add(0x10, 0x13).set_handler(read8_delegate(&z80ctc_device::read, "z80ctc_device::read", CTC_TAG, (z80ctc_device *)nullptr), + write8_delegate(&z80ctc_device::write, "z80ctc_device::write", CTC_TAG, (z80ctc_device *)nullptr)); - map.add(0x20, 0x23)->set_handler(read8_delegate(&z80dart_device::ba_cd_r, "z80dart_device::ba_cd_r", DART_TAG, (z80dart_device *)nullptr), - write8_delegate(&z80dart_device::ba_cd_w, "z80dart_device::ba_cd_w", DART_TAG, (z80dart_device *)nullptr)); + map.add(0x20, 0x23).set_handler(read8_delegate(&z80dart_device::ba_cd_r, "z80dart_device::ba_cd_r", DART_TAG, (z80dart_device *)nullptr), + write8_delegate(&z80dart_device::ba_cd_w, "z80dart_device::ba_cd_w", DART_TAG, (z80dart_device *)nullptr)); - map.add(0x30, 0x3f)->set_handler(read8_delegate(&msm6242_device::read, "msm6242_device::read", RTC_TAG, (msm6242_device *)nullptr), - write8_delegate(&msm6242_device::write, "msm6242_device::write", RTC_TAG, (msm6242_device *)nullptr)); + map.add(0x30, 0x3f).set_handler(read8_delegate(&msm6242_device::read, "msm6242_device::read", RTC_TAG, (msm6242_device *)nullptr), + write8_delegate(&msm6242_device::write, "msm6242_device::write", RTC_TAG, (msm6242_device *)nullptr)); } static void construct_ioport_tranz330(device_t &owner, ioport_list &portlist, std::string &errorbuf) |