summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/8x300/8x300.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/8x300/8x300.cpp')
-rw-r--r--src/devices/cpu/8x300/8x300.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/devices/cpu/8x300/8x300.cpp b/src/devices/cpu/8x300/8x300.cpp
index c3929144aa3..63259adb8ae 100644
--- a/src/devices/cpu/8x300/8x300.cpp
+++ b/src/devices/cpu/8x300/8x300.cpp
@@ -47,6 +47,14 @@ n8x300_cpu_device::n8x300_cpu_device(const machine_config &mconfig, const char *
{
}
+std::vector<std::pair<int, const address_space_config *>> n8x300_cpu_device::memory_space_config() const
+{
+ return std::vector<std::pair<int, const address_space_config *>> {
+ std::make_pair(AS_PROGRAM, &m_program_config),
+ std::make_pair(AS_IO, &m_io_config)
+ };
+}
+
void n8x300_cpu_device::set_reg(uint8_t reg, uint8_t val)
{
switch(reg)