On 05-16-97 (14:10) QUINTIN OLIVER wrote to ALL
QO> I'm looking for a program that can route information
QO> recieved from COM1 to COM2 and visa virsa, I've tried many
QO> companys but I'm just NOT getting the help I wan't :-((
If this is to be used from DOS then you just swap the addresses
for COM1 and COM2.
Here is a DEBUG dump of a 13-byte program that swaps the two
ports.
P:\TTT>debug prnswap.com
-u 100 10c
0E12:0100 1F POP DS
0E12:0101 A10804 MOV AX,[0408]
0E12:0104 87060A04 XCHG AX,[040A]
0E12:0108 A30804 MOV [0408],AX
0E12:010B CD20 INT 20
-q
P:\TTT>
---
* QMPro 1.53 * steven read pcohio com
--- InterEcho 1.19
---------------
* Origin: PC-Ohio PCBoard * Cleveland, OH * 216-381-3320 (1:157/200)
|