Hi,
anyone know of an existing toolkit or routine to copy a "fragmented" memory
block? By fragmented I mean the following
(regarding mainly the screen memory)
if we perceive the screen memory as not linear but as an array
(SCR_BASE)
xmin/ymin---------------------------xmax
|
|
| |------------------------|
| | |
| | block to be copied |
| | |
| |------------------------|
|
|
|
|
|
ymax
which would mean that certain "scanning" should occur and of course
calculations on the x and y origin of the window in order to get each line
and then store it lineary in some other part in memory.
IIRC PE does that for its windows but I don't seem to be able to find ANY
info on calls etc or the way its done. I am doing this thing in S*Basic
which means that speed is of the essence and my current method of
PEEKing/POKEing and calculation are to say the least NOT optimized.
Help guys?
Phoebus