From: Stuart Axon <appg18@dsl.pipex.com>
To: Bart Oldeman <oldeman@math.ohio-state.edu>
Cc: dosemu mailing list <linux-msdos@vger.kernel.org>
Subject: Re: hooking int 21?
Date: 26 Jan 2003 23:39:26 +0000 [thread overview]
Message-ID: <1043624366.4966.28.camel@mauve.local> (raw)
In-Reply-To: <Pine.LNX.4.33.0301261802320.4431-100000@enm-bo-lt.localdomain>
Thanks, discovered the can_revector_int21 too, which seemed to help...
Now tho, can't seem to return a cleared carry flag: if I temporarily put
ds_printf("CF=%x\n",REG(eflags)&&CF);
in int21() after my function call I can see
CF=0
so it's still clear, but by the time it gets back to dos its set, is
there anything I need to be aware of in order to preserve CF?
On Sun, 2003-01-26 at 23:07, Bart Oldeman wrote:
> On 26 Jan 2003, Stuart Axon wrote:
>
> > Hello, I want to handle a function of int21 in dosemu, but can't see
> > where to put the code; int21() in int.c is only for when debugging...
> > but I can't see where for normal execution..?
>
> Yes, int21() only traps in DOSEMU for debugging, and some hooks
> for the redirector. Everything else is handled by the DOS you're running
> in DOSEMU.
>
> But of course you can do what you like in int21() or ms_dos() for that
> matter.
>
> Bart
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2003-01-26 23:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-26 8:22 hooking int 21? Stuart Axon
2003-01-26 23:07 ` Bart Oldeman
2003-01-26 23:39 ` Stuart Axon [this message]
2003-01-27 0:04 ` 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=1043624366.4966.28.camel@mauve.local \
--to=appg18@dsl.pipex.com \
--cc=linux-msdos@vger.kernel.org \
--cc=oldeman@math.ohio-state.edu \
/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