예제 #1
0
        public DebugWindow(i8086CPU cpu)
        {
            InitializeComponent();

            _lastEntry = "";
            _cpu       = cpu;
            UpdateDisplay();
        }
예제 #2
0
        public DebugWindow(i8086CPU cpu)
        {
            InitializeComponent();

            _lastEntry = "";
            _cpu = cpu;
            UpdateDisplay();
        }
예제 #3
0
파일: i8259.cs 프로젝트: amensch/e8086
        private byte _service; // isr

        #endregion Fields

        #region Constructors

        public i8259(i8086CPU.InterruptFunc intFunc)
        {
            _intFunc = intFunc;
            _readmode = 0;
            _mask = 0;
            _request = 0;
            _service = 0;
            _icwstep = 0;
        }
예제 #4
0
파일: i8253.cs 프로젝트: amensch/e8086
 public i8253(i8086CPU.InterruptFunc intFunc)
 {
     //_host_frequency = Stopwatch.Frequency;
     //Active = false;
     _timers = new i8253timer[TIMERS];
     _intFunc = intFunc;
     for( int ii=0; ii < TIMERS; ii++ )
     {
         _timers[ii] = new i8253timer();
     }
 }
예제 #5
0
 private i8086CPU GetCPU(byte[] program)
 {
     i8086CPU cpu = new i8086CPU();
     cpu.Boot(program);
     cpu.Bus.DS = 0x2000;
     cpu.Bus.SS = 0x4000;
     cpu.Bus.ES = 0x6000;
     return cpu;
 }
예제 #6
0
파일: MainForm.cs 프로젝트: amensch/e8086
 private void Boot()
 {
     _cpu = new i8086CPU();
 }