www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/08/18/08:49:38

Date: Sun, 18 Aug 1996 15:43:53 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: RKS1789 AT ritvax DOT isc DOT rit DOT edu
Cc: djgpp AT delorie DOT com
Subject: Re: help with far pointers to memory please.
In-Reply-To: <01I8E4G9E1B89S3TJT@ritvax.isc.rit.edu>
Message-Id: <Pine.SUN.3.91.960818154128.1338R-100000@is>
Mime-Version: 1.0

On Sat, 17 Aug 1996 RKS1789 AT ritvax DOT isc DOT rit DOT edu wrote:

> Hi, I just downloaded djgpp and am trying to take a program written 
> with borland 4.02 and convert it so it will work with djgpp.  The only 
> real problem appears when I try to do something like: char far 
> *vid_mem=(char *)MK_FP( 0xA000, 0); 

Please download the file v2/faq201b.zip from the same place you get DJGPP 
and read the DJGPP FAQ list there.  It answers this question in section 
17.7.  Be ready for a bit of untrivial code re-writing, because accessing 
memory-mapped hardware is done differently in DJGPP.

- Raw text -


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