Home » Archimedes archive » Acorn User » AU 1993-10.adf » !Bio_Bio » !Bio/Library/ModInfo

!Bio/Library/ModInfo

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 » Archimedes archive » Acorn User » AU 1993-10.adf » !Bio_Bio
Filename: !Bio/Library/ModInfo
Read OK:
File size: 0B54 bytes
Load address: 0000
Exec address: 0000
File contents
   10REM     >ModInfo (BIO module)
   20REM By  Jim Daniels
   30REM For 32-bit machines
   40REM (c) BAU September 1993
   50:
   60DEF FNmodinfo_name="Module header dump"
   70:
   80DEF FNmodinfo_args="-in Module -out Text -send"
   90:
  100DEF FNmodinfo_init
  110=0
  120:
  130DEF FNmodinfo(in$,out$)
  140LOCAL in%,out%,has_swi%
  150LOCAL title$,help$,dot,version$
  160LOCAL name$,date$,rest$
  170LOCAL header%,hsize%
  180IF FNclaim_memory(header%,hsize%)=0 PROCwarn("Out of memory"):=TRUE
  190IF hsize%<11*4 PROCwarn("Out of memory"):=0
  200in%=OPENIN(in$)
  210out%=OPENOUT(out$)
  220SYS "OS_GBPB",3,in%,header%,11*4,0
  230title$=FNfile_string(header%!&10)
  240help$=FNexpand_tabs(FNfile_string(header%!&14))
  250dot=INSTR(help$,".")
  260version$=MID$(help$,dot-1,4)
  270name$=FNstrip_spaces(LEFT$(help$,dot-2))
  280date$=MID$(help$,INSTR(help$," (")+2,11)
  290rest$=FNstrip_spaces(MID$(help$,INSTR(help$,")")+1))
  300PROCbput(out%,FNtab("Module",title$,10))
  310PROCbput(out%,FNtab("Name",name$,10))
  320PROCbput(out%,FNtab("Version",version$,10))
  330PROCbput(out%,FNtab("Date",date$,10))
  340IF rest$<>"" PROCbput(out%,FNtab("Comment",rest$,10))
  350PROCbput(out%,"")
  360PROCbput(out%,FNtab("Start",FNhex(!header%),10))
  370PROCbput(out%,FNtab("Init",FNhex(header%!4),10))
  380PROCbput(out%,FNtab("Final",FNhex(header%!8),10))
  390PROCbput(out%,FNtab("Service",FNhex(header%!12),10))
  400has_swi%=header%!&1C>0 AND header%!&24>0 AND header%!&24<EXT#in%
  410has_swi%=has_swi% AND header%!&20>0 AND header%!&20<EXT#in%
  420IF has_swi% PROCbput(out%,FNtab("SWI base",FNhex(header%!&1C),10))
  430IF header%!&18<>0 PROCstar_commands
  440IF has_swi% PROCbput(out%,""):PROCswi_calls
  450CLOSE #in%
  460CLOSE #out%
  470=0
  480:
  490DEF FNfile_string(ptr%)
  500LOCAL c%,str$
  510str$=""
  520PTR#in%=ptr%
  530REPEAT
  540 c%=BGET#in%
  550 IF c%<>0 str$+=CHR$c%
  560UNTIL c%=0
  570=str$
  580:
  590DEF FNexpand_tabs(str$)
  600WHILE INSTR(str$,CHR$9)
  610 tab=INSTR(str$,CHR$9)
  620 str$=LEFT$(str$,tab-1)+STRING$(((tab DIV 8)+1)*8-tab+1," ")+MID$(str$,tab+1)
  630ENDWHILE
  640=str$
  650:
  660DEF FNtab(s1$,s2$,tab%)
  670=s1$+STRING$(tab%-LENs1$," ")+": "+s2$
  680:
  690DEF FNhex(dec%)
  700IF dec%=0 THEN ="None"
  710="&"+RIGHT$("00000000"+STR$~dec%,8)
  720:
  730DEF PROCstar_commands
  740LOCAL stars,confs,loop
  750stars=0
  760confs=0
  770loop=1
  780REPEAT
  790 PTR#in%=header%!&18
  800 CASE loop OF
  810  WHEN 2: PROCbput(out%,""):PROCbput(out%,"Star commands:")
  820  WHEN 3: PROCbput(out%,""):PROCbput(out%,"Configurations:")
  830 ENDCASE
  840 REPEAT
  850  com$=FNfile_string(PTR#in%)
  860  IF com$<>"" THEN
  870   PTR#in%=((PTR#in%+3)ANDNOT3)+4
  880   flags=FNwget(in%)
  890   syntax=FNwget(in%)
  900   help=FNwget(in%)
  910   CASE loop OF
  920    WHEN 1:
  930     IF (flags AND (1<<30)) confs+=1 ELSE stars+=1
  940    WHEN 2:
  950     IF (flags AND (1<<30))=0 PROCbput(out%,"  "+com$)
  960    WHEN 3:
  970     IF (flags AND (1<<30))<>0 PROCbput(out%,"  "+com$)
  980   ENDCASE
  990  ENDIF
 1000 UNTIL com$=""
 1010 CASE loop OF
 1020  WHEN 1:
 1030   IF confs=0 AND stars=0 loop=0
 1040   IF confs>0 loop=3
 1050   IF stars>0 loop=2
 1060  WHEN 2:
 1070   IF confs>0 loop=3 ELSE loop=0
 1080  WHEN 3:
 1090   loop=0
 1100 ENDCASE
 1110UNTIL loop=0
 1120ENDPROC
 1130:
 1140DEF PROCswi_calls
 1150LOCAL group$
 1160PROCbput(out%,"SWI calls:")
 1170group$=FNfile_string(header%!&24)
 1180REPEAT
 1190 swi$=FNfile_string(PTR#in%)
 1200 IF swi$<>"" PROCbput(out%,"  "+group$+"_"+swi$)
 1210UNTIL swi$=""
 1220ENDPROC

�     >ModInfo (BIO module)
� By  Jim Daniels
� For 32-bit machines
(� (c) BAU September 1993
2:
<(� �modinfo_name="Module header dump"
F:
P0� �modinfo_args="-in Module -out Text -send"
Z:
d� �modinfo_init
n=0
x:
�� �modinfo(in$,out$)
�� in%,out%,has_swi%
�� title$,help$,dot,version$
�� name$,date$,rest$
�� header%,hsize%
�?� �claim_memory(header%,hsize%)=0 �warn("Out of memory"):=�
�+� hsize%<11*4 �warn("Out of memory"):=0
�in%=�(in$)
�out%=�(out$)
�%ș "OS_GBPB",3,in%,header%,11*4,0
�$title$=�file_string(header%!&10)
�1help$=�expand_tabs(�file_string(header%!&14))
�dot=�help$,".")
version$=�help$,dot-1,4)
&name$=�strip_spaces(�help$,dot-2))
#date$=�help$,�help$," (")+2,11)
".rest$=�strip_spaces(�help$,�help$,")")+1))
,(�bput(out%,�tab("Module",title$,10))
6%�bput(out%,�tab("Name",name$,10))
@+�bput(out%,�tab("Version",version$,10))
J%�bput(out%,�tab("Date",date$,10))
T4� rest$<>"" �bput(out%,�tab("Comment",rest$,10))
^�bput(out%,"")
h/�bput(out%,�tab("Start",�hex(!header%),10))
r/�bput(out%,�tab("Init",�hex(header%!4),10))
|0�bput(out%,�tab("Final",�hex(header%!8),10))
�3�bput(out%,�tab("Service",�hex(header%!12),10))
�>has_swi%=header%!&1C>0 � header%!&24>0 � header%!&24<�#in%
�9has_swi%=has_swi% � header%!&20>0 � header%!&20<�#in%
�@� has_swi% �bput(out%,�tab("SWI base",�hex(header%!&1C),10))
�#� header%!&18<>0 �star_commands
�(� has_swi% �bput(out%,""):�swi_calls
�
� #in%
�� #out%
�=0
�:
�� �file_string(ptr%)
�
� c%,str$
�str$=""
�#in%=ptr%
�

 c%=�#in%
& � c%<>0 str$+=�c%
0
� c%=0
:	=str$
D:
N� �expand_tabs(str$)
Xȕ �str$,�9)
b tab=�str$,�9)
l? str$=�str$,tab-1)+�((tab � 8)+1)*8-tab+1," ")+�str$,tab+1)
v�
�	=str$
�:
�� �tab(s1$,s2$,tab%)
�!=s1$+�tab%-�s1$," ")+": "+s2$
�:
�� �hex(dec%)
�� dec%=0 � ="None"
�="&"+�"00000000"+�~dec%,8)
�:
�� �star_commands
�� stars,confs,loop
�stars=0
�confs=0

loop=1
�
 �#in%=header%!&18
  Ȏ loop �
*6  � 2: �bput(out%,""):�bput(out%,"Star commands:")
47  � 3: �bput(out%,""):�bput(out%,"Configurations:")
> �
H �
R  com$=�file_string(�#in%)
\  � com$<>"" �
f   �#in%=((�#in%+3)��3)+4
p   flags=�wget(in%)
z   syntax=�wget(in%)
�   help=�wget(in%)
�   Ȏ loop �
�    � 1:
�0     � (flags � (1<<30)) confs+=1 � stars+=1
�    � 2:
�4     � (flags � (1<<30))=0 �bput(out%,"  "+com$)
�    � 3:
�5     � (flags � (1<<30))<>0 �bput(out%,"  "+com$)
�   �
�  �
� � com$=""
� Ȏ loop �
�
  � 1:
!   � confs=0 � stars=0 loop=0
   � confs>0 loop=3
   � stars>0 loop=2
$
  � 2:
.    � confs>0 loop=3 � loop=0
8
  � 3:
B
   loop=0
L �
V� loop=0
`�
j:
t� �swi_calls
~� group$
��bput(out%,"SWI calls:")
�$group$=�file_string(header%!&24)
��
� swi$=�file_string(�#in%)
�0 � swi$<>"" �bput(out%,"  "+group$+"_"+swi$)
�
� swi$=""
��
�
00000000  0d 00 0a 1f f4 20 20 20  20 20 3e 4d 6f 64 49 6e  |.....     >ModIn|
00000010  66 6f 20 28 42 49 4f 20  6d 6f 64 75 6c 65 29 0d  |fo (BIO module).|
00000020  00 14 15 f4 20 42 79 20  20 4a 69 6d 20 44 61 6e  |.... By  Jim Dan|
00000030  69 65 6c 73 0d 00 1e 19  f4 20 46 6f 72 20 33 32  |iels..... For 32|
00000040  2d 62 69 74 20 6d 61 63  68 69 6e 65 73 0d 00 28  |-bit machines..(|
00000050  1c f4 20 28 63 29 20 42  41 55 20 53 65 70 74 65  |.. (c) BAU Septe|
00000060  6d 62 65 72 20 31 39 39  33 0d 00 32 05 3a 0d 00  |mber 1993..2.:..|
00000070  3c 28 dd 20 a4 6d 6f 64  69 6e 66 6f 5f 6e 61 6d  |<(. .modinfo_nam|
00000080  65 3d 22 4d 6f 64 75 6c  65 20 68 65 61 64 65 72  |e="Module header|
00000090  20 64 75 6d 70 22 0d 00  46 05 3a 0d 00 50 30 dd  | dump"..F.:..P0.|
000000a0  20 a4 6d 6f 64 69 6e 66  6f 5f 61 72 67 73 3d 22  | .modinfo_args="|
000000b0  2d 69 6e 20 4d 6f 64 75  6c 65 20 2d 6f 75 74 20  |-in Module -out |
000000c0  54 65 78 74 20 2d 73 65  6e 64 22 0d 00 5a 05 3a  |Text -send"..Z.:|
000000d0  0d 00 64 13 dd 20 a4 6d  6f 64 69 6e 66 6f 5f 69  |..d.. .modinfo_i|
000000e0  6e 69 74 0d 00 6e 06 3d  30 0d 00 78 05 3a 0d 00  |nit..n.=0..x.:..|
000000f0  82 18 dd 20 a4 6d 6f 64  69 6e 66 6f 28 69 6e 24  |... .modinfo(in$|
00000100  2c 6f 75 74 24 29 0d 00  8c 17 ea 20 69 6e 25 2c  |,out$)..... in%,|
00000110  6f 75 74 25 2c 68 61 73  5f 73 77 69 25 0d 00 96  |out%,has_swi%...|
00000120  1f ea 20 74 69 74 6c 65  24 2c 68 65 6c 70 24 2c  |.. title$,help$,|
00000130  64 6f 74 2c 76 65 72 73  69 6f 6e 24 0d 00 a0 17  |dot,version$....|
00000140  ea 20 6e 61 6d 65 24 2c  64 61 74 65 24 2c 72 65  |. name$,date$,re|
00000150  73 74 24 0d 00 aa 14 ea  20 68 65 61 64 65 72 25  |st$..... header%|
00000160  2c 68 73 69 7a 65 25 0d  00 b4 3f e7 20 a4 63 6c  |,hsize%...?. .cl|
00000170  61 69 6d 5f 6d 65 6d 6f  72 79 28 68 65 61 64 65  |aim_memory(heade|
00000180  72 25 2c 68 73 69 7a 65  25 29 3d 30 20 f2 77 61  |r%,hsize%)=0 .wa|
00000190  72 6e 28 22 4f 75 74 20  6f 66 20 6d 65 6d 6f 72  |rn("Out of memor|
000001a0  79 22 29 3a 3d b9 0d 00  be 2b e7 20 68 73 69 7a  |y"):=....+. hsiz|
000001b0  65 25 3c 31 31 2a 34 20  f2 77 61 72 6e 28 22 4f  |e%<11*4 .warn("O|
000001c0  75 74 20 6f 66 20 6d 65  6d 6f 72 79 22 29 3a 3d  |ut of memory"):=|
000001d0  30 0d 00 c8 0e 69 6e 25  3d 8e 28 69 6e 24 29 0d  |0....in%=.(in$).|
000001e0  00 d2 10 6f 75 74 25 3d  ae 28 6f 75 74 24 29 0d  |...out%=.(out$).|
000001f0  00 dc 25 c8 99 20 22 4f  53 5f 47 42 50 42 22 2c  |..%.. "OS_GBPB",|
00000200  33 2c 69 6e 25 2c 68 65  61 64 65 72 25 2c 31 31  |3,in%,header%,11|
00000210  2a 34 2c 30 0d 00 e6 24  74 69 74 6c 65 24 3d a4  |*4,0...$title$=.|
00000220  66 69 6c 65 5f 73 74 72  69 6e 67 28 68 65 61 64  |file_string(head|
00000230  65 72 25 21 26 31 30 29  0d 00 f0 31 68 65 6c 70  |er%!&10)...1help|
00000240  24 3d a4 65 78 70 61 6e  64 5f 74 61 62 73 28 a4  |$=.expand_tabs(.|
00000250  66 69 6c 65 5f 73 74 72  69 6e 67 28 68 65 61 64  |file_string(head|
00000260  65 72 25 21 26 31 34 29  29 0d 00 fa 13 64 6f 74  |er%!&14))....dot|
00000270  3d a7 68 65 6c 70 24 2c  22 2e 22 29 0d 01 04 1c  |=.help$,".")....|
00000280  76 65 72 73 69 6f 6e 24  3d c1 68 65 6c 70 24 2c  |version$=.help$,|
00000290  64 6f 74 2d 31 2c 34 29  0d 01 0e 26 6e 61 6d 65  |dot-1,4)...&name|
000002a0  24 3d a4 73 74 72 69 70  5f 73 70 61 63 65 73 28  |$=.strip_spaces(|
000002b0  c0 68 65 6c 70 24 2c 64  6f 74 2d 32 29 29 0d 01  |.help$,dot-2))..|
000002c0  18 23 64 61 74 65 24 3d  c1 68 65 6c 70 24 2c a7  |.#date$=.help$,.|
000002d0  68 65 6c 70 24 2c 22 20  28 22 29 2b 32 2c 31 31  |help$," (")+2,11|
000002e0  29 0d 01 22 2e 72 65 73  74 24 3d a4 73 74 72 69  |)..".rest$=.stri|
000002f0  70 5f 73 70 61 63 65 73  28 c1 68 65 6c 70 24 2c  |p_spaces(.help$,|
00000300  a7 68 65 6c 70 24 2c 22  29 22 29 2b 31 29 29 0d  |.help$,")")+1)).|
00000310  01 2c 28 f2 62 70 75 74  28 6f 75 74 25 2c a4 74  |.,(.bput(out%,.t|
00000320  61 62 28 22 4d 6f 64 75  6c 65 22 2c 74 69 74 6c  |ab("Module",titl|
00000330  65 24 2c 31 30 29 29 0d  01 36 25 f2 62 70 75 74  |e$,10))..6%.bput|
00000340  28 6f 75 74 25 2c a4 74  61 62 28 22 4e 61 6d 65  |(out%,.tab("Name|
00000350  22 2c 6e 61 6d 65 24 2c  31 30 29 29 0d 01 40 2b  |",name$,10))..@+|
00000360  f2 62 70 75 74 28 6f 75  74 25 2c a4 74 61 62 28  |.bput(out%,.tab(|
00000370  22 56 65 72 73 69 6f 6e  22 2c 76 65 72 73 69 6f  |"Version",versio|
00000380  6e 24 2c 31 30 29 29 0d  01 4a 25 f2 62 70 75 74  |n$,10))..J%.bput|
00000390  28 6f 75 74 25 2c a4 74  61 62 28 22 44 61 74 65  |(out%,.tab("Date|
000003a0  22 2c 64 61 74 65 24 2c  31 30 29 29 0d 01 54 34  |",date$,10))..T4|
000003b0  e7 20 72 65 73 74 24 3c  3e 22 22 20 f2 62 70 75  |. rest$<>"" .bpu|
000003c0  74 28 6f 75 74 25 2c a4  74 61 62 28 22 43 6f 6d  |t(out%,.tab("Com|
000003d0  6d 65 6e 74 22 2c 72 65  73 74 24 2c 31 30 29 29  |ment",rest$,10))|
000003e0  0d 01 5e 12 f2 62 70 75  74 28 6f 75 74 25 2c 22  |..^..bput(out%,"|
000003f0  22 29 0d 01 68 2f f2 62  70 75 74 28 6f 75 74 25  |")..h/.bput(out%|
00000400  2c a4 74 61 62 28 22 53  74 61 72 74 22 2c a4 68  |,.tab("Start",.h|
00000410  65 78 28 21 68 65 61 64  65 72 25 29 2c 31 30 29  |ex(!header%),10)|
00000420  29 0d 01 72 2f f2 62 70  75 74 28 6f 75 74 25 2c  |)..r/.bput(out%,|
00000430  a4 74 61 62 28 22 49 6e  69 74 22 2c a4 68 65 78  |.tab("Init",.hex|
00000440  28 68 65 61 64 65 72 25  21 34 29 2c 31 30 29 29  |(header%!4),10))|
00000450  0d 01 7c 30 f2 62 70 75  74 28 6f 75 74 25 2c a4  |..|0.bput(out%,.|
00000460  74 61 62 28 22 46 69 6e  61 6c 22 2c a4 68 65 78  |tab("Final",.hex|
00000470  28 68 65 61 64 65 72 25  21 38 29 2c 31 30 29 29  |(header%!8),10))|
00000480  0d 01 86 33 f2 62 70 75  74 28 6f 75 74 25 2c a4  |...3.bput(out%,.|
00000490  74 61 62 28 22 53 65 72  76 69 63 65 22 2c a4 68  |tab("Service",.h|
000004a0  65 78 28 68 65 61 64 65  72 25 21 31 32 29 2c 31  |ex(header%!12),1|
000004b0  30 29 29 0d 01 90 3e 68  61 73 5f 73 77 69 25 3d  |0))...>has_swi%=|
000004c0  68 65 61 64 65 72 25 21  26 31 43 3e 30 20 80 20  |header%!&1C>0 . |
000004d0  68 65 61 64 65 72 25 21  26 32 34 3e 30 20 80 20  |header%!&24>0 . |
000004e0  68 65 61 64 65 72 25 21  26 32 34 3c a2 23 69 6e  |header%!&24<.#in|
000004f0  25 0d 01 9a 39 68 61 73  5f 73 77 69 25 3d 68 61  |%...9has_swi%=ha|
00000500  73 5f 73 77 69 25 20 80  20 68 65 61 64 65 72 25  |s_swi% . header%|
00000510  21 26 32 30 3e 30 20 80  20 68 65 61 64 65 72 25  |!&20>0 . header%|
00000520  21 26 32 30 3c a2 23 69  6e 25 0d 01 a4 40 e7 20  |!&20<.#in%...@. |
00000530  68 61 73 5f 73 77 69 25  20 f2 62 70 75 74 28 6f  |has_swi% .bput(o|
00000540  75 74 25 2c a4 74 61 62  28 22 53 57 49 20 62 61  |ut%,.tab("SWI ba|
00000550  73 65 22 2c a4 68 65 78  28 68 65 61 64 65 72 25  |se",.hex(header%|
00000560  21 26 31 43 29 2c 31 30  29 29 0d 01 ae 23 e7 20  |!&1C),10))...#. |
00000570  68 65 61 64 65 72 25 21  26 31 38 3c 3e 30 20 f2  |header%!&18<>0 .|
00000580  73 74 61 72 5f 63 6f 6d  6d 61 6e 64 73 0d 01 b8  |star_commands...|
00000590  28 e7 20 68 61 73 5f 73  77 69 25 20 f2 62 70 75  |(. has_swi% .bpu|
000005a0  74 28 6f 75 74 25 2c 22  22 29 3a f2 73 77 69 5f  |t(out%,""):.swi_|
000005b0  63 61 6c 6c 73 0d 01 c2  0a d9 20 23 69 6e 25 0d  |calls..... #in%.|
000005c0  01 cc 0b d9 20 23 6f 75  74 25 0d 01 d6 06 3d 30  |.... #out%....=0|
000005d0  0d 01 e0 05 3a 0d 01 ea  18 dd 20 a4 66 69 6c 65  |....:..... .file|
000005e0  5f 73 74 72 69 6e 67 28  70 74 72 25 29 0d 01 f4  |_string(ptr%)...|
000005f0  0d ea 20 63 25 2c 73 74  72 24 0d 01 fe 0b 73 74  |.. c%,str$....st|
00000600  72 24 3d 22 22 0d 02 08  0e cf 23 69 6e 25 3d 70  |r$="".....#in%=p|
00000610  74 72 25 0d 02 12 05 f5  0d 02 1c 0d 20 63 25 3d  |tr%......... c%=|
00000620  9a 23 69 6e 25 0d 02 26  16 20 e7 20 63 25 3c 3e  |.#in%..&. . c%<>|
00000630  30 20 73 74 72 24 2b 3d  bd 63 25 0d 02 30 0a fd  |0 str$+=.c%..0..|
00000640  20 63 25 3d 30 0d 02 3a  09 3d 73 74 72 24 0d 02  | c%=0..:.=str$..|
00000650  44 05 3a 0d 02 4e 18 dd  20 a4 65 78 70 61 6e 64  |D.:..N.. .expand|
00000660  5f 74 61 62 73 28 73 74  72 24 29 0d 02 58 10 c8  |_tabs(str$)..X..|
00000670  95 20 a7 73 74 72 24 2c  bd 39 29 0d 02 62 12 20  |. .str$,.9)..b. |
00000680  74 61 62 3d a7 73 74 72  24 2c bd 39 29 0d 02 6c  |tab=.str$,.9)..l|
00000690  3f 20 73 74 72 24 3d c0  73 74 72 24 2c 74 61 62  |? str$=.str$,tab|
000006a0  2d 31 29 2b c4 28 28 74  61 62 20 81 20 38 29 2b  |-1)+.((tab . 8)+|
000006b0  31 29 2a 38 2d 74 61 62  2b 31 2c 22 20 22 29 2b  |1)*8-tab+1," ")+|
000006c0  c1 73 74 72 24 2c 74 61  62 2b 31 29 0d 02 76 05  |.str$,tab+1)..v.|
000006d0  ce 0d 02 80 09 3d 73 74  72 24 0d 02 8a 05 3a 0d  |.....=str$....:.|
000006e0  02 94 18 dd 20 a4 74 61  62 28 73 31 24 2c 73 32  |.... .tab(s1$,s2|
000006f0  24 2c 74 61 62 25 29 0d  02 9e 21 3d 73 31 24 2b  |$,tab%)...!=s1$+|
00000700  c4 74 61 62 25 2d a9 73  31 24 2c 22 20 22 29 2b  |.tab%-.s1$," ")+|
00000710  22 3a 20 22 2b 73 32 24  0d 02 a8 05 3a 0d 02 b2  |": "+s2$....:...|
00000720  10 dd 20 a4 68 65 78 28  64 65 63 25 29 0d 02 bc  |.. .hex(dec%)...|
00000730  16 e7 20 64 65 63 25 3d  30 20 8c 20 3d 22 4e 6f  |.. dec%=0 . ="No|
00000740  6e 65 22 0d 02 c6 1e 3d  22 26 22 2b c2 22 30 30  |ne"....="&"+."00|
00000750  30 30 30 30 30 30 22 2b  c3 7e 64 65 63 25 2c 38  |000000"+.~dec%,8|
00000760  29 0d 02 d0 05 3a 0d 02  da 14 dd 20 f2 73 74 61  |)....:..... .sta|
00000770  72 5f 63 6f 6d 6d 61 6e  64 73 0d 02 e4 16 ea 20  |r_commands..... |
00000780  73 74 61 72 73 2c 63 6f  6e 66 73 2c 6c 6f 6f 70  |stars,confs,loop|
00000790  0d 02 ee 0b 73 74 61 72  73 3d 30 0d 02 f8 0b 63  |....stars=0....c|
000007a0  6f 6e 66 73 3d 30 0d 03  02 0a 6c 6f 6f 70 3d 31  |onfs=0....loop=1|
000007b0  0d 03 0c 05 f5 0d 03 16  16 20 cf 23 69 6e 25 3d  |......... .#in%=|
000007c0  68 65 61 64 65 72 25 21  26 31 38 0d 03 20 0e 20  |header%!&18.. . |
000007d0  c8 8e 20 6c 6f 6f 70 20  ca 0d 03 2a 36 20 20 c9  |.. loop ...*6  .|
000007e0  20 32 3a 20 f2 62 70 75  74 28 6f 75 74 25 2c 22  | 2: .bput(out%,"|
000007f0  22 29 3a f2 62 70 75 74  28 6f 75 74 25 2c 22 53  |"):.bput(out%,"S|
00000800  74 61 72 20 63 6f 6d 6d  61 6e 64 73 3a 22 29 0d  |tar commands:").|
00000810  03 34 37 20 20 c9 20 33  3a 20 f2 62 70 75 74 28  |.47  . 3: .bput(|
00000820  6f 75 74 25 2c 22 22 29  3a f2 62 70 75 74 28 6f  |out%,""):.bput(o|
00000830  75 74 25 2c 22 43 6f 6e  66 69 67 75 72 61 74 69  |ut%,"Configurati|
00000840  6f 6e 73 3a 22 29 0d 03  3e 06 20 cb 0d 03 48 06  |ons:")..>. ...H.|
00000850  20 f5 0d 03 52 1e 20 20  63 6f 6d 24 3d a4 66 69  | ...R.  com$=.fi|
00000860  6c 65 5f 73 74 72 69 6e  67 28 8f 23 69 6e 25 29  |le_string(.#in%)|
00000870  0d 03 5c 12 20 20 e7 20  63 6f 6d 24 3c 3e 22 22  |..\.  . com$<>""|
00000880  20 8c 0d 03 66 1d 20 20  20 cf 23 69 6e 25 3d 28  | ...f.   .#in%=(|
00000890  28 8f 23 69 6e 25 2b 33  29 80 ac 33 29 2b 34 0d  |(.#in%+3)..3)+4.|
000008a0  03 70 17 20 20 20 66 6c  61 67 73 3d a4 77 67 65  |.p.   flags=.wge|
000008b0  74 28 69 6e 25 29 0d 03  7a 18 20 20 20 73 79 6e  |t(in%)..z.   syn|
000008c0  74 61 78 3d a4 77 67 65  74 28 69 6e 25 29 0d 03  |tax=.wget(in%)..|
000008d0  84 16 20 20 20 68 65 6c  70 3d a4 77 67 65 74 28  |..   help=.wget(|
000008e0  69 6e 25 29 0d 03 8e 10  20 20 20 c8 8e 20 6c 6f  |in%)....   .. lo|
000008f0  6f 70 20 ca 0d 03 98 0c  20 20 20 20 c9 20 31 3a  |op .....    . 1:|
00000900  0d 03 a2 30 20 20 20 20  20 e7 20 28 66 6c 61 67  |...0     . (flag|
00000910  73 20 80 20 28 31 3c 3c  33 30 29 29 20 63 6f 6e  |s . (1<<30)) con|
00000920  66 73 2b 3d 31 20 8b 20  73 74 61 72 73 2b 3d 31  |fs+=1 . stars+=1|
00000930  0d 03 ac 0c 20 20 20 20  c9 20 32 3a 0d 03 b6 34  |....    . 2:...4|
00000940  20 20 20 20 20 e7 20 28  66 6c 61 67 73 20 80 20  |     . (flags . |
00000950  28 31 3c 3c 33 30 29 29  3d 30 20 f2 62 70 75 74  |(1<<30))=0 .bput|
00000960  28 6f 75 74 25 2c 22 20  20 22 2b 63 6f 6d 24 29  |(out%,"  "+com$)|
00000970  0d 03 c0 0c 20 20 20 20  c9 20 33 3a 0d 03 ca 35  |....    . 3:...5|
00000980  20 20 20 20 20 e7 20 28  66 6c 61 67 73 20 80 20  |     . (flags . |
00000990  28 31 3c 3c 33 30 29 29  3c 3e 30 20 f2 62 70 75  |(1<<30))<>0 .bpu|
000009a0  74 28 6f 75 74 25 2c 22  20 20 22 2b 63 6f 6d 24  |t(out%,"  "+com$|
000009b0  29 0d 03 d4 08 20 20 20  cb 0d 03 de 07 20 20 cd  |)....   .....  .|
000009c0  0d 03 e8 0e 20 fd 20 63  6f 6d 24 3d 22 22 0d 03  |.... . com$=""..|
000009d0  f2 0e 20 c8 8e 20 6c 6f  6f 70 20 ca 0d 03 fc 0a  |.. .. loop .....|
000009e0  20 20 c9 20 31 3a 0d 04  06 21 20 20 20 e7 20 63  |  . 1:...!   . c|
000009f0  6f 6e 66 73 3d 30 20 80  20 73 74 61 72 73 3d 30  |onfs=0 . stars=0|
00000a00  20 6c 6f 6f 70 3d 30 0d  04 10 17 20 20 20 e7 20  | loop=0....   . |
00000a10  63 6f 6e 66 73 3e 30 20  6c 6f 6f 70 3d 33 0d 04  |confs>0 loop=3..|
00000a20  1a 17 20 20 20 e7 20 73  74 61 72 73 3e 30 20 6c  |..   . stars>0 l|
00000a30  6f 6f 70 3d 32 0d 04 24  0a 20 20 c9 20 32 3a 0d  |oop=2..$.  . 2:.|
00000a40  04 2e 20 20 20 20 e7 20  63 6f 6e 66 73 3e 30 20  |..    . confs>0 |
00000a50  6c 6f 6f 70 3d 33 20 8b  20 6c 6f 6f 70 3d 30 0d  |loop=3 . loop=0.|
00000a60  04 38 0a 20 20 c9 20 33  3a 0d 04 42 0d 20 20 20  |.8.  . 3:..B.   |
00000a70  6c 6f 6f 70 3d 30 0d 04  4c 06 20 cb 0d 04 56 0c  |loop=0..L. ...V.|
00000a80  fd 20 6c 6f 6f 70 3d 30  0d 04 60 05 e1 0d 04 6a  |. loop=0..`....j|
00000a90  05 3a 0d 04 74 10 dd 20  f2 73 77 69 5f 63 61 6c  |.:..t.. .swi_cal|
00000aa0  6c 73 0d 04 7e 0c ea 20  67 72 6f 75 70 24 0d 04  |ls..~.. group$..|
00000ab0  88 1c f2 62 70 75 74 28  6f 75 74 25 2c 22 53 57  |...bput(out%,"SW|
00000ac0  49 20 63 61 6c 6c 73 3a  22 29 0d 04 92 24 67 72  |I calls:")...$gr|
00000ad0  6f 75 70 24 3d a4 66 69  6c 65 5f 73 74 72 69 6e  |oup$=.file_strin|
00000ae0  67 28 68 65 61 64 65 72  25 21 26 32 34 29 0d 04  |g(header%!&24)..|
00000af0  9c 05 f5 0d 04 a6 1d 20  73 77 69 24 3d a4 66 69  |....... swi$=.fi|
00000b00  6c 65 5f 73 74 72 69 6e  67 28 8f 23 69 6e 25 29  |le_string(.#in%)|
00000b10  0d 04 b0 30 20 e7 20 73  77 69 24 3c 3e 22 22 20  |...0 . swi$<>"" |
00000b20  f2 62 70 75 74 28 6f 75  74 25 2c 22 20 20 22 2b  |.bput(out%,"  "+|
00000b30  67 72 6f 75 70 24 2b 22  5f 22 2b 73 77 69 24 29  |group$+"_"+swi$)|
00000b40  0d 04 ba 0d fd 20 73 77  69 24 3d 22 22 0d 04 c4  |..... swi$=""...|
00000b50  05 e1 0d ff                                       |....|
00000b54