Mail Archives: djgpp/1997/12/31/02:50:13
On Tue, 30 Dec 1997, Nat Saiger wrote:
> and it didn't work, so I downloaded a tutorial on video memory under
> djgpp, and it used the line
>
> unsigned char *videoptr = (unsigned char *)0xA0000 +
> __djgpp_conventional_base;
>
> What is __djgpp_conventional_base? There is no mention of it in
> Rhide's syntax help and the document didn't explain it.
This is explained in the DJGPP FAQ list, section 18.5, and in the
DJGPP library reference under __djgpp_nearptr_enable. (The FAQ is
available as v2/faq210b.zip from the same place you get DJGPP.)
> Also, which is the FASTEST way to access the video memory, enabling
> near pointers or emulating far pointers?? (or is there a better way)
On most systems, near pointers and far pointers yield the same speed.
The FAQ lists several alternatives of accessing conventional memory in
section 18.4.
- Raw text -