summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/cocoloco.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/cocoloco.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/cocoloco.cpp')
-rw-r--r--src/mame/drivers/cocoloco.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mame/drivers/cocoloco.cpp b/src/mame/drivers/cocoloco.cpp
index a42c1859a1d..6d387910ed7 100644
--- a/src/mame/drivers/cocoloco.cpp
+++ b/src/mame/drivers/cocoloco.cpp
@@ -233,6 +233,7 @@ public:
uint32_t screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
void cocoloco(machine_config &config);
+ void cocoloco_map(address_map &map);
};
/***********************************
@@ -398,7 +399,7 @@ WRITE8_MEMBER( cocoloco_state::coincounter_w )
* Memory Map Information *
***********************************/
-static ADDRESS_MAP_START( cocoloco_map, AS_PROGRAM, 8, cocoloco_state )
+ADDRESS_MAP_START(cocoloco_state::cocoloco_map)
AM_RANGE(0x0000, 0x1fff) AM_RAM
AM_RANGE(0x2000, 0x3fff) AM_READWRITE(vram_r, vram_w) // 256 x 256 x 1
AM_RANGE(0x6001, 0x6001) AM_DEVREAD("ay8910", ay8910_device, data_r)