On 7/29/2022 11:44 AM, Steve Nickolas wrote:
On Fri, 29 Jul 2022, Ralf Quint wrote:

Well, not having comments to understand what you are doing is pretty tough when you don't have the time to analyze the code line by line. 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.

That seems to be the call that I recall. I just came back from today's conference sessions, will check this after dinner, though I am not sure I have a copy of my old source codes with me right now. Not sure about the DOS 4.0+ stuff, the one computer where I used ANSI for some BBS stuff I don't think even ran MS-DOS 3.0 yet. But then this is +35 years ago... ;-)

Ralf




_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to