Linux MS DOS discussions
 help / color / mirror / Atom feed
* Re: how do you get a DOS returncode back into unix ?
@ 2002-08-23 21:33 Stas Sergeev
  0 siblings, 0 replies; 3+ messages in thread
From: Stas Sergeev @ 2002-08-23 21:33 UTC (permalink / raw)
  To: linux-msdos

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?


^ permalink raw reply	[flat|nested] 3+ messages in thread
[parent not found: <3D17A93E00539992@freesurfmta02.sunrise.ch>]
[parent not found: <3D17A93E00465660@freesurfmta02.sunrise.ch>]

end of thread, other threads:[~2002-08-23 21:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-23 21:33 how do you get a DOS returncode back into unix ? Stas Sergeev
     [not found] <3D17A93E00539992@freesurfmta02.sunrise.ch>
2002-08-11 16:04 ` Bart Oldeman
     [not found] <3D17A93E00465660@freesurfmta02.sunrise.ch>
2002-08-04 15:35 ` Bart Oldeman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox