On Fri, 24 Aug 2001, Kipp Cannon wrote:
> I checked the archives and found some messages on this subject but only
> questions, no replies. So maybe this is a FAQ but, honestly, I've looked
> all over and not been able to find an answer to my problem.
>
> 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.
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.
Also note that a non-(suid)-root dosemu, which is 1.0.2 by default either
ignores (and logs) or emulates port reads/writes but can never talk
directly to the real hardware.
Bart
-
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