summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/h8500/h8500.cpp
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2021-06-20 12:22:53 -0400
committer AJR <ajrhacker@users.noreply.github.com>2021-06-20 12:23:02 -0400
commitd40706395b0987ecea00f8fe16bb5ae2ad521b15 (patch)
tree49b4bc0494f7afd89024da2ec6704a667d27f6ff /src/devices/cpu/h8500/h8500.cpp
parent976e707ffe2cf9f0d3cc12a6d959f8dae9071778 (diff)
h8500: Add mode control and EPROM variant types
Diffstat (limited to 'src/devices/cpu/h8500/h8500.cpp')
-rw-r--r--src/devices/cpu/h8500/h8500.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/devices/cpu/h8500/h8500.cpp b/src/devices/cpu/h8500/h8500.cpp
index c96fed16f7f..765988ceeaa 100644
--- a/src/devices/cpu/h8500/h8500.cpp
+++ b/src/devices/cpu/h8500/h8500.cpp
@@ -12,10 +12,11 @@
#include "h8500.h"
#include "h8500dasm.h"
-h8500_device::h8500_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, u32 clock, int addrbits, int buswidth, int ramsize, address_map_constructor map)
+h8500_device::h8500_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, u32 clock, int addrbits, int buswidth, int ramsize, int defmode, address_map_constructor map)
: cpu_device(mconfig, type, tag, owner, clock)
, m_program_config("program", ENDIANNESS_BIG, buswidth, addrbits, 0, map)
, m_ram_config("internal RAM", ENDIANNESS_BIG, 16, ramsize, 0, address_map_constructor(FUNC(h8500_device::ram_map), this))
+ , m_mode_control(defmode)
, m_pc(0)
, m_ppc(0)
, m_sr(0)