Browse Source

+ added cld to DebugWrite

git-svn-id: trunk@27264 -
nickysn 11 years ago
parent
commit
32c3f4e682
1 changed files with 3 additions and 0 deletions
  1. 3 0
      rtl/msdos/system.pp

+ 3 - 0
rtl/msdos/system.pp

@@ -124,6 +124,9 @@ procedure DebugWrite(const S: string);
 begin
   asm
     mov si, S
+{$ifdef FPC_ENABLED_CLD}
+    cld
+{$endif FPC_ENABLED_CLD}
     lodsb
     mov cl, al
     xor ch, ch