Article View: comp.sys.ibm.pc.misc
Article #11414<None>
From: dcnnnghm
Date: Wed, 26 Jun 1991 16:14
Date: Wed, 26 Jun 1991 16:14
60 lines
3910 bytes
3910 bytes
In article <1991Jun13.173305.22787@isc.rit.edu>, ecldco@isc.rit.edu (E.C. Loyd) writes:
> In article <138967@unix.cis.pitt.edu> dove@unix.cis.pitt.edu (Daniel L Dove) writes:
>>
>> Hello, I want to write a program that uses a modem. The problem is
>>
>>I have no clue how to program a modem. I know C ,Pascal ,Fortran. If anyone
>>
>>has anything that would help please send me E-mail. Thanks
>>
>>
>> Dan
>
> You don't program a modem. You program a program that reads/writes the modem's port address (based on its IRQ line). If you desire more information that that (and telling someone how to write a program that will talk to a modem is no
> easy task) then send me mail.
>
> I'll help you out privately instead of costing the net hundreds,
> if not thousands of dollars to send messages all over the world.
>
> :-)
>
> -eric
>
> --
> ECLDCO@RITVAXC.bitnet ECL6895@RITVAXC.bitnet
> ECLDCO@ultb.isc.rit.edu ECL6895@ultb.isc.rit.edu
> Eric Loyd's the name, Data Center Operations is the game.
> Opinions and irrational outbursts are MY pride and joy. Not my employer's.
>
Dan ... to get a modem to do what you want you goto to use the Hayes AT
command set. First however you must TALK to the modem first thru' your serial
port, which (in TP anyway) is quite easy to do. So at this point you could
either use your own routines internal to your code (if you don't feel like
writing them there is loads on publin domain) or you could use a fossil
driver. Fossil drivers are quite good because on any 80X86 machine, you can
(once it is running DOS) get in some cases on implementation of the driver.
I know it is also available for some non compatible MSDos machives. Anyway,
the driver is just a TSR, which you call through a specific interrupt ...
like calling any BIOS service really. However, if you use a fossil driver, the
driver must be in memory first to work obviously, but you can check for its
presence. Then once you are sending and receiving to the Modem then you use
the command set. However one thing I forgot to say was that not all modems
are Hayes compatible so they will not use the command set, but to be honest I
never came across one of them in my life ...
I have the actual code (before it was modified) that was used in Spitfire BBS,
and it is very good. I've started writting a BBS, and using this have had the
actual Turbo Pascal program performing 12 different tasks but still managed to
get info from the modem without losing characters. This was under MSDOS.
If you need any routines, or specific help ... 'cos the whole area is quite
broad just mail me ... ok ...
-- ~Donal (?) ...
-----------------------------------------------------------------------------
Donal Cunningham |"'Twas brillig,and the slithy toves | Disclaimer???
(a.k.a. "Mithrandir") | Did gyre and gimble in the gabe: |
| All mimsy were the borogroves, | I went one step
dcnnnghm@vax1.tcd.ie | and the mome raths outgrabe." | better:
dcnnnghm@unix1.tcd.ie | -Lewis Carroll | I divorced her...
-----------------------------------------------------------------------------
"Me? Paranoid?? Hah! Don't believe everything THEY tell you..."
_____________________________________________________________________________
Technical Details
Message-ID:
<1991Jun26.161431.1@vax1.tcd.ie>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!uunet!mcsun!ukc!tcdcs!vax1.tcd.ie!dcnnnghmReferences:
<138967@unix.cis.pitt.edu> <1991Jun13.173305.22787@isc.rit.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!uunet!mcsun!ukc!tcdcs!vax1.tcd.ie!dcnnnghm From: dcnnnghm@vax1.tcd.ie Newsgroups: comp.sys.ibm.pc.misc,comp.os.msdos.programmer Subject: <None> Message-ID: <1991Jun26.161431.1@vax1.tcd.ie> Date: 26 Jun 91 16:14:31 GMT References: <138967@unix.cis.pitt.edu> <1991Jun13.173305.22787@isc.rit.edu> Sender: news@cs.tcd.ie Followup-To: comp.sys.ibm.pc.misc Organization: Trinity College Dublin Lines: 60 Nntp-Posting-Host: vax1