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" To: Gaurang Kanvinde 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 Precedence: bulk > Date: Fri, 09 Jun 2000 08:31:02 +0530 > From: Gaurang Kanvinde > > 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.