Mail Archives: djgpp/1997/01/16/06:26:10
On Wed, 15 Jan 1997, Jonathan Addleman wrote:
> farpointers caused me some trouble at first... I still
> don't know what they are
Farpointers in DJGPP are a way to access data which is outside your
program's address space. When you access the data of your program, the
code produced by GCC uses the DS register as the selector for memory
accesses. Farptr functions use another register (usually FS) where
another selector (such as _dos_ds) is loaded.
- Raw text -