On Sun, 04 Aug 2002 19:15:21 +0200, Per Jessen wrote: >On Sun, 4 Aug 2002 16:35:56 +0100 (BST), Bart Oldeman wrote: > >>So it's easy to write your own exitemu if this actually works -- I'm not >>sure why not yet. It can just call int21/ah=4d to get the DOS return >>code. Maybe this should be an option, also using "exitemu 2" to exit >>with code 2.
I've been trying to get this to work for the last few days - no luck. Whenever I call int21 ah=4D, I always get al=00 back. However, IF ERRORLEVEL works fine. As far as I can tell, the call is processed by DOS itself, ie. DOSEMU doesn't really touch it. Even the simplest setup - a program that sets the rc, and one that calls int21,4d to retrieve it doesn't work. Does anyone know where ERRORLEVEL gets the information from ? As far as I can tell, DOSEMU itself makes no use of int21,4d ? if it did, it would very probably screw my attempts of using it. Comments ? /Per regards, Per Jessen, Zurich http://www.enidan.com - home of the J1 serial console. Genius may have its limitations, but stupidity is not thus handicapped. - To unsubscribe from this list: send the line "unsubscribe linux-msdos" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
