home *** CD-ROM | disk | FTP | other *** search
-
-
-
- DIAL is an extension to any terminal program allowing
- 3 dialing options and then the automatic load
- and execution of the terminal program itself.
- Of course the program that is loaded does not
- have to be a terminal or 'modem' program. I have
- had occasion to load and run 'wash', 'osd' and
- other utilities after dialing.
-
-
- Features and functions:
-
- 1. Continual dialing of a number or list of
- numbers from a file until one answers.
-
- 2. Searching of a range of numbers for a carrier.
-
- 6. Z80 code.
-
- 7. Typing of files.
-
- 8. Directory with disk system reset.
-
-
- This program will only run on z80 based machines.
-
- As distributed DIAL will run as-is on an Osborne-1
- double-density machine with a Hayes Smartmodem
- connected to the rs232 port.
-
- A patch-list follows which should allow other
- auto-dial modems to be used. Other patches are
- indicated for video control on non-Osbornes.
-
- I would appreciate hearing from anyone who gets
- this program up and running on other hardware
- combinations as this will allow me to update
- DIAL towards a more universal version.
-
-
- Patches:
- -------
-
-
- 106h = screen/keyboard iobyte value
- (assigns CON: to screen/keyboard)
-
- 107h = modem (rs232) iobyte value
- (assigns CON: to rs232)
-
- 108h = 5 byte escape or 'off-line' string
- (must end with 0)
-
- 10dh = 10 byte disconnect string
- (must end with 0)
-
- 117h = 21 byte modem initialize string
- (must end with 0)
-
- 12ch = number of characters in (terminal)
- program name to load with X option.
-
- 12dh = 10 bytes for terminal program name
- (must end with a 0)
-
- 137h = 5 byte clear screen string
- (must end with a 0)
-
- 13ch = 4 byte delete cursor string
- (your terminal's hex sequence to delete
- from the cursor to the end of the line)
- (must end with a 0)
-
- 141h = 6 byte dial string
- (your modem's command string to dial the
- number that follows)
-
-
- The following is an assembly listing of the patch
- area which you could modify with the values you
- need and after assembling it overlay the .hex file
- onto dial.com using ddt. After modifying dial.com
- enter:
- A>SAVE 31 DIAL.COM
-
-
- org 0108h
- ;
- conin: db 10010100b ;Screen/keyboard iobyte value
- ;
- rdrin: db 10010101b ;Modem (rs232) iobyte value
- ;
- escstr: db '+++',0,0 ;escape or 'go off-line' string
- ;
- hngmsg: db 'AT H0',13,0,0,0,0 ;disconnect string
- ;
- dinit: db 'AT T S7=15 ' ;modem initialize string
- db 0,0,0,0,0,0,0,0,0,0
- ;
- filrun: db 5,'MODEM',0,0,0,0,0 ;name of program to run
- ;1st byte MUST be length of name
- ;
- clrscr: db 26,0,0,0,0 ;clear screen string
- ;
- dellin: db 27,54h,0,0,0 ;delete from cursor to end-of-line string
- ;
- dile: db 'ATD ' ;dial code
- ;
- ;........
- end
-
-
-
- As coded above, a Smartmodem with an Osborne will
- run dial as described.
-
- The program is pretty well self prompting but a brief
- explanation of the functions follows:
-
- 1: The repeat option prompts for the number to
- dial. The number is dialed until a carrier is
- detected or the user aborts with ^C.
-
- 2: The file dial option will dial numbers
- sequentially from a file. At the end of the file
- the program loops back to the start again.
- This continues until a carrier is detected.
- The file must be structured as follows:
- #231-9538;comments etc.
- ie a # sign followed by the number,
- followed by a ; (semicolon)
- followed by any comments.
- Comments may continue for as many lines as
- you like as the program ignores all up to
- the next # sign. Example:
-
- #231-9538;.......RCP/M 1 Toronto
- #231-1262;.......RCP/M 2 Toronto
- #232-2644;.......Heath Toronto
- #423-3265;.......ETI Toronto
- #223-2625;.......Pet UG Toronto
- #624-5431;.......PSI Word-Pro Toronto
- #499-7023;.......PC Canada Toronto
- #222-3626;.......Nightowl Toronto
- #226-9260;.......Willowdale RCP/M, Toronto
-
-
- I keep two files on my modem disk,
-
-
- 1: phn.lst
- Which is a list of all phone numbers I have for
- Bulletin Boards &/or RCP/M Systems.
-
- If I want a number from a file I just use the
- Type option and get it.
-
-
- 2: phn.dil
- Which has those more commonly called numbers in it.
-
- If I want to just dial until I get a carrier
- I run the File dial option with the phn.dil
- file as the specified file.
-
-
- 3: The search function prompts for area code and
- whether or not it is long distance and then
- searches that area for carriers. If one is found
- it is stored to a disk file structured as shown
- for number 2: above.
-
- 4: Type will type a file one 'page' at a time.
-
- 5: Directory displays the directory for the
- selected drive and resets the disk system.
- (Any disk action also relogs the drives)
-
- 6: "M" will allow you to temporarily change the name
- of the program to be loaded when a carrier is found.
-
- 7: "I" will allow the temporary change of the modem
- initialization string.
-
- 8: "X" will jump to the named program without
- waiting for a carrier.
-
- 9: "K" will delete a file from the specified drive.
-
-
- When a carrier is found for all but the search option
- a bell is sounded until a key is struck at which time
- the named program is loaded.
-
-
- Simon Ewins, 08/13/83
- 676 Oriole Parkway,
- Toronto, Ontario.
-
- Phone: 416-484-9427
-
-
- -------- end --------
-