From 956a6dbd64899006c1c30d9007382fb97f075a4d Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Fri, 23 Jul 2021 19:23:54 -0400 Subject: [PATCH] Improve commentary. --- Machines/Atari/ST/AtariST.cpp | 2 +- Processors/68000/68000.hpp | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Machines/Atari/ST/AtariST.cpp b/Machines/Atari/ST/AtariST.cpp index e3c656f58..8a021d2ca 100644 --- a/Machines/Atari/ST/AtariST.cpp +++ b/Machines/Atari/ST/AtariST.cpp @@ -176,7 +176,7 @@ class ConcreteMachine: // An interrupt acknowledge, perhaps? if(cycle.operation & Microcycle::InterruptAcknowledge) { - // Current implementation: everything other than 6 (i.e. the MFP is autovectored. + // Current implementation: everything other than 6 (i.e. the MFP) is autovectored. const int interrupt_level = cycle.word_address()&7; if(interrupt_level != 6) { video_interrupts_pending_ &= ~interrupt_level; diff --git a/Processors/68000/68000.hpp b/Processors/68000/68000.hpp index 5e525ecc6..920f27b4e 100644 --- a/Processors/68000/68000.hpp +++ b/Processors/68000/68000.hpp @@ -454,6 +454,8 @@ template cla /// @returns The current phase of the E clock; this will be a number of /// half-cycles between 0 and 19 inclusive, indicating how far the 68000 /// is into the current E cycle. + /// + /// This is guaranteed to be 0 at initial 68000 construction. HalfCycles get_e_clock_phase() { return e_clock_phase_; }