Home » CEEFAX disks » telesoftware17.adl » 04-08-89/DialTxt

04-08-89/DialTxt

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » CEEFAX disks » telesoftware17.adl
Filename: 04-08-89/DialTxt
Read OK:
File size: 128C bytes
Load address: 0000
Exec address: 0000
File contents
                             DIAL
                             ----

       Owners  of the Acorn PRESTEL  adaptor  that  want  to  use  it  for
non-viewdata services  that  produce  scrolling,  80  column output have a
problem in that it is not normally possible to use the PRESTEL firmware in
any screen mode other than teletext, and  it  is  not normally possible to
scroll  the  screen.  On  the  other  hand,  there  are  terminal emulator
programmes  available that do take non-viewdata services into account, but
they don't  contain  the  necessary routines to operate the autodialler in
the PRESTEL adaptor and switch  it  on-line  when connection is made. DIAL
solves  the  above problem. It is a short  machine-code  routine  that  is
called from disc  when  the  computer  is running such a terminal emulator
programme.

       The programme to be described is not a terminal emulator in itself;
it is a routine that  is  loaded  from  disc  and  run  once,  leaving the
computer  on-line.  In order to use it successfully, the terminal software
must be able  to support operating system commands, and the area of memory
where DIAL runs must  not  be  the  same  as  any occupied by the terminal
software.  Also,  the  Acorn  PRESTEL ROM must be present. DIAL  will  run
either in a "bare" BBC Micro or Master, or in the 6502 second processor.

       DIAL  is supplied as the  BASIC  and  assembly  language  programme
B.DIAL. On running this the user is prompted for the desired start address
for the  machine  code. The assembled routine is then saved on the current
disc drive with a  file-name  of  "DIAL".  For  a  computer with no second
processor attached, a load address of &1200 has been found to be suitable,
with DFS as the file-system, but any address higher than  that,  up to the
start  of  screen  memory less &21D bytes should be just as good.  If  the
terminal emulator being used is partly or wholly in BASIC, then DIAL will,
of course, have to  be  positioned  somewhere  where it can't overlay that
programme  (e.g.  at &1200). Don't forget that DIAL  is  only  used  while
making the call  and  going on-line; it can be overwritten after that with
complete safety. (However, be warned that, unlike the PRESTEL terminal, it
does not monitor the state  of  the  line continuously after connection is
made, so there is no auto-disconnect if the  data  carrier  drops.)  BASIC
programmes  that  don't  support  OS  commands  might  lend  themselves to
modification, in which case, some lines including the  BASIC OSCLI command
will need to be inserted. For example the number  to  be  dialled could be
read from the keyboard into a string, NUM$, which is then used  in  a line
thus:  OSCLI("DIAL "+NUM$). Users of BASIC I have no OSCLI command, but OS
commands with variable arguments can still be used - see the user manual.


      In use, start the terminal software, and then enter OS command mode,
issuing *DIAL nn-nnn-nnnn, (one, and  only  one,  space between the "L" of
"DIAL" and the first digit is essential) where  "n"  is  any digit 0-9,and
the "-" is a separator that causes a short delay, and  can  be  put in any
position.  For  example,  to  dial  BT Gold, type "*DIAL 01-583-1275". The
routine  first issues a RESET command  to the Adaptor, then checks that it
is connected and switched on, exiting with the message "Adaptor?" if it is
not. If all is well, the adaptor connects to the exchange, waits 4 seconds
and then dials the number, pausing between the digit groups. On completion
of dialling, the adaptor waits for the  appearance  of data carrier on the
line  before  connecting the computer, after which the routine terminates,
returning to the  terminal emulator. If no data carrier is received within
90 seconds, the routine  is  exited  with  a "No data carrier" message. On
completion of a session, pressing "BREAK" will reset the adaptor.

       DIAL has been used to  good  effect  in  a  BBC Micro + 6502 second
processor,  running the Master's terminal emulator, enabling the author to
connect to  a  variety  of  data  services using scrolling and 80 columns.
Note, however, that despite the fact that  the  Acorn  PRESTEL user manual
says that the baud rates can be altered from the standard 1200 in, 75 out,
the hardware in the adaptor will not work properly if  you  try to set up,
say, 300 bauds send and receive, i.e. it is only a single  standard modem,
so any service with which you try to connect must be sending at  1200 baud
and  receiving  at  75.  As the 1200/75 standard is quite common, the user
will not feel unduly restricted!


                                        R.D.Wright   20th Nov 1988

------------------------------------------------------------------------
00000000  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000010  20 20 20 20 20 20 20 20  20 20 20 20 20 44 49 41  |             DIA|
00000020  4c 0d 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |L.              |
00000030  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 2d  |               -|
00000040  2d 2d 2d 0d 0d 20 20 20  20 20 20 20 4f 77 6e 65  |---..       Owne|
00000050  72 73 20 20 6f 66 20 74  68 65 20 41 63 6f 72 6e  |rs  of the Acorn|
00000060  20 50 52 45 53 54 45 4c  20 20 61 64 61 70 74 6f  | PRESTEL  adapto|
00000070  72 20 20 74 68 61 74 20  20 77 61 6e 74 20 20 74  |r  that  want  t|
00000080  6f 20 20 75 73 65 20 20  69 74 20 20 66 6f 72 0d  |o  use  it  for.|
00000090  6e 6f 6e 2d 76 69 65 77  64 61 74 61 20 73 65 72  |non-viewdata ser|
000000a0  76 69 63 65 73 20 20 74  68 61 74 20 20 70 72 6f  |vices  that  pro|
000000b0  64 75 63 65 20 20 73 63  72 6f 6c 6c 69 6e 67 2c  |duce  scrolling,|
000000c0  20 20 38 30 20 20 63 6f  6c 75 6d 6e 20 6f 75 74  |  80  column out|
000000d0  70 75 74 20 68 61 76 65  20 61 0d 70 72 6f 62 6c  |put have a.probl|
000000e0  65 6d 20 69 6e 20 74 68  61 74 20 69 74 20 69 73  |em in that it is|
000000f0  20 6e 6f 74 20 6e 6f 72  6d 61 6c 6c 79 20 70 6f  | not normally po|
00000100  73 73 69 62 6c 65 20 74  6f 20 75 73 65 20 74 68  |ssible to use th|
00000110  65 20 50 52 45 53 54 45  4c 20 66 69 72 6d 77 61  |e PRESTEL firmwa|
00000120  72 65 20 69 6e 0d 61 6e  79 20 73 63 72 65 65 6e  |re in.any screen|
00000130  20 6d 6f 64 65 20 6f 74  68 65 72 20 74 68 61 6e  | mode other than|
00000140  20 74 65 6c 65 74 65 78  74 2c 20 61 6e 64 20 20  | teletext, and  |
00000150  69 74 20 20 69 73 20 20  6e 6f 74 20 6e 6f 72 6d  |it  is  not norm|
00000160  61 6c 6c 79 20 70 6f 73  73 69 62 6c 65 20 74 6f  |ally possible to|
00000170  0d 73 63 72 6f 6c 6c 20  20 74 68 65 20 20 73 63  |.scroll  the  sc|
00000180  72 65 65 6e 2e 20 20 4f  6e 20 20 74 68 65 20 20  |reen.  On  the  |
00000190  6f 74 68 65 72 20 20 68  61 6e 64 2c 20 20 74 68  |other  hand,  th|
000001a0  65 72 65 20 20 61 72 65  20 20 74 65 72 6d 69 6e  |ere  are  termin|
000001b0  61 6c 20 65 6d 75 6c 61  74 6f 72 0d 70 72 6f 67  |al emulator.prog|
000001c0  72 61 6d 6d 65 73 20 20  61 76 61 69 6c 61 62 6c  |rammes  availabl|
000001d0  65 20 74 68 61 74 20 64  6f 20 74 61 6b 65 20 6e  |e that do take n|
000001e0  6f 6e 2d 76 69 65 77 64  61 74 61 20 73 65 72 76  |on-viewdata serv|
000001f0  69 63 65 73 20 69 6e 74  6f 20 61 63 63 6f 75 6e  |ices into accoun|
00000200  74 2c 20 62 75 74 0d 74  68 65 79 20 64 6f 6e 27  |t, but.they don'|
00000210  74 20 20 63 6f 6e 74 61  69 6e 20 20 74 68 65 20  |t  contain  the |
00000220  20 6e 65 63 65 73 73 61  72 79 20 72 6f 75 74 69  | necessary routi|
00000230  6e 65 73 20 74 6f 20 6f  70 65 72 61 74 65 20 74  |nes to operate t|
00000240  68 65 20 61 75 74 6f 64  69 61 6c 6c 65 72 20 69  |he autodialler i|
00000250  6e 0d 74 68 65 20 50 52  45 53 54 45 4c 20 61 64  |n.the PRESTEL ad|
00000260  61 70 74 6f 72 20 61 6e  64 20 73 77 69 74 63 68  |aptor and switch|
00000270  20 20 69 74 20 20 6f 6e  2d 6c 69 6e 65 20 20 77  |  it  on-line  w|
00000280  68 65 6e 20 63 6f 6e 6e  65 63 74 69 6f 6e 20 69  |hen connection i|
00000290  73 20 6d 61 64 65 2e 20  44 49 41 4c 0d 73 6f 6c  |s made. DIAL.sol|
000002a0  76 65 73 20 20 74 68 65  20 20 61 62 6f 76 65 20  |ves  the  above |
000002b0  70 72 6f 62 6c 65 6d 2e  20 49 74 20 69 73 20 61  |problem. It is a|
000002c0  20 73 68 6f 72 74 20 20  6d 61 63 68 69 6e 65 2d  | short  machine-|
000002d0  63 6f 64 65 20 20 72 6f  75 74 69 6e 65 20 20 74  |code  routine  t|
000002e0  68 61 74 20 20 69 73 0d  63 61 6c 6c 65 64 20 66  |hat  is.called f|
000002f0  72 6f 6d 20 64 69 73 63  20 20 77 68 65 6e 20 20  |rom disc  when  |
00000300  74 68 65 20 20 63 6f 6d  70 75 74 65 72 20 20 69  |the  computer  i|
00000310  73 20 72 75 6e 6e 69 6e  67 20 73 75 63 68 20 61  |s running such a|
00000320  20 74 65 72 6d 69 6e 61  6c 20 65 6d 75 6c 61 74  | terminal emulat|
00000330  6f 72 0d 70 72 6f 67 72  61 6d 6d 65 2e 0d 0d 20  |or.programme... |
00000340  20 20 20 20 20 20 54 68  65 20 70 72 6f 67 72 61  |      The progra|
00000350  6d 6d 65 20 74 6f 20 62  65 20 64 65 73 63 72 69  |mme to be descri|
00000360  62 65 64 20 69 73 20 6e  6f 74 20 61 20 74 65 72  |bed is not a ter|
00000370  6d 69 6e 61 6c 20 65 6d  75 6c 61 74 6f 72 20 69  |minal emulator i|
00000380  6e 20 69 74 73 65 6c 66  3b 0d 69 74 20 69 73 20  |n itself;.it is |
00000390  61 20 72 6f 75 74 69 6e  65 20 74 68 61 74 20 20  |a routine that  |
000003a0  69 73 20 20 6c 6f 61 64  65 64 20 20 66 72 6f 6d  |is  loaded  from|
000003b0  20 20 64 69 73 63 20 20  61 6e 64 20 20 72 75 6e  |  disc  and  run|
000003c0  20 20 6f 6e 63 65 2c 20  20 6c 65 61 76 69 6e 67  |  once,  leaving|
000003d0  20 74 68 65 0d 63 6f 6d  70 75 74 65 72 20 20 6f  | the.computer  o|
000003e0  6e 2d 6c 69 6e 65 2e 20  20 49 6e 20 6f 72 64 65  |n-line.  In orde|
000003f0  72 20 74 6f 20 75 73 65  20 69 74 20 73 75 63 63  |r to use it succ|
00000400  65 73 73 66 75 6c 6c 79  2c 20 74 68 65 20 74 65  |essfully, the te|
00000410  72 6d 69 6e 61 6c 20 73  6f 66 74 77 61 72 65 0d  |rminal software.|
00000420  6d 75 73 74 20 62 65 20  61 62 6c 65 20 20 74 6f  |must be able  to|
00000430  20 73 75 70 70 6f 72 74  20 6f 70 65 72 61 74 69  | support operati|
00000440  6e 67 20 73 79 73 74 65  6d 20 63 6f 6d 6d 61 6e  |ng system comman|
00000450  64 73 2c 20 61 6e 64 20  74 68 65 20 61 72 65 61  |ds, and the area|
00000460  20 6f 66 20 6d 65 6d 6f  72 79 0d 77 68 65 72 65  | of memory.where|
00000470  20 44 49 41 4c 20 72 75  6e 73 20 6d 75 73 74 20  | DIAL runs must |
00000480  20 6e 6f 74 20 20 62 65  20 20 74 68 65 20 20 73  | not  be  the  s|
00000490  61 6d 65 20 20 61 73 20  20 61 6e 79 20 6f 63 63  |ame  as  any occ|
000004a0  75 70 69 65 64 20 62 79  20 74 68 65 20 74 65 72  |upied by the ter|
000004b0  6d 69 6e 61 6c 0d 73 6f  66 74 77 61 72 65 2e 20  |minal.software. |
000004c0  20 41 6c 73 6f 2c 20 20  74 68 65 20 20 41 63 6f  | Also,  the  Aco|
000004d0  72 6e 20 20 50 52 45 53  54 45 4c 20 52 4f 4d 20  |rn  PRESTEL ROM |
000004e0  6d 75 73 74 20 62 65 20  70 72 65 73 65 6e 74 2e  |must be present.|
000004f0  20 44 49 41 4c 20 20 77  69 6c 6c 20 20 72 75 6e  | DIAL  will  run|
00000500  0d 65 69 74 68 65 72 20  69 6e 20 61 20 22 62 61  |.either in a "ba|
00000510  72 65 22 20 42 42 43 20  4d 69 63 72 6f 20 6f 72  |re" BBC Micro or|
00000520  20 4d 61 73 74 65 72 2c  20 6f 72 20 69 6e 20 74  | Master, or in t|
00000530  68 65 20 36 35 30 32 20  73 65 63 6f 6e 64 20 70  |he 6502 second p|
00000540  72 6f 63 65 73 73 6f 72  2e 0d 0d 20 20 20 20 20  |rocessor...     |
00000550  20 20 44 49 41 4c 20 20  69 73 20 73 75 70 70 6c  |  DIAL  is suppl|
00000560  69 65 64 20 61 73 20 74  68 65 20 20 42 41 53 49  |ied as the  BASI|
00000570  43 20 20 61 6e 64 20 20  61 73 73 65 6d 62 6c 79  |C  and  assembly|
00000580  20 20 6c 61 6e 67 75 61  67 65 20 20 70 72 6f 67  |  language  prog|
00000590  72 61 6d 6d 65 0d 42 2e  44 49 41 4c 2e 20 4f 6e  |ramme.B.DIAL. On|
000005a0  20 72 75 6e 6e 69 6e 67  20 74 68 69 73 20 74 68  | running this th|
000005b0  65 20 75 73 65 72 20 69  73 20 70 72 6f 6d 70 74  |e user is prompt|
000005c0  65 64 20 66 6f 72 20 74  68 65 20 64 65 73 69 72  |ed for the desir|
000005d0  65 64 20 73 74 61 72 74  20 61 64 64 72 65 73 73  |ed start address|
000005e0  0d 66 6f 72 20 74 68 65  20 20 6d 61 63 68 69 6e  |.for the  machin|
000005f0  65 20 20 63 6f 64 65 2e  20 54 68 65 20 61 73 73  |e  code. The ass|
00000600  65 6d 62 6c 65 64 20 72  6f 75 74 69 6e 65 20 69  |embled routine i|
00000610  73 20 74 68 65 6e 20 73  61 76 65 64 20 6f 6e 20  |s then saved on |
00000620  74 68 65 20 63 75 72 72  65 6e 74 0d 64 69 73 63  |the current.disc|
00000630  20 64 72 69 76 65 20 77  69 74 68 20 61 20 20 66  | drive with a  f|
00000640  69 6c 65 2d 6e 61 6d 65  20 20 6f 66 20 20 22 44  |ile-name  of  "D|
00000650  49 41 4c 22 2e 20 20 46  6f 72 20 20 61 20 20 63  |IAL".  For  a  c|
00000660  6f 6d 70 75 74 65 72 20  77 69 74 68 20 6e 6f 20  |omputer with no |
00000670  73 65 63 6f 6e 64 0d 70  72 6f 63 65 73 73 6f 72  |second.processor|
00000680  20 61 74 74 61 63 68 65  64 2c 20 61 20 6c 6f 61  | attached, a loa|
00000690  64 20 61 64 64 72 65 73  73 20 6f 66 20 26 31 32  |d address of &12|
000006a0  30 30 20 68 61 73 20 62  65 65 6e 20 66 6f 75 6e  |00 has been foun|
000006b0  64 20 74 6f 20 62 65 20  73 75 69 74 61 62 6c 65  |d to be suitable|
000006c0  2c 0d 77 69 74 68 20 44  46 53 20 61 73 20 74 68  |,.with DFS as th|
000006d0  65 20 66 69 6c 65 2d 73  79 73 74 65 6d 2c 20 62  |e file-system, b|
000006e0  75 74 20 61 6e 79 20 61  64 64 72 65 73 73 20 68  |ut any address h|
000006f0  69 67 68 65 72 20 74 68  61 6e 20 20 74 68 61 74  |igher than  that|
00000700  2c 20 20 75 70 20 74 6f  20 74 68 65 0d 73 74 61  |,  up to the.sta|
00000710  72 74 20 20 6f 66 20 20  73 63 72 65 65 6e 20 20  |rt  of  screen  |
00000720  6d 65 6d 6f 72 79 20 6c  65 73 73 20 26 32 31 44  |memory less &21D|
00000730  20 62 79 74 65 73 20 73  68 6f 75 6c 64 20 62 65  | bytes should be|
00000740  20 6a 75 73 74 20 61 73  20 67 6f 6f 64 2e 20 20  | just as good.  |
00000750  49 66 20 20 74 68 65 0d  74 65 72 6d 69 6e 61 6c  |If  the.terminal|
00000760  20 65 6d 75 6c 61 74 6f  72 20 62 65 69 6e 67 20  | emulator being |
00000770  75 73 65 64 20 69 73 20  70 61 72 74 6c 79 20 6f  |used is partly o|
00000780  72 20 77 68 6f 6c 6c 79  20 69 6e 20 42 41 53 49  |r wholly in BASI|
00000790  43 2c 20 74 68 65 6e 20  44 49 41 4c 20 77 69 6c  |C, then DIAL wil|
000007a0  6c 2c 0d 6f 66 20 63 6f  75 72 73 65 2c 20 68 61  |l,.of course, ha|
000007b0  76 65 20 74 6f 20 20 62  65 20 20 70 6f 73 69 74  |ve to  be  posit|
000007c0  69 6f 6e 65 64 20 20 73  6f 6d 65 77 68 65 72 65  |ioned  somewhere|
000007d0  20 20 77 68 65 72 65 20  69 74 20 63 61 6e 27 74  |  where it can't|
000007e0  20 6f 76 65 72 6c 61 79  20 74 68 61 74 0d 70 72  | overlay that.pr|
000007f0  6f 67 72 61 6d 6d 65 20  20 28 65 2e 67 2e 20 20  |ogramme  (e.g.  |
00000800  61 74 20 26 31 32 30 30  29 2e 20 44 6f 6e 27 74  |at &1200). Don't|
00000810  20 66 6f 72 67 65 74 20  74 68 61 74 20 44 49 41  | forget that DIA|
00000820  4c 20 20 69 73 20 20 6f  6e 6c 79 20 20 75 73 65  |L  is  only  use|
00000830  64 20 20 77 68 69 6c 65  0d 6d 61 6b 69 6e 67 20  |d  while.making |
00000840  74 68 65 20 63 61 6c 6c  20 20 61 6e 64 20 20 67  |the call  and  g|
00000850  6f 69 6e 67 20 6f 6e 2d  6c 69 6e 65 3b 20 69 74  |oing on-line; it|
00000860  20 63 61 6e 20 62 65 20  6f 76 65 72 77 72 69 74  | can be overwrit|
00000870  74 65 6e 20 61 66 74 65  72 20 74 68 61 74 20 77  |ten after that w|
00000880  69 74 68 0d 63 6f 6d 70  6c 65 74 65 20 73 61 66  |ith.complete saf|
00000890  65 74 79 2e 20 28 48 6f  77 65 76 65 72 2c 20 62  |ety. (However, b|
000008a0  65 20 77 61 72 6e 65 64  20 74 68 61 74 2c 20 75  |e warned that, u|
000008b0  6e 6c 69 6b 65 20 74 68  65 20 50 52 45 53 54 45  |nlike the PRESTE|
000008c0  4c 20 74 65 72 6d 69 6e  61 6c 2c 20 69 74 0d 64  |L terminal, it.d|
000008d0  6f 65 73 20 6e 6f 74 20  6d 6f 6e 69 74 6f 72 20  |oes not monitor |
000008e0  74 68 65 20 73 74 61 74  65 20 20 6f 66 20 20 74  |the state  of  t|
000008f0  68 65 20 20 6c 69 6e 65  20 63 6f 6e 74 69 6e 75  |he  line continu|
00000900  6f 75 73 6c 79 20 61 66  74 65 72 20 63 6f 6e 6e  |ously after conn|
00000910  65 63 74 69 6f 6e 20 69  73 0d 6d 61 64 65 2c 20  |ection is.made, |
00000920  73 6f 20 74 68 65 72 65  20 69 73 20 6e 6f 20 61  |so there is no a|
00000930  75 74 6f 2d 64 69 73 63  6f 6e 6e 65 63 74 20 69  |uto-disconnect i|
00000940  66 20 74 68 65 20 20 64  61 74 61 20 20 63 61 72  |f the  data  car|
00000950  72 69 65 72 20 20 64 72  6f 70 73 2e 29 20 20 42  |rier  drops.)  B|
00000960  41 53 49 43 0d 70 72 6f  67 72 61 6d 6d 65 73 20  |ASIC.programmes |
00000970  20 74 68 61 74 20 20 64  6f 6e 27 74 20 20 73 75  | that  don't  su|
00000980  70 70 6f 72 74 20 20 4f  53 20 20 63 6f 6d 6d 61  |pport  OS  comma|
00000990  6e 64 73 20 20 6d 69 67  68 74 20 20 6c 65 6e 64  |nds  might  lend|
000009a0  20 20 74 68 65 6d 73 65  6c 76 65 73 20 74 6f 0d  |  themselves to.|
000009b0  6d 6f 64 69 66 69 63 61  74 69 6f 6e 2c 20 69 6e  |modification, in|
000009c0  20 77 68 69 63 68 20 63  61 73 65 2c 20 73 6f 6d  | which case, som|
000009d0  65 20 6c 69 6e 65 73 20  69 6e 63 6c 75 64 69 6e  |e lines includin|
000009e0  67 20 74 68 65 20 20 42  41 53 49 43 20 4f 53 43  |g the  BASIC OSC|
000009f0  4c 49 20 63 6f 6d 6d 61  6e 64 0d 77 69 6c 6c 20  |LI command.will |
00000a00  6e 65 65 64 20 74 6f 20  62 65 20 69 6e 73 65 72  |need to be inser|
00000a10  74 65 64 2e 20 46 6f 72  20 65 78 61 6d 70 6c 65  |ted. For example|
00000a20  20 74 68 65 20 6e 75 6d  62 65 72 20 20 74 6f 20  | the number  to |
00000a30  20 62 65 20 20 64 69 61  6c 6c 65 64 20 63 6f 75  | be  dialled cou|
00000a40  6c 64 20 62 65 0d 72 65  61 64 20 66 72 6f 6d 20  |ld be.read from |
00000a50  74 68 65 20 6b 65 79 62  6f 61 72 64 20 69 6e 74  |the keyboard int|
00000a60  6f 20 61 20 73 74 72 69  6e 67 2c 20 4e 55 4d 24  |o a string, NUM$|
00000a70  2c 20 77 68 69 63 68 20  69 73 20 74 68 65 6e 20  |, which is then |
00000a80  75 73 65 64 20 20 69 6e  20 20 61 20 6c 69 6e 65  |used  in  a line|
00000a90  0d 74 68 75 73 3a 20 20  4f 53 43 4c 49 28 22 44  |.thus:  OSCLI("D|
00000aa0  49 41 4c 20 22 2b 4e 55  4d 24 29 2e 20 55 73 65  |IAL "+NUM$). Use|
00000ab0  72 73 20 6f 66 20 42 41  53 49 43 20 49 20 68 61  |rs of BASIC I ha|
00000ac0  76 65 20 6e 6f 20 4f 53  43 4c 49 20 63 6f 6d 6d  |ve no OSCLI comm|
00000ad0  61 6e 64 2c 20 62 75 74  20 4f 53 0d 63 6f 6d 6d  |and, but OS.comm|
00000ae0  61 6e 64 73 20 77 69 74  68 20 76 61 72 69 61 62  |ands with variab|
00000af0  6c 65 20 61 72 67 75 6d  65 6e 74 73 20 63 61 6e  |le arguments can|
00000b00  20 73 74 69 6c 6c 20 62  65 20 75 73 65 64 20 2d  | still be used -|
00000b10  20 73 65 65 20 74 68 65  20 75 73 65 72 20 6d 61  | see the user ma|
00000b20  6e 75 61 6c 2e 0d 0d 0d  20 20 20 20 20 20 49 6e  |nual....      In|
00000b30  20 75 73 65 2c 20 73 74  61 72 74 20 74 68 65 20  | use, start the |
00000b40  74 65 72 6d 69 6e 61 6c  20 73 6f 66 74 77 61 72  |terminal softwar|
00000b50  65 2c 20 61 6e 64 20 74  68 65 6e 20 65 6e 74 65  |e, and then ente|
00000b60  72 20 4f 53 20 63 6f 6d  6d 61 6e 64 20 6d 6f 64  |r OS command mod|
00000b70  65 2c 0d 69 73 73 75 69  6e 67 20 2a 44 49 41 4c  |e,.issuing *DIAL|
00000b80  20 6e 6e 2d 6e 6e 6e 2d  6e 6e 6e 6e 2c 20 28 6f  | nn-nnn-nnnn, (o|
00000b90  6e 65 2c 20 61 6e 64 20  20 6f 6e 6c 79 20 20 6f  |ne, and  only  o|
00000ba0  6e 65 2c 20 20 73 70 61  63 65 20 62 65 74 77 65  |ne,  space betwe|
00000bb0  65 6e 20 74 68 65 20 22  4c 22 20 6f 66 0d 22 44  |en the "L" of."D|
00000bc0  49 41 4c 22 20 61 6e 64  20 74 68 65 20 66 69 72  |IAL" and the fir|
00000bd0  73 74 20 64 69 67 69 74  20 69 73 20 65 73 73 65  |st digit is esse|
00000be0  6e 74 69 61 6c 29 20 77  68 65 72 65 20 20 22 6e  |ntial) where  "n|
00000bf0  22 20 20 69 73 20 20 61  6e 79 20 64 69 67 69 74  |"  is  any digit|
00000c00  20 30 2d 39 2c 61 6e 64  0d 74 68 65 20 22 2d 22  | 0-9,and.the "-"|
00000c10  20 69 73 20 61 20 73 65  70 61 72 61 74 6f 72 20  | is a separator |
00000c20  74 68 61 74 20 63 61 75  73 65 73 20 61 20 73 68  |that causes a sh|
00000c30  6f 72 74 20 64 65 6c 61  79 2c 20 61 6e 64 20 20  |ort delay, and  |
00000c40  63 61 6e 20 20 62 65 20  20 70 75 74 20 69 6e 20  |can  be  put in |
00000c50  61 6e 79 0d 70 6f 73 69  74 69 6f 6e 2e 20 20 46  |any.position.  F|
00000c60  6f 72 20 20 65 78 61 6d  70 6c 65 2c 20 20 74 6f  |or  example,  to|
00000c70  20 20 64 69 61 6c 20 20  42 54 20 47 6f 6c 64 2c  |  dial  BT Gold,|
00000c80  20 74 79 70 65 20 22 2a  44 49 41 4c 20 30 31 2d  | type "*DIAL 01-|
00000c90  35 38 33 2d 31 32 37 35  22 2e 20 54 68 65 0d 72  |583-1275". The.r|
00000ca0  6f 75 74 69 6e 65 20 20  66 69 72 73 74 20 69 73  |outine  first is|
00000cb0  73 75 65 73 20 61 20 52  45 53 45 54 20 63 6f 6d  |sues a RESET com|
00000cc0  6d 61 6e 64 20 20 74 6f  20 74 68 65 20 41 64 61  |mand  to the Ada|
00000cd0  70 74 6f 72 2c 20 74 68  65 6e 20 63 68 65 63 6b  |ptor, then check|
00000ce0  73 20 74 68 61 74 20 69  74 0d 69 73 20 63 6f 6e  |s that it.is con|
00000cf0  6e 65 63 74 65 64 20 61  6e 64 20 73 77 69 74 63  |nected and switc|
00000d00  68 65 64 20 6f 6e 2c 20  65 78 69 74 69 6e 67 20  |hed on, exiting |
00000d10  77 69 74 68 20 74 68 65  20 6d 65 73 73 61 67 65  |with the message|
00000d20  20 22 41 64 61 70 74 6f  72 3f 22 20 69 66 20 69  | "Adaptor?" if i|
00000d30  74 20 69 73 0d 6e 6f 74  2e 20 49 66 20 61 6c 6c  |t is.not. If all|
00000d40  20 69 73 20 77 65 6c 6c  2c 20 74 68 65 20 61 64  | is well, the ad|
00000d50  61 70 74 6f 72 20 63 6f  6e 6e 65 63 74 73 20 74  |aptor connects t|
00000d60  6f 20 74 68 65 20 65 78  63 68 61 6e 67 65 2c 20  |o the exchange, |
00000d70  77 61 69 74 73 20 34 20  73 65 63 6f 6e 64 73 0d  |waits 4 seconds.|
00000d80  61 6e 64 20 74 68 65 6e  20 64 69 61 6c 73 20 74  |and then dials t|
00000d90  68 65 20 6e 75 6d 62 65  72 2c 20 70 61 75 73 69  |he number, pausi|
00000da0  6e 67 20 62 65 74 77 65  65 6e 20 74 68 65 20 64  |ng between the d|
00000db0  69 67 69 74 20 67 72 6f  75 70 73 2e 20 4f 6e 20  |igit groups. On |
00000dc0  63 6f 6d 70 6c 65 74 69  6f 6e 0d 6f 66 20 64 69  |completion.of di|
00000dd0  61 6c 6c 69 6e 67 2c 20  74 68 65 20 61 64 61 70  |alling, the adap|
00000de0  74 6f 72 20 77 61 69 74  73 20 66 6f 72 20 74 68  |tor waits for th|
00000df0  65 20 20 61 70 70 65 61  72 61 6e 63 65 20 20 6f  |e  appearance  o|
00000e00  66 20 64 61 74 61 20 63  61 72 72 69 65 72 20 6f  |f data carrier o|
00000e10  6e 20 74 68 65 0d 6c 69  6e 65 20 20 62 65 66 6f  |n the.line  befo|
00000e20  72 65 20 20 63 6f 6e 6e  65 63 74 69 6e 67 20 74  |re  connecting t|
00000e30  68 65 20 63 6f 6d 70 75  74 65 72 2c 20 61 66 74  |he computer, aft|
00000e40  65 72 20 77 68 69 63 68  20 74 68 65 20 72 6f 75  |er which the rou|
00000e50  74 69 6e 65 20 74 65 72  6d 69 6e 61 74 65 73 2c  |tine terminates,|
00000e60  0d 72 65 74 75 72 6e 69  6e 67 20 74 6f 20 74 68  |.returning to th|
00000e70  65 20 20 74 65 72 6d 69  6e 61 6c 20 65 6d 75 6c  |e  terminal emul|
00000e80  61 74 6f 72 2e 20 49 66  20 6e 6f 20 64 61 74 61  |ator. If no data|
00000e90  20 63 61 72 72 69 65 72  20 69 73 20 72 65 63 65  | carrier is rece|
00000ea0  69 76 65 64 20 77 69 74  68 69 6e 0d 39 30 20 73  |ived within.90 s|
00000eb0  65 63 6f 6e 64 73 2c 20  74 68 65 20 72 6f 75 74  |econds, the rout|
00000ec0  69 6e 65 20 20 69 73 20  20 65 78 69 74 65 64 20  |ine  is  exited |
00000ed0  20 77 69 74 68 20 20 61  20 22 4e 6f 20 64 61 74  | with  a "No dat|
00000ee0  61 20 63 61 72 72 69 65  72 22 20 6d 65 73 73 61  |a carrier" messa|
00000ef0  67 65 2e 20 4f 6e 0d 63  6f 6d 70 6c 65 74 69 6f  |ge. On.completio|
00000f00  6e 20 6f 66 20 61 20 73  65 73 73 69 6f 6e 2c 20  |n of a session, |
00000f10  70 72 65 73 73 69 6e 67  20 22 42 52 45 41 4b 22  |pressing "BREAK"|
00000f20  20 77 69 6c 6c 20 72 65  73 65 74 20 74 68 65 20  | will reset the |
00000f30  61 64 61 70 74 6f 72 2e  0d 0d 20 20 20 20 20 20  |adaptor...      |
00000f40  20 44 49 41 4c 20 68 61  73 20 62 65 65 6e 20 75  | DIAL has been u|
00000f50  73 65 64 20 74 6f 20 20  67 6f 6f 64 20 20 65 66  |sed to  good  ef|
00000f60  66 65 63 74 20 20 69 6e  20 20 61 20 20 42 42 43  |fect  in  a  BBC|
00000f70  20 4d 69 63 72 6f 20 2b  20 36 35 30 32 20 73 65  | Micro + 6502 se|
00000f80  63 6f 6e 64 0d 70 72 6f  63 65 73 73 6f 72 2c 20  |cond.processor, |
00000f90  20 72 75 6e 6e 69 6e 67  20 74 68 65 20 4d 61 73  | running the Mas|
00000fa0  74 65 72 27 73 20 74 65  72 6d 69 6e 61 6c 20 65  |ter's terminal e|
00000fb0  6d 75 6c 61 74 6f 72 2c  20 65 6e 61 62 6c 69 6e  |mulator, enablin|
00000fc0  67 20 74 68 65 20 61 75  74 68 6f 72 20 74 6f 0d  |g the author to.|
00000fd0  63 6f 6e 6e 65 63 74 20  74 6f 20 20 61 20 20 76  |connect to  a  v|
00000fe0  61 72 69 65 74 79 20 20  6f 66 20 20 64 61 74 61  |ariety  of  data|
00000ff0  20 20 73 65 72 76 69 63  65 73 20 75 73 69 6e 67  |  services using|
00001000  20 73 63 72 6f 6c 6c 69  6e 67 20 61 6e 64 20 38  | scrolling and 8|
00001010  30 20 63 6f 6c 75 6d 6e  73 2e 0d 4e 6f 74 65 2c  |0 columns..Note,|
00001020  20 68 6f 77 65 76 65 72  2c 20 74 68 61 74 20 64  | however, that d|
00001030  65 73 70 69 74 65 20 74  68 65 20 66 61 63 74 20  |espite the fact |
00001040  74 68 61 74 20 20 74 68  65 20 20 41 63 6f 72 6e  |that  the  Acorn|
00001050  20 20 50 52 45 53 54 45  4c 20 75 73 65 72 20 6d  |  PRESTEL user m|
00001060  61 6e 75 61 6c 0d 73 61  79 73 20 74 68 61 74 20  |anual.says that |
00001070  74 68 65 20 62 61 75 64  20 72 61 74 65 73 20 63  |the baud rates c|
00001080  61 6e 20 62 65 20 61 6c  74 65 72 65 64 20 66 72  |an be altered fr|
00001090  6f 6d 20 74 68 65 20 73  74 61 6e 64 61 72 64 20  |om the standard |
000010a0  31 32 30 30 20 69 6e 2c  20 37 35 20 6f 75 74 2c  |1200 in, 75 out,|
000010b0  0d 74 68 65 20 68 61 72  64 77 61 72 65 20 69 6e  |.the hardware in|
000010c0  20 74 68 65 20 61 64 61  70 74 6f 72 20 77 69 6c  | the adaptor wil|
000010d0  6c 20 6e 6f 74 20 77 6f  72 6b 20 70 72 6f 70 65  |l not work prope|
000010e0  72 6c 79 20 69 66 20 20  79 6f 75 20 20 74 72 79  |rly if  you  try|
000010f0  20 74 6f 20 73 65 74 20  75 70 2c 0d 73 61 79 2c  | to set up,.say,|
00001100  20 33 30 30 20 62 61 75  64 73 20 73 65 6e 64 20  | 300 bauds send |
00001110  61 6e 64 20 72 65 63 65  69 76 65 2c 20 69 2e 65  |and receive, i.e|
00001120  2e 20 69 74 20 69 73 20  6f 6e 6c 79 20 61 20 73  |. it is only a s|
00001130  69 6e 67 6c 65 20 20 73  74 61 6e 64 61 72 64 20  |ingle  standard |
00001140  6d 6f 64 65 6d 2c 0d 73  6f 20 61 6e 79 20 73 65  |modem,.so any se|
00001150  72 76 69 63 65 20 77 69  74 68 20 77 68 69 63 68  |rvice with which|
00001160  20 79 6f 75 20 74 72 79  20 74 6f 20 63 6f 6e 6e  | you try to conn|
00001170  65 63 74 20 6d 75 73 74  20 62 65 20 73 65 6e 64  |ect must be send|
00001180  69 6e 67 20 61 74 20 20  31 32 30 30 20 62 61 75  |ing at  1200 bau|
00001190  64 0d 61 6e 64 20 20 72  65 63 65 69 76 69 6e 67  |d.and  receiving|
000011a0  20 20 61 74 20 20 37 35  2e 20 20 41 73 20 74 68  |  at  75.  As th|
000011b0  65 20 31 32 30 30 2f 37  35 20 73 74 61 6e 64 61  |e 1200/75 standa|
000011c0  72 64 20 69 73 20 71 75  69 74 65 20 63 6f 6d 6d  |rd is quite comm|
000011d0  6f 6e 2c 20 74 68 65 20  75 73 65 72 0d 77 69 6c  |on, the user.wil|
000011e0  6c 20 6e 6f 74 20 66 65  65 6c 20 75 6e 64 75 6c  |l not feel undul|
000011f0  79 20 72 65 73 74 72 69  63 74 65 64 21 0d 0d 0d  |y restricted!...|
00001200  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
00001220  20 20 20 20 20 20 20 20  52 2e 44 2e 57 72 69 67  |        R.D.Wrig|
00001230  68 74 20 20 20 32 30 74  68 20 4e 6f 76 20 31 39  |ht   20th Nov 19|
00001240  38 38 0d 0d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |88..------------|
00001250  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
*
00001280  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d              |------------|
0000128c
04-08-89/DialTxt.m0
04-08-89/DialTxt.m1
04-08-89/DialTxt.m2
04-08-89/DialTxt.m4
04-08-89/DialTxt.m5