diff options
author | 2018-10-26 11:09:47 -0400 | |
---|---|---|
committer | 2018-10-26 11:09:47 -0400 | |
commit | b271509d6c46714659fcbf28a1a1682230428b35 (patch) | |
tree | 6ba19e26f7fecb40a0c97549339c8aa81269b48f | |
parent | 3bf82d52894bea4418e5e0199645d09c927a3ae9 (diff) |
i8x9x: Add A/D interrupt (nw)
-rw-r--r-- | src/devices/cpu/mcs96/i8x9x.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/devices/cpu/mcs96/i8x9x.cpp b/src/devices/cpu/mcs96/i8x9x.cpp index cd6a742d76b..1d3b91c6f85 100644 --- a/src/devices/cpu/mcs96/i8x9x.cpp +++ b/src/devices/cpu/mcs96/i8x9x.cpp @@ -410,8 +410,11 @@ void i8x9x_device::internal_update(u64 current_time) } if(ad_done && current_time >= ad_done) { + // A/D conversion complete ad_done = 0; ad_result &= ~8; + pending_irq |= IRQ_AD; + check_irq(); } if(current_time == serial_send_timer) |