summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/spectra.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/spectra.cpp')
-rw-r--r--src/mame/drivers/spectra.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mame/drivers/spectra.cpp b/src/mame/drivers/spectra.cpp
index a2fd0d8179b..a2a477306e8 100644
--- a/src/mame/drivers/spectra.cpp
+++ b/src/mame/drivers/spectra.cpp
@@ -63,6 +63,7 @@ public:
TIMER_DEVICE_CALLBACK_MEMBER(nmitimer);
TIMER_DEVICE_CALLBACK_MEMBER(outtimer);
void spectra(machine_config &config);
+ void spectra_map(address_map &map);
private:
uint8_t m_porta;
uint8_t m_portb;
@@ -76,7 +77,7 @@ private:
};
-static ADDRESS_MAP_START( spectra_map, AS_PROGRAM, 8, spectra_state )
+ADDRESS_MAP_START(spectra_state::spectra_map)
ADDRESS_MAP_UNMAP_HIGH
ADDRESS_MAP_GLOBAL_MASK(0xfff)
AM_RANGE(0x0000, 0x00ff) AM_RAM AM_SHARE("nvram") // battery backed, 2x 5101L