Detecting ANSI.SYS
Compare segment address of a DOS interrupt with the segment of the
standard CON device. If equal, then ANSI is not loaded. If the
segment address of CON is greater than the DOS interrupt, then ANSI
is loaded or a TSR is handling the interrupt.
- see INT 21/52 for info on CON device address
Alternately, INT 2F/1A00 will return AL=0FFh if ANSI is installed. |
|
|