[FIX] fix some bugs

Now we can see the dos and type in some simple commands.But large
program like edit.exe and qbasic.exe still didn't work well.