summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/nokia_3310.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/nokia_3310.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/nokia_3310.cpp')
-rw-r--r--src/mame/drivers/nokia_3310.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mame/drivers/nokia_3310.cpp b/src/mame/drivers/nokia_3310.cpp
index 76754d53485..247158e03c5 100644
--- a/src/mame/drivers/nokia_3310.cpp
+++ b/src/mame/drivers/nokia_3310.cpp
@@ -70,6 +70,7 @@ public:
void noki7110(machine_config &config);
void noki6210(machine_config &config);
void noki3310(machine_config &config);
+ void noki3310_map(address_map &map);
private:
void assert_fiq(int num);
void assert_irq(int num);
@@ -630,7 +631,7 @@ WRITE8_MEMBER(noki3310_state::mad2_mcuif_w)
}
-static ADDRESS_MAP_START( noki3310_map, AS_PROGRAM, 32, noki3310_state )
+ADDRESS_MAP_START(noki3310_state::noki3310_map)
ADDRESS_MAP_GLOBAL_MASK(0x00ffffff)
AM_RANGE(0x00000000, 0x0000ffff) AM_MIRROR(0x80000) AM_READWRITE16(ram_r, ram_w, 0xffffffff) // boot ROM / RAM
AM_RANGE(0x00010000, 0x00010fff) AM_MIRROR(0x8f000) AM_READWRITE16(dsp_ram_r, dsp_ram_w, 0xffffffff) // DSP shared memory