示例#1
0
        public Engine(string filename)
        {
            CPU         = new CPU(this);
            PPU         = new PPU(this);
            APU         = new APU(this);
            IORegisters = new IORegisters(this, PPU);
            Joypads     = new Joypads();

            loadiNes(filename);
            Graphics = new Graphics(this, 256, 240);
            Joypads.Initialise();
        }
示例#2
0
文件: Engine.cs 项目: mrmikey/nes
        public Engine(string filename)
        {
            CPU = new CPU(this);
            PPU = new PPU(this);
            APU = new APU(this);
            IORegisters = new IORegisters(this, PPU);
            Joypads = new Joypads();

            loadiNes(filename);
            Graphics = new Graphics(this, 256,240);
            Joypads.Initialise();
        }