Hi,

On Fri, Jul 29, 2022 at 1:45 PM Steve Nickolas <[email protected]> wrote:
>
> On Fri, 29 Jul 2022, Ralf Quint wrote:
>
> > But IIRC, the common way to check for the presence of an ANSI device driver
>> was to check via an INT 2Fh (multiplexer) call (don't recall the exact call 
>> value
> > (AX/AH)).
>
> That would only work on MS-DOS 4 or later and I'm not sure NANSI supports
> it, but according to RBIL, it's INT2F/AX=1A00, return FF in AL.

I remember when Eric Auer added it to NANSI, so it should support it:

* https://docs.huihoo.com/help-pc/int-int_2f_0.html

INT 2F,0 - DOS Multiplex Interrupt - Get Installed State
AL = 00
AH = 1A  for ANSI.SYS (DOS 4.0+)
on return:
       AL = 00  not installed, ok to install
          = 01  not installed, do NOT install
          = FF  installed


_______________________________________________
Freedos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to