home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
clarion
/
library
/
autodi
/
dial.doc
< prev
next >
Wrap
Text File
|
1991-03-09
|
2KB
|
64 lines
╔═══════════════════════════════════════╗
║ Documentation for Auto-dialler ║
╚═══════════════════════════════════════╝
The LEM is written in assembler and comprises one procedure and one function.
These are contained in DCLAR.BIN and the following should be included in
your MAP:
module('DCLAR.bin'),binary
PROC(SERINIT)
FUNC(SERSEND),LONG
. !module
SERINIT is called on to initialise the serial port.
The parameters are the serial port (0 or 1) and the constant 67.
SERSEND actually sends the characters which make up the phone number.
These characters can include ( ) - and spaces. They will be ignored
by any Hayes compatible modem. The parameters are the serial port
(0 or 1) and the character to be sent to the port in BYTE form.
The demo shows a way of sending a string in byte form.
The procedure MODEM_INIT should be called once when your program
is first run. This sets DTR to on, which is required for some modems.
The best way to see how it works is to run the demo and then
study the source code.
Copyright 1991 Sterling Data Services
2 Fairford Road
Tilehurst
Reading
Berkshire RG3 6QB
ENGLAND
+44 (0734) 427333
If you find this LEM useful a contribution of 10 pounds
or 20 dollars would be appreciated. Registered users
may use this LEM in their applications without any further
payment of any kind and will be notified of future enhancements.
I don't like legalese but I am told I have to include this:
DISCLAIMER - AGREEMENT
Users of DCLAR.BIN must accept this disclaimer of warranty:
"DCLAR.BIN is supplied as is. The author disclaims all
warranties, expressed or implied, including, without limitation,
the warranties of merchantability and of fitness for any purpose.
The author assumes no liability for damages, direct or conse-
quential, which may result from the use of DCLAR.BIN."
Mike McLoughlin (mmc@cix)
February 1991