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; }
public void RenderPixelInterrupt(Y86SEQEmulator.Processor processor) { EmuRenderer.SetPixel((int)processor.R8, (int)processor.R9, Color.White); }