diff options
author | cracyc <cracyc@users.noreply.github.com> | 2016-06-16 10:36:30 -0500 |
---|---|---|
committer | cracyc <cracyc@users.noreply.github.com> | 2016-06-16 10:36:30 -0500 |
commit | 3bb6c2b58656f8afedb3a1f6a69280adf957bd1b (patch) | |
tree | ef60de72196dcebe5834bcd55bfdac9295e9960c /src/devices/machine | |
parent | 7b638c3181767939b7e4b01b6200cf013ac81075 (diff) |
fix a few (nw)
Diffstat (limited to 'src/devices/machine')
-rw-r--r-- | src/devices/machine/cs8221.cpp | 4 | ||||
-rw-r--r-- | src/devices/machine/cs8221.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/devices/machine/cs8221.cpp b/src/devices/machine/cs8221.cpp index 95a890d7bba..d7f38de1bd7 100644 --- a/src/devices/machine/cs8221.cpp +++ b/src/devices/machine/cs8221.cpp @@ -105,6 +105,10 @@ void cs8221_device::device_reset() //************************************************************************** // READ/WRITE HANDLERS //************************************************************************** +DEVICE_ADDRESS_MAP_START( map, 16, cs8221_device ) + AM_RANGE(0x0022, 0x0023) AM_DEVWRITE8("cs8221", cs8221_device, address_w, 0x00ff) + AM_RANGE(0x0022, 0x0023) AM_DEVREADWRITE8("cs8221", cs8221_device, data_r, data_w, 0xff00) +ADDRESS_MAP_END WRITE8_MEMBER( cs8221_device::address_w ) { diff --git a/src/devices/machine/cs8221.h b/src/devices/machine/cs8221.h index ea7cc4a99b4..b6a403bafba 100644 --- a/src/devices/machine/cs8221.h +++ b/src/devices/machine/cs8221.h @@ -49,6 +49,7 @@ public: DECLARE_WRITE8_MEMBER( address_w ); DECLARE_READ8_MEMBER( data_r ); DECLARE_WRITE8_MEMBER( data_w ); + DECLARE_ADDRESS_MAP(map, 16); // inline configuration static void static_set_cputag(device_t &device, const char *tag); |