Mail Archives: djgpp-workers/2001/08/02/06:14:36
On Wed, 1 Aug 2001, Mark E. wrote:
> > The upshot of this is that you need to call a special function (see
> > refreshvirtualscreen on conio.c) to signal DOS/V that it should update
> > the actual screen from its virtual contents at 0xb800 or wherever.
>
> > OTOH, if only BIOS functions are used to
> > write text and move cursor, this problem is irrelevant to termios.
>
> Then perhaps DOS/V should use the all-BIOS support (when added) so
> the direct access code doesn't have to deal with this complication.
I'm not sure what do you mean. Are you suggesting to have two
branches of code in termios, one that uses BIOS for DOS/V, the other
one which uses direct video memory access, for other systems? If so,
I think it's easier to use direct access on all platforms and to call
the equivalent of refreshvirtualscreen at strategic points: it's not
such a big deal, in practice, as demonstrated by conio.
- Raw text -