Sfoglia il codice sorgente

+ added cld to DebugWrite

git-svn-id: trunk@27264 -
nickysn 11 anni fa
parent
commit
32c3f4e682
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  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