delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/18/10:00:04

Date: Thu, 18 Dec 1997 08:59:45 -0600 (CST)
From: Greg Moorer <gam3 AT Ra DOT MsState DOT Edu>
To: Nate Eldredge <eldredge AT ap DOT net>
cc: djgpp AT delorie DOT com, djgpp-workers AT delorie DOT com
Subject: Re: movedata.h problems
In-Reply-To: <199712180250.SAA13346@adit.ap.net>
Message-ID: <Pine.SOL.3.96.971218085425.12222A-100000@Ra.MsState.Edu>
MIME-Version: 1.0

<snip>
> + __DJ_size_t
> + #undef __DJ_size_t
> + #define __DJ_size_t

I never woulda figured that out by myself.  Do you know which way is the
proper way to call the _dosmemputl function?  Should the parameters be
(*buffer, num_32bit_words_to_move, *dest_addr) like it is in the
prototype, or (*buffer, *dest_addr, num_...) like it is in all the
provided examples.
-Greg

P.S.  This would be a fast way to transfer a double buffer, would it not?
Is there an extended ASM macro to move 32 bits at a time?

- Raw text -


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