summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/beta.cpp
diff options
context:
space:
mode:
authorGravatarGravatar Olivier Galibert <galibert@pobox.com>2018-02-01 10:04:01 +0100
committerGravatarGravatar Olivier Galibert <galibert@pobox.com>2018-02-12 10:04:52 +0100
commitc5219643162cb7d2a8688425a09008d28c8e2437 (patch)
treef2775ca3b1770ab0d3fb568f0bdd6d9212c68bf6 /src/mame/drivers/beta.cpp
parent09b6ce46873b38de9030a3c0378ff327f17af881 (diff)
downloadmame-c5219643162cb7d2a8688425a09008d28c8e2437.tar.xz
mame-c5219643162cb7d2a8688425a09008d28c8e2437.zip
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/beta.cpp')
-rw-r--r--src/mame/drivers/beta.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mame/drivers/beta.cpp b/src/mame/drivers/beta.cpp
index 16cc503da3d..7d8513e3fed 100644
--- a/src/mame/drivers/beta.cpp
+++ b/src/mame/drivers/beta.cpp
@@ -97,12 +97,13 @@ public:
emu_timer *m_led_refresh_timer;
TIMER_CALLBACK_MEMBER(led_refresh);
void beta(machine_config &config);
+ void beta_mem(address_map &map);
};
/* Memory Maps */
-static ADDRESS_MAP_START( beta_mem, AS_PROGRAM, 8, beta_state )
+ADDRESS_MAP_START(beta_state::beta_mem)
AM_RANGE(0x0000, 0x007f) AM_MIRROR(0x7f00) AM_DEVICE(M6532_TAG, mos6532_new_device, ram_map)
AM_RANGE(0x0080, 0x00ff) AM_MIRROR(0x7f00) AM_DEVICE(M6532_TAG, mos6532_new_device, io_map)
AM_RANGE(0x8000, 0x87ff) AM_MIRROR(0x7800) AM_ROM