summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/zaurus.cpp
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2018-02-01 10:04:01 +0100
committer Olivier Galibert <galibert@pobox.com>2018-02-12 10:04:52 +0100
commitc5219643162cb7d2a8688425a09008d28c8e2437 (patch)
treef2775ca3b1770ab0d3fb568f0bdd6d9212c68bf6 /src/mame/drivers/zaurus.cpp
parent09b6ce46873b38de9030a3c0378ff327f17af881 (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/mame/drivers/zaurus.cpp')
-rw-r--r--src/mame/drivers/zaurus.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mame/drivers/zaurus.cpp b/src/mame/drivers/zaurus.cpp
index aa00f4dfc49..8007d621066 100644
--- a/src/mame/drivers/zaurus.cpp
+++ b/src/mame/drivers/zaurus.cpp
@@ -1446,6 +1446,7 @@ public:
uint32_t screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
void zaurus(machine_config &config);
+ void zaurus_map(address_map &map);
protected:
// driver_device overrides
virtual void machine_start() override;
@@ -1711,7 +1712,7 @@ WRITE32_MEMBER(zaurus_state::pxa255_rtc_w)
}
-static ADDRESS_MAP_START( zaurus_map, AS_PROGRAM, 32, zaurus_state )
+ADDRESS_MAP_START(zaurus_state::zaurus_map)
AM_RANGE(0x00000000, 0x001fffff) AM_RAM AM_REGION("firmware", 0)
AM_RANGE(0x40900000, 0x4090000f) AM_READWRITE(pxa255_rtc_r,pxa255_rtc_w)
AM_RANGE(0x40a00000, 0x40a0001f) AM_READWRITE(pxa255_ostimer_r, pxa255_ostimer_w )