www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/06/05/02:10:30

Date: Wed, 5 Jun 1996 08:55:53 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Ben Ashley <Ben AT flag DOT demon DOT co DOT uk>
Cc: djgpp AT delorie DOT com
Subject: Re: MK_FP
In-Reply-To: <833890807snz@flag.demon.co.uk>
Message-Id: <Pine.SUN.3.91.960605085142.25305H-100000@is>
Mime-Version: 1.0

On Tue, 4 Jun 1996, Ben Ashley wrote:

> However, I use a function called _MK_FP(segment,offset), to make a far pointer.

You don't need _MK_FP to access memory in DJGPP, as it uses 32-bit flat 
address space with no segmentation.

However, _MK_FP is also used in code fragments that access memory-mapped 
devices on the PC (like video memory).  If that is what you need, then 
please read section 18.4 of the DJGPP FAQ list (available as 
v2/faq200b.zip from the same place you get DJGPP) which explains how to 
do this in DJGPP.

- Raw text -


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