www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/06/20/03:44:29

Date: Thu, 20 Jun 1996 15:38:58 +0800 (GMT)
From: Orlando Andico <orly AT gibson DOT eee DOT upd DOT edu DOT ph>
To: Luke Rissacher <kingluke AT wco DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: Q: How to handle 64k segments?
In-Reply-To: <4qajcg$ija@news.wco.com>
Message-ID: <Pine.SGI.3.93.960620153754.7909A-100000@gibson.eee.upd.edu.ph>
MIME-Version: 1.0

> : Armin Herzer (herzer AT fbp DOT fh-weingarten DOT de) wrote:
> : : Hello all,
> : : I have the following question concerning DJGPP (v1.12mt5 and v2):
> : : What must I do to copy a 64k segment (starting at DC000) into
> : : an array with the size of [256][256].
> : : Can someone please post me an example?

you dont need DPMI functionality for this.
dosmemget() will work fine. make the target pointer be the array of the
appropriate size (must be an array of bytes of course).

see your info reference on dosmemget(). i'm pretty sure it's in v1 DJGPP
as well.

- Raw text -


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