Stas,

Stas Sergeev ha scritto:

> Hello.
>
> Maurilio Longo wrote:
> > If I switch from 1.2.2 to 1.3.1 my dos app (no other changes to dosemu.conf 
> > or
> > any other files) stops detecting DCD when a connection is established
> > via modem.
> Thats odd, I can't recall anything
> that could cause this.
>
> > What can I do?
> Open the bug-report and attach the
> -D9+s logs from both the 1.2.2 and
> 1.3.1 sessions.

I've opened bug id 1075068 adding three logs, if you want I can send them to 
you,
they're 20kb in size.


> > PS. Adding the RTC patch from sourceforge helps a lot serial sending
> How exactly it helps? Making it faster?

Making it smoother (I have a serial printer and a modem to handle) and making it
able to sustain a serial transmission.

>
> Have you tried setting $_hogthreshold=(0)
> and see if that helps either?

Yes, hogthreshold to 0 does not make it faster nor smoother. I've also redefined
INT2F_ and INT15_ defines to INT28_ which is a lot smaller, this help serial
receiving.

I think that there should be a thread which handles serial I/O and which never 
sleep
but blocks on receiving from real serial port ( /dev/ttySx) not to consume cpu
(receiving is the most demanding task), the current implementation which 
usleep()s
here and there isn't able to cope with a 19200 baud transmission on a 3Ghz P4 
if I
don't change those two defines from timers.h.

Note that telepathy comm library of my clipper app writes directly to the serial
hardware and does not use bios.

regards.

--
 __________
|  |  | |__| [EMAIL PROTECTED]
|_|_|_|____| Team OS/2 Italia


-
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