Mail Archives: djgpp/2000/04/24/01:10:31
On 23 Apr 2000, Martin Str|mberg wrote:
> Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> wrote:
> : ANSI.SYS is evil (but I don't think the above command requires
> : ANSI.SYS). You could compile a simple program that calls library
> : function _set_screen_lines, and use that instead. Works like charm
> : for me, both in plain DOS and on Windows.
>
> It is? Why?
Are you asking why is ANSI.SYS evil?
Because it hooks Int 29h and many programs which write to the screen
and hook BIOS don't expect that and choke. It also tremendously slows
down DOS/BIOS screen writes (which affects any console program tha
uses printf): Int 29h is used heavily and must be very fast. In
addition, it took up too much conventional RAM.
At the time, there were lots of clones for ANSI.SYS (you can still find
them on SimTel), which alone speaks volumes about this issue.
- Raw text -