mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-26 08:49:37 +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:
parent
2c139ad931
commit
7f08218b28
@ -350,7 +350,10 @@ template <bool has_disk_controller> class ConcreteMachine:
|
|||||||
case 0xb3: *cycle.value = pages_[3]; break;
|
case 0xb3: *cycle.value = pages_[3]; break;
|
||||||
|
|
||||||
case 0xb4:
|
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;
|
break;
|
||||||
case 0xb5:
|
case 0xb5:
|
||||||
if(active_key_line_ < key_lines_.size()) {
|
if(active_key_line_ < key_lines_.size()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user