using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BizHawk.Emulation.Cores.Computers.SinclairSpectrum { /// /// The MIC and EAR pins in the spectrum deal in on/off pulses of varying lengths /// This struct therefore represents 1 of these pulses /// public struct Pulse { /// /// True: High State /// False: Low State /// public bool State { get; set; } /// /// Pulse length in Z80 T-States (cycles) /// public long Length { get; set; } } }