Hi, Konstantin tells:
http://www.clipx.net/ng/dos5/ng27979.php
... he uses those details to do "add sp,6 ..." to do some
kind of DOUBLE / skipping return in his int 23 handler.
A NORMAL retf +2 (or IRET) would only tell DOS about the
^C condition (either "continue/ignore" or "abort"), while
a DOUBLE return (using the OTHER return address) aborts
the program directly.

So his question is, roughly "if I only do STC RETF +2 in
my int 23 handler, ^C is displayed but the program does not
abort at once in MS DOS 6.22 kernel using my shell. If I do
STC RETF +8, however, the program aborts at once. Does
FreeDOS support the same trick?"

No idea. But as with the tab-expansion (Borland grep2msg
story), we may want to have compatibility of hardly documented
""features"" as well... I did not test this - just forwarding
the suggestion from Konstantin (who is not on this list, see
www dot deskwork dot de for contact information if you CC him).

The abovementioned URL also tells that all DOS functions can
be used by the int 23 handler, is that true? I thought only
int 21 functions 0..c and 30? Or was that an int 24 only constraint?

K. just tested in Win98: It seems to work, but he used his MEM
version for testing which did something which messed up protected
mode from inside the DOS box and crashed the whole system. Great.
At least he reports that Win98 DOS mode acts okay and like MS DOS.

Eric.


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Freedos-kernel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-kernel

Reply via email to