1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-07-04 18:29:40 +00:00

Improve commentary.

This commit is contained in:
Thomas Harte 2021-07-23 19:23:54 -04:00
parent 68fe19818e
commit 956a6dbd64
2 changed files with 3 additions and 1 deletions

View File

@ -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;

View File

@ -454,6 +454,8 @@ template <class T, bool dtack_is_implicit, bool signal_will_perform = false> 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_;
}