I have written an OBJ procedure that duplicates the Windows
"MoveMemory" function. However, it simply refuses to move the datas
from one HUGE array to another. Both arrays are dimensioned as
(1 TO 40000) AS LONG. It only moves up to appr. the first 16000
elements of the first array into the second array. Is this because the
segments used by each array are not contiguous in memory? Or is
my code bad? If Mr.Dixon, or Mr. Hanlin, et al, want to see the
MoveMemory code, I will post it. However, you should note that
it is written to be compiled as an OBJ file, using MASM 6.14 (that
is why I singled you two guys out
). The only reason I put the
code in an OBJ file, rather than using PB inline, is because MASM 6.14
directly supports dword vars, which PB inline does not. And it is MUCH
easier to decrement the incoming "Count" var as a whole than to use
"word ptr".
Any help GRATEFULLY received.
------------------
"MoveMemory" function. However, it simply refuses to move the datas
from one HUGE array to another. Both arrays are dimensioned as
(1 TO 40000) AS LONG. It only moves up to appr. the first 16000
elements of the first array into the second array. Is this because the
segments used by each array are not contiguous in memory? Or is
my code bad? If Mr.Dixon, or Mr. Hanlin, et al, want to see the
MoveMemory code, I will post it. However, you should note that
it is written to be compiled as an OBJ file, using MASM 6.14 (that
is why I singled you two guys out

code in an OBJ file, rather than using PB inline, is because MASM 6.14
directly supports dword vars, which PB inline does not. And it is MUCH
easier to decrement the incoming "Count" var as a whole than to use
"word ptr".
Any help GRATEFULLY received.

------------------
Comment