summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/vme/vme_mvme350.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/vme/vme_mvme350.cpp')
-rw-r--r--src/devices/bus/vme/vme_mvme350.cpp17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/devices/bus/vme/vme_mvme350.cpp b/src/devices/bus/vme/vme_mvme350.cpp
index 043a9d8ae7e..8a98eb78e0b 100644
--- a/src/devices/bus/vme/vme_mvme350.cpp
+++ b/src/devices/bus/vme/vme_mvme350.cpp
@@ -164,19 +164,20 @@ DEFINE_DEVICE_TYPE(VME_MVME350, vme_mvme350_card_device, "mvme350", "Motorola MV
#define MVME350_CPU_TAG "mvme350_cpu"
#define MVME350_ROM "mvme350_rom"
-ADDRESS_MAP_START(vme_mvme350_card_device::mvme350_mem)
- ADDRESS_MAP_UNMAP_HIGH
- AM_RANGE(0x000000, 0x01ffff) AM_ROM AM_REGION(MVME350_ROM, 0)
- AM_RANGE(0x020000, 0x03ffff) AM_RAM
+void vme_mvme350_card_device::mvme350_mem(address_map &map)
+{
+ map.unmap_value_high();
+ map(0x000000, 0x01ffff).rom().region(MVME350_ROM, 0);
+ map(0x020000, 0x03ffff).ram();
#if 0
- AM_RANGE(0x040000, 0x040035) AM_DEVREADWRITE8("pit", pit68230_device, read, write, 0x00ff) /* PIT ?*/
- AM_RANGE(0x060000, 0x06001f) AM_RAM /* Area is cleared on start */
- AM_RANGE(0x080000, 0x080035) AM_DEVREADWRITE8("pit", pit68230_device, read, write, 0x00ff) /* PIT ?*/
+ map(0x040000, 0x040035).rw("pit", FUNC(pit68230_device::read), FUNC(pit68230_device::write)).umask16(0x00ff); /* PIT ?*/
+ map(0x060000, 0x06001f).ram(); /* Area is cleared on start */
+ map(0x080000, 0x080035).rw("pit", FUNC(pit68230_device::read), FUNC(pit68230_device::write)).umask16(0x00ff); /* PIT ?*/
#endif
//AM_RANGE(0x100000, 0xfeffff) AM_READWRITE(vme_a24_r, vme_a24_w) /* VMEbus Rev B addresses (24 bits) - not verified */
//AM_RANGE(0xff0000, 0xffffff) AM_READWRITE(vme_a16_r, vme_a16_w) /* VMEbus Rev B addresses (16 bits) - not verified */
-ADDRESS_MAP_END
+}
ROM_START( mvme350 )
ROM_REGION (0x20000, MVME350_ROM, 0)