Beispiel #1
0
        public RicohRP2C02(
            IPPUMemoryMap memoryMap,
            PPURegisters registers,
            PPUInternalRegisters internalRegisters,
            ScrollHandler scrollHandler,
            PaletteHandler paletteHandler,
            BackgroundHandler backgroundHandler,
            PixelMuxer pixelMuxer,
            SpriteHandler spriteHandler)
        {
            this.InternalRegisters = internalRegisters;

            this.Registers     = registers;
            this.MemoryMap     = (PPURawMemoryMap)memoryMap;
            this.ScrollHandler = scrollHandler;

            this.PaletteHandler    = paletteHandler;
            this.BackgroundHandler = backgroundHandler;
            this.SpriteHandler     = spriteHandler;
            this.PixelMuxer        = pixelMuxer;
        }
Beispiel #2
0
 public PixelMuxer(PPURegisters registers) => this.registers = registers;