Home » CEEFAX disks » telesoftware2.adl » ATS/B1

ATS/B1

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 » telesoftware2.adl
Filename: ATS/B1
Read OK:
File size: 05DB bytes
Load address: FFFF0E00
Exec address: FFFF802B
File contents
   68S%=PAGE+&C00
  590REM"�&C00 is the length of this
  600REM"�program rounded up to nearest
  610REM"�&100 or more !!
  620A%=&B4:X%=S%DIV256:Y%=0:CALL&FFF4
  630ENDPROC
  640:
  650:
  660DEFPROCget_info
  670LOCAL P$,L$,E$,F$,R$
  680PRINT'"�Please enter:"
  690INPUTTAB(1,6)"�Channel:�"ch%:IFch%<1 ORch%>4 GOTO690
  700INPUTTAB(1,8)"�Page number:�"P$
  710mag%=VAL(LEFT$(P$,1))
  720page%=EVAL("&"+RIGHT$(P$,2))
  730INPUTTAB(1,10)"�Filename:�"fname$
  740INPUTTAB(1,12)"�Load address:�&"L$
  750load%=EVAL("&"+L$)
  760INPUTTAB(1,14)"�Exec address:�&"E$
  770exec%=EVAL("&"+E$)
  780INPUTTAB(1,16)"�Load to file or memory? (F/M):�"F$
  790IFF$="F" OR F$="f" file%=TRUE ELSE file%=FALSE
  800INPUTTAB(1,18)"�Reset default tables? (Y/N):�"R$
  810IFR$="N" OR R$="n" reset%=FALSE ELSE reset%=TRUE
  820ENDPROC
  830:
  840:
  850DEFPROCdownload(channel%,magazine%,page%,filename$,load%,exec%,save%,reset%)
  860*TTXON
  870REM"�needs DIM space 15
  880REM"�and DIM name 12
  890PROCoscli("CH"+STR$(channel%))
  900space?0=24
  910space?1=name MOD256:space?2=name DIV256
  920$name=filename$
  930space!3=load%
  940space!7=exec%
  950space?11=magazine%
  960space?12=page%
  970IFsave%=TRUE space?13=1 ELSE space?13=0
  980IFreset%=TRUE space?14=0 ELSE space?14=1
  990A%=&7A:X%=space MOD256:Y%=space DIV256
 1000CALL&FFF1
 1010ENDPROC
 1020:
 1030:
 1040REM"�***�OSCLI SIMULATION�***
 1050DEFPROCoscli(text$)
 1060REM"�Needs DIM line 15
 1070$line=text$:X%=line MOD256:Y%=line DIV256
 1080CALL&FFF7
 1090ENDPROC
 1100:
 1110:
 1120REM"�***�HEADING�***
 1130DEFPROCheading
 1140CLS
 1150PRINT'SPC2;CHR$141;CHR$132;CHR$157;CHR$131;"ATS Utilities: File downloader  ";CHR$156
 1160PRINTSPC2;CHR$141;CHR$132;CHR$157;CHR$131;"ATS Utilities: File downloader  ";CHR$156
 1170ENDPROC
 1180:
 1190:
 1200:
 1210DEFPROCreturn_oshwm
 1220REM"�Move OSHWM back to PAGE
 1230A%=&B4:X%=PAGE DIV256:Y%=0:CALL&FFF4
 1240ENDPROC
D
S%=�+&C00
N!�"�&C00 is the length of this
X$�"�program rounded up to nearest
b�"�&100 or more !!
l A%=&B4:X%=S%�256:Y%=0:�&FFF4
v�
�:
�:
���get_info
�� P$,L$,E$,F$,R$
��'"�Please enter:"
�-�1,6)"�Channel:�"ch%:�ch%<1 �ch%>4 �trB
��1,8)"�Page number:�"P$
�mag%=�(�P$,1))
�page%=�("&"+�P$,2))
��1,10)"�Filename:�"fname$
��1,12)"�Load address:�&"L$
�load%=�("&"+L$)
��1,14)"�Exec address:�&"E$
exec%=�("&"+E$)
/�1,16)"�Load to file or memory? (F/M):�"F$
&�F$="F" � F$="f" file%=� � file%=�
 -�1,18)"�Reset default tables? (Y/N):�"R$
*(�R$="N" � R$="n" reset%=� � reset%=�
4�
>:
H:
RK��download(channel%,magazine%,page%,filename$,load%,exec%,save%,reset%)
\
*TTXON
f�"�needs DIM space 15
p�"�and DIM name 12
z�oscli("CH"+�(channel%))
�space?0=24
�'space?1=name �256:space?2=name �256
�$name=filename$
�space!3=load%
�space!7=exec%
�space?11=magazine%
�space?12=page%
�$�save%=� space?13=1 � space?13=0
�%�reset%=� space?14=0 � space?14=1
�&A%=&7A:X%=space �256:Y%=space �256
�
�&FFF1
��
�:
:
�"�***�OSCLI SIMULATION�***
��oscli(text$)
$�"�Needs DIM line 15
.)$line=text$:X%=line �256:Y%=line �256
8
�&FFF7
B�
L:
V:
`�"�***�HEADING�***
j
��heading
t�
~D�'�2;�141;�132;�157;�131;"ATS Utilities: File downloader  ";�156
�C�2;�141;�132;�157;�131;"ATS Utilities: File downloader  ";�156
��
�:
�:
�:
���return_oshwm
��"�Move OSHWM back to PAGE
� A%=&B4:X%=� �256:Y%=0:�&FFF4
��
�
00000000  0d 00 44 0d 53 25 3d 90  2b 26 43 30 30 0d 02 4e  |..D.S%=.+&C00..N|
00000010  21 f4 22 83 26 43 30 30  20 69 73 20 74 68 65 20  |!.".&C00 is the |
00000020  6c 65 6e 67 74 68 20 6f  66 20 74 68 69 73 0d 02  |length of this..|
00000030  58 24 f4 22 83 70 72 6f  67 72 61 6d 20 72 6f 75  |X$.".program rou|
00000040  6e 64 65 64 20 75 70 20  74 6f 20 6e 65 61 72 65  |nded up to neare|
00000050  73 74 0d 02 62 16 f4 22  83 26 31 30 30 20 6f 72  |st..b..".&100 or|
00000060  20 6d 6f 72 65 20 21 21  0d 02 6c 20 41 25 3d 26  | more !!..l A%=&|
00000070  42 34 3a 58 25 3d 53 25  81 32 35 36 3a 59 25 3d  |B4:X%=S%.256:Y%=|
00000080  30 3a d6 26 46 46 46 34  0d 02 76 05 e1 0d 02 80  |0:.&FFF4..v.....|
00000090  05 3a 0d 02 8a 05 3a 0d  02 94 0e dd f2 67 65 74  |.:....:......get|
000000a0  5f 69 6e 66 6f 0d 02 9e  14 ea 20 50 24 2c 4c 24  |_info..... P$,L$|
000000b0  2c 45 24 2c 46 24 2c 52  24 0d 02 a8 16 f1 27 22  |,E$,F$,R$.....'"|
000000c0  86 50 6c 65 61 73 65 20  65 6e 74 65 72 3a 22 0d  |.Please enter:".|
000000d0  02 b2 2d e8 8a 31 2c 36  29 22 86 43 68 61 6e 6e  |..-..1,6)".Chann|
000000e0  65 6c 3a 87 22 63 68 25  3a e7 63 68 25 3c 31 20  |el:."ch%:.ch%<1 |
000000f0  84 63 68 25 3e 34 20 e5  8d 74 72 42 0d 02 bc 1c  |.ch%>4 ..trB....|
00000100  e8 8a 31 2c 38 29 22 86  50 61 67 65 20 6e 75 6d  |..1,8)".Page num|
00000110  62 65 72 3a 87 22 50 24  0d 02 c6 12 6d 61 67 25  |ber:."P$....mag%|
00000120  3d bb 28 c0 50 24 2c 31  29 29 0d 02 d0 17 70 61  |=.(.P$,1))....pa|
00000130  67 65 25 3d a0 28 22 26  22 2b c2 50 24 2c 32 29  |ge%=.("&"+.P$,2)|
00000140  29 0d 02 da 1e e8 8a 31  2c 31 30 29 22 86 46 69  |)......1,10)".Fi|
00000150  6c 65 6e 61 6d 65 3a 87  22 66 6e 61 6d 65 24 0d  |lename:."fname$.|
00000160  02 e4 1f e8 8a 31 2c 31  32 29 22 86 4c 6f 61 64  |.....1,12)".Load|
00000170  20 61 64 64 72 65 73 73  3a 87 26 22 4c 24 0d 02  | address:.&"L$..|
00000180  ee 13 6c 6f 61 64 25 3d  a0 28 22 26 22 2b 4c 24  |..load%=.("&"+L$|
00000190  29 0d 02 f8 1f e8 8a 31  2c 31 34 29 22 86 45 78  |)......1,14)".Ex|
000001a0  65 63 20 61 64 64 72 65  73 73 3a 87 26 22 45 24  |ec address:.&"E$|
000001b0  0d 03 02 13 65 78 65 63  25 3d a0 28 22 26 22 2b  |....exec%=.("&"+|
000001c0  45 24 29 0d 03 0c 2f e8  8a 31 2c 31 36 29 22 86  |E$).../..1,16)".|
000001d0  4c 6f 61 64 20 74 6f 20  66 69 6c 65 20 6f 72 20  |Load to file or |
000001e0  6d 65 6d 6f 72 79 3f 20  28 46 2f 4d 29 3a 87 22  |memory? (F/M):."|
000001f0  46 24 0d 03 16 26 e7 46  24 3d 22 46 22 20 84 20  |F$...&.F$="F" . |
00000200  46 24 3d 22 66 22 20 66  69 6c 65 25 3d b9 20 8b  |F$="f" file%=. .|
00000210  20 66 69 6c 65 25 3d a3  0d 03 20 2d e8 8a 31 2c  | file%=... -..1,|
00000220  31 38 29 22 86 52 65 73  65 74 20 64 65 66 61 75  |18)".Reset defau|
00000230  6c 74 20 74 61 62 6c 65  73 3f 20 28 59 2f 4e 29  |lt tables? (Y/N)|
00000240  3a 87 22 52 24 0d 03 2a  28 e7 52 24 3d 22 4e 22  |:."R$..*(.R$="N"|
00000250  20 84 20 52 24 3d 22 6e  22 20 72 65 73 65 74 25  | . R$="n" reset%|
00000260  3d a3 20 8b 20 72 65 73  65 74 25 3d b9 0d 03 34  |=. . reset%=...4|
00000270  05 e1 0d 03 3e 05 3a 0d  03 48 05 3a 0d 03 52 4b  |....>.:..H.:..RK|
00000280  dd f2 64 6f 77 6e 6c 6f  61 64 28 63 68 61 6e 6e  |..download(chann|
00000290  65 6c 25 2c 6d 61 67 61  7a 69 6e 65 25 2c 70 61  |el%,magazine%,pa|
000002a0  67 65 25 2c 66 69 6c 65  6e 61 6d 65 24 2c 6c 6f  |ge%,filename$,lo|
000002b0  61 64 25 2c 65 78 65 63  25 2c 73 61 76 65 25 2c  |ad%,exec%,save%,|
000002c0  72 65 73 65 74 25 29 0d  03 5c 0a 2a 54 54 58 4f  |reset%)..\.*TTXO|
000002d0  4e 0d 03 66 19 f4 22 82  6e 65 65 64 73 20 44 49  |N..f..".needs DI|
000002e0  4d 20 73 70 61 63 65 20  31 35 0d 03 70 16 f4 22  |M space 15..p.."|
000002f0  82 61 6e 64 20 44 49 4d  20 6e 61 6d 65 20 31 32  |.and DIM name 12|
00000300  0d 03 7a 1c f2 6f 73 63  6c 69 28 22 43 48 22 2b  |..z..oscli("CH"+|
00000310  c3 28 63 68 61 6e 6e 65  6c 25 29 29 0d 03 84 0e  |.(channel%))....|
00000320  73 70 61 63 65 3f 30 3d  32 34 0d 03 8e 27 73 70  |space?0=24...'sp|
00000330  61 63 65 3f 31 3d 6e 61  6d 65 20 83 32 35 36 3a  |ace?1=name .256:|
00000340  73 70 61 63 65 3f 32 3d  6e 61 6d 65 20 81 32 35  |space?2=name .25|
00000350  36 0d 03 98 13 24 6e 61  6d 65 3d 66 69 6c 65 6e  |6....$name=filen|
00000360  61 6d 65 24 0d 03 a2 11  73 70 61 63 65 21 33 3d  |ame$....space!3=|
00000370  6c 6f 61 64 25 0d 03 ac  11 73 70 61 63 65 21 37  |load%....space!7|
00000380  3d 65 78 65 63 25 0d 03  b6 16 73 70 61 63 65 3f  |=exec%....space?|
00000390  31 31 3d 6d 61 67 61 7a  69 6e 65 25 0d 03 c0 12  |11=magazine%....|
000003a0  73 70 61 63 65 3f 31 32  3d 70 61 67 65 25 0d 03  |space?12=page%..|
000003b0  ca 24 e7 73 61 76 65 25  3d b9 20 73 70 61 63 65  |.$.save%=. space|
000003c0  3f 31 33 3d 31 20 8b 20  73 70 61 63 65 3f 31 33  |?13=1 . space?13|
000003d0  3d 30 0d 03 d4 25 e7 72  65 73 65 74 25 3d b9 20  |=0...%.reset%=. |
000003e0  73 70 61 63 65 3f 31 34  3d 30 20 8b 20 73 70 61  |space?14=0 . spa|
000003f0  63 65 3f 31 34 3d 31 0d  03 de 26 41 25 3d 26 37  |ce?14=1...&A%=&7|
00000400  41 3a 58 25 3d 73 70 61  63 65 20 83 32 35 36 3a  |A:X%=space .256:|
00000410  59 25 3d 73 70 61 63 65  20 81 32 35 36 0d 03 e8  |Y%=space .256...|
00000420  0a d6 26 46 46 46 31 0d  03 f2 05 e1 0d 03 fc 05  |..&FFF1.........|
00000430  3a 0d 04 06 05 3a 0d 04  10 1f f4 22 81 2a 2a 2a  |:....:.....".***|
00000440  86 4f 53 43 4c 49 20 53  49 4d 55 4c 41 54 49 4f  |.OSCLI SIMULATIO|
00000450  4e 81 2a 2a 2a 0d 04 1a  12 dd f2 6f 73 63 6c 69  |N.***......oscli|
00000460  28 74 65 78 74 24 29 0d  04 24 18 f4 22 82 4e 65  |(text$)..$..".Ne|
00000470  65 64 73 20 44 49 4d 20  6c 69 6e 65 20 31 35 0d  |eds DIM line 15.|
00000480  04 2e 29 24 6c 69 6e 65  3d 74 65 78 74 24 3a 58  |..)$line=text$:X|
00000490  25 3d 6c 69 6e 65 20 83  32 35 36 3a 59 25 3d 6c  |%=line .256:Y%=l|
000004a0  69 6e 65 20 81 32 35 36  0d 04 38 0a d6 26 46 46  |ine .256..8..&FF|
000004b0  46 37 0d 04 42 05 e1 0d  04 4c 05 3a 0d 04 56 05  |F7..B....L.:..V.|
000004c0  3a 0d 04 60 16 f4 22 81  2a 2a 2a 82 48 45 41 44  |:..`..".***.HEAD|
000004d0  49 4e 47 81 2a 2a 2a 0d  04 6a 0d dd f2 68 65 61  |ING.***..j...hea|
000004e0  64 69 6e 67 0d 04 74 05  db 0d 04 7e 44 f1 27 89  |ding..t....~D.'.|
000004f0  32 3b bd 31 34 31 3b bd  31 33 32 3b bd 31 35 37  |2;.141;.132;.157|
00000500  3b bd 31 33 31 3b 22 41  54 53 20 55 74 69 6c 69  |;.131;"ATS Utili|
00000510  74 69 65 73 3a 20 46 69  6c 65 20 64 6f 77 6e 6c  |ties: File downl|
00000520  6f 61 64 65 72 20 20 22  3b bd 31 35 36 0d 04 88  |oader  ";.156...|
00000530  43 f1 89 32 3b bd 31 34  31 3b bd 31 33 32 3b bd  |C..2;.141;.132;.|
00000540  31 35 37 3b bd 31 33 31  3b 22 41 54 53 20 55 74  |157;.131;"ATS Ut|
00000550  69 6c 69 74 69 65 73 3a  20 46 69 6c 65 20 64 6f  |ilities: File do|
00000560  77 6e 6c 6f 61 64 65 72  20 20 22 3b bd 31 35 36  |wnloader  ";.156|
00000570  0d 04 92 05 e1 0d 04 9c  05 3a 0d 04 a6 05 3a 0d  |.........:....:.|
00000580  04 b0 05 3a 0d 04 ba 12  dd f2 72 65 74 75 72 6e  |...:......return|
00000590  5f 6f 73 68 77 6d 0d 04  c4 1e f4 22 83 4d 6f 76  |_oshwm.....".Mov|
000005a0  65 20 4f 53 48 57 4d 20  62 61 63 6b 20 74 6f 20  |e OSHWM back to |
000005b0  50 41 47 45 0d 04 ce 20  41 25 3d 26 42 34 3a 58  |PAGE... A%=&B4:X|
000005c0  25 3d 90 20 81 32 35 36  3a 59 25 3d 30 3a d6 26  |%=. .256:Y%=0:.&|
000005d0  46 46 46 34 0d 04 d8 05  e1 0d ff                 |FFF4.......|
000005db
ATS/B1.m0
ATS/B1.m1
ATS/B1.m2
ATS/B1.m4
ATS/B1.m5