Browse Source

* fixed low,high for alloc_global_dos which were wrong

peter 26 years ago
parent
commit
adda495d22
1 changed files with 2 additions and 2 deletions
  1. 2 2
      docs/go32.tex

+ 2 - 2
docs/go32.tex

@@ -1017,8 +1017,8 @@ Parameters:
 \begin{description}
 \begin{description}
 \item [bytes:\ ] size of requested real mode memory.
 \item [bytes:\ ] size of requested real mode memory.
 \end{description}
 \end{description}
-Return values: The high word of the returned value contains the selector to
-the allocated \dos memory block, the low word the corresponding real mode
+Return values: The low word of the returned value contains the selector to
+the allocated \dos memory block, the high word the corresponding real mode
 segment value. The offset value is always zero.
 segment value. The offset value is always zero.
 This function allocates memory from \dos memory pool, i.e. memory below the 1
 This function allocates memory from \dos memory pool, i.e. memory below the 1
 MB boundary that is controlled by \dos. Such memory blocks are typically used
 MB boundary that is controlled by \dos. Such memory blocks are typically used