Date: Thu, 16 Nov 1995 08:39:29 +0200 (IST) From: Eli Zaretskii To: Elmar Vogt Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Re: A peculiar question: Extra Segments & DJGPP...? On 15 Nov 1995, Elmar Vogt wrote: > x10 asks for a pointer to the string to be displayed. Fine. Alas, > the way I understood it, its address is given by a combination of > Extra Segment ES and Base Pointer BP, where ES is defined in segments, > and BP in register_in. Read the DJGPP FAQ list (available as faq102.zip from the same place you get DJGPP). It explains this issue in sections 18.1 - 18.6 and will guide you to several library functions which will do the job right. (The problem is NOT whether DJGPP knows about segmentation, but rather that real-mode BIOS and DOS services expect ES:BP to point to a buffer in low memory, below 1MB mark, whereas your program's data is all above 1MB.)