Mail Archives: djgpp-workers/1997/10/26/09:51:59
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.
- Raw text -