From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stas Sergeev Subject: Re: dosemu Date: Sun, 11 Sep 2005 17:42:11 +0400 Message-ID: <43243433.1010300@aknet.ru> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: Sender: linux-msdos-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: linux-msdos@vger.kernel.org Hello. Clarence Dang wrote: >> exitemu, so a linux process could evaluate succes or failure of the >> dos program execution. > Difficult. Well, but it is not like checking the presence of the binary by the DOS path which we considered difficult. Checking the exit status might be possible by, for example, calling the int21/ah=4dh in bios.S. The hook is being installed in load_and_run_DOS_program(). Right now it uses the 0f000h:0fff0h, which just terminates, but it can easily be changed. The question is only: do we really need that? Since you are at it right now, you can include that in your patch as well (ok ok, I'll look into your patch finally right now or soon:)