Mail Archives: djgpp/2003/03/27/07:00:37
Radical wrote:
> I wish to know how I would obtain the Address of a Variable,
> such that it can also be broken down into its Segment and
> Offset,
The answer has been given to you, and it is that your question is
meaningless. Addresses of variables in DJGPP don't *have* such a
thing as a segment and an offset in the meaning you're asking for.
If you want to port a piece of code from some 16-bit compiler to DJGPP
that uses this, you have to find out
1) whether they're really still needed after moving to 32-bit mode
2) what their usage actually means
and then modify those code sections to work in DJGPP.
The FAQ explains this in more detail, as usual. Check section 17.7, e.g.:
17.7 What should I do with those "near" and "far" declarations?
--
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.
- Raw text -