Beispiel #1
0
        public Memory(MemoryBankController MBC, byte[] ROM, Gameboy parent, byte[] bootrom = null)
        {
            this.MBC     = MBC;
            this.ROM     = ROM;
            this.RAM     = new byte[0x10000];
            this.BOOTROM = bootrom;
            this.parent  = parent;

            RAM[0xFF00] = 0xCF;
        }
Beispiel #2
0
 public APU(Gameboy parent)
 {
     this.parent = parent;
 }