Date: Thu, 20 Jun 1996 15:38:58 +0800 (GMT) From: Orlando Andico To: Luke Rissacher cc: djgpp AT delorie DOT com Subject: Re: Q: How to handle 64k segments? In-Reply-To: <4qajcg$ija@news.wco.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII > : 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.