Xref: utzoo alt.msdos.programmer:884 comp.sys.tandy:1897 comp.sys.ibm.pc:39823 Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!uunet!tut.cis.ohio-state.edu!sppy00!jmv From: jmv@sppy00.UUCP (Jim Vickroy) Newsgroups: alt.msdos.programmer,comp.sys.tandy,comp.sys.ibm.pc Subject: Re: HELP!!!!!! Message-ID: <649@sppy00.UUCP> Date: 12 Dec 89 19:53:46 GMT References: <89346.001555DGH103@PSUVM.BITNET> Reply-To: jmv@sppy00.UUCP (Jim Vickroy) Organization: Online Computer Library Center, Dublin, Ohio. Lines: 50 In article <89346.001555DGH103@PSUVM.BITNET> DGH103@PSUVM.BITNET writes: =>not the problem. What I want to do is write a program that I will run when I am =>going to use ProComm that will switch from the com port to the modem. I have => I/O Address Map =>System Status Register => => Address Bit Contents Control => =>(Write Register) => 0FCH 2 Modem/RS-232C Switch 1/Modem,0/RS-232C => =>Can anyone help me? Any help would really be appreciated!! => From the "man" page you included above it looks like you need to tweek port 0FCH to switch to either the modem or the RS232 port. Try this: ; ; Switch to modem ; IN AL,0FCH OR AL,02H OUT 0FCH,AL ; ; Switch to RS232 ; IN AL,0FCH AND AL,0FDH OUT 0FCH,AL Now you'll have to build the rest of the logic around these segments. The same could easily be done in 'C'. jim -- ============================================================================== :::: ::: :: :: : : Jim Vickroy |OC| ||| || || | | Telecommunications Systems Engineering |LC| ||| || || | | Online Computer Library Center, Inc. :::: ::: :: :: : : Dublin, Ohio ------------------------------------------------------------------------------ Internet: jmv@rsch.oclc.org UUCP: {att|pyramid|killer}!osu-cis!sppy00!jmv domain: jmv@sppy00.uucp USSNAIL: 6565 Frantz Rd., Dublin, Ohio 43017-0702 ------------------------------------------------------------------------------ "Why turn a perfectly good frog into a prince?" -Pogo ==============================================================================