Explorar el Código

+ added cld to DebugWrite

git-svn-id: trunk@27264 -
nickysn hace 11 años
padre
commit
32c3f4e682
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  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