Beispiel #1
0
 public Emulator()
 {
     memory = new byte[1048576];
     cpu    = new InterpretCpu(memory);
     cpu.SetRegister(Segments.cs, 0);
     cpu.SetRegister(Segments.ss, 0);
     cpu.SetRegister(Reg16.sp, 0xfe);
     dos = new DosCmd(cpu);
     cpu.SetInterruptHandler(0x21, dos.Int21h);
 }