Mail Archives: djgpp/1995/07/12/02:05:10
> Is it faster to use dosmemput() or movedata() ?
Usually, movedata() is faster if you have more than a dozen of
bytes to move *and* if the destination supports 32-bit accesses
(some peripheral cards don't, so you essentially get 16-bit or
even 8-bit moves).
> additionally the selectors used in in movedata(), are they a constant?
> ie can I calcualte what the selectors are and never recalculate thme?
In v1.x, they are, AFAIK.
> or is there a faster way than movedata() or dosmemput() ?
There is a discussion of available methods in the DJGPP FAQ list, section 18.4.
The latest version of the FAQ is available as faq102.zip from the same place
you get DJGPP. Or point your Web browser to this URL:
http://www.delorie.com/djgpp/faq/lowlevel/memtrans.html
- Raw text -