Mail Archives: djgpp/1997/08/08/05:19:46
On Wed, 6 Aug 1997 20:27:57 +0200, "xIGOO"
<jan-erik DOT henriksson AT mailbox DOT swipnet DOT se> wrote:
>Hello,
>
>which is the fastest way to access video memory in DJGPP?
>
>I have tried these two ways:
Actually neither of these ways even attempt to access video memory,
all they do is set the video mode. They are probably pretty even as
far as speed goes. What you should actually be worrying about is
actually accessing memory. A mode switch is going to take a while
anyway compared to other operations your program might be performing
(the bios is just not all that fast sometimes, well actually usually).
Read the FAQ for a discussion of "NEAR" and "FAR" pointers and the
relative merits of each. I think it's in Section 18 or something. ?
Lonnie McCullough
lonniem AT cs DOT utexas DOT edu
- Raw text -