summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Sterophonick <34801996+Sterophonick@users.noreply.github.com>2020-06-19 17:05:38 -0700
committer GitHub <noreply@github.com>2020-06-19 17:05:38 -0700
commit9d6d60b64abeed20121ff03daeac5e44a39c1b36 (patch)
treecb7f7e19a9476858721980d23b59ccf21c999fd1
parentbba36a40182a578e43189e136b5d7875d694d2eb (diff)
gigatron: make the CPU use the outx callback
-rw-r--r--src/devices/cpu/gigatron/gigatron.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/devices/cpu/gigatron/gigatron.cpp b/src/devices/cpu/gigatron/gigatron.cpp
index 6c25f4abd52..057dd10d2e6 100644
--- a/src/devices/cpu/gigatron/gigatron.cpp
+++ b/src/devices/cpu/gigatron/gigatron.cpp
@@ -219,7 +219,10 @@ void gigatron_cpu_device::aluOp(uint8_t op, uint8_t mode, uint8_t bus, uint8_t d
case 7:
uint16_t rising = ~(m_out & b);
if (rising & 0x40)
+ {
m_outx = m_ac;
+ m_outx_cb(0, m_outx, 0xFF;
+ }
break;
}
}