[comp.sys.ibm.pc] Carrier detect on an IBM PC

EJV103@PSUVM.BITNET (03/30/89)

      I am working on a project and need to know which port to read to check
for a carrier detect.  Only using BASICA since speed is not necessary. Since I
do not normally read this news group E-Mail is preferred.
>
Thanks
Ed Vargo
----------------------------------------------------------------------
BITNET: EJV103 @ PSUVM
INTER:  EJV103%PSUVM@CUNYVM.CUNY.EDU
UUCP:   rutgers!psuvax1!psuvm!ejv103

jmv@sppy00.UUCP (Jim Vickroy) (04/03/89)

In article <78402EJV103@PSUVM> EJV103@PSUVM.BITNET writes:
=>
=>      I am working on a project and need to know which port to read to check
=>for a carrier detect.  Only using BASICA since speed is not necessary. Since

The register you need is the Modem Control Register (MCR) for the 8250. It's
located at port 0x03FE for COM1 and 0x02FE for COM2. Within the register look
at bit 7 (Receive Line Signal Detect (RLSD)).

hope this helps......

jim
--

!==================================================================!=========!
! Jim Vickroy                          | cbosgd!osu-cis!sppy00!jmv !/././././!
! Online Computer Library Center, Inc. |---------------------------!././././.!
! Dublin, Ohio  43017                  | jmv@sppy00                !/././././!
!------------------------------------------------------------------!././././.!
! "That voodoo stuff don't do nothin' for me"                 -jrr !/././././!
!==================================================================!=========!