Mail Archives: djgpp/1997/09/23/07:32:50
On Tue, 23 Sep 1997, ludvig wrote:
> for(n=0;n<ca;n++)
> _farpokew(_dos_ds,0xA0000+offset*2+n*2,screen_buffer[ibmp+n]);
0xA0000 is the address of the graphics screen. Is that what you are
trying to do? If you need the text screen, use 0xB8000 instead.
> How do I do? I have in vaine tried to set _my_ds to screen_buffer[ibmp]
> and I have tried to find info in the faqs, but it just wont work...
The DJGPP FAQ explains all this (and in so many words) in section 18.4.
If something there is not clear, or doesn't seem to work, please ask
specific questions about what the FAQ tells.
You can't set `_my_ds' to anything, btw: `_my_ds' is a function, not a
variable (also explained by the above section of the FAQ).
- Raw text -