public NullEmulator(CoreComm comm, object settings) { ServiceProvider = new BasicServiceProvider(this); CoreComm = comm; _settings = (NullEmulatorSettings)settings ?? new NullEmulatorSettings(); var d = DateTime.Now; xmas = d.Month == 12 && d.Day >= 17 && d.Day <= 27; if (xmas) { pleg = new Pleg(); } }
public NullEmulator(CoreComm comm) { CoreComm = comm; var domains = new MemoryDomainList( new List<MemoryDomain> { new MemoryDomain("Main RAM", 1, MemoryDomain.Endian.Little, addr => 0, (a, v) => { }) }); memoryDomains = new MemoryDomainList(domains); var d = DateTime.Now; xmas = d.Month == 12 && d.Day >= 17 && d.Day <= 27; if (xmas) pleg = new Pleg(); }
public NullEmulator(CoreComm comm) { CoreComm = comm; var domains = new MemoryDomainList( new List <MemoryDomain> { new MemoryDomain("Main RAM", 1, MemoryDomain.Endian.Little, addr => 0, (a, v) => { }) }); memoryDomains = new MemoryDomainList(domains); var d = DateTime.Now; xmas = d.Month == 12 && d.Day >= 17 && d.Day <= 27; if (xmas) { pleg = new Pleg(); } }