🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: alt.msdos.programmer
3 messages
3 total messages Started by DGH103 Tue, 12 Dec 1989 05:15
HELP!!!!!!
#429
Author: DGH103
Date: Tue, 12 Dec 1989 05:15
28 lines
1795 bytes
Ok, I don't think that I explained myself very well the last time I posted this
message. I will try to explain it better this time. I have a Tandy 1400LT and
for some reason they have the modem and the com port attached together,
consequently I cannot use the modem and the mouse at the same time, but that's
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
the service manual for the 1400 and I am a little lost. I will show how thw pag
e looks:
                          I/O Address Map
System Status Register

    Address         Bit      Contents                      Control

(Write Register)
    0FCH             2       Modem/RS-232C Switch        1/Modem,0/RS-232C

I guess I should explain that to switch between them now I have to use the
CTRL-ALT-INS key sequence to get to a setup menu then switch to the one I want.

Can anyone help me? Any help would really be appreciated!!

-------
*************************************************************************
* Darryl G. Hickson                  Penn State University              *
* 761 Stratford Drive                DGH103@PSUVM.BITNET                *
* State College, PA 16801                                               *
* (814) 867-2234                                                        *
*************************************************************************
Re: HELP!!!!!!
#432
Author: Jim Vickroy
Date: Tue, 12 Dec 1989 19:53
50 lines
2250 bytes
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
==============================================================================
Re: HELP!!!!!!
#1246
Author: John Grover
Date: Fri, 15 Dec 1989 19:36
7 lines
713 bytes
I think Jim Vickroy is on the right track except the register is
write only -- so we need to find a way to read the current status
before writing to the register. Otherwise, we don't know what value
to write to the register.

John Grover
University of Maine Computing Center
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