Date: Wed, 12 Jul 1995 08:10:21 +0300 From: eliz AT is DOT elta DOT co DOT il (Eli Zaretskii) To: ukwr AT mcl DOT ucsb DOT edu Subject: Re: Writing to physical memory Cc: djgpp AT sun DOT soe DOT clarkson DOT edu > 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