summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2020-11-24 20:16:23 -0500
committer AJR <ajrhacker@users.noreply.github.com>2020-11-24 20:16:23 -0500
commite5c64eee8468edf5acabfb7ffbad7590f29287c7 (patch)
treed4fcf9ad373c361a5775713f3796dbef95b0f6c4
parent563b656605d7c691482bdee8820512e10e76753d (diff)
i8085: Make sure SOD outputs 0 upon the first reset
-rw-r--r--src/devices/cpu/i8085/i8085.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/cpu/i8085/i8085.cpp b/src/devices/cpu/i8085/i8085.cpp
index 5460ab653ea..124544bffd2 100644
--- a/src/devices/cpu/i8085/i8085.cpp
+++ b/src/devices/cpu/i8085/i8085.cpp
@@ -308,7 +308,7 @@ void i8085a_cpu_device::device_start()
m_irq_state[3] = m_irq_state[2] = m_irq_state[1] = m_irq_state[0] = 0;
m_trap_pending = 0;
m_trap_im_copy = 0;
- m_sod_state = 0;
+ m_sod_state = true; // SOD will go low at reset
m_in_acknowledge = false;
m_ietemp = false;