Home » Recent acquisitions » Acorn ADFS disks » adfs_ArchimedesWorld_199510.adf » AW1095_1 » Freeware/Shareware/!FileKill/!RunImage

Freeware/Shareware/!FileKill/!RunImage

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_ArchimedesWorld_199510.adf » AW1095_1
Filename: Freeware/Shareware/!FileKill/!RunImage
Read OK:
File size: 10A7 bytes
Load address: 0000
Exec address: 0000
File contents
   10REM Filekill, desktop deletion
   20REM By Software7
   30REM Shareware, see !Help file
   40
   50
   60ON ERROR PROCwarn(REPORT$+" (Internal code "+STR$ERL+")"):PROCend
   70
   80DIM block% 256,m% 256,menublk% 256,c% 256,access% 12,font% 256
   90DIM tname% 32,infobuff% 1024,infospace% 512,s7buff% 1024,s7ind% 500
  100DIM result% 128,buffer% 256
  110
  120SYS "Wimp_Initialise",200,&4B534154,"Filekiller" TO task%
  130
  140SYS "OS_File",5,"<File$Kill>.!Sprites" TO ,,,,length%
  150DIM sprites% length%+4
  160!sprites%=length%+4
  170SYS "OS_File",255,"<File$Kill>.!Sprites",sprites%+4
  180bar%=FNicon_bar
  190PROCcreate_window
  200quit%=FALSE:once%=0
  210 REPEAT
  220 once%=once%+1
  230  SYS "Wimp_Poll",1,block% TO r%
  240   CASE r% OF
  250          
  260          WHEN 0              :PROCcheck_file
  270          WHEN 2              :SYS "Wimp_OpenWindow",,block%
  280          WHEN 3              :SYS "Wimp_CloseWindow",,block%
  290          WHEN 6              :PROCbutton
  300          WHEN 9              :PROCmenu
  310          WHEN 17,18,19       :PROCrecieve
  320          
  330   ENDCASE
  340 UNTIL quit%
  350 
  360 END
  370 
  380 
  390DEF FNicon_bar
  400!block%=-2
  410block%!4=0:block%!8=0
  420block%!12=128:block%!16=64
  430block%!20=&2102
  440sname$="!filekill"
  450DIM block%!24 (LEN sname$+1)
  460$(block%!24)=sname$:block%!28=sprites%:block%!32=LEN(sname$)+1
  470SYS "Wimp_CreateIcon",,block% TO a%
  480=a%
  490
  500
  510
  520
  530DEF PROCrecieve
  540 CASE block%!16 OF
  550 
  560          WHEN 0:             PROCend
  570          WHEN 3:             PROCread_directory
  580        
  590 ENDCASE
  600ENDPROC
  610
  620
  630
  640
  650
  660DEF PROCbutton
  670button%=block%!8
  680  CASE block%!12 OF
  690   WHEN -2
  700    CASE button% OF
  710     WHEN 2
  720      PROCcreateiconmenu
  730     WHEN 1
  740      IF block%!12=info% THEN win%=TRUE
  750      IF block%!12=-2 THEN PROCwarn("Drop a directory onto this icon to delete it")
  760     WHEN 4
  770      IF block%!12=info% THEN win%=TRUE
  780      IF block%!12=-2 THEN PROCwarn("Drop a directory onto this icon to delete it")
  790     WHEN 5
  800      IF block%!12=info% THEN win%=TRUE
  810      IF block%!12=-2 THEN PROCwarn("Drop a directory onto this icon to delete it")
  820    ENDCASE
  830   WHEN info%
  840    IF block%!16=8 PROCopen_S7
  850  ENDCASE
  860ENDPROC        
  870
  880
  890DEFPROCopen_S7
  900block%!0=s7%
  910block%!4=0
  920block%!8=0
  930block%!12=638
  940block%!16=806
  950block%!20=0
  960block%!24=0
  970block%!28=-1
  980SYS "Wimp_OpenWindow",,block%
  990ENDPROC
 1000
 1010
 1020
 1030DEF PROCwarn(err$)
 1040!block%=ERR
 1050$(block%+4)=(err$)
 1060SYS "XWimp_ReportError",block%,0,"File Killer"
 1070ENDPROC
 1080
 1090
 1100
 1110
 1120
 1130DEF PROCread_directory
 1140b$="":l%=44
 1150 WHILE block%?l%>32
 1160  b$=b$+CHR$(block%?l%)
 1170  l%+=1
 1180 ENDWHILE
 1190 access%=%110110
 1200 SYS "OS_File",4,b$,,,,access%
 1210 SYS "OS_File",13,b$ TO type%
 1220 IF type%=1 OR type%=3 THEN SYS "OS_File",6,b$
 1230 IF type%=2 THEN 
 1240  PRINT b$
 1250   MODE 12
 1260  PROCread_dir(b$,0)
 1270 SYS "OS_File",6,b$
 1280ENDPROC
 1290
 1300
 1310DEFPROCread_dir(d$,d%)
 1320LOCAL item%
 1330item%=0
 1340 WHILE item%<>-1
 1350  SYS "OS_GBPB",10,d$,result%,1,item%,128,0 TO ,,,read%,item%
 1360  IF read%>0 THEN
 1370    n%=20
 1380    name$=""
 1390    WHILE result%?n%<>0:name$=name$+CHR$(result%?n%):n%+=1:ENDWHILE
 1400    CASE result%!16 OF
 1410     WHEN 2
 1420      PRINT d$+"."+name$
 1430      PROCread_dir(d$+"."+name$,d%+1)
 1440      SYS "OS_File",6,d$
 1450     WHEN 1,3
 1460      PRINT d$+"."+name$
 1470      SYS "OS_File",6,d$+"."+name$
 1480    ENDCASE
 1490   ENDIF
 1500  ENDWHILE
 1510 ENDPROC
 1520  
 1530
 1540
 1550
 1560
 1570DEF PROCend
 1580SYS "XWimp_CloseDown":SYS "OS_Exit"
 1590ENDPROC
 1600
 1610
 1620
 1630
 1640
 1650 
 1660 
 1670
 1680
 1690
 1700
 1710
 1720DEF PROCcreateiconmenu
 1730currmenu$="icon"
 1740items=2:lines=0
 1750$menublk%="File Kill"+CHR$(0)
 1760menublk%?12=7
 1770menublk%?13=2
 1780menublk%?14=7
 1790menublk%?15=0
 1800menublk%!16=96
 1810menublk%!20=44
 1820menublk%!24=0
 1830menublk%!28=0
 1840menublk%!32=info%
 1850menublk%!36=%00000111000000000000000000100001
 1860$(menublk%+40)="Info"+CHR$(0)
 1870menublk%!52=%10000000
 1880menublk%!56=-1
 1890menublk%!60=%00000111000000000000000000100001
 1900$(menublk%+64)="Quit"+CHR$(0)
 1910menux%=block%!0-64
 1920menuy%=(96+(items*44)+(lines*24))
 1930SYS "Wimp_CreateMenu",,menublk%,menux%,menuy%
 1940ENDPROC
 1950
 1960
 1970DEF PROCcreate_window
 1980SYS "Wimp_OpenTemplate",,"<File$Kill>.Templates"
 1990$(tname%)="Info"+CHR$(0)
 2000SYS "Wimp_LoadTemplate",,infobuff%,infospace%,infospace%+512,-1,tname%,0
 2010SYS "Wimp_CreateWindow",,infobuff% TO info%
 2020$(tname%)="Software7"+CHR$(0)
 2030SYS "Wimp_LoadTemplate",,s7buff%,s7ind%,s7ind%+500,font%,tname%,0
 2040SYS "Wimp_CreateWindow",,s7buff% TO s7%
 2050SYS "Wimp_CloseTemplate"
 2060ENDPROC
 2070
 2080
 2090
 2100DEF PROCmenu
 2110item%=!block%
 2120 IF item%=1 THEN PROCend
 2130ENDPROC

 � Filekill, desktop deletion
� By Software7
� Shareware, see !Help file
(
2
<0� � �warn(�$+" (Internal code "+Þ+")"):�end
F
P@� block% 256,m% 256,menublk% 256,c% 256,access% 12,font% 256
ZE� tname% 32,infobuff% 1024,infospace% 512,s7buff% 1024,s7ind% 500
d� result% 128,buffer% 256
n
x;ș "Wimp_Initialise",200,&4B534154,"Filekiller" � task%
�
�7ș "OS_File",5,"<File$Kill>.!Sprites" � ,,,,length%
�� sprites% length%+4
�!sprites%=length%+4
�6ș "OS_File",255,"<File$Kill>.!Sprites",sprites%+4
�bar%=�icon_bar
��create_window
�quit%=�:once%=0
� �
� once%=once%+1
�"  ș "Wimp_Poll",1,block% � r%
�   Ȏ r% �
�          
+          � 0              :�check_file
<          � 2              :ș "Wimp_OpenWindow",,block%
=          � 3              :ș "Wimp_CloseWindow",,block%
"'          � 6              :�button
,%          � 9              :�menu
6(          � 17,18,19       :�recieve
@          
J   �
T � quit%
^ 
h �
r 
| 
�� �icon_bar
�!block%=-2
�block%!4=0:block%!8=0
�block%!12=128:block%!16=64
�block%!20=&2102
�sname$="!filekill"
�� block%!24 (� sname$+1)
�@$(block%!24)=sname$:block%!28=sprites%:block%!32=�(sname$)+1
�%ș "Wimp_CreateIcon",,block% � a%
�=a%
�
�
�

� �recieve
 Ȏ block%!16 �
& 
0#          � 0:             �end
:.          � 3:             �read_directory
D        
N �
X�
b
l
v
�
�
�
� �button
�button%=block%!8
�  Ȏ block%!12 �
�   � -2
�    Ȏ button% �
�     � 2
�      �createiconmenu
�     � 1
�$      � block%!12=info% � win%=�
�P      � block%!12=-2 � �warn("Drop a directory onto this icon to delete it")
�     � 4
$      � block%!12=info% � win%=�
P      � block%!12=-2 � �warn("Drop a directory onto this icon to delete it")
     � 5
 $      � block%!12=info% � win%=�
*P      � block%!12=-2 � �warn("Drop a directory onto this icon to delete it")
4	    �
>   � info%
H    � block%!16=8 �open_S7
R  �
\
�        
f
p
z
��open_S7
�block%!0=s7%
�block%!4=0
�block%!8=0
�block%!12=638
�block%!16=806
�block%!20=0
�block%!24=0
�block%!28=-1
� ș "Wimp_OpenWindow",,block%
��
�
�
�
� �warn(err$)

!block%=�
$(block%+4)=(err$)
$1ș "XWimp_ReportError",block%,0,"File Killer"
.�
8
B
L
V
`
j� �read_directory
tb$="":l%=44
~ ȕ block%?l%>32
�  b$=b$+�(block%?l%)
�  l%+=1
� �
� access%=%110110
�! ș "OS_File",4,b$,,,,access%
� ș "OS_File",13,b$ � type%
�, � type%=1 � type%=3 � ș "OS_File",6,b$
� � type%=2 � 
�
  � b$
�   � 12
�  �read_dir(b$,0)
� ș "OS_File",6,b$
�



��read_dir(d$,d%)
(� item%
2item%=0
< ȕ item%<>-1
F?  ș "OS_GBPB",10,d$,result%,1,item%,128,0 � ,,,read%,item%
P  � read%>0 �
Z
    n%=20
d    name$=""
n:    ȕ result%?n%<>0:name$=name$+�(result%?n%):n%+=1:�
x    Ȏ result%!16 �
�     � 2
�      � d$+"."+name$
�&      �read_dir(d$+"."+name$,d%+1)
�      ș "OS_File",6,d$
�     � 1,3
�      � d$+"."+name$
�%      ș "OS_File",6,d$+"."+name$
�	    �
�   �
�  �
� �
�  
�



"
� �end
,%ș "XWimp_CloseDown":ș "OS_Exit"
6�
@
J
T
^
h
r 
| 
�
�
�
�
�
�� �createiconmenu
�currmenu$="icon"
�items=2:lines=0
�$menublk%="File Kill"+�(0)
�menublk%?12=7
�menublk%?13=2
�menublk%?14=7
�menublk%?15=0
menublk%!16=96
menublk%!20=44
menublk%!24=0
&menublk%!28=0
0menublk%!32=info%
:1menublk%!36=%00000111000000000000000000100001
D$(menublk%+40)="Info"+�(0)
Nmenublk%!52=%10000000
Xmenublk%!56=-1
b1menublk%!60=%00000111000000000000000000100001
l$(menublk%+64)="Quit"+�(0)
vmenux%=block%!0-64
�%menuy%=(96+(items*44)+(lines*24))
�0ș "Wimp_CreateMenu",,menublk%,menux%,menuy%
��
�
�
�� �create_window
�3ș "Wimp_OpenTemplate",,"<File$Kill>.Templates"
�$(tname%)="Info"+�(0)
�Kș "Wimp_LoadTemplate",,infobuff%,infospace%,infospace%+512,-1,tname%,0
�-ș "Wimp_CreateWindow",,infobuff% � info%
�$(tname%)="Software7"+�(0)
�Dș "Wimp_LoadTemplate",,s7buff%,s7ind%,s7ind%+500,font%,tname%,0
�)ș "Wimp_CreateWindow",,s7buff% � s7%
ș "Wimp_CloseTemplate"
�

 
*
4� �menu
>item%=!block%
H � item%=1 � �end
R�
�
00000000  0d 00 0a 20 f4 20 46 69  6c 65 6b 69 6c 6c 2c 20  |... . Filekill, |
00000010  64 65 73 6b 74 6f 70 20  64 65 6c 65 74 69 6f 6e  |desktop deletion|
00000020  0d 00 14 12 f4 20 42 79  20 53 6f 66 74 77 61 72  |..... By Softwar|
00000030  65 37 0d 00 1e 1f f4 20  53 68 61 72 65 77 61 72  |e7..... Sharewar|
00000040  65 2c 20 73 65 65 20 21  48 65 6c 70 20 66 69 6c  |e, see !Help fil|
00000050  65 0d 00 28 04 0d 00 32  04 0d 00 3c 30 ee 20 85  |e..(...2...<0. .|
00000060  20 f2 77 61 72 6e 28 f6  24 2b 22 20 28 49 6e 74  | .warn(.$+" (Int|
00000070  65 72 6e 61 6c 20 63 6f  64 65 20 22 2b c3 9e 2b  |ernal code "+..+|
00000080  22 29 22 29 3a f2 65 6e  64 0d 00 46 04 0d 00 50  |")"):.end..F...P|
00000090  40 de 20 62 6c 6f 63 6b  25 20 32 35 36 2c 6d 25  |@. block% 256,m%|
000000a0  20 32 35 36 2c 6d 65 6e  75 62 6c 6b 25 20 32 35  | 256,menublk% 25|
000000b0  36 2c 63 25 20 32 35 36  2c 61 63 63 65 73 73 25  |6,c% 256,access%|
000000c0  20 31 32 2c 66 6f 6e 74  25 20 32 35 36 0d 00 5a  | 12,font% 256..Z|
000000d0  45 de 20 74 6e 61 6d 65  25 20 33 32 2c 69 6e 66  |E. tname% 32,inf|
000000e0  6f 62 75 66 66 25 20 31  30 32 34 2c 69 6e 66 6f  |obuff% 1024,info|
000000f0  73 70 61 63 65 25 20 35  31 32 2c 73 37 62 75 66  |space% 512,s7buf|
00000100  66 25 20 31 30 32 34 2c  73 37 69 6e 64 25 20 35  |f% 1024,s7ind% 5|
00000110  30 30 0d 00 64 1d de 20  72 65 73 75 6c 74 25 20  |00..d.. result% |
00000120  31 32 38 2c 62 75 66 66  65 72 25 20 32 35 36 0d  |128,buffer% 256.|
00000130  00 6e 04 0d 00 78 3b c8  99 20 22 57 69 6d 70 5f  |.n...x;.. "Wimp_|
00000140  49 6e 69 74 69 61 6c 69  73 65 22 2c 32 30 30 2c  |Initialise",200,|
00000150  26 34 42 35 33 34 31 35  34 2c 22 46 69 6c 65 6b  |&4B534154,"Filek|
00000160  69 6c 6c 65 72 22 20 b8  20 74 61 73 6b 25 0d 00  |iller" . task%..|
00000170  82 04 0d 00 8c 37 c8 99  20 22 4f 53 5f 46 69 6c  |.....7.. "OS_Fil|
00000180  65 22 2c 35 2c 22 3c 46  69 6c 65 24 4b 69 6c 6c  |e",5,"<File$Kill|
00000190  3e 2e 21 53 70 72 69 74  65 73 22 20 b8 20 2c 2c  |>.!Sprites" . ,,|
000001a0  2c 2c 6c 65 6e 67 74 68  25 0d 00 96 18 de 20 73  |,,length%..... s|
000001b0  70 72 69 74 65 73 25 20  6c 65 6e 67 74 68 25 2b  |prites% length%+|
000001c0  34 0d 00 a0 17 21 73 70  72 69 74 65 73 25 3d 6c  |4....!sprites%=l|
000001d0  65 6e 67 74 68 25 2b 34  0d 00 aa 36 c8 99 20 22  |ength%+4...6.. "|
000001e0  4f 53 5f 46 69 6c 65 22  2c 32 35 35 2c 22 3c 46  |OS_File",255,"<F|
000001f0  69 6c 65 24 4b 69 6c 6c  3e 2e 21 53 70 72 69 74  |ile$Kill>.!Sprit|
00000200  65 73 22 2c 73 70 72 69  74 65 73 25 2b 34 0d 00  |es",sprites%+4..|
00000210  b4 12 62 61 72 25 3d a4  69 63 6f 6e 5f 62 61 72  |..bar%=.icon_bar|
00000220  0d 00 be 12 f2 63 72 65  61 74 65 5f 77 69 6e 64  |.....create_wind|
00000230  6f 77 0d 00 c8 13 71 75  69 74 25 3d a3 3a 6f 6e  |ow....quit%=.:on|
00000240  63 65 25 3d 30 0d 00 d2  06 20 f5 0d 00 dc 12 20  |ce%=0.... ..... |
00000250  6f 6e 63 65 25 3d 6f 6e  63 65 25 2b 31 0d 00 e6  |once%=once%+1...|
00000260  22 20 20 c8 99 20 22 57  69 6d 70 5f 50 6f 6c 6c  |"  .. "Wimp_Poll|
00000270  22 2c 31 2c 62 6c 6f 63  6b 25 20 b8 20 72 25 0d  |",1,block% . r%.|
00000280  00 f0 0e 20 20 20 c8 8e  20 72 25 20 ca 0d 00 fa  |...   .. r% ....|
00000290  0e 20 20 20 20 20 20 20  20 20 20 0d 01 04 2b 20  |.          ...+ |
000002a0  20 20 20 20 20 20 20 20  20 c9 20 30 20 20 20 20  |         . 0    |
000002b0  20 20 20 20 20 20 20 20  20 20 3a f2 63 68 65 63  |          :.chec|
000002c0  6b 5f 66 69 6c 65 0d 01  0e 3c 20 20 20 20 20 20  |k_file...<      |
000002d0  20 20 20 20 c9 20 32 20  20 20 20 20 20 20 20 20  |    . 2         |
000002e0  20 20 20 20 20 3a c8 99  20 22 57 69 6d 70 5f 4f  |     :.. "Wimp_O|
000002f0  70 65 6e 57 69 6e 64 6f  77 22 2c 2c 62 6c 6f 63  |penWindow",,bloc|
00000300  6b 25 0d 01 18 3d 20 20  20 20 20 20 20 20 20 20  |k%...=          |
00000310  c9 20 33 20 20 20 20 20  20 20 20 20 20 20 20 20  |. 3             |
00000320  20 3a c8 99 20 22 57 69  6d 70 5f 43 6c 6f 73 65  | :.. "Wimp_Close|
00000330  57 69 6e 64 6f 77 22 2c  2c 62 6c 6f 63 6b 25 0d  |Window",,block%.|
00000340  01 22 27 20 20 20 20 20  20 20 20 20 20 c9 20 36  |."'          . 6|
00000350  20 20 20 20 20 20 20 20  20 20 20 20 20 20 3a f2  |              :.|
00000360  62 75 74 74 6f 6e 0d 01  2c 25 20 20 20 20 20 20  |button..,%      |
00000370  20 20 20 20 c9 20 39 20  20 20 20 20 20 20 20 20  |    . 9         |
00000380  20 20 20 20 20 3a f2 6d  65 6e 75 0d 01 36 28 20  |     :.menu..6( |
00000390  20 20 20 20 20 20 20 20  20 c9 20 31 37 2c 31 38  |         . 17,18|
000003a0  2c 31 39 20 20 20 20 20  20 20 3a f2 72 65 63 69  |,19       :.reci|
000003b0  65 76 65 0d 01 40 0e 20  20 20 20 20 20 20 20 20  |eve..@.         |
000003c0  20 0d 01 4a 08 20 20 20  cb 0d 01 54 0c 20 fd 20  | ..J.   ...T. . |
000003d0  71 75 69 74 25 0d 01 5e  05 20 0d 01 68 06 20 e0  |quit%..^. ..h. .|
000003e0  0d 01 72 05 20 0d 01 7c  05 20 0d 01 86 0f dd 20  |..r. ..|. ..... |
000003f0  a4 69 63 6f 6e 5f 62 61  72 0d 01 90 0e 21 62 6c  |.icon_bar....!bl|
00000400  6f 63 6b 25 3d 2d 32 0d  01 9a 19 62 6c 6f 63 6b  |ock%=-2....block|
00000410  25 21 34 3d 30 3a 62 6c  6f 63 6b 25 21 38 3d 30  |%!4=0:block%!8=0|
00000420  0d 01 a4 1e 62 6c 6f 63  6b 25 21 31 32 3d 31 32  |....block%!12=12|
00000430  38 3a 62 6c 6f 63 6b 25  21 31 36 3d 36 34 0d 01  |8:block%!16=64..|
00000440  ae 13 62 6c 6f 63 6b 25  21 32 30 3d 26 32 31 30  |..block%!20=&210|
00000450  32 0d 01 b8 16 73 6e 61  6d 65 24 3d 22 21 66 69  |2....sname$="!fi|
00000460  6c 65 6b 69 6c 6c 22 0d  01 c2 1c de 20 62 6c 6f  |lekill"..... blo|
00000470  63 6b 25 21 32 34 20 28  a9 20 73 6e 61 6d 65 24  |ck%!24 (. sname$|
00000480  2b 31 29 0d 01 cc 40 24  28 62 6c 6f 63 6b 25 21  |+1)...@$(block%!|
00000490  32 34 29 3d 73 6e 61 6d  65 24 3a 62 6c 6f 63 6b  |24)=sname$:block|
000004a0  25 21 32 38 3d 73 70 72  69 74 65 73 25 3a 62 6c  |%!28=sprites%:bl|
000004b0  6f 63 6b 25 21 33 32 3d  a9 28 73 6e 61 6d 65 24  |ock%!32=.(sname$|
000004c0  29 2b 31 0d 01 d6 25 c8  99 20 22 57 69 6d 70 5f  |)+1...%.. "Wimp_|
000004d0  43 72 65 61 74 65 49 63  6f 6e 22 2c 2c 62 6c 6f  |CreateIcon",,blo|
000004e0  63 6b 25 20 b8 20 61 25  0d 01 e0 07 3d 61 25 0d  |ck% . a%....=a%.|
000004f0  01 ea 04 0d 01 f4 04 0d  01 fe 04 0d 02 08 04 0d  |................|
00000500  02 12 0e dd 20 f2 72 65  63 69 65 76 65 0d 02 1c  |.... .recieve...|
00000510  13 20 c8 8e 20 62 6c 6f  63 6b 25 21 31 36 20 ca  |. .. block%!16 .|
00000520  0d 02 26 05 20 0d 02 30  23 20 20 20 20 20 20 20  |..&. ..0#       |
00000530  20 20 20 c9 20 30 3a 20  20 20 20 20 20 20 20 20  |   . 0:         |
00000540  20 20 20 20 f2 65 6e 64  0d 02 3a 2e 20 20 20 20  |    .end..:.    |
00000550  20 20 20 20 20 20 c9 20  33 3a 20 20 20 20 20 20  |      . 3:      |
00000560  20 20 20 20 20 20 20 f2  72 65 61 64 5f 64 69 72  |       .read_dir|
00000570  65 63 74 6f 72 79 0d 02  44 0c 20 20 20 20 20 20  |ectory..D.      |
00000580  20 20 0d 02 4e 06 20 cb  0d 02 58 05 e1 0d 02 62  |  ..N. ...X....b|
00000590  04 0d 02 6c 04 0d 02 76  04 0d 02 80 04 0d 02 8a  |...l...v........|
000005a0  04 0d 02 94 0d dd 20 f2  62 75 74 74 6f 6e 0d 02  |...... .button..|
000005b0  9e 14 62 75 74 74 6f 6e  25 3d 62 6c 6f 63 6b 25  |..button%=block%|
000005c0  21 38 0d 02 a8 14 20 20  c8 8e 20 62 6c 6f 63 6b  |!8....  .. block|
000005d0  25 21 31 32 20 ca 0d 02  b2 0b 20 20 20 c9 20 2d  |%!12 .....   . -|
000005e0  32 0d 02 bc 14 20 20 20  20 c8 8e 20 62 75 74 74  |2....    .. butt|
000005f0  6f 6e 25 20 ca 0d 02 c6  0c 20 20 20 20 20 c9 20  |on% .....     . |
00000600  32 0d 02 d0 19 20 20 20  20 20 20 f2 63 72 65 61  |2....      .crea|
00000610  74 65 69 63 6f 6e 6d 65  6e 75 0d 02 da 0c 20 20  |teiconmenu....  |
00000620  20 20 20 c9 20 31 0d 02  e4 24 20 20 20 20 20 20  |   . 1...$      |
00000630  e7 20 62 6c 6f 63 6b 25  21 31 32 3d 69 6e 66 6f  |. block%!12=info|
00000640  25 20 8c 20 77 69 6e 25  3d b9 0d 02 ee 50 20 20  |% . win%=....P  |
00000650  20 20 20 20 e7 20 62 6c  6f 63 6b 25 21 31 32 3d  |    . block%!12=|
00000660  2d 32 20 8c 20 f2 77 61  72 6e 28 22 44 72 6f 70  |-2 . .warn("Drop|
00000670  20 61 20 64 69 72 65 63  74 6f 72 79 20 6f 6e 74  | a directory ont|
00000680  6f 20 74 68 69 73 20 69  63 6f 6e 20 74 6f 20 64  |o this icon to d|
00000690  65 6c 65 74 65 20 69 74  22 29 0d 02 f8 0c 20 20  |elete it")....  |
000006a0  20 20 20 c9 20 34 0d 03  02 24 20 20 20 20 20 20  |   . 4...$      |
000006b0  e7 20 62 6c 6f 63 6b 25  21 31 32 3d 69 6e 66 6f  |. block%!12=info|
000006c0  25 20 8c 20 77 69 6e 25  3d b9 0d 03 0c 50 20 20  |% . win%=....P  |
000006d0  20 20 20 20 e7 20 62 6c  6f 63 6b 25 21 31 32 3d  |    . block%!12=|
000006e0  2d 32 20 8c 20 f2 77 61  72 6e 28 22 44 72 6f 70  |-2 . .warn("Drop|
000006f0  20 61 20 64 69 72 65 63  74 6f 72 79 20 6f 6e 74  | a directory ont|
00000700  6f 20 74 68 69 73 20 69  63 6f 6e 20 74 6f 20 64  |o this icon to d|
00000710  65 6c 65 74 65 20 69 74  22 29 0d 03 16 0c 20 20  |elete it")....  |
00000720  20 20 20 c9 20 35 0d 03  20 24 20 20 20 20 20 20  |   . 5.. $      |
00000730  e7 20 62 6c 6f 63 6b 25  21 31 32 3d 69 6e 66 6f  |. block%!12=info|
00000740  25 20 8c 20 77 69 6e 25  3d b9 0d 03 2a 50 20 20  |% . win%=...*P  |
00000750  20 20 20 20 e7 20 62 6c  6f 63 6b 25 21 31 32 3d  |    . block%!12=|
00000760  2d 32 20 8c 20 f2 77 61  72 6e 28 22 44 72 6f 70  |-2 . .warn("Drop|
00000770  20 61 20 64 69 72 65 63  74 6f 72 79 20 6f 6e 74  | a directory ont|
00000780  6f 20 74 68 69 73 20 69  63 6f 6e 20 74 6f 20 64  |o this icon to d|
00000790  65 6c 65 74 65 20 69 74  22 29 0d 03 34 09 20 20  |elete it")..4.  |
000007a0  20 20 cb 0d 03 3e 0e 20  20 20 c9 20 69 6e 66 6f  |  ...>.   . info|
000007b0  25 0d 03 48 1e 20 20 20  20 e7 20 62 6c 6f 63 6b  |%..H.    . block|
000007c0  25 21 31 36 3d 38 20 f2  6f 70 65 6e 5f 53 37 0d  |%!16=8 .open_S7.|
000007d0  03 52 07 20 20 cb 0d 03  5c 0d e1 20 20 20 20 20  |.R.  ...\..     |
000007e0  20 20 20 0d 03 66 04 0d  03 70 04 0d 03 7a 0d dd  |   ..f...p...z..|
000007f0  f2 6f 70 65 6e 5f 53 37  0d 03 84 10 62 6c 6f 63  |.open_S7....bloc|
00000800  6b 25 21 30 3d 73 37 25  0d 03 8e 0e 62 6c 6f 63  |k%!0=s7%....bloc|
00000810  6b 25 21 34 3d 30 0d 03  98 0e 62 6c 6f 63 6b 25  |k%!4=0....block%|
00000820  21 38 3d 30 0d 03 a2 11  62 6c 6f 63 6b 25 21 31  |!8=0....block%!1|
00000830  32 3d 36 33 38 0d 03 ac  11 62 6c 6f 63 6b 25 21  |2=638....block%!|
00000840  31 36 3d 38 30 36 0d 03  b6 0f 62 6c 6f 63 6b 25  |16=806....block%|
00000850  21 32 30 3d 30 0d 03 c0  0f 62 6c 6f 63 6b 25 21  |!20=0....block%!|
00000860  32 34 3d 30 0d 03 ca 10  62 6c 6f 63 6b 25 21 32  |24=0....block%!2|
00000870  38 3d 2d 31 0d 03 d4 20  c8 99 20 22 57 69 6d 70  |8=-1... .. "Wimp|
00000880  5f 4f 70 65 6e 57 69 6e  64 6f 77 22 2c 2c 62 6c  |_OpenWindow",,bl|
00000890  6f 63 6b 25 0d 03 de 05  e1 0d 03 e8 04 0d 03 f2  |ock%............|
000008a0  04 0d 03 fc 04 0d 04 06  11 dd 20 f2 77 61 72 6e  |.......... .warn|
000008b0  28 65 72 72 24 29 0d 04  10 0d 21 62 6c 6f 63 6b  |(err$)....!block|
000008c0  25 3d 9f 0d 04 1a 16 24  28 62 6c 6f 63 6b 25 2b  |%=.....$(block%+|
000008d0  34 29 3d 28 65 72 72 24  29 0d 04 24 31 c8 99 20  |4)=(err$)..$1.. |
000008e0  22 58 57 69 6d 70 5f 52  65 70 6f 72 74 45 72 72  |"XWimp_ReportErr|
000008f0  6f 72 22 2c 62 6c 6f 63  6b 25 2c 30 2c 22 46 69  |or",block%,0,"Fi|
00000900  6c 65 20 4b 69 6c 6c 65  72 22 0d 04 2e 05 e1 0d  |le Killer"......|
00000910  04 38 04 0d 04 42 04 0d  04 4c 04 0d 04 56 04 0d  |.8...B...L...V..|
00000920  04 60 04 0d 04 6a 15 dd  20 f2 72 65 61 64 5f 64  |.`...j.. .read_d|
00000930  69 72 65 63 74 6f 72 79  0d 04 74 0f 62 24 3d 22  |irectory..t.b$="|
00000940  22 3a 6c 25 3d 34 34 0d  04 7e 14 20 c8 95 20 62  |":l%=44..~. .. b|
00000950  6c 6f 63 6b 25 3f 6c 25  3e 33 32 0d 04 88 18 20  |lock%?l%>32.... |
00000960  20 62 24 3d 62 24 2b bd  28 62 6c 6f 63 6b 25 3f  | b$=b$+.(block%?|
00000970  6c 25 29 0d 04 92 0b 20  20 6c 25 2b 3d 31 0d 04  |l%)....  l%+=1..|
00000980  9c 06 20 ce 0d 04 a6 14  20 61 63 63 65 73 73 25  |.. ..... access%|
00000990  3d 25 31 31 30 31 31 30  0d 04 b0 21 20 c8 99 20  |=%110110...! .. |
000009a0  22 4f 53 5f 46 69 6c 65  22 2c 34 2c 62 24 2c 2c  |"OS_File",4,b$,,|
000009b0  2c 2c 61 63 63 65 73 73  25 0d 04 ba 1f 20 c8 99  |,,access%.... ..|
000009c0  20 22 4f 53 5f 46 69 6c  65 22 2c 31 33 2c 62 24  | "OS_File",13,b$|
000009d0  20 b8 20 74 79 70 65 25  0d 04 c4 2c 20 e7 20 74  | . type%..., . t|
000009e0  79 70 65 25 3d 31 20 84  20 74 79 70 65 25 3d 33  |ype%=1 . type%=3|
000009f0  20 8c 20 c8 99 20 22 4f  53 5f 46 69 6c 65 22 2c  | . .. "OS_File",|
00000a00  36 2c 62 24 0d 04 ce 11  20 e7 20 74 79 70 65 25  |6,b$.... . type%|
00000a10  3d 32 20 8c 20 0d 04 d8  0a 20 20 f1 20 62 24 0d  |=2 . ....  . b$.|
00000a20  04 e2 0b 20 20 20 eb 20  31 32 0d 04 ec 15 20 20  |...   . 12....  |
00000a30  f2 72 65 61 64 5f 64 69  72 28 62 24 2c 30 29 0d  |.read_dir(b$,0).|
00000a40  04 f6 16 20 c8 99 20 22  4f 53 5f 46 69 6c 65 22  |... .. "OS_File"|
00000a50  2c 36 2c 62 24 0d 05 00  05 e1 0d 05 0a 04 0d 05  |,6,b$...........|
00000a60  14 04 0d 05 1e 15 dd f2  72 65 61 64 5f 64 69 72  |........read_dir|
00000a70  28 64 24 2c 64 25 29 0d  05 28 0b ea 20 69 74 65  |(d$,d%)..(.. ite|
00000a80  6d 25 0d 05 32 0b 69 74  65 6d 25 3d 30 0d 05 3c  |m%..2.item%=0..<|
00000a90  11 20 c8 95 20 69 74 65  6d 25 3c 3e 2d 31 0d 05  |. .. item%<>-1..|
00000aa0  46 3f 20 20 c8 99 20 22  4f 53 5f 47 42 50 42 22  |F?  .. "OS_GBPB"|
00000ab0  2c 31 30 2c 64 24 2c 72  65 73 75 6c 74 25 2c 31  |,10,d$,result%,1|
00000ac0  2c 69 74 65 6d 25 2c 31  32 38 2c 30 20 b8 20 2c  |,item%,128,0 . ,|
00000ad0  2c 2c 72 65 61 64 25 2c  69 74 65 6d 25 0d 05 50  |,,read%,item%..P|
00000ae0  11 20 20 e7 20 72 65 61  64 25 3e 30 20 8c 0d 05  |.  . read%>0 ...|
00000af0  5a 0d 20 20 20 20 6e 25  3d 32 30 0d 05 64 10 20  |Z.    n%=20..d. |
00000b00  20 20 20 6e 61 6d 65 24  3d 22 22 0d 05 6e 3a 20  |   name$=""..n: |
00000b10  20 20 20 c8 95 20 72 65  73 75 6c 74 25 3f 6e 25  |   .. result%?n%|
00000b20  3c 3e 30 3a 6e 61 6d 65  24 3d 6e 61 6d 65 24 2b  |<>0:name$=name$+|
00000b30  bd 28 72 65 73 75 6c 74  25 3f 6e 25 29 3a 6e 25  |.(result%?n%):n%|
00000b40  2b 3d 31 3a ce 0d 05 78  17 20 20 20 20 c8 8e 20  |+=1:...x.    .. |
00000b50  72 65 73 75 6c 74 25 21  31 36 20 ca 0d 05 82 0c  |result%!16 .....|
00000b60  20 20 20 20 20 c9 20 32  0d 05 8c 18 20 20 20 20  |     . 2....    |
00000b70  20 20 f1 20 64 24 2b 22  2e 22 2b 6e 61 6d 65 24  |  . d$+"."+name$|
00000b80  0d 05 96 26 20 20 20 20  20 20 f2 72 65 61 64 5f  |...&      .read_|
00000b90  64 69 72 28 64 24 2b 22  2e 22 2b 6e 61 6d 65 24  |dir(d$+"."+name$|
00000ba0  2c 64 25 2b 31 29 0d 05  a0 1b 20 20 20 20 20 20  |,d%+1)....      |
00000bb0  c8 99 20 22 4f 53 5f 46  69 6c 65 22 2c 36 2c 64  |.. "OS_File",6,d|
00000bc0  24 0d 05 aa 0e 20 20 20  20 20 c9 20 31 2c 33 0d  |$....     . 1,3.|
00000bd0  05 b4 18 20 20 20 20 20  20 f1 20 64 24 2b 22 2e  |...      . d$+".|
00000be0  22 2b 6e 61 6d 65 24 0d  05 be 25 20 20 20 20 20  |"+name$...%     |
00000bf0  20 c8 99 20 22 4f 53 5f  46 69 6c 65 22 2c 36 2c  | .. "OS_File",6,|
00000c00  64 24 2b 22 2e 22 2b 6e  61 6d 65 24 0d 05 c8 09  |d$+"."+name$....|
00000c10  20 20 20 20 cb 0d 05 d2  08 20 20 20 cd 0d 05 dc  |    .....   ....|
00000c20  07 20 20 ce 0d 05 e6 06  20 e1 0d 05 f0 06 20 20  |.  ..... .....  |
00000c30  0d 05 fa 04 0d 06 04 04  0d 06 0e 04 0d 06 18 04  |................|
00000c40  0d 06 22 0a dd 20 f2 65  6e 64 0d 06 2c 25 c8 99  |..".. .end..,%..|
00000c50  20 22 58 57 69 6d 70 5f  43 6c 6f 73 65 44 6f 77  | "XWimp_CloseDow|
00000c60  6e 22 3a c8 99 20 22 4f  53 5f 45 78 69 74 22 0d  |n":.. "OS_Exit".|
00000c70  06 36 05 e1 0d 06 40 04  0d 06 4a 04 0d 06 54 04  |.6....@...J...T.|
00000c80  0d 06 5e 04 0d 06 68 04  0d 06 72 05 20 0d 06 7c  |..^...h...r. ..||
00000c90  05 20 0d 06 86 04 0d 06  90 04 0d 06 9a 04 0d 06  |. ..............|
00000ca0  a4 04 0d 06 ae 04 0d 06  b8 15 dd 20 f2 63 72 65  |........... .cre|
00000cb0  61 74 65 69 63 6f 6e 6d  65 6e 75 0d 06 c2 14 63  |ateiconmenu....c|
00000cc0  75 72 72 6d 65 6e 75 24  3d 22 69 63 6f 6e 22 0d  |urrmenu$="icon".|
00000cd0  06 cc 13 69 74 65 6d 73  3d 32 3a 6c 69 6e 65 73  |...items=2:lines|
00000ce0  3d 30 0d 06 d6 1e 24 6d  65 6e 75 62 6c 6b 25 3d  |=0....$menublk%=|
00000cf0  22 46 69 6c 65 20 4b 69  6c 6c 22 2b bd 28 30 29  |"File Kill"+.(0)|
00000d00  0d 06 e0 11 6d 65 6e 75  62 6c 6b 25 3f 31 32 3d  |....menublk%?12=|
00000d10  37 0d 06 ea 11 6d 65 6e  75 62 6c 6b 25 3f 31 33  |7....menublk%?13|
00000d20  3d 32 0d 06 f4 11 6d 65  6e 75 62 6c 6b 25 3f 31  |=2....menublk%?1|
00000d30  34 3d 37 0d 06 fe 11 6d  65 6e 75 62 6c 6b 25 3f  |4=7....menublk%?|
00000d40  31 35 3d 30 0d 07 08 12  6d 65 6e 75 62 6c 6b 25  |15=0....menublk%|
00000d50  21 31 36 3d 39 36 0d 07  12 12 6d 65 6e 75 62 6c  |!16=96....menubl|
00000d60  6b 25 21 32 30 3d 34 34  0d 07 1c 11 6d 65 6e 75  |k%!20=44....menu|
00000d70  62 6c 6b 25 21 32 34 3d  30 0d 07 26 11 6d 65 6e  |blk%!24=0..&.men|
00000d80  75 62 6c 6b 25 21 32 38  3d 30 0d 07 30 15 6d 65  |ublk%!28=0..0.me|
00000d90  6e 75 62 6c 6b 25 21 33  32 3d 69 6e 66 6f 25 0d  |nublk%!32=info%.|
00000da0  07 3a 31 6d 65 6e 75 62  6c 6b 25 21 33 36 3d 25  |.:1menublk%!36=%|
00000db0  30 30 30 30 30 31 31 31  30 30 30 30 30 30 30 30  |0000011100000000|
00000dc0  30 30 30 30 30 30 30 30  30 30 31 30 30 30 30 31  |0000000000100001|
00000dd0  0d 07 44 1e 24 28 6d 65  6e 75 62 6c 6b 25 2b 34  |..D.$(menublk%+4|
00000de0  30 29 3d 22 49 6e 66 6f  22 2b bd 28 30 29 0d 07  |0)="Info"+.(0)..|
00000df0  4e 19 6d 65 6e 75 62 6c  6b 25 21 35 32 3d 25 31  |N.menublk%!52=%1|
00000e00  30 30 30 30 30 30 30 0d  07 58 12 6d 65 6e 75 62  |0000000..X.menub|
00000e10  6c 6b 25 21 35 36 3d 2d  31 0d 07 62 31 6d 65 6e  |lk%!56=-1..b1men|
00000e20  75 62 6c 6b 25 21 36 30  3d 25 30 30 30 30 30 31  |ublk%!60=%000001|
00000e30  31 31 30 30 30 30 30 30  30 30 30 30 30 30 30 30  |1100000000000000|
00000e40  30 30 30 30 31 30 30 30  30 31 0d 07 6c 1e 24 28  |0000100001..l.$(|
00000e50  6d 65 6e 75 62 6c 6b 25  2b 36 34 29 3d 22 51 75  |menublk%+64)="Qu|
00000e60  69 74 22 2b bd 28 30 29  0d 07 76 16 6d 65 6e 75  |it"+.(0)..v.menu|
00000e70  78 25 3d 62 6c 6f 63 6b  25 21 30 2d 36 34 0d 07  |x%=block%!0-64..|
00000e80  80 25 6d 65 6e 75 79 25  3d 28 39 36 2b 28 69 74  |.%menuy%=(96+(it|
00000e90  65 6d 73 2a 34 34 29 2b  28 6c 69 6e 65 73 2a 32  |ems*44)+(lines*2|
00000ea0  34 29 29 0d 07 8a 30 c8  99 20 22 57 69 6d 70 5f  |4))...0.. "Wimp_|
00000eb0  43 72 65 61 74 65 4d 65  6e 75 22 2c 2c 6d 65 6e  |CreateMenu",,men|
00000ec0  75 62 6c 6b 25 2c 6d 65  6e 75 78 25 2c 6d 65 6e  |ublk%,menux%,men|
00000ed0  75 79 25 0d 07 94 05 e1  0d 07 9e 04 0d 07 a8 04  |uy%.............|
00000ee0  0d 07 b2 14 dd 20 f2 63  72 65 61 74 65 5f 77 69  |..... .create_wi|
00000ef0  6e 64 6f 77 0d 07 bc 33  c8 99 20 22 57 69 6d 70  |ndow...3.. "Wimp|
00000f00  5f 4f 70 65 6e 54 65 6d  70 6c 61 74 65 22 2c 2c  |_OpenTemplate",,|
00000f10  22 3c 46 69 6c 65 24 4b  69 6c 6c 3e 2e 54 65 6d  |"<File$Kill>.Tem|
00000f20  70 6c 61 74 65 73 22 0d  07 c6 19 24 28 74 6e 61  |plates"....$(tna|
00000f30  6d 65 25 29 3d 22 49 6e  66 6f 22 2b bd 28 30 29  |me%)="Info"+.(0)|
00000f40  0d 07 d0 4b c8 99 20 22  57 69 6d 70 5f 4c 6f 61  |...K.. "Wimp_Loa|
00000f50  64 54 65 6d 70 6c 61 74  65 22 2c 2c 69 6e 66 6f  |dTemplate",,info|
00000f60  62 75 66 66 25 2c 69 6e  66 6f 73 70 61 63 65 25  |buff%,infospace%|
00000f70  2c 69 6e 66 6f 73 70 61  63 65 25 2b 35 31 32 2c  |,infospace%+512,|
00000f80  2d 31 2c 74 6e 61 6d 65  25 2c 30 0d 07 da 2d c8  |-1,tname%,0...-.|
00000f90  99 20 22 57 69 6d 70 5f  43 72 65 61 74 65 57 69  |. "Wimp_CreateWi|
00000fa0  6e 64 6f 77 22 2c 2c 69  6e 66 6f 62 75 66 66 25  |ndow",,infobuff%|
00000fb0  20 b8 20 69 6e 66 6f 25  0d 07 e4 1e 24 28 74 6e  | . info%....$(tn|
00000fc0  61 6d 65 25 29 3d 22 53  6f 66 74 77 61 72 65 37  |ame%)="Software7|
00000fd0  22 2b bd 28 30 29 0d 07  ee 44 c8 99 20 22 57 69  |"+.(0)...D.. "Wi|
00000fe0  6d 70 5f 4c 6f 61 64 54  65 6d 70 6c 61 74 65 22  |mp_LoadTemplate"|
00000ff0  2c 2c 73 37 62 75 66 66  25 2c 73 37 69 6e 64 25  |,,s7buff%,s7ind%|
00001000  2c 73 37 69 6e 64 25 2b  35 30 30 2c 66 6f 6e 74  |,s7ind%+500,font|
00001010  25 2c 74 6e 61 6d 65 25  2c 30 0d 07 f8 29 c8 99  |%,tname%,0...)..|
00001020  20 22 57 69 6d 70 5f 43  72 65 61 74 65 57 69 6e  | "Wimp_CreateWin|
00001030  64 6f 77 22 2c 2c 73 37  62 75 66 66 25 20 b8 20  |dow",,s7buff% . |
00001040  73 37 25 0d 08 02 1b c8  99 20 22 57 69 6d 70 5f  |s7%...... "Wimp_|
00001050  43 6c 6f 73 65 54 65 6d  70 6c 61 74 65 22 0d 08  |CloseTemplate"..|
00001060  0c 05 e1 0d 08 16 04 0d  08 20 04 0d 08 2a 04 0d  |......... ...*..|
00001070  08 34 0b dd 20 f2 6d 65  6e 75 0d 08 3e 11 69 74  |.4.. .menu..>.it|
00001080  65 6d 25 3d 21 62 6c 6f  63 6b 25 0d 08 48 15 20  |em%=!block%..H. |
00001090  e7 20 69 74 65 6d 25 3d  31 20 8c 20 f2 65 6e 64  |. item%=1 . .end|
000010a0  0d 08 52 05 e1 0d ff                              |..R....|
000010a7