protected override void OnSchedule(Func <VGAAlienArtModuleInputs> inputsFactory)
        {
            base.OnSchedule(inputsFactory);
            vgaController.Schedule(() => new VGAControllerInputs());
            patternTimer.Schedule(() => new TimerInputs()
            {
                Restart = false
            });
            offsetTimer.Schedule(() => new TimerInputs()
            {
                Restart = false
            });

            Pipeline.Schedule(() => new IntDividerPipelineInputs <VGAAlienArtPipelinePayload>()
            {
                Payload = new VGAAlienArtPipelinePayload()
                {
                    Visible = vgaController.OutVisible,
                    HSync   = vgaController.HSync,
                    VSync   = vgaController.VSync
                },
                inNumerator   = ((State.offset + vgaController.OutVPixel) ^ vgaController.OutHPixel).Resized(32),
                inDenominator = State.denominator
            });
        }
Beispiel #2
0
 protected override void OnSchedule(Func <VGAStaticQRModuleInputs> inputsFactory)
 {
     base.OnSchedule(inputsFactory);
     vgaController.Schedule(() => new VGAControllerInputs());
 }