Date: Sun, 26 Oct 1997 16:44:33 +0200 (IST) From: Eli Zaretskii To: Vik Heyndrickx cc: djgpp workers Subject: Re: proposal: movedata, dosmemget, etc. replacement In-Reply-To: <345083ED.4789@rug.ac.be> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Fri, 24 Oct 1997, Vik Heyndrickx wrote: > > `movedata' should be used for large buffers, where the overhead of the > > DS reload is negligible. If they need to move small buffers, they > > should use `_farnspokeXX' which done't reload DS/ES. > > I'm curious what happens when buffering is off and the user tries to > read a character from a file stream. They get lousy performance, which IMHO they deserve. But if this is a case which needs to be optimized, we could always add some code to use `_farnspeek' for small buffers. > The code needed to implement this is very small (I preliminary think > zero bytes of code and about 8 bytes of data) Then go ahead and send patches to DJ, and let us all see how small that is, and how more convenient does it make the access to hardware.