Home » Recent acquisitions » Acorn ADFS disks » adfs_AcornUser_199508.adf » !Internet » StarterPak/!Newsbase/Transports/ka9q/mkgroups

StarterPak/!Newsbase/Transports/ka9q/mkgroups

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 » Recent acquisitions » Acorn ADFS disks » adfs_AcornUser_199508.adf » !Internet
Filename: StarterPak/!Newsbase/Transports/ka9q/mkgroups
Read OK:
File size: 0870 bytes
Load address: 0000
Exec address: 0000
File contents
   10ONERRORREPORT:PRINT" at line ";ERL:END
   20DIM buf% 1024
   30d1$="<NNTP$Dir>"
   40d2$="<NewsBase$Config>.ka9q"
   50out%=0:in%=0
   60SYS"XOS_File",17,d1$TOt%;F%
   70IFt%=0OR(F%AND1)<>0 THEN
   80  d1$="<TCPIP$Dir>":SYS"XOS_File",17,d1$TOt%;F%
   90  IFt%=0OR(F%AND1)<>0 THENPROCexit(1,"!TCPIP not found")
  100ENDIF
  110SYS"XOS_File",17,d2$TOt%;F%
  120IFt%=0OR(F%AND1)<>0 PROCexit(1,d2$+" directory not found")
  130
  140next%=0:len%=0:newest%=0
  150REM find dates of xxxGroup files
  160REPEAT
  170  SYS"XOS_GBPB",11,d1$,buf%,1,next%,1024,"*Group"TO,,,no%,next%;F%
  180  IFno%>0AND(F%AND1)=0THEN
  190      f$=FNstr(buf%+29):l%=FNdate(buf%+24)
  200      IFl%>newest%THENnewest%=l%
  210  ENDIF
  220UNTILnext%<0
  230
  240next%=0:l%=0
  250REPEAT
  260SYS"XOS_GBPB",11,d2$,buf%,1,next%,1024,"groups"TO,,,no%,next%;F%
  270IFno%>0AND(F%AND1)=0THENf$=FNstr(buf%+29):l%=FNdate(buf%+24)
  280UNTILnext%<0
  290
  300REM exit if older than groups file...
  310REM this crappy version breaks at end of century!
  320IFnewest%<l%THENPROCexit(0,"Groups file up-to-date")
  330
  340F%=FNrename(d2$+".groups",d2$+".groups"+"~")
  350
  360SYS"XOS_Find",&8F,d2$+".groups"TOout%;F%
  370IF(F%AND1) out%=0:PROCexit(1,"Couldn't create groups file")
  380next%=0
  390REPEAT
  400SYS"XOS_GBPB",9,d1$,buf%,100,next%,1024,"*Group"TO,,,no%,next%;F%
  410IFno%>0AND(F%AND1)=0THEN
  420b%=buf%
  430FORloop%=1TOno%
  440  f$=FNstr(b%):b%+=LENf$+1
  450  SYS"XOS_Find",&4F,d1$+"."+f$ TOin%;F%
  460  IF(F%AND1) in%=0:PROCexit(1,"Couldn't open input file: "+f$)
  470  REPEAT
  480    A$=GET$#in%
  490    REPEAT
  500      l%=INSTR(A$,","):IFl%>0THEN
  510        B$=LEFT$(A$,l%-1):A$=MID$(A$,l%+1)
  520        ELSE
  530        B$=A$:A$=""
  540      ENDIF
  550      IFB$>"" THENBPUT#out%,B$
  560    UNTILA$=""
  570  UNTILEOF#in%
  580  CLOSE#in%:in%=0
  590NEXT
  600ENDIF
  610UNTILnext%<0
  620CLOSE#out%:out%=0
  630SYS"XOS_CLI","settype "+d2$+".groups Text"
  640PROCexit(0,"Created groups file")
  650END
  660
  670DEFPROCexit(n%,a$)
  680IFin%<>0 CLOSE#in%
  690IFout%<>0 CLOSE#out%
  700OSCLI("set NewsBase$ReturnCode "+STR$n%)
  710OSCLI("set NewsBase$ReturnInfo "+a$)
  720END
  730
  740DEFFNstr(a%)
  750LOCALa$:WHILE ?a%>31ANDLENa$<255:a$+=CHR$?a%:a%+=1:ENDWHILE
  760=a$
  770
  780DEFFNrename(s$,d$)
  790LOCALF%:SYS"XOS_FSControl",25,s$,d$TOerr%;F%
  800IF(F%AND1) THEN
  810  F%=FNdelfile(d$)
  820  SYS"XOS_FSControl",25,s$,d$TOerr%;F%
  830ENDIF
  840=(F%AND1)
  850
  860DEFFNdelfile(f$)
  870LOCALF%:SYS"XOS_File",6,f$TO;F%
  880=(F%AND1)
  890
  900DEFFNdate(p%)
  910SYS"OS_ConvertDateAndTime",p%,buf%,128,"%YR%DN%24%MI"TOb%
  920=VALFNstr(b%)

�:�" at line ";�:�
� buf% 1024
d1$="<NNTP$Dir>"
( d2$="<NewsBase$Config>.ka9q"
2out%=0:in%=0
<ș"XOS_File",17,d1$�t%;F%
F�t%=0�(F%�1)<>0 �
P1  d1$="<TCPIP$Dir>":ș"XOS_File",17,d1$�t%;F%
Z2  �t%=0�(F%�1)<>0 ��exit(1,"!TCPIP not found")
d�
nș"XOS_File",17,d2$�t%;F%
x7�t%=0�(F%�1)<>0 �exit(1,d2$+" directory not found")
�
�next%=0:len%=0:newest%=0
�"� find dates of xxxGroup files
��
�D  ș"XOS_GBPB",11,d1$,buf%,1,next%,1024,"*Group"�,,,no%,next%;F%
�  �no%>0�(F%�1)=0�
�,      f$=�str(buf%+29):l%=�date(buf%+24)
�       �l%>newest%�newest%=l%
�  �
��next%<0
�
�next%=0:l%=0
��
Bș"XOS_GBPB",11,d2$,buf%,1,next%,1024,"groups"�,,,no%,next%;F%
6�no%>0�(F%�1)=0�f$=�str(buf%+29):l%=�date(buf%+24)
�next%<0
"
,'� exit if older than groups file...
63� this crappy version breaks at end of century!
@1�newest%<l%��exit(0,"Groups file up-to-date")
J
T/F%=�rename(d2$+".groups",d2$+".groups"+"~")
^
h*ș"XOS_Find",&8F,d2$+".groups"�out%;F%
r9�(F%�1) out%=0:�exit(1,"Couldn't create groups file")
|next%=0
��
�Cș"XOS_GBPB",9,d1$,buf%,100,next%,1024,"*Group"�,,,no%,next%;F%
��no%>0�(F%�1)=0�
�b%=buf%
��loop%=1�no%
�  f$=�str(b%):b%+=�f$+1
�)  ș"XOS_Find",&4F,d1$+"."+f$ �in%;F%
�<  �(F%�1) in%=0:�exit(1,"Couldn't open input file: "+f$)
�  �
�    A$=�#in%
�	    �
�      l%=�A$,","):�l%>0�
�%        B$=�A$,l%-1):A$=�A$,l%+1)

        �
        B$=A$:A$=""
      �
&      �B$>"" ��#out%,B$
0    �A$=""
:  ��#in%
D  �#in%:in%=0
N�
X�
b�next%<0
l�#out%:out%=0
v-ș"XOS_CLI","settype "+d2$+".groups Text"
�"�exit(0,"Created groups file")
��
�
���exit(n%,a$)
��in%<>0 �#in%
��out%<>0 �#out%
�%�("set NewsBase$ReturnCode "+�n%)
�$�("set NewsBase$ReturnInfo "+a$)
��
�
�
ݤstr(a%)
�*�a$:ȕ ?a%>31��a$<255:a$+=�?a%:a%+=1:�
�=a$

ݤrename(s$,d$)
*�F%:ș"XOS_FSControl",25,s$,d$�err%;F%
 
�(F%�1) �
*  F%=�delfile(d$)
4(  ș"XOS_FSControl",25,s$,d$�err%;F%
>�
H=(F%�1)
R
\ݤdelfile(f$)
f�F%:ș"XOS_File",6,f$�;F%
p=(F%�1)
z
�ݤdate(p%)
�;ș"OS_ConvertDateAndTime",p%,buf%,128,"%YR%DN%24%MI"�b%
�=��str(b%)
�
00000000  0d 00 0a 18 ee 85 f6 3a  f1 22 20 61 74 20 6c 69  |.......:." at li|
00000010  6e 65 20 22 3b 9e 3a e0  0d 00 14 0f de 20 62 75  |ne ";.:...... bu|
00000020  66 25 20 31 30 32 34 0d  00 1e 14 64 31 24 3d 22  |f% 1024....d1$="|
00000030  3c 4e 4e 54 50 24 44 69  72 3e 22 0d 00 28 20 64  |<NNTP$Dir>"..( d|
00000040  32 24 3d 22 3c 4e 65 77  73 42 61 73 65 24 43 6f  |2$="<NewsBase$Co|
00000050  6e 66 69 67 3e 2e 6b 61  39 71 22 0d 00 32 10 6f  |nfig>.ka9q"..2.o|
00000060  75 74 25 3d 30 3a 69 6e  25 3d 30 0d 00 3c 1d c8  |ut%=0:in%=0..<..|
00000070  99 22 58 4f 53 5f 46 69  6c 65 22 2c 31 37 2c 64  |."XOS_File",17,d|
00000080  31 24 b8 74 25 3b 46 25  0d 00 46 15 e7 74 25 3d  |1$.t%;F%..F..t%=|
00000090  30 84 28 46 25 80 31 29  3c 3e 30 20 8c 0d 00 50  |0.(F%.1)<>0 ...P|
000000a0  31 20 20 64 31 24 3d 22  3c 54 43 50 49 50 24 44  |1  d1$="<TCPIP$D|
000000b0  69 72 3e 22 3a c8 99 22  58 4f 53 5f 46 69 6c 65  |ir>":.."XOS_File|
000000c0  22 2c 31 37 2c 64 31 24  b8 74 25 3b 46 25 0d 00  |",17,d1$.t%;F%..|
000000d0  5a 32 20 20 e7 74 25 3d  30 84 28 46 25 80 31 29  |Z2  .t%=0.(F%.1)|
000000e0  3c 3e 30 20 8c f2 65 78  69 74 28 31 2c 22 21 54  |<>0 ..exit(1,"!T|
000000f0  43 50 49 50 20 6e 6f 74  20 66 6f 75 6e 64 22 29  |CPIP not found")|
00000100  0d 00 64 05 cd 0d 00 6e  1d c8 99 22 58 4f 53 5f  |..d....n..."XOS_|
00000110  46 69 6c 65 22 2c 31 37  2c 64 32 24 b8 74 25 3b  |File",17,d2$.t%;|
00000120  46 25 0d 00 78 37 e7 74  25 3d 30 84 28 46 25 80  |F%..x7.t%=0.(F%.|
00000130  31 29 3c 3e 30 20 f2 65  78 69 74 28 31 2c 64 32  |1)<>0 .exit(1,d2|
00000140  24 2b 22 20 64 69 72 65  63 74 6f 72 79 20 6e 6f  |$+" directory no|
00000150  74 20 66 6f 75 6e 64 22  29 0d 00 82 04 0d 00 8c  |t found").......|
00000160  1c 6e 65 78 74 25 3d 30  3a 6c 65 6e 25 3d 30 3a  |.next%=0:len%=0:|
00000170  6e 65 77 65 73 74 25 3d  30 0d 00 96 22 f4 20 66  |newest%=0...". f|
00000180  69 6e 64 20 64 61 74 65  73 20 6f 66 20 78 78 78  |ind dates of xxx|
00000190  47 72 6f 75 70 20 66 69  6c 65 73 0d 00 a0 05 f5  |Group files.....|
000001a0  0d 00 aa 44 20 20 c8 99  22 58 4f 53 5f 47 42 50  |...D  .."XOS_GBP|
000001b0  42 22 2c 31 31 2c 64 31  24 2c 62 75 66 25 2c 31  |B",11,d1$,buf%,1|
000001c0  2c 6e 65 78 74 25 2c 31  30 32 34 2c 22 2a 47 72  |,next%,1024,"*Gr|
000001d0  6f 75 70 22 b8 2c 2c 2c  6e 6f 25 2c 6e 65 78 74  |oup".,,,no%,next|
000001e0  25 3b 46 25 0d 00 b4 16  20 20 e7 6e 6f 25 3e 30  |%;F%....  .no%>0|
000001f0  80 28 46 25 80 31 29 3d  30 8c 0d 00 be 2c 20 20  |.(F%.1)=0....,  |
00000200  20 20 20 20 66 24 3d a4  73 74 72 28 62 75 66 25  |    f$=.str(buf%|
00000210  2b 32 39 29 3a 6c 25 3d  a4 64 61 74 65 28 62 75  |+29):l%=.date(bu|
00000220  66 25 2b 32 34 29 0d 00  c8 20 20 20 20 20 20 20  |f%+24)...       |
00000230  e7 6c 25 3e 6e 65 77 65  73 74 25 8c 6e 65 77 65  |.l%>newest%.newe|
00000240  73 74 25 3d 6c 25 0d 00  d2 07 20 20 cd 0d 00 dc  |st%=l%....  ....|
00000250  0c fd 6e 65 78 74 25 3c  30 0d 00 e6 04 0d 00 f0  |..next%<0.......|
00000260  10 6e 65 78 74 25 3d 30  3a 6c 25 3d 30 0d 00 fa  |.next%=0:l%=0...|
00000270  05 f5 0d 01 04 42 c8 99  22 58 4f 53 5f 47 42 50  |.....B.."XOS_GBP|
00000280  42 22 2c 31 31 2c 64 32  24 2c 62 75 66 25 2c 31  |B",11,d2$,buf%,1|
00000290  2c 6e 65 78 74 25 2c 31  30 32 34 2c 22 67 72 6f  |,next%,1024,"gro|
000002a0  75 70 73 22 b8 2c 2c 2c  6e 6f 25 2c 6e 65 78 74  |ups".,,,no%,next|
000002b0  25 3b 46 25 0d 01 0e 36  e7 6e 6f 25 3e 30 80 28  |%;F%...6.no%>0.(|
000002c0  46 25 80 31 29 3d 30 8c  66 24 3d a4 73 74 72 28  |F%.1)=0.f$=.str(|
000002d0  62 75 66 25 2b 32 39 29  3a 6c 25 3d a4 64 61 74  |buf%+29):l%=.dat|
000002e0  65 28 62 75 66 25 2b 32  34 29 0d 01 18 0c fd 6e  |e(buf%+24).....n|
000002f0  65 78 74 25 3c 30 0d 01  22 04 0d 01 2c 27 f4 20  |ext%<0.."...,'. |
00000300  65 78 69 74 20 69 66 20  6f 6c 64 65 72 20 74 68  |exit if older th|
00000310  61 6e 20 67 72 6f 75 70  73 20 66 69 6c 65 2e 2e  |an groups file..|
00000320  2e 0d 01 36 33 f4 20 74  68 69 73 20 63 72 61 70  |...63. this crap|
00000330  70 79 20 76 65 72 73 69  6f 6e 20 62 72 65 61 6b  |py version break|
00000340  73 20 61 74 20 65 6e 64  20 6f 66 20 63 65 6e 74  |s at end of cent|
00000350  75 72 79 21 0d 01 40 31  e7 6e 65 77 65 73 74 25  |ury!..@1.newest%|
00000360  3c 6c 25 8c f2 65 78 69  74 28 30 2c 22 47 72 6f  |<l%..exit(0,"Gro|
00000370  75 70 73 20 66 69 6c 65  20 75 70 2d 74 6f 2d 64  |ups file up-to-d|
00000380  61 74 65 22 29 0d 01 4a  04 0d 01 54 2f 46 25 3d  |ate")..J...T/F%=|
00000390  a4 72 65 6e 61 6d 65 28  64 32 24 2b 22 2e 67 72  |.rename(d2$+".gr|
000003a0  6f 75 70 73 22 2c 64 32  24 2b 22 2e 67 72 6f 75  |oups",d2$+".grou|
000003b0  70 73 22 2b 22 7e 22 29  0d 01 5e 04 0d 01 68 2a  |ps"+"~")..^...h*|
000003c0  c8 99 22 58 4f 53 5f 46  69 6e 64 22 2c 26 38 46  |.."XOS_Find",&8F|
000003d0  2c 64 32 24 2b 22 2e 67  72 6f 75 70 73 22 b8 6f  |,d2$+".groups".o|
000003e0  75 74 25 3b 46 25 0d 01  72 39 e7 28 46 25 80 31  |ut%;F%..r9.(F%.1|
000003f0  29 20 6f 75 74 25 3d 30  3a f2 65 78 69 74 28 31  |) out%=0:.exit(1|
00000400  2c 22 43 6f 75 6c 64 6e  27 74 20 63 72 65 61 74  |,"Couldn't creat|
00000410  65 20 67 72 6f 75 70 73  20 66 69 6c 65 22 29 0d  |e groups file").|
00000420  01 7c 0b 6e 65 78 74 25  3d 30 0d 01 86 05 f5 0d  |.|.next%=0......|
00000430  01 90 43 c8 99 22 58 4f  53 5f 47 42 50 42 22 2c  |..C.."XOS_GBPB",|
00000440  39 2c 64 31 24 2c 62 75  66 25 2c 31 30 30 2c 6e  |9,d1$,buf%,100,n|
00000450  65 78 74 25 2c 31 30 32  34 2c 22 2a 47 72 6f 75  |ext%,1024,"*Grou|
00000460  70 22 b8 2c 2c 2c 6e 6f  25 2c 6e 65 78 74 25 3b  |p".,,,no%,next%;|
00000470  46 25 0d 01 9a 14 e7 6e  6f 25 3e 30 80 28 46 25  |F%.....no%>0.(F%|
00000480  80 31 29 3d 30 8c 0d 01  a4 0b 62 25 3d 62 75 66  |.1)=0.....b%=buf|
00000490  25 0d 01 ae 10 e3 6c 6f  6f 70 25 3d 31 b8 6e 6f  |%.....loop%=1.no|
000004a0  25 0d 01 b8 1b 20 20 66  24 3d a4 73 74 72 28 62  |%....  f$=.str(b|
000004b0  25 29 3a 62 25 2b 3d a9  66 24 2b 31 0d 01 c2 29  |%):b%+=.f$+1...)|
000004c0  20 20 c8 99 22 58 4f 53  5f 46 69 6e 64 22 2c 26  |  .."XOS_Find",&|
000004d0  34 46 2c 64 31 24 2b 22  2e 22 2b 66 24 20 b8 69  |4F,d1$+"."+f$ .i|
000004e0  6e 25 3b 46 25 0d 01 cc  3c 20 20 e7 28 46 25 80  |n%;F%...<  .(F%.|
000004f0  31 29 20 69 6e 25 3d 30  3a f2 65 78 69 74 28 31  |1) in%=0:.exit(1|
00000500  2c 22 43 6f 75 6c 64 6e  27 74 20 6f 70 65 6e 20  |,"Couldn't open |
00000510  69 6e 70 75 74 20 66 69  6c 65 3a 20 22 2b 66 24  |input file: "+f$|
00000520  29 0d 01 d6 07 20 20 f5  0d 01 e0 10 20 20 20 20  |)....  .....    |
00000530  41 24 3d be 23 69 6e 25  0d 01 ea 09 20 20 20 20  |A$=.#in%....    |
00000540  f5 0d 01 f4 1c 20 20 20  20 20 20 6c 25 3d a7 41  |.....      l%=.A|
00000550  24 2c 22 2c 22 29 3a e7  6c 25 3e 30 8c 0d 01 fe  |$,","):.l%>0....|
00000560  25 20 20 20 20 20 20 20  20 42 24 3d c0 41 24 2c  |%        B$=.A$,|
00000570  6c 25 2d 31 29 3a 41 24  3d c1 41 24 2c 6c 25 2b  |l%-1):A$=.A$,l%+|
00000580  31 29 0d 02 08 0d 20 20  20 20 20 20 20 20 cc 0d  |1)....        ..|
00000590  02 12 17 20 20 20 20 20  20 20 20 42 24 3d 41 24  |...        B$=A$|
000005a0  3a 41 24 3d 22 22 0d 02  1c 0b 20 20 20 20 20 20  |:A$=""....      |
000005b0  cd 0d 02 26 1b 20 20 20  20 20 20 e7 42 24 3e 22  |...&.      .B$>"|
000005c0  22 20 8c d5 23 6f 75 74  25 2c 42 24 0d 02 30 0e  |" ..#out%,B$..0.|
000005d0  20 20 20 20 fd 41 24 3d  22 22 0d 02 3a 0c 20 20  |    .A$=""..:.  |
000005e0  fd c5 23 69 6e 25 0d 02  44 11 20 20 d9 23 69 6e  |..#in%..D.  .#in|
000005f0  25 3a 69 6e 25 3d 30 0d  02 4e 05 ed 0d 02 58 05  |%:in%=0..N....X.|
00000600  cd 0d 02 62 0c fd 6e 65  78 74 25 3c 30 0d 02 6c  |...b..next%<0..l|
00000610  11 d9 23 6f 75 74 25 3a  6f 75 74 25 3d 30 0d 02  |..#out%:out%=0..|
00000620  76 2d c8 99 22 58 4f 53  5f 43 4c 49 22 2c 22 73  |v-.."XOS_CLI","s|
00000630  65 74 74 79 70 65 20 22  2b 64 32 24 2b 22 2e 67  |ettype "+d2$+".g|
00000640  72 6f 75 70 73 20 54 65  78 74 22 0d 02 80 22 f2  |roups Text"...".|
00000650  65 78 69 74 28 30 2c 22  43 72 65 61 74 65 64 20  |exit(0,"Created |
00000660  67 72 6f 75 70 73 20 66  69 6c 65 22 29 0d 02 8a  |groups file")...|
00000670  05 e0 0d 02 94 04 0d 02  9e 11 dd f2 65 78 69 74  |............exit|
00000680  28 6e 25 2c 61 24 29 0d  02 a8 11 e7 69 6e 25 3c  |(n%,a$).....in%<|
00000690  3e 30 20 d9 23 69 6e 25  0d 02 b2 13 e7 6f 75 74  |>0 .#in%.....out|
000006a0  25 3c 3e 30 20 d9 23 6f  75 74 25 0d 02 bc 25 ff  |%<>0 .#out%...%.|
000006b0  28 22 73 65 74 20 4e 65  77 73 42 61 73 65 24 52  |("set NewsBase$R|
000006c0  65 74 75 72 6e 43 6f 64  65 20 22 2b c3 6e 25 29  |eturnCode "+.n%)|
000006d0  0d 02 c6 24 ff 28 22 73  65 74 20 4e 65 77 73 42  |...$.("set NewsB|
000006e0  61 73 65 24 52 65 74 75  72 6e 49 6e 66 6f 20 22  |ase$ReturnInfo "|
000006f0  2b 61 24 29 0d 02 d0 05  e0 0d 02 da 04 0d 02 e4  |+a$)............|
00000700  0d dd a4 73 74 72 28 61  25 29 0d 02 ee 2a ea 61  |...str(a%)...*.a|
00000710  24 3a c8 95 20 3f 61 25  3e 33 31 80 a9 61 24 3c  |$:.. ?a%>31..a$<|
00000720  32 35 35 3a 61 24 2b 3d  bd 3f 61 25 3a 61 25 2b  |255:a$+=.?a%:a%+|
00000730  3d 31 3a ce 0d 02 f8 07  3d 61 24 0d 03 02 04 0d  |=1:.....=a$.....|
00000740  03 0c 13 dd a4 72 65 6e  61 6d 65 28 73 24 2c 64  |.....rename(s$,d|
00000750  24 29 0d 03 16 2a ea 46  25 3a c8 99 22 58 4f 53  |$)...*.F%:.."XOS|
00000760  5f 46 53 43 6f 6e 74 72  6f 6c 22 2c 32 35 2c 73  |_FSControl",25,s|
00000770  24 2c 64 24 b8 65 72 72  25 3b 46 25 0d 03 20 0d  |$,d$.err%;F%.. .|
00000780  e7 28 46 25 80 31 29 20  8c 0d 03 2a 15 20 20 46  |.(F%.1) ...*.  F|
00000790  25 3d a4 64 65 6c 66 69  6c 65 28 64 24 29 0d 03  |%=.delfile(d$)..|
000007a0  34 28 20 20 c8 99 22 58  4f 53 5f 46 53 43 6f 6e  |4(  .."XOS_FSCon|
000007b0  74 72 6f 6c 22 2c 32 35  2c 73 24 2c 64 24 b8 65  |trol",25,s$,d$.e|
000007c0  72 72 25 3b 46 25 0d 03  3e 05 cd 0d 03 48 0b 3d  |rr%;F%..>....H.=|
000007d0  28 46 25 80 31 29 0d 03  52 04 0d 03 5c 11 dd a4  |(F%.1)..R...\...|
000007e0  64 65 6c 66 69 6c 65 28  66 24 29 0d 03 66 1d ea  |delfile(f$)..f..|
000007f0  46 25 3a c8 99 22 58 4f  53 5f 46 69 6c 65 22 2c  |F%:.."XOS_File",|
00000800  36 2c 66 24 b8 3b 46 25  0d 03 70 0b 3d 28 46 25  |6,f$.;F%..p.=(F%|
00000810  80 31 29 0d 03 7a 04 0d  03 84 0e dd a4 64 61 74  |.1)..z.......dat|
00000820  65 28 70 25 29 0d 03 8e  3b c8 99 22 4f 53 5f 43  |e(p%)...;.."OS_C|
00000830  6f 6e 76 65 72 74 44 61  74 65 41 6e 64 54 69 6d  |onvertDateAndTim|
00000840  65 22 2c 70 25 2c 62 75  66 25 2c 31 32 38 2c 22  |e",p%,buf%,128,"|
00000850  25 59 52 25 44 4e 25 32  34 25 4d 49 22 b8 62 25  |%YR%DN%24%MI".b%|
00000860  0d 03 98 0e 3d bb a4 73  74 72 28 62 25 29 0d ff  |....=..str(b%)..|
00000870