pub enum VanishedInterrupt {
Mesen2,
Drop,
}Expand description
C18: what an entry does when a source the poll saw has gone by the boundary (it was acknowledged in the instruction’s last cycle). When nothing is left, the instruction runs instead.
The reference’s vanished_interrupt keeps "mesen2" and "drop"; its
"latched" was withdrawn in the clean rewrite (it raises ValueError
there) and has no variant here.
Variants§
Mesen2
"mesen2" (default): IRQ1 and IRQ2 are taken as the poll saw them,
through their own vectors; the timer is taken only if it is still
asserted. OBSERVED, provisional: Mesen2 2.1.1 and Mednafen 1.32.1 run
as closed boxes on the reference’s validation/vanish_rom.py cards (a
timer acknowledged by STZ $1403, a VDC interrupt by a status read,
each in the last cycle) both drop the timer and take IRQ1; no hardware
result is known. A timer that appears in the last cycle waits for the
next poll, like any other source (a choice: neither run shows it).
Drop
"drop": only sources the poll saw and that are still asserted are
taken.
Trait Implementations§
Source§impl Clone for VanishedInterrupt
impl Clone for VanishedInterrupt
Source§fn clone(&self) -> VanishedInterrupt
fn clone(&self) -> VanishedInterrupt
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more