delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/12/02/18:23:34

Message-ID: <3846F1E4.8630CC50@interlog.com>
From: Alan Illeman <illeman AT interlog DOT com>
X-Mailer: Mozilla 4.04 [en] (Win95; U)
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Using ANSI.SYS with DJGPP
References: <38454D8A DOT 66484170 AT arcticmail DOT com>
Lines: 9
Date: Thu, 02 Dec 1999 17:25:40 -0500
NNTP-Posting-Host: 154.5.73.244
X-Trace: cac1.rdr.news.psi.ca 944173115 154.5.73.244 (Thu, 02 Dec 1999 17:18:35 EST)
NNTP-Posting-Date: Thu, 02 Dec 1999 17:18:35 EST
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

N J Chackowsky wrote:
> 
> I'm developing a little unit that uses the ANSI.SYS device driver to do
> color text with cout <<. It works nicely, but I'd like to know if a
> program has the device driver loaded before I attempt to use ANSI escape
> codes. Is there a way to detect if the device driver has been loaded?

Do a search for Ralf Brown's Interrupt List. I think detection of ANSI.SYS
and other drivers is through interrupt 0x2E

- Raw text -


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