/// <summary> /// Emulator Loop /// </summary> public void Run(string filename) { // Initialize the Chip8 system and load the game into the memory Chip8 = new CHIP8System(backingImage); ProgramCode = Chip8.LoadProgram(filename); IsRunning = true; if (Debug) { Debugger = new Debugger(this); Debugger.Run(); } else { RunNoDebugger(); } }
public Opcodes(CHIP8System s) { this.s = s; }