public void DoProcessorStep(object sender, EventArgs e) { Interop.doSingleStep(); Interop.MC6821Status status = Interop.getMC6821Status(); UpdateProperties(Interop.getProcessorStatus()); ProcessorStepCompleted(this, null); UpdateDisplay(this, null); }
async public void DoProcessorStepInBackground() { await Task.Run(() => { Interop.doSingleStep(); Interop.MC6821Status status = Interop.getMC6821Status(); UpdateProperties(Interop.getProcessorStatus()); UpdateDisplay(this, null); }); }
public void DoProcessorStepNoFancyGraphics(object sender, EventArgs e) { if (breakpointAddresses.Contains(model.programCounter)) { shouldRun = false; } Interop.doSingleStep(); Interop.MC6821Status status = Interop.getMC6821Status(); UpdateModelDirectly(Interop.getProcessorStatus()); UpdateDisplay(this, null); }