delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/04/24/01:10:31

Date: Mon, 24 Apr 2000 08:39:02 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Martin Str|mberg <ams AT father DOT ludd DOT luth DOT se>
cc: djgpp AT delorie DOT com
Subject: Re: dead beef
In-Reply-To: <8dv2a9$dlv$2@news.luth.se>
Message-ID: <Pine.SUN.3.91.1000424083644.12476D-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019