diff options
Diffstat (limited to 'src/mame/drivers/eolith.cpp')
-rw-r--r-- | src/mame/drivers/eolith.cpp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/mame/drivers/eolith.cpp b/src/mame/drivers/eolith.cpp index 90f0f4020e5..32ba147b82f 100644 --- a/src/mame/drivers/eolith.cpp +++ b/src/mame/drivers/eolith.cpp @@ -231,13 +231,14 @@ void eolith_state::eolith_map(address_map &map) map(0xfff80000, 0xffffffff).rom().region("maincpu", 0); } -ADDRESS_MAP_START(eolith_state::hidctch3_map) - AM_IMPORT_FROM(eolith_map) - AM_RANGE(0xfc200000, 0xfc200003) AM_WRITENOP // this generates pens vibration +void eolith_state::hidctch3_map(address_map &map) +{ + eolith_map(map); + map(0xfc200000, 0xfc200003).nopw(); // this generates pens vibration // It is not clear why the first reads are needed too - AM_RANGE(0xfce00000, 0xfce00003) AM_MIRROR(0x00080000) AM_READ(hidctch3_pen_r<0>) - AM_RANGE(0xfcf00000, 0xfcf00003) AM_MIRROR(0x00080000) AM_READ(hidctch3_pen_r<1>) -ADDRESS_MAP_END + map(0xfce00000, 0xfce00003).mirror(0x00080000).r(this, FUNC(eolith_state::hidctch3_pen_r<0>)); + map(0xfcf00000, 0xfcf00003).mirror(0x00080000).r(this, FUNC(eolith_state::hidctch3_pen_r<1>)); +} /************************************* |