pub enum IrqPollCycle {
SecondToLast,
Last,
Mednafen,
}Expand description
U25 (issue 0003): which cycle of an instruction the interrupt lines are sampled at. The I flag is the sampled one in every mode (U21). Emulator tier; no source above it says.
Variants§
SecondToLast
The default, the 6502 frame’s rule (U21): the end of the second-to-last cycle, so a line that rises in the last cycle is seen one instruction later.
Last
The levels at the boundary all count, a line that rises (or drops) in the last cycle included.
Mednafen
Mednafen’s rule as the reference states it: IRQ1 and IRQ2 are taken
from a sample taken at the start of the last cycle (the default’s
point), but the timer is tested against the live line at the
boundary, so TIQ alone behaves as Last.
Trait Implementations§
Source§impl Clone for IrqPollCycle
impl Clone for IrqPollCycle
Source§fn clone(&self) -> IrqPollCycle
fn clone(&self) -> IrqPollCycle
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IrqPollCycle
impl Debug for IrqPollCycle
Source§impl PartialEq for IrqPollCycle
impl PartialEq for IrqPollCycle
impl Copy for IrqPollCycle
impl Eq for IrqPollCycle
impl StructuralPartialEq for IrqPollCycle
Auto Trait Implementations§
impl Freeze for IrqPollCycle
impl RefUnwindSafe for IrqPollCycle
impl Send for IrqPollCycle
impl Sync for IrqPollCycle
impl Unpin for IrqPollCycle
impl UnwindSafe for IrqPollCycle
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more