delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/06/09/06:53:21

Message-Id: <200006090820.LAA04397@mailgw1.netvision.net.il>
Date: Fri, 09 Jun 2000 11:18:53 +0200
X-Mailer: Emacs 20.6 (via feedmail 8.1.emacs20_6 I) and Blat ver 1.8.5b
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
To: Gaurang Kanvinde <n8007034 AT ccs DOT iitb DOT ernet DOT in>
CC: djgpp AT delorie DOT com
In-reply-to: <39405DEE.89226F7B@ccs.iitb.ernet.in> (message from Gaurang
Kanvinde on Fri, 09 Jun 2000 08:31:02 +0530)
Subject: Re: far pointers
References: <39405DEE DOT 89226F7B AT ccs DOT iitb DOT ernet DOT in>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> Date: Fri, 09 Jun 2000 08:31:02 +0530
> From: Gaurang Kanvinde <n8007034 AT ccs DOT iitb DOT ernet DOT in>
> 
> How do I access memory registers in C? DJGPP gcc does not recognise  the
> far pointers that can be used otherwise. Instead,   _farpeek and
> _farpoke functions are used.
> 
> Can someone tell me how to use these functions?. What are the SELECTOR
> and OFFSET arguments in these functions?

I don't understand what do you mean by ``memory registers'', but in
general, sections 18.1, 18.2, and 18.4 of the DJGPP FAQ list
(v2/faq230b.zip from the same place you get DJGPP) should explain
these issues in quite some detail.

If something in the FAQ is unclear, please ask specific questions.

- Raw text -


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