diff options
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) |