kremen@aero.ARPA (Gary Kremen) (02/12/86)
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"