Home » Personal collection » Acorn hard disk » misc » dcfprogs » Server1/BASICFile

Server1/BASICFile

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 » Personal collection » Acorn hard disk » misc » dcfprogs
Filename: Server1/BASICFile
Read OK:
File size: 0C70 bytes
Load address: 0000
Exec address: 0000
Duplicates

There are 3 duplicate copies of this file in the archive:

File contents
   10DEFPROCcreate_windows:LOCAL s%
   20DIM s1% &200,s2% &200,txt_buf% &300
   30s%=s1%
   40s%!28=&8400012:s%!32=&03070207
   50s%!36=&C0103:s%!40=0:s%!44=0
   60s%!48=260:s%!52=120:s%!56=&19
   70s%!60=0:s%!64=1:s%=68=0
   80$(s%+72)="Save"+CHR$0:s%!84=3
   90s%!88=10:s%!92=10:s%!96=206:s%!100=54
  100s%!104=&0700F13D:s%!108=txt_buf%
  110s%!112=txt_buf%+&100:s%!116=&100
  120$(txt_buf%)="Untitled"+CHR$0
  130$(txt_buf%+&100)=CHR$0
  140s%!120=10:s%!124=54:s%!128=250
  150s%!132=110:s%!136=&0700601E
  160$(s%+140)="file-fff"+CHR$0
  170s%!152=206:s%!156=10:s%!160=250:s%!164=54
  180s%!168=&2700301D:$(s%+172)="OK"+CHR$0
  190SYS "Wimp_CreateWindow",,s% TO save_w%
  200
  210s%=s2%
  220s%!28=&FF000042:s%!32=&70207
  230s%!36=&C0103:s%!40=0:s%!44=0:s%!48=0:s%!52=0
  240s%!56=19:s%!60=0:s%!64=1:s%!68=0:s%!72=0
  250s%!84=0:SYS "Wimp_CreateWindow",,s% TOEVALout_w%
  260ENDPROC
  270
  280DEFPROCdisp_text(q%)
  290LOCAL d%,w_x%,w_y%,s_x%,s_x2%,s_y%,p%,g%
  300SYS"Wimp_RedrawWindow",,q% TO d%
  310WHILE d%<>0:p%=0
  320w_x%=(q%!20)DIV16:w_y%=(q%!24)DIV32
  330s_x%=(q%!4):s_x2%=s_x%:s_y%=(q%!16)
  340PTR#text_h%=0
  350REPEAT REPEAT UNTIL BGET#text_h%=10
  360p%+=1:UNTIL p%=w_y%
  370REPEAT
  380IF w_x%>0 THEN
  390p%=0:REPEAT:P%+=1
  400UNTIL BGET#text_h%=10 OR p%>=w_x%
  410ENDIF:VDU 4
  420REPEAT:G%=BGET#text_h%
  430IF g%>31 AND g%<127 THEN
  440MOVE s_x%,s_y%:VDU g%:s_x%+=16
  450ENDIF
  460UNTIL g%=10 OR s-x%>q%!12
  470s_y%=32:s_x%=s_x2%
  480UNTIL s_y%<=q%!8
  490SYS "Wimp_RedrawWindow",,q% TO d%
  500ENDWHILE
  510ENDPROC
  520
  530DEFPROCdo_save(q%)
  540SYS "Wimp_GetPointerInfo",,r%
  550r%!20=r%!12
  560r%!24=r%!16
  570r%!28=!r%
  580r%!32=r%!4
  590r%!36=EXT#text_h%
  600r%!40=&FFF
  610$(r%+44)=$(txt-buf%)
  620r%!0=44+LEN $(r%+44)
  630r%!12=0:r%!16=1
  640SYS"Wimp_SendMessage",18,r%,r%!20
  650ENDPROC
  660
  670DEFPROCdo_menu
  680LOCAL p%,m%,p2%
  690p%=q%:m%=menu_on%
  700IF menu_on%=-1 THEN
  710IF !q%=2 THEN PROCsave_cont
  720IF !q%=3 THEN PROCquit(1)
  730ENDIF
  740IF menu_on%=-1 AND !q%=1 THEN p%=q%+1:m%=0
  750CASE m% OF
  760WHEN 0
  770IF p%!4=-1 THEN
  780active%(!p%)=ABS(active%(!p%)=-1)
  790IF menu_on%=0:p2%=menu_spl% ELSE p2%=menu_spl%+124
  800p2%!(28+24*(!p%))=(p2%!(28+24*(!p%))) EOR 1
  810ELSE
  820!p%=m%:p2%=EVAL("FNlib_"+lib$(!p%)+"_poll(p%,9,r%,s%)")
  830ENDIF
  840WHEN 1
  850IF p%!4=-1 THEN
  860!p%=m%:p2%=EVAL("FNlib_"+lib$(!p%)+"_poll(p%,9,r%,s%)")
  870ENDIF
  880ENDCASE:ENDPROC
  890
  900DEFPROCsave_conf:LOCAL h%,l%,d%
  910h%=OPENOUT("Analyser$Dir>.Config")
  920IF h%=0 THEN
  930!e%=0:$(e%+4)="Unable to Write Configuration File - Check System & Try Again"+CHR$0
  940SYS"Wimp_ReportError",e%,,"Analyser":ENDPROC
  950ENDIF
  960FORl%=0TOnoofmods%
  970BPUT#h%,"["+lib$(l%)+":",10
  980BPUT#h%," active:"+STR$(active%(l%))
  990d%=EVAL("FNlib_"+FNlib$(l%)+"_save(h%)")
 1000BPUT#h%,10,"]",10,10,10
 1010NEXT
 1020CLOSE#h%
 1030ENDPROC
 1040
 1050DEFPROCquit(n%):LOCAL a%:a%=1
 1060IF unsaved% AND n%<>2 THEN
 1070!e%=0!$(e%+4)="Data Unsaved... Do you really want to quit? (OK to quit, Cancel to continue)"+CHR$0
 1080SYS"Wimp_ReportError",e%,3,"Analyser" TO ,a%
 1090ENDIF
 1100IF n%=2 :END
 1110IF (n%=1 OR n%=3) AND (a% AND 2)=2 THEN n%=0
 1120IF n%=3 THEN SYS"Wimp_ProcessKey",&1FC:END
 1130IF n%=1 THEN END
 1140ENDPROC
 1150
 1160DEFPROCmenu(menu%):Menu_on%=m%:LOCAL n%:n%=0
 1170CASE m% OF
 1180WHEN 0,-1
 1190LOCAL p%,p2%,l%,d%,p3%
 1200p%=menu-spl%:p3%=menu-sp2%
 1210IF m%=-1 THEN
 1220$(p%)="Analyser"+CHR$0
 1230p%!12=&70207:p%!16=288
 1240p%!20=44:p%!24=0
 1250p%!28=&00:p%!32=-1
 1260p%!36=&07400019:$(p%+40)="Info"+CHR$0
 1270p%!52=&00:p%!56=p%+124
 1280p%!60=&07000119
 1290$(p%+64)="Modules"+CHR$0
 1300p%!76=&00:p%!80=-1:p%!84=&07000019
 1310$(p%+88)="Save Choices"
 1320p%!100=&80:p%!104=-1:p%!108=&07000019
 1330$(p%+112)="Quit"+CHR$0
 1340p%+=124
 1350ENDI

��create_windows:� s%
%� s1% &200,s2% &200,txt_buf% &300

s%=s1%
("s%!28=&8400012:s%!32=&03070207
2 s%!36=&C0103:s%!40=0:s%!44=0
<!s%!48=260:s%!52=120:s%!56=&19
Fs%!60=0:s%!64=1:s%=68=0
P$(s%+72)="Save"+�0:s%!84=3
Z)s%!88=10:s%!92=10:s%!96=206:s%!100=54
d$s%!104=&0700F13D:s%!108=txt_buf%
n$s%!112=txt_buf%+&100:s%!116=&100
x$(txt_buf%)="Untitled"+�0
�$(txt_buf%+&100)=�0
�"s%!120=10:s%!124=54:s%!128=250
�s%!132=110:s%!136=&0700601E
�$(s%+140)="file-fff"+�0
�-s%!152=206:s%!156=10:s%!160=250:s%!164=54
�&s%!168=&2700301D:$(s%+172)="OK"+�0
�(ș "Wimp_CreateWindow",,s% � save_w%
�
�
s%=s2%
� s%!28=&FF000042:s%!32=&70207
�0s%!36=&C0103:s%!40=0:s%!44=0:s%!48=0:s%!52=0
�,s%!56=19:s%!60=0:s%!64=1:s%!68=0:s%!72=0
�/s%!84=0:ș "Wimp_CreateWindow",,s% ��out_w%
�

��disp_text(q%)
"(� d%,w_x%,w_y%,s_x%,s_x2%,s_y%,p%,g%
,"ș"Wimp_RedrawWindow",,q% � d%
6ȕ d%<>0:p%=0
@#w_x%=(q%!20)�16:w_y%=(q%!24)�32
J's_x%=(q%!4):s_x2%=s_x%:s_y%=(q%!16)
T�#text_h%=0
^� � � �#text_h%=10
hp%+=1:� p%=w_y%
r�
|� w_x%>0 �
�p%=0:�:P%+=1
�� �#text_h%=10 � p%>=w_x%
�	�:� 4
��:G%=�#text_h%
�� g%>31 � g%<127 �
�� s_x%,s_y%:� g%:s_x%+=16
��
�� g%=10 � s-x%>q%!12
�s_y%=32:s_x%=s_x2%
�� s_y%<=q%!8
�#ș "Wimp_RedrawWindow",,q% � d%
��
��

��do_save(q%)
 ș "Wimp_GetPointerInfo",,r%
&r%!20=r%!12
0r%!24=r%!16
:
r%!28=!r%
Dr%!32=r%!4
Nr%!36=�#text_h%
Xr%!40=&FFF
b$(r%+44)=$(txt-buf%)
lr%!0=44+� $(r%+44)
vr%!12=0:r%!16=1
�$ș"Wimp_SendMessage",18,r%,r%!20
��
�
�
��do_menu
�� p%,m%,p2%
�p%=q%:m%=menu_on%
�� menu_on%=-1 �
�� !q%=2 � �save_cont
�� !q%=3 � �quit(1)
��
�(� menu_on%=-1 � !q%=1 � p%=q%+1:m%=0
�Ȏ m% �
�� 0
� p%!4=-1 �
#active%(!p%)=�(active%(!p%)=-1)
2� menu_on%=0:p2%=menu_spl% � p2%=menu_spl%+124
 -p2%!(28+24*(!p%))=(p2%!(28+24*(!p%))) � 1
*�
48!p%=m%:p2%=�("FNlib_"+lib$(!p%)+"_poll(p%,9,r%,s%)")
>�
H� 1
R� p%!4=-1 �
\8!p%=m%:p2%=�("FNlib_"+lib$(!p%)+"_poll(p%,9,r%,s%)")
f�
p�:�
z
���save_conf:� h%,l%,d%
� h%=�("Analyser$Dir>.Config")
�� h%=0 �
�T!e%=0:$(e%+4)="Unable to Write Configuration File - Check System & Try Again"+�0
�)ș"Wimp_ReportError",e%,,"Analyser":�
��
��l%=0�noofmods%
��#h%,"["+lib$(l%)+":",10
�"�#h%," active:"+�(active%(l%))
�(d%=�("FNlib_"+�lib$(l%)+"_save(h%)")
��#h%,10,"]",10,10,10
��
��#h%
�

��quit(n%):� a%:a%=1
$� unsaved% � n%<>2 �
.c!e%=0!$(e%+4)="Data Unsaved... Do you really want to quit? (OK to quit, Cancel to continue)"+�0
8.ș"Wimp_ReportError",e%,3,"Analyser" � ,a%
B�
L
� n%=2 :�
V'� (n%=1 � n%=3) � (a% � 2)=2 � n%=0
`'� n%=3 � ș"Wimp_ProcessKey",&1FC:�
j� n%=1 � �
t�
~
�'��menu(menu%):Menu_on%=m%:� n%:n%=0
�Ȏ m% �
�
� 0,-1
�� p%,p2%,l%,d%,p3%
�p%=menu-spl%:p3%=menu-sp2%
�
� m%=-1 �
�$(p%)="Analyser"+�0
�p%!12=&70207:p%!16=288
�p%!20=44:p%!24=0
�p%!28=&00:p%!32=-1
�&p%!36=&07400019:$(p%+40)="Info"+�0
�p%!52=&00:p%!56=p%+124
p%!60=&07000119

$(p%+64)="Modules"+�0
&p%!76=&00:p%!80=-1:p%!84=&07000019
$(p%+88)="Save Choices"
()p%!100=&80:p%!104=-1:p%!108=&07000019
2$(p%+112)="Quit"+�0
<p%+=124
FENDI
�
00000000  0d 00 0a 19 dd f2 63 72  65 61 74 65 5f 77 69 6e  |......create_win|
00000010  64 6f 77 73 3a ea 20 73  25 0d 00 14 25 de 20 73  |dows:. s%...%. s|
00000020  31 25 20 26 32 30 30 2c  73 32 25 20 26 32 30 30  |1% &200,s2% &200|
00000030  2c 74 78 74 5f 62 75 66  25 20 26 33 30 30 0d 00  |,txt_buf% &300..|
00000040  1e 0a 73 25 3d 73 31 25  0d 00 28 22 73 25 21 32  |..s%=s1%..("s%!2|
00000050  38 3d 26 38 34 30 30 30  31 32 3a 73 25 21 33 32  |8=&8400012:s%!32|
00000060  3d 26 30 33 30 37 30 32  30 37 0d 00 32 20 73 25  |=&03070207..2 s%|
00000070  21 33 36 3d 26 43 30 31  30 33 3a 73 25 21 34 30  |!36=&C0103:s%!40|
00000080  3d 30 3a 73 25 21 34 34  3d 30 0d 00 3c 21 73 25  |=0:s%!44=0..<!s%|
00000090  21 34 38 3d 32 36 30 3a  73 25 21 35 32 3d 31 32  |!48=260:s%!52=12|
000000a0  30 3a 73 25 21 35 36 3d  26 31 39 0d 00 46 1b 73  |0:s%!56=&19..F.s|
000000b0  25 21 36 30 3d 30 3a 73  25 21 36 34 3d 31 3a 73  |%!60=0:s%!64=1:s|
000000c0  25 3d 36 38 3d 30 0d 00  50 1e 24 28 73 25 2b 37  |%=68=0..P.$(s%+7|
000000d0  32 29 3d 22 53 61 76 65  22 2b bd 30 3a 73 25 21  |2)="Save"+.0:s%!|
000000e0  38 34 3d 33 0d 00 5a 29  73 25 21 38 38 3d 31 30  |84=3..Z)s%!88=10|
000000f0  3a 73 25 21 39 32 3d 31  30 3a 73 25 21 39 36 3d  |:s%!92=10:s%!96=|
00000100  32 30 36 3a 73 25 21 31  30 30 3d 35 34 0d 00 64  |206:s%!100=54..d|
00000110  24 73 25 21 31 30 34 3d  26 30 37 30 30 46 31 33  |$s%!104=&0700F13|
00000120  44 3a 73 25 21 31 30 38  3d 74 78 74 5f 62 75 66  |D:s%!108=txt_buf|
00000130  25 0d 00 6e 24 73 25 21  31 31 32 3d 74 78 74 5f  |%..n$s%!112=txt_|
00000140  62 75 66 25 2b 26 31 30  30 3a 73 25 21 31 31 36  |buf%+&100:s%!116|
00000150  3d 26 31 30 30 0d 00 78  1d 24 28 74 78 74 5f 62  |=&100..x.$(txt_b|
00000160  75 66 25 29 3d 22 55 6e  74 69 74 6c 65 64 22 2b  |uf%)="Untitled"+|
00000170  bd 30 0d 00 82 17 24 28  74 78 74 5f 62 75 66 25  |.0....$(txt_buf%|
00000180  2b 26 31 30 30 29 3d bd  30 0d 00 8c 22 73 25 21  |+&100)=.0..."s%!|
00000190  31 32 30 3d 31 30 3a 73  25 21 31 32 34 3d 35 34  |120=10:s%!124=54|
000001a0  3a 73 25 21 31 32 38 3d  32 35 30 0d 00 96 1f 73  |:s%!128=250....s|
000001b0  25 21 31 33 32 3d 31 31  30 3a 73 25 21 31 33 36  |%!132=110:s%!136|
000001c0  3d 26 30 37 30 30 36 30  31 45 0d 00 a0 1b 24 28  |=&0700601E....$(|
000001d0  73 25 2b 31 34 30 29 3d  22 66 69 6c 65 2d 66 66  |s%+140)="file-ff|
000001e0  66 22 2b bd 30 0d 00 aa  2d 73 25 21 31 35 32 3d  |f"+.0...-s%!152=|
000001f0  32 30 36 3a 73 25 21 31  35 36 3d 31 30 3a 73 25  |206:s%!156=10:s%|
00000200  21 31 36 30 3d 32 35 30  3a 73 25 21 31 36 34 3d  |!160=250:s%!164=|
00000210  35 34 0d 00 b4 26 73 25  21 31 36 38 3d 26 32 37  |54...&s%!168=&27|
00000220  30 30 33 30 31 44 3a 24  28 73 25 2b 31 37 32 29  |00301D:$(s%+172)|
00000230  3d 22 4f 4b 22 2b bd 30  0d 00 be 28 c8 99 20 22  |="OK"+.0...(.. "|
00000240  57 69 6d 70 5f 43 72 65  61 74 65 57 69 6e 64 6f  |Wimp_CreateWindo|
00000250  77 22 2c 2c 73 25 20 b8  20 73 61 76 65 5f 77 25  |w",,s% . save_w%|
00000260  0d 00 c8 04 0d 00 d2 0a  73 25 3d 73 32 25 0d 00  |........s%=s2%..|
00000270  dc 20 73 25 21 32 38 3d  26 46 46 30 30 30 30 34  |. s%!28=&FF00004|
00000280  32 3a 73 25 21 33 32 3d  26 37 30 32 30 37 0d 00  |2:s%!32=&70207..|
00000290  e6 30 73 25 21 33 36 3d  26 43 30 31 30 33 3a 73  |.0s%!36=&C0103:s|
000002a0  25 21 34 30 3d 30 3a 73  25 21 34 34 3d 30 3a 73  |%!40=0:s%!44=0:s|
000002b0  25 21 34 38 3d 30 3a 73  25 21 35 32 3d 30 0d 00  |%!48=0:s%!52=0..|
000002c0  f0 2c 73 25 21 35 36 3d  31 39 3a 73 25 21 36 30  |.,s%!56=19:s%!60|
000002d0  3d 30 3a 73 25 21 36 34  3d 31 3a 73 25 21 36 38  |=0:s%!64=1:s%!68|
000002e0  3d 30 3a 73 25 21 37 32  3d 30 0d 00 fa 2f 73 25  |=0:s%!72=0.../s%|
000002f0  21 38 34 3d 30 3a c8 99  20 22 57 69 6d 70 5f 43  |!84=0:.. "Wimp_C|
00000300  72 65 61 74 65 57 69 6e  64 6f 77 22 2c 2c 73 25  |reateWindow",,s%|
00000310  20 b8 a0 6f 75 74 5f 77  25 0d 01 04 05 e1 0d 01  | ..out_w%.......|
00000320  0e 04 0d 01 18 13 dd f2  64 69 73 70 5f 74 65 78  |........disp_tex|
00000330  74 28 71 25 29 0d 01 22  28 ea 20 64 25 2c 77 5f  |t(q%).."(. d%,w_|
00000340  78 25 2c 77 5f 79 25 2c  73 5f 78 25 2c 73 5f 78  |x%,w_y%,s_x%,s_x|
00000350  32 25 2c 73 5f 79 25 2c  70 25 2c 67 25 0d 01 2c  |2%,s_y%,p%,g%..,|
00000360  22 c8 99 22 57 69 6d 70  5f 52 65 64 72 61 77 57  |".."Wimp_RedrawW|
00000370  69 6e 64 6f 77 22 2c 2c  71 25 20 b8 20 64 25 0d  |indow",,q% . d%.|
00000380  01 36 11 c8 95 20 64 25  3c 3e 30 3a 70 25 3d 30  |.6... d%<>0:p%=0|
00000390  0d 01 40 23 77 5f 78 25  3d 28 71 25 21 32 30 29  |..@#w_x%=(q%!20)|
000003a0  81 31 36 3a 77 5f 79 25  3d 28 71 25 21 32 34 29  |.16:w_y%=(q%!24)|
000003b0  81 33 32 0d 01 4a 27 73  5f 78 25 3d 28 71 25 21  |.32..J's_x%=(q%!|
000003c0  34 29 3a 73 5f 78 32 25  3d 73 5f 78 25 3a 73 5f  |4):s_x2%=s_x%:s_|
000003d0  79 25 3d 28 71 25 21 31  36 29 0d 01 54 0f cf 23  |y%=(q%!16)..T..#|
000003e0  74 65 78 74 5f 68 25 3d  30 0d 01 5e 16 f5 20 f5  |text_h%=0..^.. .|
000003f0  20 fd 20 9a 23 74 65 78  74 5f 68 25 3d 31 30 0d  | . .#text_h%=10.|
00000400  01 68 13 70 25 2b 3d 31  3a fd 20 70 25 3d 77 5f  |.h.p%+=1:. p%=w_|
00000410  79 25 0d 01 72 05 f5 0d  01 7c 0e e7 20 77 5f 78  |y%..r....|.. w_x|
00000420  25 3e 30 20 8c 0d 01 86  10 70 25 3d 30 3a f5 3a  |%>0 .....p%=0:.:|
00000430  50 25 2b 3d 31 0d 01 90  1d fd 20 9a 23 74 65 78  |P%+=1..... .#tex|
00000440  74 5f 68 25 3d 31 30 20  84 20 70 25 3e 3d 77 5f  |t_h%=10 . p%>=w_|
00000450  78 25 0d 01 9a 09 cd 3a  ef 20 34 0d 01 a4 12 f5  |x%.....:. 4.....|
00000460  3a 47 25 3d 9a 23 74 65  78 74 5f 68 25 0d 01 ae  |:G%=.#text_h%...|
00000470  16 e7 20 67 25 3e 33 31  20 80 20 67 25 3c 31 32  |.. g%>31 . g%<12|
00000480  37 20 8c 0d 01 b8 1d ec  20 73 5f 78 25 2c 73 5f  |7 ...... s_x%,s_|
00000490  79 25 3a ef 20 67 25 3a  73 5f 78 25 2b 3d 31 36  |y%:. g%:s_x%+=16|
000004a0  0d 01 c2 05 cd 0d 01 cc  18 fd 20 67 25 3d 31 30  |.......... g%=10|
000004b0  20 84 20 73 2d 78 25 3e  71 25 21 31 32 0d 01 d6  | . s-x%>q%!12...|
000004c0  16 73 5f 79 25 3d 33 32  3a 73 5f 78 25 3d 73 5f  |.s_y%=32:s_x%=s_|
000004d0  78 32 25 0d 01 e0 10 fd  20 73 5f 79 25 3c 3d 71  |x2%..... s_y%<=q|
000004e0  25 21 38 0d 01 ea 23 c8  99 20 22 57 69 6d 70 5f  |%!8...#.. "Wimp_|
000004f0  52 65 64 72 61 77 57 69  6e 64 6f 77 22 2c 2c 71  |RedrawWindow",,q|
00000500  25 20 b8 20 64 25 0d 01  f4 05 ce 0d 01 fe 05 e1  |% . d%..........|
00000510  0d 02 08 04 0d 02 12 11  dd f2 64 6f 5f 73 61 76  |..........do_sav|
00000520  65 28 71 25 29 0d 02 1c  20 c8 99 20 22 57 69 6d  |e(q%)... .. "Wim|
00000530  70 5f 47 65 74 50 6f 69  6e 74 65 72 49 6e 66 6f  |p_GetPointerInfo|
00000540  22 2c 2c 72 25 0d 02 26  0f 72 25 21 32 30 3d 72  |",,r%..&.r%!20=r|
00000550  25 21 31 32 0d 02 30 0f  72 25 21 32 34 3d 72 25  |%!12..0.r%!24=r%|
00000560  21 31 36 0d 02 3a 0d 72  25 21 32 38 3d 21 72 25  |!16..:.r%!28=!r%|
00000570  0d 02 44 0e 72 25 21 33  32 3d 72 25 21 34 0d 02  |..D.r%!32=r%!4..|
00000580  4e 13 72 25 21 33 36 3d  a2 23 74 65 78 74 5f 68  |N.r%!36=.#text_h|
00000590  25 0d 02 58 0e 72 25 21  34 30 3d 26 46 46 46 0d  |%..X.r%!40=&FFF.|
000005a0  02 62 18 24 28 72 25 2b  34 34 29 3d 24 28 74 78  |.b.$(r%+44)=$(tx|
000005b0  74 2d 62 75 66 25 29 0d  02 6c 16 72 25 21 30 3d  |t-buf%)..l.r%!0=|
000005c0  34 34 2b a9 20 24 28 72  25 2b 34 34 29 0d 02 76  |44+. $(r%+44)..v|
000005d0  13 72 25 21 31 32 3d 30  3a 72 25 21 31 36 3d 31  |.r%!12=0:r%!16=1|
000005e0  0d 02 80 24 c8 99 22 57  69 6d 70 5f 53 65 6e 64  |...$.."Wimp_Send|
000005f0  4d 65 73 73 61 67 65 22  2c 31 38 2c 72 25 2c 72  |Message",18,r%,r|
00000600  25 21 32 30 0d 02 8a 05  e1 0d 02 94 04 0d 02 9e  |%!20............|
00000610  0d dd f2 64 6f 5f 6d 65  6e 75 0d 02 a8 0f ea 20  |...do_menu..... |
00000620  70 25 2c 6d 25 2c 70 32  25 0d 02 b2 15 70 25 3d  |p%,m%,p2%....p%=|
00000630  71 25 3a 6d 25 3d 6d 65  6e 75 5f 6f 6e 25 0d 02  |q%:m%=menu_on%..|
00000640  bc 13 e7 20 6d 65 6e 75  5f 6f 6e 25 3d 2d 31 20  |... menu_on%=-1 |
00000650  8c 0d 02 c6 18 e7 20 21  71 25 3d 32 20 8c 20 f2  |...... !q%=2 . .|
00000660  73 61 76 65 5f 63 6f 6e  74 0d 02 d0 16 e7 20 21  |save_cont..... !|
00000670  71 25 3d 33 20 8c 20 f2  71 75 69 74 28 31 29 0d  |q%=3 . .quit(1).|
00000680  02 da 05 cd 0d 02 e4 28  e7 20 6d 65 6e 75 5f 6f  |.......(. menu_o|
00000690  6e 25 3d 2d 31 20 80 20  21 71 25 3d 31 20 8c 20  |n%=-1 . !q%=1 . |
000006a0  70 25 3d 71 25 2b 31 3a  6d 25 3d 30 0d 02 ee 0b  |p%=q%+1:m%=0....|
000006b0  c8 8e 20 6d 25 20 ca 0d  02 f8 07 c9 20 30 0d 03  |.. m% ...... 0..|
000006c0  02 0f e7 20 70 25 21 34  3d 2d 31 20 8c 0d 03 0c  |... p%!4=-1 ....|
000006d0  23 61 63 74 69 76 65 25  28 21 70 25 29 3d 94 28  |#active%(!p%)=.(|
000006e0  61 63 74 69 76 65 25 28  21 70 25 29 3d 2d 31 29  |active%(!p%)=-1)|
000006f0  0d 03 16 32 e7 20 6d 65  6e 75 5f 6f 6e 25 3d 30  |...2. menu_on%=0|
00000700  3a 70 32 25 3d 6d 65 6e  75 5f 73 70 6c 25 20 8b  |:p2%=menu_spl% .|
00000710  20 70 32 25 3d 6d 65 6e  75 5f 73 70 6c 25 2b 31  | p2%=menu_spl%+1|
00000720  32 34 0d 03 20 2d 70 32  25 21 28 32 38 2b 32 34  |24.. -p2%!(28+24|
00000730  2a 28 21 70 25 29 29 3d  28 70 32 25 21 28 32 38  |*(!p%))=(p2%!(28|
00000740  2b 32 34 2a 28 21 70 25  29 29 29 20 82 20 31 0d  |+24*(!p%))) . 1.|
00000750  03 2a 05 cc 0d 03 34 38  21 70 25 3d 6d 25 3a 70  |.*....48!p%=m%:p|
00000760  32 25 3d a0 28 22 46 4e  6c 69 62 5f 22 2b 6c 69  |2%=.("FNlib_"+li|
00000770  62 24 28 21 70 25 29 2b  22 5f 70 6f 6c 6c 28 70  |b$(!p%)+"_poll(p|
00000780  25 2c 39 2c 72 25 2c 73  25 29 22 29 0d 03 3e 05  |%,9,r%,s%)")..>.|
00000790  cd 0d 03 48 07 c9 20 31  0d 03 52 0f e7 20 70 25  |...H.. 1..R.. p%|
000007a0  21 34 3d 2d 31 20 8c 0d  03 5c 38 21 70 25 3d 6d  |!4=-1 ...\8!p%=m|
000007b0  25 3a 70 32 25 3d a0 28  22 46 4e 6c 69 62 5f 22  |%:p2%=.("FNlib_"|
000007c0  2b 6c 69 62 24 28 21 70  25 29 2b 22 5f 70 6f 6c  |+lib$(!p%)+"_pol|
000007d0  6c 28 70 25 2c 39 2c 72  25 2c 73 25 29 22 29 0d  |l(p%,9,r%,s%)").|
000007e0  03 66 05 cd 0d 03 70 07  cb 3a e1 0d 03 7a 04 0d  |.f....p..:...z..|
000007f0  03 84 1a dd f2 73 61 76  65 5f 63 6f 6e 66 3a ea  |.....save_conf:.|
00000800  20 68 25 2c 6c 25 2c 64  25 0d 03 8e 20 68 25 3d  | h%,l%,d%... h%=|
00000810  ae 28 22 41 6e 61 6c 79  73 65 72 24 44 69 72 3e  |.("Analyser$Dir>|
00000820  2e 43 6f 6e 66 69 67 22  29 0d 03 98 0c e7 20 68  |.Config")..... h|
00000830  25 3d 30 20 8c 0d 03 a2  54 21 65 25 3d 30 3a 24  |%=0 ....T!e%=0:$|
00000840  28 65 25 2b 34 29 3d 22  55 6e 61 62 6c 65 20 74  |(e%+4)="Unable t|
00000850  6f 20 57 72 69 74 65 20  43 6f 6e 66 69 67 75 72  |o Write Configur|
00000860  61 74 69 6f 6e 20 46 69  6c 65 20 2d 20 43 68 65  |ation File - Che|
00000870  63 6b 20 53 79 73 74 65  6d 20 26 20 54 72 79 20  |ck System & Try |
00000880  41 67 61 69 6e 22 2b bd  30 0d 03 ac 29 c8 99 22  |Again"+.0...).."|
00000890  57 69 6d 70 5f 52 65 70  6f 72 74 45 72 72 6f 72  |Wimp_ReportError|
000008a0  22 2c 65 25 2c 2c 22 41  6e 61 6c 79 73 65 72 22  |",e%,,"Analyser"|
000008b0  3a e1 0d 03 b6 05 cd 0d  03 c0 13 e3 6c 25 3d 30  |:...........l%=0|
000008c0  b8 6e 6f 6f 66 6d 6f 64  73 25 0d 03 ca 1c d5 23  |.noofmods%.....#|
000008d0  68 25 2c 22 5b 22 2b 6c  69 62 24 28 6c 25 29 2b  |h%,"["+lib$(l%)+|
000008e0  22 3a 22 2c 31 30 0d 03  d4 22 d5 23 68 25 2c 22  |":",10...".#h%,"|
000008f0  20 61 63 74 69 76 65 3a  22 2b c3 28 61 63 74 69  | active:"+.(acti|
00000900  76 65 25 28 6c 25 29 29  0d 03 de 28 64 25 3d a0  |ve%(l%))...(d%=.|
00000910  28 22 46 4e 6c 69 62 5f  22 2b a4 6c 69 62 24 28  |("FNlib_"+.lib$(|
00000920  6c 25 29 2b 22 5f 73 61  76 65 28 68 25 29 22 29  |l%)+"_save(h%)")|
00000930  0d 03 e8 18 d5 23 68 25  2c 31 30 2c 22 5d 22 2c  |.....#h%,10,"]",|
00000940  31 30 2c 31 30 2c 31 30  0d 03 f2 05 ed 0d 03 fc  |10,10,10........|
00000950  08 d9 23 68 25 0d 04 06  05 e1 0d 04 10 04 0d 04  |..#h%...........|
00000960  1a 18 dd f2 71 75 69 74  28 6e 25 29 3a ea 20 61  |....quit(n%):. a|
00000970  25 3a 61 25 3d 31 0d 04  24 18 e7 20 75 6e 73 61  |%:a%=1..$.. unsa|
00000980  76 65 64 25 20 80 20 6e  25 3c 3e 32 20 8c 0d 04  |ved% . n%<>2 ...|
00000990  2e 63 21 65 25 3d 30 21  24 28 65 25 2b 34 29 3d  |.c!e%=0!$(e%+4)=|
000009a0  22 44 61 74 61 20 55 6e  73 61 76 65 64 2e 2e 2e  |"Data Unsaved...|
000009b0  20 44 6f 20 79 6f 75 20  72 65 61 6c 6c 79 20 77  | Do you really w|
000009c0  61 6e 74 20 74 6f 20 71  75 69 74 3f 20 28 4f 4b  |ant to quit? (OK|
000009d0  20 74 6f 20 71 75 69 74  2c 20 43 61 6e 63 65 6c  | to quit, Cancel|
000009e0  20 74 6f 20 63 6f 6e 74  69 6e 75 65 29 22 2b bd  | to continue)"+.|
000009f0  30 0d 04 38 2e c8 99 22  57 69 6d 70 5f 52 65 70  |0..8..."Wimp_Rep|
00000a00  6f 72 74 45 72 72 6f 72  22 2c 65 25 2c 33 2c 22  |ortError",e%,3,"|
00000a10  41 6e 61 6c 79 73 65 72  22 20 b8 20 2c 61 25 0d  |Analyser" . ,a%.|
00000a20  04 42 05 cd 0d 04 4c 0d  e7 20 6e 25 3d 32 20 3a  |.B....L.. n%=2 :|
00000a30  e0 0d 04 56 27 e7 20 28  6e 25 3d 31 20 84 20 6e  |...V'. (n%=1 . n|
00000a40  25 3d 33 29 20 80 20 28  61 25 20 80 20 32 29 3d  |%=3) . (a% . 2)=|
00000a50  32 20 8c 20 6e 25 3d 30  0d 04 60 27 e7 20 6e 25  |2 . n%=0..`'. n%|
00000a60  3d 33 20 8c 20 c8 99 22  57 69 6d 70 5f 50 72 6f  |=3 . .."Wimp_Pro|
00000a70  63 65 73 73 4b 65 79 22  2c 26 31 46 43 3a e0 0d  |cessKey",&1FC:..|
00000a80  04 6a 0e e7 20 6e 25 3d  31 20 8c 20 e0 0d 04 74  |.j.. n%=1 . ...t|
00000a90  05 e1 0d 04 7e 04 0d 04  88 27 dd f2 6d 65 6e 75  |....~....'..menu|
00000aa0  28 6d 65 6e 75 25 29 3a  4d 65 6e 75 5f 6f 6e 25  |(menu%):Menu_on%|
00000ab0  3d 6d 25 3a ea 20 6e 25  3a 6e 25 3d 30 0d 04 92  |=m%:. n%:n%=0...|
00000ac0  0b c8 8e 20 6d 25 20 ca  0d 04 9c 0a c9 20 30 2c  |... m% ...... 0,|
00000ad0  2d 31 0d 04 a6 16 ea 20  70 25 2c 70 32 25 2c 6c  |-1..... p%,p2%,l|
00000ae0  25 2c 64 25 2c 70 33 25  0d 04 b0 1e 70 25 3d 6d  |%,d%,p3%....p%=m|
00000af0  65 6e 75 2d 73 70 6c 25  3a 70 33 25 3d 6d 65 6e  |enu-spl%:p3%=men|
00000b00  75 2d 73 70 32 25 0d 04  ba 0d e7 20 6d 25 3d 2d  |u-sp2%..... m%=-|
00000b10  31 20 8c 0d 04 c4 17 24  28 70 25 29 3d 22 41 6e  |1 .....$(p%)="An|
00000b20  61 6c 79 73 65 72 22 2b  bd 30 0d 04 ce 1a 70 25  |alyser"+.0....p%|
00000b30  21 31 32 3d 26 37 30 32  30 37 3a 70 25 21 31 36  |!12=&70207:p%!16|
00000b40  3d 32 38 38 0d 04 d8 14  70 25 21 32 30 3d 34 34  |=288....p%!20=44|
00000b50  3a 70 25 21 32 34 3d 30  0d 04 e2 16 70 25 21 32  |:p%!24=0....p%!2|
00000b60  38 3d 26 30 30 3a 70 25  21 33 32 3d 2d 31 0d 04  |8=&00:p%!32=-1..|
00000b70  ec 26 70 25 21 33 36 3d  26 30 37 34 30 30 30 31  |.&p%!36=&0740001|
00000b80  39 3a 24 28 70 25 2b 34  30 29 3d 22 49 6e 66 6f  |9:$(p%+40)="Info|
00000b90  22 2b bd 30 0d 04 f6 1a  70 25 21 35 32 3d 26 30  |"+.0....p%!52=&0|
00000ba0  30 3a 70 25 21 35 36 3d  70 25 2b 31 32 34 0d 05  |0:p%!56=p%+124..|
00000bb0  00 13 70 25 21 36 30 3d  26 30 37 30 30 30 31 31  |..p%!60=&0700011|
00000bc0  39 0d 05 0a 19 24 28 70  25 2b 36 34 29 3d 22 4d  |9....$(p%+64)="M|
00000bd0  6f 64 75 6c 65 73 22 2b  bd 30 0d 05 14 26 70 25  |odules"+.0...&p%|
00000be0  21 37 36 3d 26 30 30 3a  70 25 21 38 30 3d 2d 31  |!76=&00:p%!80=-1|
00000bf0  3a 70 25 21 38 34 3d 26  30 37 30 30 30 30 31 39  |:p%!84=&07000019|
00000c00  0d 05 1e 1b 24 28 70 25  2b 38 38 29 3d 22 53 61  |....$(p%+88)="Sa|
00000c10  76 65 20 43 68 6f 69 63  65 73 22 0d 05 28 29 70  |ve Choices"..()p|
00000c20  25 21 31 30 30 3d 26 38  30 3a 70 25 21 31 30 34  |%!100=&80:p%!104|
00000c30  3d 2d 31 3a 70 25 21 31  30 38 3d 26 30 37 30 30  |=-1:p%!108=&0700|
00000c40  30 30 31 39 0d 05 32 17  24 28 70 25 2b 31 31 32  |0019..2.$(p%+112|
00000c50  29 3d 22 51 75 69 74 22  2b bd 30 0d 05 3c 0b 70  |)="Quit"+.0..<.p|
00000c60  25 2b 3d 31 32 34 0d 05  46 08 45 4e 44 49 0d ff  |%+=124..F.ENDI..|
00000c70