Browse Source

+ initialize more stuff in the msdos system unit startup

git-svn-id: branches/i8086@24065 -
nickysn 12 years ago
parent
commit
8f71f3b5fd
1 changed files with 7 additions and 0 deletions
  1. 7 0
      rtl/msdos/system.pp

+ 7 - 0
rtl/msdos/system.pp

@@ -161,7 +161,14 @@ end;
 begin
   StackLength := CheckInitialStkLen(InitialStkLen);
   StackBottom := __stkbottom;
+  { To be set if this is a GUI or console application }
+  IsConsole := TRUE;
+  { To be set if this is a library and not a program  }
+  IsLibrary := FALSE;
+  SysInitExceptions;
   initunicodestringmanager;
 { Setup stdin, stdout and stderr }
   SysInitStdIO;
+{ Reset IO Error }
+  InOutRes:=0;
 end.