Ver Fonte

+ added cld to DebugWrite

git-svn-id: trunk@27264 -
nickysn há 11 anos atrás
pai
commit
32c3f4e682
1 ficheiros alterados com 3 adições e 0 exclusões
  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