On Sun, 11 Aug 2002 17:04:09 +0100 (BST), Bart Oldeman wrote:

>On Sun, 11 Aug 2002, Per Jessen wrote:
>
>so you can only get it this way if you execute the program directly
>using int21/ah=4b (DOS EXEC). Command.com has already stolen it in your
>situation.

Ah, I wasn't counting command.com. OK. That explains it.

>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. 


/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

Reply via email to