Ejemplo n.º 1
0
 public SystemOrchestration(AudioProcessingUnit apu,
                     PictureProcessingUnit ppu,
                     SystemBus bus,
                     Cpu6502 cpu,
                     NesEmulator emulator)
 {
     _apu = apu;
     _ppu = ppu;
     _cpu = cpu;
     _systemBus = bus;
     _emulator = emulator;
 }
Ejemplo n.º 2
0
 public NesEmulator()
 {
     memoryWatchLocations = new HashSet<Int32>();
     _joypad1 = new Joypad();
     _joypad2 = new Joypad();
     systemBus = new SystemBus(this);
     myAPU = new AudioProcessingUnit(WrenCore.WindowHandle, this, systemBus);
 }