中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-12 14:25
47,811 topics / 349,897 posts / today 0 new / 48,256 members
DOS学习入门 & 精彩文章 (教学室) » Seeking to know how to set the CONFIG.SYS file to enable 232 serial port communication
Printable Version  1,867 / 2
Floor1 WANFENG Posted 2006-04-14 14:48
初级用户 Posts 4 Credits 20
Ask for advice on how to use the 232 serial port for data communication under DOS. How should it be set in CONFIG.SYS? Please have experts reply on the settings. Is it using the MODE command? It is best to give a complete reply on the serial port definition, baud rate, parity check, etc. That is, the complete reply of MODE. If there is no parity check, is parity check = 0 selected? Thanks in advance.
Floor2 DOSforever Posted 2006-04-14 17:52
金牌会员 Posts 2,239 Credits 4,639
No need to set in CONFIG.SYS, just use the MODE command.

MODE COMm[:] [BAUD=b] [PARITY=p] [DATA=d] [STOP=s] [RETRY=r]

COMm m is the serial port number
BAUD=b baud rate
PARITY=p odd/even parity
DATA=d data bits
STOP=s stop bits
RETRY=r retry count

For details, see: mode /? or help mode for detailed introduction
Floor3 rainbow Posted 2009-06-30 04:47
新手上路 Posts 3 Credits 6
I tried,
mode com1: 96,n,8,2,n
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023