From: Stas Sergeev <stssppnn@yahoo.com>
To: linux-msdos@vger.kernel.org
Subject: Re: how do you get a DOS returncode back into unix ?
Date: Sat, 24 Aug 2002 01:33:04 +0400 [thread overview]
Message-ID: <3D66AA10.9040604@yahoo.com> (raw)
Hello.
Per Jessen wrote:
>>No. What DOSEMU could do is to intercept int21,4d and "peek" the code
>>from DOS memory, at the SDA (obtained via int21/5d06), location 14h.
>>SDA=DOS Swappable Data Area, basically the current state of DOS,
>>combined with all its "static" variables and internal stacks.
>>The "Undocumented DOS" books attempt to do multitasking with DOS by
>>swapping the SDA. Of course multitasking with DOSEMU is trivial and
>not
>>nearly as dangerous and full of potholes :)
>>The SDA is already used by the redirector code, so DOSEMU knows its
>>location.
> Thanks Bart - I'll have a think about it.
Just wondering: is it really worth doing it
that way? Can you just create a .bat file
that will execute your program and then exitemu
with an argument to depend on ERRORLEVEL?
next reply other threads:[~2002-08-23 21:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-23 21:33 Stas Sergeev [this message]
[not found] <3D17A93E00539992@freesurfmta02.sunrise.ch>
2002-08-11 16:04 ` how do you get a DOS returncode back into unix ? Bart Oldeman
[not found] <3D17A93E00465660@freesurfmta02.sunrise.ch>
2002-08-04 15:35 ` Bart Oldeman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3D66AA10.9040604@yahoo.com \
--to=stssppnn@yahoo.com \
--cc=linux-msdos@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox