Beispiel #1
0
 public void SetRegisters(byte a, byte x, byte y, CPUFlags flags)
 {
     A     = a;
     X     = x;
     Y     = y;
     Flags = flags;
 }
Beispiel #2
0
 public void Reset()
 {
     PC             = 0;
     OpCodes        = null;
     Instruction    = string.Empty;
     AddressingMode = string.Empty;
     X          = 0; Y = 0; A = 0;
     Flags      = new CPUFlags();
     LineActive = false;
 }
Beispiel #3
0
 public void Reset()
 {
     PC = 0;
     OpCodes = null;
     Instruction = string.Empty;
     AddressingMode = string.Empty;
     X = 0; Y = 0; A = 0;
     Flags = new CPUFlags();
     LineActive = false;
 }
Beispiel #4
0
 public void SetRegisters(byte a, byte x, byte y, CPUFlags flags)
 {
     A = a;
     X = x;
     Y = y;
     Flags = flags;
 }