Ejemplo n.º 1
0
        public Game1()
        {
            _graphics             = new GraphicsDeviceManager(this);
            Content.RootDirectory = "Content";
            YProcessor            = new Processor();
            EmuRenderer           = new PixelRaster(4, 4, 20, 20);

            InterruptHandler.InterruptMapping.Add(3, RenderPixelInterrupt);
            IsMouseVisible = true;
        }
Ejemplo n.º 2
0
 public void RenderPixelInterrupt(Y86SEQEmulator.Processor processor)
 {
     EmuRenderer.SetPixel((int)processor.R8, (int)processor.R9, Color.White);
 }