www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/04/06/06:46:44

Date: Sun, 6 Apr 1997 13:25:49 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: oghma <oghma AT epix DOT net>
cc: djgpp AT delorie DOT com
Subject: Re: Writing to video buffer - the fastest way.
In-Reply-To: <334484D8.384@epix.net>
Message-ID: <Pine.SUN.3.91.970406132521.2353K-100000@is>
MIME-Version: 1.0

On Thu, 3 Apr 1997, oghma wrote:

> I would really appreciate if someone could tell me, or even better, give
> me an example, of the fastest way of moving data to the video_buffer.  I
> would be really happy if there is a way to move it all at once, all
> 64K.

If you need to move large buffers, just use the `movedata' library
function.  It already moves by DWORDS, and it does that in assembly.
You can even get its source (in djlsr201.zip, files md.s and djmd.s),
insert it into your program and declare the function __inline__, which
will save the call overhead.

- Raw text -


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