On Sat, 25 Aug 2001, Bart Oldeman wrote:
> On Fri, 24 Aug 2001, Kipp Cannon wrote:
>
[snip]
> > With older versions of dosemu, it was possible to get a dump of I/O port
> > reads and writes by giving an appropriate -D option. I cannot, for the
> > life of me, figure out how to get version 1.0.2 to produce such a dump.
> > All I can get it to produce are messages about
> >
> > nPORT: set_ioperm [ 300: 1:1] returns 0
> >
> > and so on. Checking the source code I see that emu-i386/ports.c does seem
> > to have code for generating logging output so how do I turn it on?
>
> What kind of port tracing did you try?
> xdosemu -D+iT
> gives output in boot.log.
Ahhh, yes. That's done it, thanks. The "T" option is what I was missing.
It's neither listed in the command line usage message nor the README-tech
file although both of those have lists of available debug options. Now
that I know what to look for, however, I do see it in the dosemu.bin.1 man
page --- hiding in plain view :-).
> Which ports did you want to check - not all are initialized for logging,
> just the ones from 0x100 to 0x2ff (don't know why) given the statement
> (line 168, ports.c)
> register_port_traceing(0x100, 0x2ff);
>
> So you might want to adjust this.
Yeah, I've already done that. Wouldn't you know it that I need to watch
0x300... :-/
So thanks again for your help.
-Kipp
-
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