public DebugWindow(i8086CPU cpu) { InitializeComponent(); _lastEntry = ""; _cpu = cpu; UpdateDisplay(); }
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; }
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(); } }
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; }
private void Boot() { _cpu = new i8086CPU(); }