예제 #1
0
 public APU()
 {
     FrameCounter = new APURegisterSlave(null, v => Debug.WriteLine("APU Frame Counter"));
     Status       = new APURegisterSlave(
         () =>
     {
         Debug.WriteLine("Read APU Status");
         return(0);
     }, v => Debug.WriteLine("Write APU Status"));
 }
예제 #2
0
 public Cartridge(NametableMirrorController nametableMirrorController)
 {
     _nametableMirrorController = nametableMirrorController;
     CPUSlave = new CPUSlaveProvider(this);
     ChrRom   = new ChrRomProvider(this);
 }