1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-07-05 10:28:58 +00:00

The Nick interrupt input also seems to be a live poll, not a retrieval of the mask.

This corrects the two pieces of software I knew not to be working.
This commit is contained in:
Thomas Harte 2021-06-28 22:10:11 -04:00
parent 2c139ad931
commit 7f08218b28

View File

@ -350,7 +350,10 @@ template <bool has_disk_controller> class ConcreteMachine:
case 0xb3: *cycle.value = pages_[3]; break;
case 0xb4:
*cycle.value = (interrupt_mask_ & 0xf0) | dave_timer_->get_divider_state() | interrupt_state_;
*cycle.value =
(nick_->get_interrupt_line() ? 0x00 : 0x10) |
dave_timer_->get_divider_state() |
interrupt_state_;
break;
case 0xb5:
if(active_key_line_ < key_lines_.size()) {