mirror of
https://github.com/holub/mame
synced 2025-07-01 16:19:38 +03:00
i8x9x: Add A/D interrupt (nw)
This commit is contained in:
parent
3bf82d5289
commit
b271509d6c
@ -410,8 +410,11 @@ void i8x9x_device::internal_update(u64 current_time)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(ad_done && current_time >= ad_done) {
|
if(ad_done && current_time >= ad_done) {
|
||||||
|
// A/D conversion complete
|
||||||
ad_done = 0;
|
ad_done = 0;
|
||||||
ad_result &= ~8;
|
ad_result &= ~8;
|
||||||
|
pending_irq |= IRQ_AD;
|
||||||
|
check_irq();
|
||||||
}
|
}
|
||||||
|
|
||||||
if(current_time == serial_send_timer)
|
if(current_time == serial_send_timer)
|
||||||
|
Loading…
Reference in New Issue
Block a user