Beispiel #1
0
 public Computer(ClockCycle clockCycle, ROM rom, CPU16Bit.CPUAnalyzer analyzer)
 {
     CurrentComputer = this;
     this.rom = rom;
     cpu = new CPU16Bit(analyzer);
     memory = new Memory(16);
     clockCycle.Start();
 }
Beispiel #2
0
 public Computer(int hertz,
     List<bool[]> instructions,
     CPU16Bit.CPUAnalyzer cpuAnalyzer,
     Analyzer analyzer
     
     )
     : this(new ClockCycle(Computer.ClockCycled, hertz), new ROM(instructions),cpuAnalyzer)
 {
     this.analyzer = analyzer;
 }