public ExecutionEngine(CpuZ80 cpu) { _cpu = cpu; _interruptManager = new InterruptManager(_cpu); StartFetch(); // the engine that drives it all _cpu.Clock.OnChanged += Clock_OnChanged; }
public ExecutionEngine(Die die) { _die = die; _interruptManager = new InterruptManager(_die); StartFetch(); // the engine that drives it all _die.Clock.OnChanged += Clock_OnChanged; }