mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-25 16:31:42 +00:00
Improve commentary.
This commit is contained in:
parent
68fe19818e
commit
956a6dbd64
@ -176,7 +176,7 @@ class ConcreteMachine:
|
|||||||
|
|
||||||
// An interrupt acknowledge, perhaps?
|
// An interrupt acknowledge, perhaps?
|
||||||
if(cycle.operation & Microcycle::InterruptAcknowledge) {
|
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;
|
const int interrupt_level = cycle.word_address()&7;
|
||||||
if(interrupt_level != 6) {
|
if(interrupt_level != 6) {
|
||||||
video_interrupts_pending_ &= ~interrupt_level;
|
video_interrupts_pending_ &= ~interrupt_level;
|
||||||
|
@ -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
|
/// @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
|
/// half-cycles between 0 and 19 inclusive, indicating how far the 68000
|
||||||
/// is into the current E cycle.
|
/// is into the current E cycle.
|
||||||
|
///
|
||||||
|
/// This is guaranteed to be 0 at initial 68000 construction.
|
||||||
HalfCycles get_e_clock_phase() {
|
HalfCycles get_e_clock_phase() {
|
||||||
return e_clock_phase_;
|
return e_clock_phase_;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user