Ejemplo n.º 1
0
        public MainForm()
        {
            InitializeComponent();

            Compiler.CompilerTrace.TraceFilter.Active = false;
            Compiler.CompilerTrace.TraceListener      = this;

            Compiler.CompilerOptions.Architecture = GetArchitecture("x86");

            MaxHistory = 1000;

            assembliesView  = new AssembliesView(this);
            registersView   = new RegisterView(this);
            displayView     = new DisplayView(this);
            controlView     = new ControlView(this);
            callStackView   = new CallStackView(this);
            stackFrameView  = new StackFrameView(this);
            stackView       = new StackView(this);
            flagView        = new FlagView(this);
            statusView      = new StatusView(this);
            historyView     = new HistoryView(this);
            symbolView      = new SymbolView(this);
            watchView       = new WatchView(this);
            breakPointView  = new BreakPointView(this);
            outputView      = new OutputView(this);
            scriptView      = new ScriptView(this);
            disassemblyView = new DisassemblyView(this);

            Thread.CurrentThread.Priority = ThreadPriority.Highest;
            worker = new Thread(ExecuteThread);
            worker.IsBackground = false;
            worker.Name         = "SimCPU";
            worker.Start();
        }
Ejemplo n.º 2
0
        public MainForm()
        {
            InitializeComponent();

            Compiler.CompilerTrace.TraceFilter.Active = false;
            Compiler.CompilerTrace.TraceListener = this;

            Compiler.CompilerOptions.Architecture = GetArchitecture("x86");

            MaxHistory = 1000;

            assembliesView = new AssembliesView(this);
            registersView = new RegisterView(this);
            displayView = new DisplayView(this);
            controlView = new ControlView(this);
            callStackView = new CallStackView(this);
            stackFrameView = new StackFrameView(this);
            stackView = new StackView(this);
            flagView = new FlagView(this);
            statusView = new StatusView(this);
            historyView = new HistoryView(this);
            symbolView = new SymbolView(this);
            watchView = new WatchView(this);
            breakPointView = new BreakPointView(this);
            outputView = new OutputView(this);
            scriptView = new ScriptView(this);
            disassemblyView = new DisassemblyView(this);

            Thread.CurrentThread.Priority = ThreadPriority.Highest;
            worker = new Thread(ExecuteThread);
            worker.IsBackground = false;
            worker.Name = "SimCPU";
            worker.Start();
        }