Пример #1
0
 public MC68000Test()
 {
     bus = new MemorySpace(1);
     cpu = new MC68000();
     cpu.SetAddressSpace(bus);
     cpu.Reset();
 }
Пример #2
0
        private void LoadProgram(string filename)
        {
            try
            {
                pause = true;
                myChip8.Reset();

                // Load (copy) the game into the memory
                myChip8.LoadGame($"progs{Path.DirectorySeparatorChar.ToString(CultureInfo.CurrentCulture)}{filename}.c8");
            }
            finally
            {
                pause = false;
            }
        }