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")); }
public Cartridge(NametableMirrorController nametableMirrorController) { _nametableMirrorController = nametableMirrorController; CPUSlave = new CPUSlaveProvider(this); ChrRom = new ChrRomProvider(this); }