delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/08/05:19:46

From: lonniem AT cs DOT utexas DOT edu (Lonnie McCullough)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Video memory access speed!!
Date: Wed, 06 Aug 1997 22:47:22 GMT
Message-ID: <33e8fdf3.886603@news.nol.net>
References: <870892337 DOT 63979 AT mn8>
NNTP-Posting-Host: ip39-35.nol.net
Lines: 20
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019