中国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:53
47,812 topics / 349,917 posts / today 0 new / 48,268 members
DOS开发编程 & 发展交流 (开发室) » Interception of port data under DOS
Printable Version  2,860 / 4
Floor1 ericwind Posted 2010-10-26 11:39
新手上路 Posts 1 Credits 4
Recently, the boss needs us to develop a software to intercept serial and parallel port data under the DOS operating system. I have no ideas at all. I hope everyone can give some suggestions on how to start.
Floor2 cnch Posted 2010-11-07 01:04
中级用户 Posts 70 Credits 326
The boss is testing your ability, right! Intercepting serial and parallel port data involves understanding hardware. First, familiarize yourself with computer hardware. For example, the addresses of serial and parallel ports are the same all over the world. Once you know the address, you can perform read and write operations on it.
Floor3 netwinxp Posted 2010-11-26 08:30
高级用户 Posts 366 Credits 741
The serial data port is not an IO port that can read the previous data. So, a solution idea is to externally connect a hardware similar to a watchdog on the serial port to collect data, and then read back from this hardware when there is no data transmission.
It is also possible to enter protected mode and set the IO of the serial port as a privileged instruction (the IO of the serial port in Windows is not a privileged instruction) to intercept, but it is too difficult and far less intuitive than the previous method.
Floor4 then0011 Posted 2011-01-12 23:57
新手上路 Posts 9 Credits 5
DOS that thing is powerful

The boss is testing you, not using DOS but using Windows is better

Don't know what the boss wants to do with the DOS system
Floor5 070 Posted 2014-09-15 18:41
高级用户 Posts 218 Credits 663 From 福建
Although it doesn't make much sense to answer this question now, the part of the function the original poster needs can probably be achieved through the I/O capture function of Emm386. As for whether the function of intercepting data can be achieved, I need to look at the documentation in detail.
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023