Skip to contentSkip to conversation

Com port question

DISCUSSION Stas Sergeev 3 participants 3 messages Nov 17, 2002

lore
Share & tools
lore
#0 lore raw

Hello.

Quoted 1 line · Bernie Gardner

slow to keep up. Is there a way to speed up the com port?

Probably no - emulation is an emulation. It works quite fast in a FIFO mode (buffering), but when there is no buffering and each operation must be performed immediately, if falls down with a perforance.
You can always try to use a direct access to the com ports (bypassing an emulation) but it is not something that is recommended for the real use. Try setting $_hogthreshold to 0, maybe that will help a bit.
Btw, what dosemu version do you have? The latest ones shold perform a little better under some conditions.

#1 lore raw

Hi there,

Quoted 4 lines · Stas Sergeev
Quoted 1 line · Bernie Gardner

slow to keep up. Is there a way to speed up the com port?

Probably no - emulation is an emulation.
It works quite fast in a FIFO mode (buffering),

I do not think FIFO buffering will help a program which manipulates the DTR line directly, as the UART is not actually sending data in the normal way - it's just being used as a 1-bit data latch.

[snip]

Quoted 4 lines

You can always try to use a direct access to the com ports (bypassing an emulation) but it is not something that is recommended for the real use. Try setting $_hogthreshold to 0, maybe that will help a bit.

Unless you can get the source for the program and recompile it for Linux, I think direct access is the best way to go in this case.

73,
Ged.

#2 lore raw
Quoted 7 lines · Ged Haywood

Hi there,

Quoted 4 lines

You can always try to use a direct access to the com ports (bypassing an emulation) but it is not something that is recommended for the real use. Try setting $_hogthreshold to 0, maybe that will help a bit.

Quoted 7 lines

Unless you can get the source for the program and recompile it for Linux, I think direct access is the best way to go in this case.

73,
Ged.

Thanks to you and Stas Sergeev for the thoughts. I am using dosemu version 1.0.2.0 on SuSE 8.1 if it matters. It's possible if I have to ask I shouldn't do it, but can you give me a hint how to set up for direct access to the serial port?

Thanks and 73,

Bernie
[email protected]