Пример #1
0
        internal NesApu(NesMachine machine)
        {
            regs = new byte [0x16];
            square1 = new SquareOscillator (regs, 0);
            square2 = new SquareOscillator (regs, 4);
            triangle = new TriangleOscillator (regs);
            noise = new NoiseOscillator (regs);
            dmc = new DeltaModulator (regs);

            oscillators = new SoundGenerator [] { square1, square2, triangle, noise, dmc };
        }
Пример #2
0
 internal NesCpu(NesMachine machine)
 {
     Machine = machine;
     Registers = new Registers ();
     Memory = new byte [0x10000];
     NesCallbacks = new SimpleNesCallbacks ();
 }
Пример #3
0
 internal NesPpu(NesMachine machine)
 {
 }