Mail Archives: djgpp/1995/11/16/04:23:00
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.)
- Raw text -