On Tue, 5 Jan 1999, Hans Lermen wrote:

> On Mon, 4 Jan 1999, Aart Koelewijn wrote:
> 
> > I wanted to run dos that way, to get a log of the communication between
> > the DOS programm and the micro-controller. But when I use that switch I
> > get a communication time-out in the DOS programm :-(
> 
> Sure, because each byte tranferred via the serial port leads to 100 times
> more bytes written to the logfile.
> 
> You may try
> 
>   # dos -D+s -I 'logbufsize 0x200000 logfilesize 0x200000'
> 
> This will expand the log buffer to 2Meg and (most likely) not flushing to
> the file until the end of the dosemu session.
> 

Thanks, have tried it. My version of dosemu does not seem to support the
logfilesize switch (version 0.66.6). But as I read in this list that the
newest version has problems with the communication through the serial port
I am not going to try that. logbufsize is in dosemu.conf now.

And it still does not work with debugging on. As this laptop only got 4 Mb
ram, it might well be that the debugging data is now written to swap,
which will not help much in speeding up the proces. Have already tried
1 Meg, and, as the logfile from such a (short) session is never more then
0.5 Meg, will try that too. Time-out at 99 sec (longest possible), but no
luck :-(. Tried to cut down on everything else that uses memory, but that
did not help either.

I'm afraid I will have to do the whole thing on my desktop, which is
somewhat faster and has lots of ram. Don't really like that, it has only 1
serial port, and that is in almost constant use (and I can't take it with
me in the field, so will have to simulate everything)

Anybody else any idea's?

Aart


Aart Koelewijn                                 Linux 2.0.36 
email: [EMAIL PROTECTED]
http://www.xs4all.nl/~mtack/

Reply via email to