Thanx in advance,
Cyril Plisko.
Internet: i...@etchq.msk.su
Yes. You write an ansi sequence on the screen, and test the result
directly from the CRT because they will differ if the sys is loaded
or not. In MdDos 5.0 you can also use interrupts as explained by
some recent PC-Magazines number. If you need just the program, not
the code you can find it in garbo.uwasa.fi:/pc/ts/tsbat31.zip. If
you program in Turbo Pascal you can find the routine in my TP units
collection garbo.uwasa.fi:/pc/ts/tspa26*.zip.
"If you do not know how to go about getting this package you are
welcome to email me for the prerecorded garbo.uwasa.fi instructions,
Keith Petersen (w8...@wsmr-simtel20.army.mil) for SIMTEL20
information, or Craig Warren (c...@deakin.oz.au) for Oceanian garbo
mirror information. North American users are advised first to
search on SIMTEL20 or its mirror wuarchive.wustl.edu. Oceanian
users are referred to rana.cc.deakin.oz.au (for recent files)."
...................................................................
Prof. Timo Salmi (Temporarily as sa...@finsun.csc.fi)
Moderating at garbo.uwasa.fi anonymous ftp archives 128.214.87.1
School of Business Studies, University of Vaasa, SF-65101, Finland
Internet: t...@chyde.uwasa.fi Funet: gado::salmi Bitnet: salmi@finfun
Unfortunately this does not work with all ANSI drivers, such as EANSI.SYS
supplied by ULTRA-VGA - which is annoying when these are touted as extensions
of the ANSi.SYS functions.
Chris jennings
Alice Springs
Australia.
UUCP: {munnari}!jabaru!anthos!tanus!11725
INET: 11...@tanus.oz.au
Note that the function did not exist prior to DOS 4.0, and wasn't documented
until DOS 5.0. In earlier versions, MSDOS checked whether
segment(INT 29h) > segment(INT 20h)
and assumed ANSI.SYS was present if so.
--
{backbone}!cs.cmu.edu!ralf ARPA: RA...@CS.CMU.EDU FIDO: Ralf Brown 1:129/26.1
BITnet: RALF%CS.CMU.EDU@CARNEGIE AT&Tnet: (412)268-3053 (school) FAX: ask
DISCLAIMER? Did | Lunsford's Rule of Scientific Endeavor: The simple
I claim something? | explanation always follows the complex solution.
Try getting a hold of the INFOPlus program. It includes complete
source code for itself (INFOPlus is a norton SI like program, telling
you what is inside your computer). It detects ANSI.SYS, I believe
through a MultiPlex call, DOS int 2fh, though I cannot be more specific.
Good Luck.
Scott G.
109667 Jan 1 01:50 garbo.uwasa.fi:/pc/turbopas/ifp1s150.zip
"If you do not know how to go about getting this package you are
welcome to email me for the prerecorded garbo.uwasa.fi instructions,
Keith Petersen (w8...@wsmr-simtel20.army.mil) for SIMTEL20
information, or Craig Warren (c...@deakin.oz.au) for Oceanian garbo
mirror information. North American users are advised first to
search on SIMTEL20 or its mirror wuarchive.wustl.edu. Oceanian
users are referred to rana.cc.deakin.oz.au (for recent files)."
...................................................................
Prof. Timo Salmi
--
Ira Yermish, Ph.D. (215)-660-1636
iyer...@sju.edu
This should work for ANSI.SYS - emulators I can't help you with I'm
afraid...
Interrupt 2Fh, function 1Ah, subfunction 00h
mov ax,1A00h
int 2Fh
cmp al,FFh
je ANSIInstalled
This requires DOS 4.0 or higher I'm afraid.
Jon
=============================================================================
Jon Freivald ( j...@jaflrn.uucp )
Nothing is impossible for the man who doesn't have to do it.
=============================================================================
-az
--
Internet: s286...@tx.technion.ac.il . __
I'M A STUDENT: When I'm wrong, it's my teacher's fault _| /
(when I'm right, why, I take all credit!) / | /_
Alon Ziv