Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site aero.ARPA Path: utzoo!linus!decvax!ittatc!dcdwest!sdcsvax!sdcrdcf!trwrb!trwrba!aero!kremen From: kremen@aero.ARPA (Gary Kremen) Newsgroups: net.micro,net.micro.pc,net.dcom Subject: Programming the Hayes 1200 from IBM PC BASIC? Message-ID: <261@aero.ARPA> Date: Tue, 11-Feb-86 16:00:35 EST Article-I.D.: aero.261 Posted: Tue Feb 11 16:00:35 1986 Date-Received: Fri, 14-Feb-86 06:44:43 EST Reply-To: kremen@aero.UUCP (Gary Kremen) Organization: The Funny Farm, El Segundo, CA Lines: 29 Keywords: Hayes, modems Xref: linus net.micro:12593 net.micro.pc:6735 net.dcom:1463 I am looking for several fragments of IBM PC BASIC code that will activate a Hayes or Hayes compatible modem. I have a Hayes modem and I would like to be able to control it under a BASIC program. I would like: 1) To use it as a Dialer. 2) To be able to detect a carrier or busy signal. 3) To hang up the phone. 4) To be able to read and write to the modem control registers. I believe this is done by sending commands to COM1 or opening COM1 up as a file or something. I know there are several program written in BASIC, in the public domain, that implement the above functions. If you can help me out in any way I would appreciate this. Thanks in advance. -- Name: Gary Kremen Address 1: kremen@aerospace.ARPA Address 2: {sdcrdcf,trwrb,randvax}!aero!kremen.UUCP Address 3: BITNET, CSNET, MAILNET, others - through correct gateways Quote:"Everybody loves to see justice done...on someone else" - Bruce Cockburn Contrapositive: "To Live and Die to live and drive in LA" Disclaimer 1: "The company does not know what I am doing" Disclaimer 2: "Both the company and I have great lawyers"