From c5219643162cb7d2a8688425a09008d28c8e2437 Mon Sep 17 00:00:00 2001 From: Olivier Galibert Date: Thu, 1 Feb 2018 10:04:01 +0100 Subject: API change: Memory maps are now methods of the owner class [O. Galibert] Also, a lot more freedom happened, that's going to be more visible soon. --- src/devices/machine/genpc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/devices/machine/genpc.cpp') diff --git a/src/devices/machine/genpc.cpp b/src/devices/machine/genpc.cpp index 58ff8a7ef21..66d46d81ebd 100644 --- a/src/devices/machine/genpc.cpp +++ b/src/devices/machine/genpc.cpp @@ -534,7 +534,7 @@ ibm5160_mb_device::ibm5160_mb_device( { } -DEVICE_ADDRESS_MAP_START( map, 8, ibm5160_mb_device ) +ADDRESS_MAP_START(ibm5160_mb_device::map) AM_RANGE(0x0000, 0x000f) AM_DEVREADWRITE("dma8237", am9517a_device, read, write) AM_RANGE(0x0020, 0x002f) AM_DEVREADWRITE("pic8259", pic8259_device, read, write) AM_RANGE(0x0040, 0x004f) AM_DEVREADWRITE("pit8253", pit8253_device, read, write) @@ -916,7 +916,7 @@ ioport_constructor pc_noppi_mb_device::device_input_ports() const return INPUT_PORTS_NAME( pc_noppi_mb ); } -DEVICE_ADDRESS_MAP_START( map, 8, pc_noppi_mb_device ) +ADDRESS_MAP_START(pc_noppi_mb_device::map) AM_RANGE(0x0000, 0x000f) AM_DEVREADWRITE("dma8237", am9517a_device, read, write) AM_RANGE(0x0020, 0x002f) AM_DEVREADWRITE("pic8259", pic8259_device, read, write) AM_RANGE(0x0040, 0x004f) AM_DEVREADWRITE("pit8253", pit8253_device, read, write) -- cgit v1.2.3