From e0ceab6642be42e8c2dfe57ba9a0e6f7acd35c41 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Tue, 19 Nov 2019 21:52:50 -0500 Subject: [PATCH] Pivots towards looking at Timer B as a cause of in-frame inaccuracy. --- Components/68901/MFP68901.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Components/68901/MFP68901.cpp b/Components/68901/MFP68901.cpp index e7a783270..ffe2402cb 100644 --- a/Components/68901/MFP68901.cpp +++ b/Components/68901/MFP68901.cpp @@ -209,6 +209,7 @@ HalfCycles MFP68901::get_next_sequence_point() { // MARK: - Timers void MFP68901::set_timer_mode(int timer, TimerMode mode, int prescale, bool reset_timer) { + LOG("Timer " << timer << " mode set: " << int(mode) << "; prescale: " << prescale); timers_[timer].mode = mode; timers_[timer].prescale = prescale; if(reset_timer) { @@ -314,8 +315,6 @@ void MFP68901::update_interrupts() { // Update the delegate if necessary. if(interrupt_delegate_ && interrupt_line_ != old_interrupt_line) { - if(interrupt_line_) - LOG("Generating interrupt: " << std::hex << interrupt_pending_ << " / " << std::hex << interrupt_mask_ << " : " << std::hex << interrupt_in_service_); interrupt_delegate_->mfp68901_did_change_interrupt_status(this); } }