private void Cycle() { _tia.Execute(1); _tia.Execute(1); _tia.Execute(1); M6532.Timer.Tick(); if (CoreComm.Tracer.Enabled) { CoreComm.Tracer.Put(Cpu.TraceState()); } Cpu.ExecuteOne(); _mapper.ClockCpu(); }
private void Cycle() { _tia.Execute(); cyc_counter++; if (cyc_counter == 3) { _m6532.Timer.Tick(); if (Tracer.Enabled && Cpu.AtStart) { Tracer.Put(Cpu.TraceState()); } Cpu.ExecuteOne(); _mapper.ClockCpu(); cyc_counter = 0; } }