joshua5@bu-cs.BU.EDU (James Peters) (12/13/88)
A little over a week ago I posted a request for help with my modem.
Once again, I have an Everex Evercomm 942/II 2400 baud internal modem
that I am running on my PS/2 Model 50Z under DOS 4.00. My basic
intention is to send a command to the modem to turn off auto-answer.
The command should be ATS0=0 (with AT&W and AT&F) and it works in
Procomm or Bitcom, but I want to send it *myself*.
Because of the new PS/2 Microchannel Architecture there are no DIP
switches. The modem is physically in the middle slot (of 3). I
consider this to be COM2 in general. In the setup program it is called
Serial_2. Is this right? When I try to do an echo or copy to the
port with either a file or just text. I recieve an Write fault error
on the COMx. I get the same error for COM1. According to other
errors, the COM3 ( COM4->8, which are defined by the .ADF) doesn't
exist. Now I am confused, what are the slots inside my computer
called? COM0-2? or COM1-3 or COM1, COM2, LPT1, LPT2 or what?
Can anyone shed some new light on this?
BTW, the simple solutions with copy, echo, mode, and hunks of
assembler code failed to do the trick. I could really use a good hunk
of Turbo C 1.5 code to do the trick. I don't know TC well enough yet
to do something like this.
Thanks in advance,
Jim
BITNET: cscbu4c@bacca UUCP: ...!harvard!bu-cs!joshua5
ARPANET: joshua5@bu-cs.bu.edu CSNET: joshua5%bu-cs.bu.edunr@notecnirp.Princeton.EDU (Norman Ramsey) (12/14/88)
When I wanted to tell my modem not to answer the phone, I wrote a small BASICA program to do it. I have to open the COM port and then write ATS0=0 onto it. I used BASICA because all the COM port setting stuff is built into the language. It's inelegant, but it works. Norman nr@princeton.edu Norman Ramsey nr@princeton.edu