delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/07/10/10:28:00

Date: Thu, 10 Jul 1997 10:25:42 -0400 (EDT)
From: "Art S. Kagel" <kagel AT ns1 DOT bloomberg DOT com>
To: David Orme <phreadd AT powerup DOT com DOT au>
Cc: djgpp AT delorie DOT com
Subject: Re: [Q] Memory Transfers
In-Reply-To: <5q1lae$dtv$1@grissom.powerup.com.au>
Message-Id: <Pine.D-G.3.91.970710102423.25594F-100000@dg1>
Mime-Version: 1.0

On 10 Jul 1997, David Orme wrote:

> I have two arrays, larger than 64K in size, and I need to copy one to the 
> other VERY quickly. A browse through the RHIDE help files gives the 
> following as options:
> 
> memcpy
> bcopy
> dosmemget, dosmemput
> dosmemgetb, dosmemputb
> dosmemgetl, dosmemputl
> dosmemgetw, dosmemputw
> movedata
> movedatab
> movedatal
> movedataw

As long as the two arrays do not overlap use either bcopy or memcpy.  
Performance should be equal.  The others are special purpose, like 
copying to/from DOS real addresses. 

Art S. Kagel, kagel AT bloomberg DOT com

- Raw text -


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