中国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-09-15 00:04
47,812 topics / 349,917 posts / today 0 new / 48,268 members
DOS开发编程 & 发展交流 (开发室) » Question for the experts: how to write a read/write test program for multiple serial ports under DOS
Printable Version  1,765 / 2
Floor1 icepnt Posted 2003-05-07 00:00
初级用户 Posts 7 Credits 120
The system has a multi-serial-port card with eight 232 serial ports, sharing one interrupt (IRQ10). In addition, the motherboard itself has 4 serial ports, using IRQ3 (com2, com4) and IRQ4 (com1, com3) respectively. How can I initialize the serial ports and do read/write operations? When reading uses interrupts, how do I tell which serial port number it is? (in the case of a shared interrupt)

How do I enable and disable interrupts??

Thanks. I’ve never done this kind of serial-port development under DOS before, and I hope to get everyone’s help here!! Waiting online!!
Floor2 如是大师 Posted 2003-05-07 00:00
元老会员 Posts 3,351 Credits 9,654 From 湖北
I’m not too familiar with this either, wait for the other moderators...
Floor3 icepnt Posted 2003-05-07 00:00
初级用户 Posts 7 Credits 120
I’m in a hurry. If I use interrupts, how do I put my own interrupt handler into the vector table? How do I enable interrupts, and what needs to be done to make it work properly? For example, for COM1’s IRQ4 interrupt vector 0ch, what do I need to set in order to enable the interrupt?

help me please!
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023