summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/tms1000/tms1k_base.cpp
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2020-03-21 20:29:13 +0100
committer hap <happppp@users.noreply.github.com>2020-03-21 20:29:31 +0100
commit4e87b6340ea8eb1119b87ce267072ea53d927edc (patch)
tree128b95c3fe0157b88ffada55eb16e1f2b77d3929 /src/devices/cpu/tms1000/tms1k_base.cpp
parentf128d1d0c19060c66f12b053a5e3e76753ae553d (diff)
hh_tms1k: put binary dumped output PLAs in rom file instead of hardcoding in source (nw)
Diffstat (limited to 'src/devices/cpu/tms1000/tms1k_base.cpp')
-rw-r--r--src/devices/cpu/tms1000/tms1k_base.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/devices/cpu/tms1000/tms1k_base.cpp b/src/devices/cpu/tms1000/tms1k_base.cpp
index 3f14dba6c5e..f669a349662 100644
--- a/src/devices/cpu/tms1000/tms1k_base.cpp
+++ b/src/devices/cpu/tms1000/tms1k_base.cpp
@@ -79,6 +79,7 @@ tms1k_base_device::tms1k_base_device(const machine_config &mconfig, device_type
, m_mpla(*this, "mpla")
, m_ipla(*this, "ipla")
, m_opla(*this, "opla")
+ , m_opla_b(*this, "opla_b")
, m_spla(*this, "spla")
, m_o_pins(o_pins)
, m_r_pins(r_pins)
@@ -138,6 +139,9 @@ void tms1k_base_device::device_start()
m_write_ctl.resolve_safe();
m_write_pdc.resolve_safe();
+ if (m_opla_b != nullptr && m_output_pla_table == nullptr)
+ set_output_pla(&m_opla_b->as_u16());
+
// zerofill
m_pc = 0;
m_sr = 0;