Mail Archives: djgpp/1996/12/01/02:59:37
On 29 Nov 1996, Roger Carbol wrote:
> movedata ((int)_my_ds, (int)image->buffer, 0xA000, 0000 , 32);
You got your arguments wrong. Please check out the docs for `movedata':
you should have said this:
movedata (_my_ds(), image->buffer, _dos_ds, 0xa0000, 32);
Note that you must say "0xA0000", not "0xA000", since that should be a
linear address, not a segment address.
> On a related note: is there any easy way to get the address of
> image->buffer for use with _farpeekb() for example?
Why would you need to use `_farpeekb' on a buffer that is already in your
address space?
- Raw text -