Mail Archives: djgpp/1997/12/11/08:34:07
K. Chung wrote:
> Hi,
> Does anyone how to write to the far pointer address directly
> without using the _farpoke function group or hacking it to near pointer?
There is no standard C expression that can access far memory directly, if
it is that what you mean. You can access far memory using inline assembler,
but that is actually precisely what the _far* function group does, so IMHO
you are better off using those. If you really do not want to use these,
look at the implementation of these functions in the header file (unless
I'm mistaking, they are in farptr.h). I can tell you, your program won't
run faster.
- Raw text -