www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/01/16/06:26:10

Date: Thu, 16 Jan 1997 13:16:05 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Jonathan Addleman <jaddle AT po-box DOT mcgill DOT ca>
cc: djgpp AT delorie DOT com
Subject: Re: helping newcomers
In-Reply-To: <32dc3ea2.80449404@news.mcgill.ca>
Message-ID: <Pine.SUN.3.91.970116131205.17153B-100000@is>
MIME-Version: 1.0

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019