Thread View: alt.msdos.programmer
8 messages
8 total messages
Started by Joe Zitt
Mon, 08 May 1989 12:54
Switching COM: Ports
Author: Joe Zitt
Date: Mon, 08 May 1989 12:54
Date: Mon, 08 May 1989 12:54
13 lines
1085 bytes
1085 bytes
Is there a way to fake out a PC into talking to a different COM port?
Here's the situation: I have what looks like a really neat Unix Mail clone.
Unfortunately, the code is hard-wired to use COM1:. Since my )!(@*#&$^% MIDI
board is also hard-wired to COM1:, I had to put my modem on COM2:.
Is there a way to get the software to talk to the other port, either through
a small resident or something else?
--
Joe Zitt * {sun!hoptoad,cmcl2}!dasys1!jzitt * Big Electric Cat
PAM Repertory Company also: (killer,uunet,psuvax}!cbis3!elephant!zitt!joe
imagine the clouds dripping. dig a hole in your garden to put them in. yoko '83
Re: Switching COM: Ports
Author: Russ Nelson
Date: Mon, 08 May 1989 17:24
Date: Mon, 08 May 1989 17:24
12 lines
1123 bytes
1123 bytes
In article <9593@dasys1.UUCP> jzitt@dasys1.UUCP (Joe Zitt) writes: Is there a way to fake out a PC into talking to a different COM port? Yes and no. Due to the lack of of interrupt driven COM port service in the BIOS, everyone directly accesses the 8250. So the only way to do what you want is to patch your program to use the different COM port. This can be non-trivial. -- --russ (nelson@clutx [.bitnet | .clarkson.edu]) I'm a right-to-lifer -- everyone has a right to earn a living sufficient to feed himself and his family.
Re: Switching COM: Ports
Author: Bob Posert
Date: Tue, 09 May 1989 04:35
Date: Tue, 09 May 1989 04:35
27 lines
1494 bytes
1494 bytes
In article <9593@dasys1.UUCP> jzitt@dasys1.UUCP (Joe Zitt) writes:
>
> Is there a way to fake out a PC into talking to a different COM port?
>
Part of the Baker's dozen utility set is a program called swcom12.com. I
haven't tried it, but the documentation is:
} SWCOM12.COM
} -----------
} Switch RS-232 ports for COM1 and COM2. No parameters.
}
} To start:
} C>swcom12
I'd post, but the package has to be distributed as a whole.
Bakers Dozen is shareware, so you might be able to find it on a
local bbs, or you can contact the author(?)/distributor directly at:
Jim Button
P.O. Box 5786
Bellevue, WA 98006
1-800-JBUTTON.
--
Bob Posert
I'm: posert@bonnie.ics.uci.edu or {sdcsvax|ucbvax}!ucivax!bonnie!posert
Re: Switching COM: Ports
Author: Tom Kopp
Date: Tue, 09 May 1989 07:28
Date: Tue, 09 May 1989 07:28
18 lines
1082 bytes
1082 bytes
In article <9593@dasys1.UUCP> jzitt@dasys1.UUCP (Joe Zitt) asks: >Is there a way to fake out a PC into talking to a different COM port? The dos assign command should work. I've seen it used to tell something to send to COM1 everything that was supposed to go to lpt: so your mileage may vary. Basically, before you are going to use the modem, enter the following line: assign com1 = com2 If this doesn't work, reverse the com1 and com2. I haven't used the command for a long time, so.... -- tkopp@carroll1.cc.edu or uunet!marque!carroll1!tkopp Thomas J. Kopp @ Carroll College 3B2 - Waukesha, WI
Re: Switching COM: Ports
Author: John K Hayes
Date: Tue, 09 May 1989 14:06
Date: Tue, 09 May 1989 14:06
45 lines
2349 bytes
2349 bytes
In article <412@carroll1.UUCP> tkopp@carroll1.UUCP (Tom Kopp) writes:
>In article <9593@dasys1.UUCP> jzitt@dasys1.UUCP (Joe Zitt) asks:
>>Is there a way to fake out a PC into talking to a different COM port?
>
>The dos assign command should work. I've seen it used to tell something to
>send to COM1 everything that was supposed to go to lpt: so your mileage may
>vary.
>
>Basically, before you are going to use the modem, enter the following line:
>
>assign com1 = com2
>
>If this doesn't work, reverse the com1 and com2. I haven't used the command
>for a long time, so....
>
>
>--
>tkopp@carroll1.cc.edu or uunet!marque!carroll1!tkopp
>Thomas J. Kopp @ Carroll College 3B2 - Waukesha, WI
I was having the same problem with a Zenith 248 that came with a funky
adaptor that plugged into one of the bigger ports on back and had two ports
on the other side of it - I forget the specifics, but the effect was that
with the adaptor, the modem could not be plugged into COM1 but only COM2
which was on the back of the adaptor.
Anyway, I tried the DOS assign command and I believe that command is only
useful for assigning a COM port to an LPT port and possibly vice versa. It
did not work assigning one COM port to another COM port.
I ended up yanking the stupid adaptor off of there.
--
---{john hayes} Old Dominion University; Norfolk, Virginia USA
internet: aiko@cs.odu.edu
Home: (804) 622-8348 Work: (804) 460-2241 ext 134
<++++++++++++++++++++++++++++++++++>
Are you a Have or a Have_Not? Because if you're a Have_Not, you've probably
had it; whereas, if you're a Have, you've probably got it and are going to
give it away at some point in the future! --- The Clash
<++++++++++++++++++++++++++++++++++>
Re: Switching COM: Ports
Author: craig chaiken
Date: Wed, 10 May 1989 06:56
Date: Wed, 10 May 1989 06:56
15 lines
1118 bytes
1118 bytes
In article <412@carroll1.UUCP>, tkopp@carroll1.UUCP (Tom Kopp) writes: > In article <9593@dasys1.UUCP> jzitt@dasys1.UUCP (Joe Zitt) asks: > >Is there a way to fake out a PC into talking to a different COM port? > Basically, before you are going to use the modem, enter the following line: > assign com1 = com2 MSDOS's ASSIGN command reassigns block devices (disk drives), not character devices such as COM1. Use the command MODE COM1=COM2 to make COM1 be COM2. You can also achieve this effect by copying the word at address 0000:402 to 0000:400. Craig Chaiken Hartford Graduate Center Computing Services network@mstr.hgc.edu
Re: Switching COM: Ports
Author: Just another hired gun (n2hkd)
Date: Wed, 10 May 1989 23:12
Date: Wed, 10 May 1989 23:12
22 lines
1454 bytes
1454 bytes
In article <412@carroll1.UUCP> tkopp@carroll1.UUCP (Tom Kopp) writes: .In article <9593@dasys1.UUCP> jzitt@dasys1.UUCP (Joe Zitt) asks: .>Is there a way to fake out a PC into talking to a different COM port? . .The dos assign command should work. I've seen it used to tell something to .send to COM1 everything that was supposed to go to lpt: so your mileage may .vary. . .Basically, before you are going to use the modem, enter the following line: . .assign com1 = com2 ^^^^^^^^^^^^^^^^^^^^ Gee that's what I thought, however they gone and changed this again. According to my Compaq 3.2 manual, they assign command is only available for a "specific drive" to a "different drive". The Mode command can reassign, but only the printer ports!! Looks like they decided that we don't need that feature anymore... -- my signature file just got squashed...................... email: cb@cci632 or !rochester!kodak!n2hkd!curtis Curtis Braun, Computronics, PO Box 1002 Fairport NY, 14450
Re: Switching COM: Ports
Author: Don Park
Date: Fri, 12 May 1989 03:29
Date: Fri, 12 May 1989 03:29
15 lines
1179 bytes
1179 bytes
> > Is there a way to fake out a PC into talking to a different COM port? > One way would be to use BNUCOM - a Level 5 compatible F.O.S.S.I.L. driver. It comes with a utility to change BNU's com addresses to effectively use different ports without changing the program. (Assuming this program uses a fossil driver) Hope this helps, Don -- +------------- Bark Technologies - Don Park - Bryan Bybee ------------------+ : BBS (503)-257-3666 - VOICE (503)-246-0025 - (503)-256-2195 - Bark Tech. /\ : : Hardware - Software - IBM - TANDY COLOR COMPUTER - Support - Tech. Line \/ : +----------------- ...!tektronix!teksce!bucket!donp --------------------------+
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads