[comp.sys.tandy] Tandy 1400 Modem/Serial Port

Darryl.Hickson@p0.f87.n129.z1.FidoNet.Org (Darryl Hickson) (01/09/90)

I hope someone out there can help me. Does anyone have a program that will
switch between the serial port and the modem or at least know how it can be
done? I have the technical reference manual and it has the following info
on it:

ADDRESS            BIT     CONTENTS                  CONTROL

SYSTEM STATUS
  REGISTER

(Write Register)
      0FCH          1       Modem Power Control      1/ON,0/OFF
                    2       Modem/RS-232C Switch     1/MODEM,0/RS-232C

and so on.

Someone had told me I had to "tweek" the port and gave me this bit of
code to switch from the serial to the modem..
        IN  AL,OFC
        OR  AL,O2H
        OUT 0FC,AL

I coded it Turbo C..
        _AL = Inport(0FC);
        _AL = _AL|0x02;
        Outport(0FC,_AL);

I am just learning C but I think I did it right. Anyway, it didn't work.
Could someone out there please help me?

Thanks,
Darryl
--- QuickBBS v2.61 [EVALUATION]
 * Origin: The Heart of Gold - hogbbs.fidonet.org - (1:129/87.0)
--  
Darryl Hickson via The Heart of Gold UUCP<>Fidonet Gateway, 1:129/87
UUCP: ...!{lll-winken,psuvax1}!psuhcx!hogbbs!87.0!Darryl.Hickson
Internet: Darryl.Hickson@p0.f87.n129.z1.FidoNet.Org