Esempio n. 1
0
        /// <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();
            }
        }
Esempio n. 2
0
 public Opcodes(CHIP8System s)
 {
     this.s = s;
 }