diff options
author | 2018-02-01 10:04:01 +0100 | |
---|---|---|
committer | 2018-02-12 10:04:52 +0100 | |
commit | c5219643162cb7d2a8688425a09008d28c8e2437 (patch) | |
tree | f2775ca3b1770ab0d3fb568f0bdd6d9212c68bf6 /src/devices/bus/wangpc/wdc.cpp | |
parent | 09b6ce46873b38de9030a3c0378ff327f17af881 (diff) |
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.
Diffstat (limited to 'src/devices/bus/wangpc/wdc.cpp')
-rw-r--r-- | src/devices/bus/wangpc/wdc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/bus/wangpc/wdc.cpp b/src/devices/bus/wangpc/wdc.cpp index 095bb28bdaf..5f4e67d48d2 100644 --- a/src/devices/bus/wangpc/wdc.cpp +++ b/src/devices/bus/wangpc/wdc.cpp @@ -64,7 +64,7 @@ const tiny_rom_entry *wangpc_wdc_device::device_rom_region() const // ADDRESS_MAP( wangpc_wdc_mem ) //------------------------------------------------- -static ADDRESS_MAP_START( wangpc_wdc_mem, AS_PROGRAM, 8, wangpc_wdc_device ) +ADDRESS_MAP_START(wangpc_wdc_device::wangpc_wdc_mem) AM_RANGE(0x0000, 0x0fff) AM_ROM AM_REGION(Z80_TAG, 0) AM_RANGE(0x1000, 0x17ff) AM_RAM AM_RANGE(0x2000, 0x27ff) AM_RAM @@ -75,7 +75,7 @@ ADDRESS_MAP_END // ADDRESS_MAP( wangpc_wdc_io ) //------------------------------------------------- -static ADDRESS_MAP_START( wangpc_wdc_io, AS_IO, 8, wangpc_wdc_device ) +ADDRESS_MAP_START(wangpc_wdc_device::wangpc_wdc_io) ADDRESS_MAP_GLOBAL_MASK(0xff) AM_RANGE(0x01, 0x01) AM_READ(port_r) AM_RANGE(0x03, 0x03) AM_WRITE(status_w) |