Ejemplo n.º 1
0
Archivo: IN.cs Proyecto: dolbz/Z80Sharp
 public IN(Z80Cpu cpu, Register destination, IReadAddressedOperand <byte> source, Register topHalfOfAddressSource)
 {
     _cpu                    = cpu;
     _destination            = destination;
     _source                 = source;
     _inputCycle             = new InputCycle(cpu);
     _topHalfOfAddressSource = topHalfOfAddressSource;
 }
Ejemplo n.º 2
0
 public INxx(Z80Cpu cpu, bool increment, bool repeats)
 {
     _cpu               = cpu;
     _inputCycle        = new InputCycle(cpu);
     _destination       = new RegIndirect(cpu, WideRegister.HL);
     _repeatCycles      = new InternalCycle(5);
     _remainingM1Cycles = 1;
     _increment         = increment;
     _repeats           = repeats;
 }