Example #1
0
 private void Start()
 {
     Clock.Init();
     _controller = new Emu8051(65536, 65536, 128);
     _controller.PortsUpdated += Tick;
     _controller.LoadIhex(Program.text);
     _controller.Clock = Clock;
     _debugger         = new Emu8051Dbg(_controller, UTerm);
     _debugger.Clock   = Clock; // to be able to control clock speed
 }
Example #2
0
 private void Start()
 {
     Clock.Init();
     _controller = new Emu8051(65536, 65536, 128);
     _controller.LoadIhex(Prog.text);
     _controller.Clock     = Clock;
     LedDisplay.Controller = _controller;
     _debugger             = new Emu8051Dbg(_controller, Term);
     _debugger.Clock       = Clock;
 }
Example #3
0
        private void Start()
        {
            foreach (SetPinBtn btn in Buttons)
            {
                btn.OnActivate = (n) => _controller[0, n] = 1;
            }

            Clock.Init();
            _controller = new Emu8051(65536, 65536, 128);
            _controller.LoadIhex(Prog.text);
            _controller.Clock = Clock;
            _debugger         = new Emu8051Dbg(_controller, Term);
            _debugger.Clock   = Clock;
        }