Home » Personal collection » Acorn hard disk » misc » misc2 » biobot/!BEEBARC/!RunImage
biobot/!BEEBARC/!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 » Personal collection » Acorn hard disk » misc » misc2 |
Filename: | biobot/!BEEBARC/!RunImage |
Read OK: | ✔ |
File size: | 1CA0 bytes |
Load address: | 0000 |
Exec address: | 0000 |
Duplicates
There are 2 duplicate copies of this file in the archive:
- Personal collection » Acorn ADFS disks » Archimedes » Dominic_4.ADF » !BEEBARC/!RunImage
- Personal collection » Acorn ADFS disks » Greaseweazled » adfs_Dominic_4.adf » !BEEBARC/!RunImage
- Personal collection » Acorn hard disk » misc » misc2 » biobot/!BEEBARC/!RunImage
File contents
10REM > <BeebArc$Dir>.!RunImage 20REM BeebArc by Darren Salt 30REM This release is FREEWARE - future releases may not be 40 50ON ERROR SYS "XWimp_CloseDown":ERROR EXT ERR,REPORT$ 60ver$="0.03a(03 Jul 1996)":PROCinit 70REPEAT 80 SYS "Wimp_Poll",1,q% TO r% 90 IF r%=17 OR r%=18 THEN 100 CASE q%!16 OF 110 WHEN 0:quit%=TRUE 120 WHEN &400C2:PROCinitialise:notme%=TRUE 130 ENDCASE 140 ENDIF 150UNTIL notme% OR quit% 160ON ERROR IF FNquery(REPORT$) ELSE SYS "XWimp_CloseDown":END 170WHILE NOT quit% 180 SYS "Wimp_Poll",1,q% TO r% 190 CASE r% OF 200 WHEN 2:SYS "Wimp_OpenWindow",,q% 210 WHEN 3:SYS "Wimp_CloseWindow",,q% 220 WHEN 6:PROCmouse 230 WHEN 7:PROCdrag 240 WHEN 8:PROCkey 250 WHEN 9:IF !q%=1:quit%=TRUE 260 WHEN 17,18:PROCmessage 270 ENDCASE 280ENDWHILE 290SYS "Wimp_CloseDown" 300END 310 320DEF PROCinit 330A%=2:B%=3:C%=5:D%=&400C2:E%=0 340SYS "Wimp_Initialise",310,&4B534154,"BeebArc",&8604 TO ,task% 350SYS "Wimp_SlotSize",-1,-1 TO app%:end%=HIMEM 360DIM q% 640,menu% 76:notme%=FALSE:quit%=FALSE 370ENDPROC 380 390DEF PROCinitialise 400LOCAL ERROR 410ON ERROR LOCAL RESTORE ERROR:SYS "XWimp_CloseTemplate":SYS "XWimp_CloseDown":ERROR EXT ERR,REPORT$ 420SYS "OS_ReadModeVariable",-1,5 TO ,,M%:a$="":IF M%<2 THEN a$="22" 430SYS "OS_File",5,"<BeebArc$Dir>.Sprites"+a$ TO ,,,,X%:X%+=4 440DIM spr% X%:!spr%=X%:SYS "OS_File",255,"<BeebArc$Dir>.Sprites"+a$,spr%+4 450SYS "Wimp_OpenTemplate",,"<BeebArc$Dir>.Templates" 460PROCloadt("progInfo"):$(q%!204)=ver$:SYS "Wimp_CreateWindow",,q% TO infow% 470PROCloadt("from_dfs"):SYS "Wimp_CreateWindow",,q% TO dfsw%:A%=q%!172 480B%=q%!176:PROCloadt("from_inf"):q%!168+=256:q%!172=A%:q%!176=B%:q%!180=256 490SYS "Wimp_CreateWindow",,q% TO infw%:PROCloadt("to_inf"):q%!168+=256 500q%!172=A%:q%!176=B%:q%!180=256:SYS "Wimp_CreateWindow",,q% TO arcw% 510saveptr%=A%:SYS "Wimp_CloseTemplate" 520RESTORE ERROR 530$menu%="BeebArc":menu%!12=&70207:menu%!16=120:menu%!20=44:menu%!24=0 540menu%!28=0:menu%!32=infow%:menu%!36=&7000021:$(menu%+40)="Info":menu%!52=128 550menu%!56=-1:menu%!60=&7000021:$(menu%+64)="Quit":mx%=92:my%=184 560!q%=-1:q%!4=0:q%!8=0:q%!12=68:q%!16=68:q%!20=&17000002 570$(q%+24)="!beebarc":SYS "Wimp_CreateIcon",,q% TO baricon% 580ENDPROC 590 600DEF PROCloadt(a$) 610LOCAL A%,B%:SYS "Wimp_LoadTemplate",,-1,,,-1,a$ TO ,,B%,,,,A% 620IF A% ELSE ERROR 1,"Template '"+a$+"' not found" 630DIM A% B%:SYS "Wimp_LoadTemplate",,q%,A%,A%+B%,-1,a$:q%!64=spr% 640ENDPROC 650 660DEF PROCmouse 670CASE q%!12 OF 680WHEN -2:IF q%!8 AND 2:SYS "Wimp_CreateMenu",,menu%,!q%-mx%,my% 690WHEN dfsw% 700 CASE q%!16 OF 710 WHEN 0:IF FNpath($saveptr%,TRUE) THEN IF FNfrom_dfs($saveptr%) 720 WHEN 1:PROCdodrag(q%!12):savefrom%=dfsw% 730 WHEN 3,4,5:q%!20=1<<21:q%!24=1<<21:SYS "Wimp_SetIconState",,q%+12 740 ENDCASE 750WHEN infw% 760 CASE q%!16 OF 770 WHEN 0:IF FNpath($saveptr%,TRUE) THEN IF FNfrom_inf($saveptr%) 780 WHEN 1:PROCdodrag(q%!12):savefrom%=infw% 790 ENDCASE 800WHEN arcw% 810 CASE q%!16 OF 820 WHEN 0:IF FNpath($saveptr%,TRUE) THEN IF FNto_inf($saveptr%) 830 WHEN 1:PROCdodrag(q%!12):savefrom%=arcw% 840 WHEN 3:SYS "Wimp_GetIconState",,q%+12:q%!16=1:q%!20=q%!36 AND 1<<21 850 q%!24=1<<21:SYS "Wimp_SetIconState",,q%+12 860 ENDCASE 870ENDCASE 880ENDPROC 890 900DEF PROCdodrag(A%) 910!q%=A%:q%!4=1:SYS "Wimp_GetIconState",,q%:q%!40=A% 920SYS "Wimp_GetWindowState",,q%+40:q%!8+=q%!44-q%!60:q%!16+=q%!44-q%!60 930q%!12+=q%!56-q%!64:q%!20+=q%!56-q%!64:q%!24=0:q%!28=0:q%!32=-1:q%!36=-1 940SYS "OS_Byte",161,28 TO ,,A% 950IF !q%=arcw% THEN q%!44=1:SYS "Wimp_GetIconState",,q%+40:ELSE q%!64=0 960IF q%!64 AND 1<<21 THEN a$="file_ddc":ELSE a$="directory" 970IF A% AND 2 THEN 980 SYS &62400,197,1,a$,q%+8,q%+24 TO ;B%:IF B% AND 1:A%=0 990ENDIF 1000IF A% AND 2 ELSE !q%=0:q%!4=5:SYS "Wimp_DragBox",,q% 1010ENDPROC 1020 1030DEF PROCkey 1040IF q%!4=2 AND q%!24=13 THEN 1050 CASE !q% OF 1060 WHEN dfsw%:IF FNpath($saveptr%,TRUE) THEN IF FNfrom_dfs($saveptr%) 1070 WHEN infw%:IF FNpath($saveptr%,TRUE) THEN IF FNfrom_inf($saveptr%) 1080 WHEN arcw%:IF FNpath($saveptr%,TRUE) THEN IF FNto_inf($saveptr%) 1090 OTHERWISE:SYS "Wimp_ProcessKey",q%!24 1100 ENDCASE 1110ELSE SYS "Wimp_ProcessKey",q%!24 1120ENDIF 1130ENDPROC 1140 1150DEF PROCdrag 1160SYS "Wimp_GetPointerInfo",,q%+128 1170IF q%!140=dfsw% OR q%!140=infw% OR q%!140=arcw% THEN ENDPROC 1180IF q%!140<0 AND (q%!144<0 OR q%!144=baricon%) THEN ENDPROC 1190IF q%!140=-2THEN PROCtellthemoff("Can't save to another application"):ENDPROC 1200q%!20=q%!140:q%!24=q%!144:q%!36=-1:$(q%+44)=FNleaf($saveptr%)+CHR$ 0:!q%=256 1210q%!12=0:q%!16=1:q%!28=1:q%!32=&7FFFFFFF 1220SYS "Wimp_SendMessage",17,q%,q%!20,q%!24 1230ENDPROC 1240 1250DEF PROCmessage 1260CASE q%!16 OF 1270WHEN 0:quit%=TRUE 1280WHEN 2:PROCdatasaveack 1290WHEN 3:PROCdataload 1300WHEN &400C2:a$=FN0(q%+28) 1310 IF a$="BeebArc" THEN 1320 !q%=20:q%!12=q%!8:q%!16=0:SYS "Wimp_SendMessage",17,q%,q%!4 1330 !q%=1:$(q%+4)="You can't run two copies of BeebArc at once" 1340 SYS "Wimp_ReportError",q%,1 1350 ENDIF 1360ENDCASE 1370ENDPROC 1380 1390DEF PROCdatasaveack 1400IF q%!4=task%:ENDPROC:ELSE f$=FN0(q%+44) 1410IF f$="<Wimp$Scrap>" THEN PROCtellthemoff("Can't transfer to another application"):ENDPROC 1420q%!16=3:q%!12=q%!8:SYS "Wimp_SendMessage",17,q%,q%!4:A%=0 1430CASE savefrom% OF 1440WHEN dfsw%:A%=FNfrom_dfs(f$) 1450WHEN infw%:A%=FNfrom_inf(f$) 1460WHEN arcw%:A%=FNto_inf(f$) 1470ENDCASE 1480IF A% ELSE SYS "Wimp_CreateMenu",,-1 1490ENDPROC 1500 1510DEF PROCdataload 1520SYS "OS_File",5,q%+44 TO I% 1530IF I%=2 OR I%=3 OR q%!40=&FFD OR q%!40=&1000 OR q%!40=&2000 ELSE ENDPROC 1540IF FNpath(FN0(q%+44),FALSE) ELSE ENDPROC 1550in$=FN0(q%+44):$saveptr%=in$+"'" 1560IF q%!40=&FFD THEN 1570 savefrom%=dfsw%:I%=-1 1580 LOCAL ERROR 1590 ON ERROR LOCAL RESTORE ERROR:SYS "XOS_Find",,I%:ERROR ERR,REPORT$ 1600 I%=OPENIN in$:IF EXT#I%<512 THEN ERROR 1,"Not a disk image" 1610 PTR#I%=&106:L%=(BGET#I% AND 15)<<16 OR BGET#I%<<8 1620 IF L%<>&19000 AND L%<>&32000 THEN ERROR 1,"Not a disk image" 1630 dsd%=L%<EXT#I%:CLOSE#I% 1640 RESTORE ERROR 1650 !q%=dfsw%:q%!8=1<<22 AND NOT dsd%:q%!12=1<<22 1660 FOR q%!4=3 TO 5:SYS "Wimp_SetIconState",,q%:NEXT 1670ELSE SYS "OS_File",5,in$+".*/inf" TO A% 1680 IF A% ELSE SYS "OS_File",5,in$+".#######/in" TO A% 1690 IF A% ELSE SYS "OS_File",5,in$+".########/i" TO A% 1700 IF A% ELSE SYS "OS_File",5,in$+".#########/" TO A% 1710 IF A%=1 THEN 1720 savefrom%=infw% 1730 ELSE savefrom%=arcw%:SYS "XOS_Module",18,"SparkFS" TO ;A% 1740 IF A% AND 1 ELSE SYS "XOS_Module",18,"Zip" TO ;A% 1750 IF A% AND 1 THEN q%!8=1<<22:q%!12=3<<21:ELSE q%!8=0:q%!12=1<<22 1760 !q%=arcw%:q%!4=3:SYS "Wimp_SetIconState",,q% 1770 ENDIF 1780ENDIF 1790SYS "Wimp_CreateMenu",,savefrom%,ADVAL7-64,ADVAL8+64 1800ENDPROC 1810 1820DEF PROCtellthemoff($(q%+4)) 1830LOCAL !q%:SYS "Wimp_ReportError",q%,1,"BeebArc" 1840ENDPROC 1850 1860DEF FNquery($(q%+4)) 1870LOCAL !q%:SYS "Wimp_ReportError",q%,3,"BeebArc" TO ,!q% 1880=!q%=1 1890 1900DEF FN0(A%) 1910LOCAL a$:WHILE ?A%>31:a$+=CHR$ ?A%:A%+=1:ENDWHILE 1920=a$ 1930 1940DEF FNpath(f$,F%) 1950LOCAL i%:i%=LEN f$+1:IF INSTR(f$,":"):i%=INSTR(f$,":")+1 1960f$=MID$(f$,i%):i%=FALSE 1970IF INSTR(f$,"."):f$=MID$(f$,INSTR(f$,".")+1):IF INSTR(f$,"."):i%=TRUE 1980IF i% ELSE IF F%:PROCtellthemoff("To save, drag the icon to a directory display") 1990=i% 2000 2010DEF FNleaf(f$) 2020WHILE INSTR(f$,":"):f$=MID$(f$,INSTR(f$,":")+1):ENDWHILE 2030WHILE INSTR(f$,"."):f$=MID$(f$,INSTR(f$,".")+1):ENDWHILE 2040=f$ 2050 2060DEF FNfrom_dfs(out$) 2070LOCAL a$ 2080IF dsd% THEN 2090 a$=" -side ":!q%=dfsw%:q%!4=3:SYS "Wimp_GetIconState",,q% 2100 IF q%!24 AND 1<<21 THEN 2110 a$+=":0" 2120 ELSE q%!4=4:SYS "Wimp_GetIconState",,q% 2130 IF q%!24 AND 1<<21 THEN a$+=":2":ELSE a$+=":0:2" 2140 ENDIF 2150ENDIF 2160P%=q%:PROCapp("<BeebArc$Dir>.DFS_Split "):PROCapp(in$):PROCapp(" ") 2170PROCapp(out$):PROCapp(a$):SYS "OS_File",5,in$ TO ,,,,L% 2180=FNrun(L%+65536) 2190 2200DEF FNfrom_inf(out$) 2210LOCAL A%:!q%=infw%:q%!4=3:SYS "Wimp_GetIconState",,q%:A%=q%!24 AND 1<<21 2220P%=q%:PROCapp("<BeebArc$Dir>.Un/inf ") 2230PROCapp(in$):PROCapp(" "):PROCapp(out$):IF A% THEN PROCapp(" -f") 2240=FNrun(65536) 2250 2260DEF FNto_inf(out$) 2270LOCAL A%:!q%=arcw%:q%!4=3:SYS "Wimp_GetIconState",,q%:A%=q%!24 AND 1<<21 2280P%=q%:PROCapp("<BeebArc$Dir>.Add/inf ") 2290PROCapp(in$):PROCapp(" "):PROCapp(out$):IF A% THEN PROCapp(" -a") 2300=FNrun(65536) 2310 2320DEF PROCapp(a$) 2330$P%=a$+CHR$ 0:P%+=LEN a$ 2340ENDPROC 2350 2360DEF FNrun(L%) 2370LOCAL A%,B%:SYS "Wimp_SlotSize",-1,-1 TO ,A%:SYS "Wimp_SlotSize",-1,L% TO ,B% 2380IF B%<L% THEN PROCtellthemoff("Not enough memory - free some then try again"):ENDPROC 2390SYS "Hourglass_On":SYS "Wimp_StartTask",q%:SYS "Wimp_SlotSize",-1,A% 2400SYS "Hourglass_Off" 2410SYS "OS_ReadVarVal","Sys$ReturnCode",q%,4:SYS "OS_WriteN",q% TO a$ 2420=EVAL a$
� > <BeebArc$Dir>.!RunImage � BeebArc by Darren Salt ;� This release is FREEWARE - future releases may not be ( 2%� � ș "XWimp_CloseDown":� � �,�$ <#ver$="0.03a(03 Jul 1996)":�init F� P ș "Wimp_Poll",1,q% � r% Z � r%=17 � r%=18 � d Ȏ q%!16 � n � 0:quit%=� x# � &400C2:�initialise:notme%=� � � � � �� notme% � quit% �-� � � �query(�$) � ș "XWimp_CloseDown":� �ȕ � quit% � ș "Wimp_Poll",1,q% � r% � Ȏ r% � �! � 2:ș "Wimp_OpenWindow",,q% �" � 3:ș "Wimp_CloseWindow",,q% � � 6:�mouse � � 7:�drag � � 8:�key � � 9:� !q%=1:quit%=� � 17,18:�message � � "ș "Wimp_CloseDown" ,� 6 @� �init J!A%=2:B%=3:C%=5:D%=&400C2:E%=0 T?ș "Wimp_Initialise",310,&4B534154,"BeebArc",&8604 � ,task% ^*ș "Wimp_SlotSize",-1,-1 � app%:end%=� h&� q% 640,menu% 76:notme%=�:quit%=� r� | �� �initialise �� � �D� � � � �:ș "XWimp_CloseTemplate":ș "XWimp_CloseDown":� � �,�$ �?ș "OS_ReadModeVariable",-1,5 � ,,M%:a$="":� M%<2 � a$="22" �<ș "OS_File",5,"<BeebArc$Dir>.Sprites"+a$ � ,,,,X%:X%+=4 �I� spr% X%:!spr%=X%:ș "OS_File",255,"<BeebArc$Dir>.Sprites"+a$,spr%+4 �5ș "Wimp_OpenTemplate",,"<BeebArc$Dir>.Templates" �I�loadt("progInfo"):$(q%!204)=ver$:ș "Wimp_CreateWindow",,q% � infow% �C�loadt("from_dfs"):ș "Wimp_CreateWindow",,q% � dfsw%:A%=q%!172 �KB%=q%!176:�loadt("from_inf"):q%!168+=256:q%!172=A%:q%!176=B%:q%!180=256 �Cș "Wimp_CreateWindow",,q% � infw%:�loadt("to_inf"):q%!168+=256 �Eq%!172=A%:q%!176=B%:q%!180=256:ș "Wimp_CreateWindow",,q% � arcw% �'saveptr%=A%:ș "Wimp_CloseTemplate" � � H$menu%="BeebArc":menu%!12=&70207:menu%!16=120:menu%!20=44:menu%!24=0 Pmenu%!28=0:menu%!32=infow%:menu%!36=&7000021:$(menu%+40)="Info":menu%!52=128 &Cmenu%!56=-1:menu%!60=&7000021:$(menu%+64)="Quit":mx%=92:my%=184 0:!q%=-1:q%!4=0:q%!8=0:q%!12=68:q%!16=68:q%!20=&17000002 :;$(q%+24)="!beebarc":ș "Wimp_CreateIcon",,q% � baricon% D� N X� �loadt(a$) b;� A%,B%:ș "Wimp_LoadTemplate",,-1,,,-1,a$ � ,,B%,,,,A% l,� A% � � 1,"Template '"+a$+"' not found" v@� A% B%:ș "Wimp_LoadTemplate",,q%,A%,A%+B%,-1,a$:q%!64=spr% �� � �� �mouse �Ȏ q%!12 � �;� -2:� q%!8 � 2:ș "Wimp_CreateMenu",,menu%,!q%-mx%,my% �� dfsw% � Ȏ q%!16 � �6 � 0:� �path($saveptr%,�) � � �from_dfs($saveptr%) �' � 1:�dodrag(q%!12):savefrom%=dfsw% �B � 3,4,5:q%!20=1<<21:q%!24=1<<21:ș "Wimp_SetIconState",,q%+12 � � �� infw% � Ȏ q%!16 � 6 � 0:� �path($saveptr%,�) � � �from_inf($saveptr%) ' � 1:�dodrag(q%!12):savefrom%=infw% � � arcw% * Ȏ q%!16 � 44 � 0:� �path($saveptr%,�) � � �to_inf($saveptr%) >' � 1:�dodrag(q%!12):savefrom%=arcw% HB � 3:ș "Wimp_GetIconState",,q%+12:q%!16=1:q%!20=q%!36 � 1<<21 R/ q%!24=1<<21:ș "Wimp_SetIconState",,q%+12 \ � f� p� z �� �dodrag(A%) �5!q%=A%:q%!4=1:ș "Wimp_GetIconState",,q%:q%!40=A% �Hș "Wimp_GetWindowState",,q%+40:q%!8+=q%!44-q%!60:q%!16+=q%!44-q%!60 �Kq%!12+=q%!56-q%!64:q%!20+=q%!56-q%!64:q%!24=0:q%!28=0:q%!32=-1:q%!36=-1 �ș "OS_Byte",161,28 � ,,A% �A� !q%=arcw% � q%!44=1:ș "Wimp_GetIconState",,q%+40:� q%!64=0 �4� q%!64 � 1<<21 � a$="file_ddc":� a$="directory" �� A% � 2 � �6 ș &62400,197,1,a$,q%+8,q%+24 � ;B%:� B% � 1:A%=0 �� �1� A% � 2 � !q%=0:q%!4=5:ș "Wimp_DragBox",,q% �� � � �key � q%!4=2 � q%!24=13 � Ȏ !q% � $: � dfsw%:� �path($saveptr%,�) � � �from_dfs($saveptr%) .: � infw%:� �path($saveptr%,�) � � �from_inf($saveptr%) 88 � arcw%:� �path($saveptr%,�) � � �to_inf($saveptr%) B! :ș "Wimp_ProcessKey",q%!24 L � V � ș "Wimp_ProcessKey",q%!24 `� j� t ~� �drag �$ș "Wimp_GetPointerInfo",,q%+128 �4� q%!140=dfsw% � q%!140=infw% � q%!140=arcw% � � �1� q%!140<0 � (q%!144<0 � q%!144=baricon%) � � �D� q%!140=-2� �tellthemoff("Can't save to another application"):� �Lq%!20=q%!140:q%!24=q%!144:q%!36=-1:$(q%+44)=�leaf($saveptr%)+� 0:!q%=256 �+q%!12=0:q%!16=1:q%!28=1:q%!32=&7FFFFFFF �+ș "Wimp_SendMessage",17,q%,q%!20,q%!24 �� � �� �message �Ȏ q%!16 � �� 0:quit%=� � 2:�datasaveack � 3:�dataload � &400C2:a$=�0(q%+28) � a$="BeebArc" � (@ !q%=20:q%!12=q%!8:q%!16=0:ș "Wimp_SendMessage",17,q%,q%!4 2A !q%=1:$(q%+4)="You can't run two copies of BeebArc at once" < ș "Wimp_ReportError",q%,1 F � P� Z� d n� �datasaveack x!� q%!4=task%:�:� f$=�0(q%+44) �Q� f$="<Wimp$Scrap>" � �tellthemoff("Can't transfer to another application"):� �<q%!16=3:q%!12=q%!8:ș "Wimp_SendMessage",17,q%,q%!4:A%=0 �Ȏ savefrom% � �� dfsw%:A%=�from_dfs(f$) �� infw%:A%=�from_inf(f$) �� arcw%:A%=�to_inf(f$) �� �#� A% � ș "Wimp_CreateMenu",,-1 �� � �� �dataload �ș "OS_File",5,q%+44 � I% �>� I%=2 � I%=3 � q%!40=&FFD � q%!40=&1000 � q%!40=&2000 � � � �path(�0(q%+44),�) � � #in$=�0(q%+44):$saveptr%=in$+"'" � q%!40=&FFD � " savefrom%=dfsw%:I%=-1 , � � 6' � � � � �:ș "XOS_Find",,I%:� �,�$ @1 I%=� in$:� �#I%<512 � � 1,"Not a disk image" J+ �#I%=&106:L%=(�#I% � 15)<<16 � �#I%<<8 T7 � L%<>&19000 � L%<>&32000 � � 1,"Not a disk image" ^ dsd%=L%<�#I%:�#I% h � � r. !q%=dfsw%:q%!8=1<<22 � � dsd%:q%!12=1<<22 |. � q%!4=3 � 5:ș "Wimp_SetIconState",,q%:� �&� ș "OS_File",5,in$+".*/inf" � A% �1 � A% � ș "OS_File",5,in$+".#######/in" � A% �1 � A% � ș "OS_File",5,in$+".########/i" � A% �1 � A% � ș "OS_File",5,in$+".#########/" � A% � � A%=1 � � savefrom%=infw% �9 � savefrom%=arcw%:ș "XOS_Module",18,"SparkFS" � ;A% �/ � A% � 1 � ș "XOS_Module",18,"Zip" � ;A% �< � A% � 1 � q%!8=1<<22:q%!12=3<<21:� q%!8=0:q%!12=1<<22 �1 !q%=arcw%:q%!4=3:ș "Wimp_SetIconState",,q% � � �� �/ș "Wimp_CreateMenu",,savefrom%,�7-64,�8+64 � � �tellthemoff($(q%+4)) &.� !q%:ș "Wimp_ReportError",q%,1,"BeebArc" 0� : D� �query($(q%+4)) N5� !q%:ș "Wimp_ReportError",q%,3,"BeebArc" � ,!q% X =!q%=1 b l� �0(A%) v$� a$:ȕ ?A%>31:a$+=� ?A%:A%+=1:� �=a$ � �� �path(f$,F%) �+� i%:i%=� f$+1:� �f$,":"):i%=�f$,":")+1 �f$=�f$,i%):i%=� �1� �f$,"."):f$=�f$,�f$,".")+1):� �f$,"."):i%=� �M� i% � � F%:�tellthemoff("To save, drag the icon to a directory display") �=i% � �� �leaf(f$) �$ȕ �f$,":"):f$=�f$,�f$,":")+1):� �$ȕ �f$,"."):f$=�f$,�f$,".")+1):� �=f$ � �from_dfs(out$) � a$ � dsd% � *= a$=" -side ":!q%=dfsw%:q%!4=3:ș "Wimp_GetIconState",,q% 4 � q%!24 � 1<<21 � > a$+=":0" H( � q%!4=4:ș "Wimp_GetIconState",,q% R- � q%!24 � 1<<21 � a$+=":2":� a$+=":0:2" \ � f� p>P%=q%:�app("<BeebArc$Dir>.DFS_Split "):�app(in$):�app(" ") z3�app(out$):�app(a$):ș "OS_File",5,in$ � ,,,,L% �=�run(L%+65536) � �� �from_inf(out$) �E� A%:!q%=infw%:q%!4=3:ș "Wimp_GetIconState",,q%:A%=q%!24 � 1<<21 �'P%=q%:�app("<BeebArc$Dir>.Un/inf ") �5�app(in$):�app(" "):�app(out$):� A% � �app(" -f") �=�run(65536) � �� �to_inf(out$) �E� A%:!q%=arcw%:q%!4=3:ș "Wimp_GetIconState",,q%:A%=q%!24 � 1<<21 �(P%=q%:�app("<BeebArc$Dir>.Add/inf ") �5�app(in$):�app(" "):�app(out$):� A% � �app(" -a") �=�run(65536) � �app(a$) $P%=a$+� 0:P%+=� a$ $� . 8� �run(L%) BI� A%,B%:ș "Wimp_SlotSize",-1,-1 � ,A%:ș "Wimp_SlotSize",-1,L% � ,B% LL� B%<L% � �tellthemoff("Not enough memory - free some then try again"):� VEș "Hourglass_On":ș "Wimp_StartTask",q%:ș "Wimp_SlotSize",-1,A% `ș "Hourglass_Off" jCș "OS_ReadVarVal","Sys$ReturnCode",q%,4:ș "OS_WriteN",q% � a$ t =� a$ �
00000000 0d 00 0a 1f f4 20 3e 20 3c 42 65 65 62 41 72 63 |..... > <BeebArc| 00000010 24 44 69 72 3e 2e 21 52 75 6e 49 6d 61 67 65 0d |$Dir>.!RunImage.| 00000020 00 14 1c f4 20 42 65 65 62 41 72 63 20 62 79 20 |.... BeebArc by | 00000030 44 61 72 72 65 6e 20 53 61 6c 74 0d 00 1e 3b f4 |Darren Salt...;.| 00000040 20 54 68 69 73 20 72 65 6c 65 61 73 65 20 69 73 | This release is| 00000050 20 46 52 45 45 57 41 52 45 20 2d 20 66 75 74 75 | FREEWARE - futu| 00000060 72 65 20 72 65 6c 65 61 73 65 73 20 6d 61 79 20 |re releases may | 00000070 6e 6f 74 20 62 65 0d 00 28 04 0d 00 32 25 ee 20 |not be..(...2%. | 00000080 85 20 c8 99 20 22 58 57 69 6d 70 5f 43 6c 6f 73 |. .. "XWimp_Clos| 00000090 65 44 6f 77 6e 22 3a 85 20 a2 20 9f 2c f6 24 0d |eDown":. . .,.$.| 000000a0 00 3c 23 76 65 72 24 3d 22 30 2e 30 33 61 28 30 |.<#ver$="0.03a(0| 000000b0 33 20 4a 75 6c 20 31 39 39 36 29 22 3a f2 69 6e |3 Jul 1996)":.in| 000000c0 69 74 0d 00 46 05 f5 0d 00 50 1d 20 c8 99 20 22 |it..F....P. .. "| 000000d0 57 69 6d 70 5f 50 6f 6c 6c 22 2c 31 2c 71 25 20 |Wimp_Poll",1,q% | 000000e0 b8 20 72 25 0d 00 5a 16 20 e7 20 72 25 3d 31 37 |. r%..Z. . r%=17| 000000f0 20 84 20 72 25 3d 31 38 20 8c 0d 00 64 10 20 20 | . r%=18 ...d. | 00000100 c8 8e 20 71 25 21 31 36 20 ca 0d 00 6e 11 20 20 |.. q%!16 ...n. | 00000110 c9 20 30 3a 71 75 69 74 25 3d b9 0d 00 78 23 20 |. 0:quit%=...x# | 00000120 20 c9 20 26 34 30 30 43 32 3a f2 69 6e 69 74 69 | . &400C2:.initi| 00000130 61 6c 69 73 65 3a 6e 6f 74 6d 65 25 3d b9 0d 00 |alise:notme%=...| 00000140 82 07 20 20 cb 0d 00 8c 06 20 cd 0d 00 96 14 fd |.. ..... ......| 00000150 20 6e 6f 74 6d 65 25 20 84 20 71 75 69 74 25 0d | notme% . quit%.| 00000160 00 a0 2d ee 20 85 20 e7 20 a4 71 75 65 72 79 28 |..-. . . .query(| 00000170 f6 24 29 20 8b 20 c8 99 20 22 58 57 69 6d 70 5f |.$) . .. "XWimp_| 00000180 43 6c 6f 73 65 44 6f 77 6e 22 3a e0 0d 00 aa 0e |CloseDown":.....| 00000190 c8 95 20 ac 20 71 75 69 74 25 0d 00 b4 1d 20 c8 |.. . quit%.... .| 000001a0 99 20 22 57 69 6d 70 5f 50 6f 6c 6c 22 2c 31 2c |. "Wimp_Poll",1,| 000001b0 71 25 20 b8 20 72 25 0d 00 be 0c 20 c8 8e 20 72 |q% . r%.... .. r| 000001c0 25 20 ca 0d 00 c8 21 20 c9 20 32 3a c8 99 20 22 |% ....! . 2:.. "| 000001d0 57 69 6d 70 5f 4f 70 65 6e 57 69 6e 64 6f 77 22 |Wimp_OpenWindow"| 000001e0 2c 2c 71 25 0d 00 d2 22 20 c9 20 33 3a c8 99 20 |,,q%..." . 3:.. | 000001f0 22 57 69 6d 70 5f 43 6c 6f 73 65 57 69 6e 64 6f |"Wimp_CloseWindo| 00000200 77 22 2c 2c 71 25 0d 00 dc 0f 20 c9 20 36 3a f2 |w",,q%.... . 6:.| 00000210 6d 6f 75 73 65 0d 00 e6 0e 20 c9 20 37 3a f2 64 |mouse.... . 7:.d| 00000220 72 61 67 0d 00 f0 0d 20 c9 20 38 3a f2 6b 65 79 |rag.... . 8:.key| 00000230 0d 00 fa 18 20 c9 20 39 3a e7 20 21 71 25 3d 31 |.... . 9:. !q%=1| 00000240 3a 71 75 69 74 25 3d b9 0d 01 04 15 20 c9 20 31 |:quit%=..... . 1| 00000250 37 2c 31 38 3a f2 6d 65 73 73 61 67 65 0d 01 0e |7,18:.message...| 00000260 06 20 cb 0d 01 18 05 ce 0d 01 22 17 c8 99 20 22 |. ........"... "| 00000270 57 69 6d 70 5f 43 6c 6f 73 65 44 6f 77 6e 22 0d |Wimp_CloseDown".| 00000280 01 2c 05 e0 0d 01 36 04 0d 01 40 0b dd 20 f2 69 |.,....6...@.. .i| 00000290 6e 69 74 0d 01 4a 21 41 25 3d 32 3a 42 25 3d 33 |nit..J!A%=2:B%=3| 000002a0 3a 43 25 3d 35 3a 44 25 3d 26 34 30 30 43 32 3a |:C%=5:D%=&400C2:| 000002b0 45 25 3d 30 0d 01 54 3f c8 99 20 22 57 69 6d 70 |E%=0..T?.. "Wimp| 000002c0 5f 49 6e 69 74 69 61 6c 69 73 65 22 2c 33 31 30 |_Initialise",310| 000002d0 2c 26 34 42 35 33 34 31 35 34 2c 22 42 65 65 62 |,&4B534154,"Beeb| 000002e0 41 72 63 22 2c 26 38 36 30 34 20 b8 20 2c 74 61 |Arc",&8604 . ,ta| 000002f0 73 6b 25 0d 01 5e 2a c8 99 20 22 57 69 6d 70 5f |sk%..^*.. "Wimp_| 00000300 53 6c 6f 74 53 69 7a 65 22 2c 2d 31 2c 2d 31 20 |SlotSize",-1,-1 | 00000310 b8 20 61 70 70 25 3a 65 6e 64 25 3d 93 0d 01 68 |. app%:end%=...h| 00000320 26 de 20 71 25 20 36 34 30 2c 6d 65 6e 75 25 20 |&. q% 640,menu% | 00000330 37 36 3a 6e 6f 74 6d 65 25 3d a3 3a 71 75 69 74 |76:notme%=.:quit| 00000340 25 3d a3 0d 01 72 05 e1 0d 01 7c 04 0d 01 86 11 |%=...r....|.....| 00000350 dd 20 f2 69 6e 69 74 69 61 6c 69 73 65 0d 01 90 |. .initialise...| 00000360 07 ea 20 85 0d 01 9a 44 ee 20 85 20 ea 20 f7 20 |.. ....D. . . . | 00000370 85 3a c8 99 20 22 58 57 69 6d 70 5f 43 6c 6f 73 |.:.. "XWimp_Clos| 00000380 65 54 65 6d 70 6c 61 74 65 22 3a c8 99 20 22 58 |eTemplate":.. "X| 00000390 57 69 6d 70 5f 43 6c 6f 73 65 44 6f 77 6e 22 3a |Wimp_CloseDown":| 000003a0 85 20 a2 20 9f 2c f6 24 0d 01 a4 3f c8 99 20 22 |. . .,.$...?.. "| 000003b0 4f 53 5f 52 65 61 64 4d 6f 64 65 56 61 72 69 61 |OS_ReadModeVaria| 000003c0 62 6c 65 22 2c 2d 31 2c 35 20 b8 20 2c 2c 4d 25 |ble",-1,5 . ,,M%| 000003d0 3a 61 24 3d 22 22 3a e7 20 4d 25 3c 32 20 8c 20 |:a$="":. M%<2 . | 000003e0 61 24 3d 22 32 32 22 0d 01 ae 3c c8 99 20 22 4f |a$="22"...<.. "O| 000003f0 53 5f 46 69 6c 65 22 2c 35 2c 22 3c 42 65 65 62 |S_File",5,"<Beeb| 00000400 41 72 63 24 44 69 72 3e 2e 53 70 72 69 74 65 73 |Arc$Dir>.Sprites| 00000410 22 2b 61 24 20 b8 20 2c 2c 2c 2c 58 25 3a 58 25 |"+a$ . ,,,,X%:X%| 00000420 2b 3d 34 0d 01 b8 49 de 20 73 70 72 25 20 58 25 |+=4...I. spr% X%| 00000430 3a 21 73 70 72 25 3d 58 25 3a c8 99 20 22 4f 53 |:!spr%=X%:.. "OS| 00000440 5f 46 69 6c 65 22 2c 32 35 35 2c 22 3c 42 65 65 |_File",255,"<Bee| 00000450 62 41 72 63 24 44 69 72 3e 2e 53 70 72 69 74 65 |bArc$Dir>.Sprite| 00000460 73 22 2b 61 24 2c 73 70 72 25 2b 34 0d 01 c2 35 |s"+a$,spr%+4...5| 00000470 c8 99 20 22 57 69 6d 70 5f 4f 70 65 6e 54 65 6d |.. "Wimp_OpenTem| 00000480 70 6c 61 74 65 22 2c 2c 22 3c 42 65 65 62 41 72 |plate",,"<BeebAr| 00000490 63 24 44 69 72 3e 2e 54 65 6d 70 6c 61 74 65 73 |c$Dir>.Templates| 000004a0 22 0d 01 cc 49 f2 6c 6f 61 64 74 28 22 70 72 6f |"...I.loadt("pro| 000004b0 67 49 6e 66 6f 22 29 3a 24 28 71 25 21 32 30 34 |gInfo"):$(q%!204| 000004c0 29 3d 76 65 72 24 3a c8 99 20 22 57 69 6d 70 5f |)=ver$:.. "Wimp_| 000004d0 43 72 65 61 74 65 57 69 6e 64 6f 77 22 2c 2c 71 |CreateWindow",,q| 000004e0 25 20 b8 20 69 6e 66 6f 77 25 0d 01 d6 43 f2 6c |% . infow%...C.l| 000004f0 6f 61 64 74 28 22 66 72 6f 6d 5f 64 66 73 22 29 |oadt("from_dfs")| 00000500 3a c8 99 20 22 57 69 6d 70 5f 43 72 65 61 74 65 |:.. "Wimp_Create| 00000510 57 69 6e 64 6f 77 22 2c 2c 71 25 20 b8 20 64 66 |Window",,q% . df| 00000520 73 77 25 3a 41 25 3d 71 25 21 31 37 32 0d 01 e0 |sw%:A%=q%!172...| 00000530 4b 42 25 3d 71 25 21 31 37 36 3a f2 6c 6f 61 64 |KB%=q%!176:.load| 00000540 74 28 22 66 72 6f 6d 5f 69 6e 66 22 29 3a 71 25 |t("from_inf"):q%| 00000550 21 31 36 38 2b 3d 32 35 36 3a 71 25 21 31 37 32 |!168+=256:q%!172| 00000560 3d 41 25 3a 71 25 21 31 37 36 3d 42 25 3a 71 25 |=A%:q%!176=B%:q%| 00000570 21 31 38 30 3d 32 35 36 0d 01 ea 43 c8 99 20 22 |!180=256...C.. "| 00000580 57 69 6d 70 5f 43 72 65 61 74 65 57 69 6e 64 6f |Wimp_CreateWindo| 00000590 77 22 2c 2c 71 25 20 b8 20 69 6e 66 77 25 3a f2 |w",,q% . infw%:.| 000005a0 6c 6f 61 64 74 28 22 74 6f 5f 69 6e 66 22 29 3a |loadt("to_inf"):| 000005b0 71 25 21 31 36 38 2b 3d 32 35 36 0d 01 f4 45 71 |q%!168+=256...Eq| 000005c0 25 21 31 37 32 3d 41 25 3a 71 25 21 31 37 36 3d |%!172=A%:q%!176=| 000005d0 42 25 3a 71 25 21 31 38 30 3d 32 35 36 3a c8 99 |B%:q%!180=256:..| 000005e0 20 22 57 69 6d 70 5f 43 72 65 61 74 65 57 69 6e | "Wimp_CreateWin| 000005f0 64 6f 77 22 2c 2c 71 25 20 b8 20 61 72 63 77 25 |dow",,q% . arcw%| 00000600 0d 01 fe 27 73 61 76 65 70 74 72 25 3d 41 25 3a |...'saveptr%=A%:| 00000610 c8 99 20 22 57 69 6d 70 5f 43 6c 6f 73 65 54 65 |.. "Wimp_CloseTe| 00000620 6d 70 6c 61 74 65 22 0d 02 08 07 f7 20 85 0d 02 |mplate"..... ...| 00000630 12 48 24 6d 65 6e 75 25 3d 22 42 65 65 62 41 72 |.H$menu%="BeebAr| 00000640 63 22 3a 6d 65 6e 75 25 21 31 32 3d 26 37 30 32 |c":menu%!12=&702| 00000650 30 37 3a 6d 65 6e 75 25 21 31 36 3d 31 32 30 3a |07:menu%!16=120:| 00000660 6d 65 6e 75 25 21 32 30 3d 34 34 3a 6d 65 6e 75 |menu%!20=44:menu| 00000670 25 21 32 34 3d 30 0d 02 1c 50 6d 65 6e 75 25 21 |%!24=0...Pmenu%!| 00000680 32 38 3d 30 3a 6d 65 6e 75 25 21 33 32 3d 69 6e |28=0:menu%!32=in| 00000690 66 6f 77 25 3a 6d 65 6e 75 25 21 33 36 3d 26 37 |fow%:menu%!36=&7| 000006a0 30 30 30 30 32 31 3a 24 28 6d 65 6e 75 25 2b 34 |000021:$(menu%+4| 000006b0 30 29 3d 22 49 6e 66 6f 22 3a 6d 65 6e 75 25 21 |0)="Info":menu%!| 000006c0 35 32 3d 31 32 38 0d 02 26 43 6d 65 6e 75 25 21 |52=128..&Cmenu%!| 000006d0 35 36 3d 2d 31 3a 6d 65 6e 75 25 21 36 30 3d 26 |56=-1:menu%!60=&| 000006e0 37 30 30 30 30 32 31 3a 24 28 6d 65 6e 75 25 2b |7000021:$(menu%+| 000006f0 36 34 29 3d 22 51 75 69 74 22 3a 6d 78 25 3d 39 |64)="Quit":mx%=9| 00000700 32 3a 6d 79 25 3d 31 38 34 0d 02 30 3a 21 71 25 |2:my%=184..0:!q%| 00000710 3d 2d 31 3a 71 25 21 34 3d 30 3a 71 25 21 38 3d |=-1:q%!4=0:q%!8=| 00000720 30 3a 71 25 21 31 32 3d 36 38 3a 71 25 21 31 36 |0:q%!12=68:q%!16| 00000730 3d 36 38 3a 71 25 21 32 30 3d 26 31 37 30 30 30 |=68:q%!20=&17000| 00000740 30 30 32 0d 02 3a 3b 24 28 71 25 2b 32 34 29 3d |002..:;$(q%+24)=| 00000750 22 21 62 65 65 62 61 72 63 22 3a c8 99 20 22 57 |"!beebarc":.. "W| 00000760 69 6d 70 5f 43 72 65 61 74 65 49 63 6f 6e 22 2c |imp_CreateIcon",| 00000770 2c 71 25 20 b8 20 62 61 72 69 63 6f 6e 25 0d 02 |,q% . baricon%..| 00000780 44 05 e1 0d 02 4e 04 0d 02 58 10 dd 20 f2 6c 6f |D....N...X.. .lo| 00000790 61 64 74 28 61 24 29 0d 02 62 3b ea 20 41 25 2c |adt(a$)..b;. A%,| 000007a0 42 25 3a c8 99 20 22 57 69 6d 70 5f 4c 6f 61 64 |B%:.. "Wimp_Load| 000007b0 54 65 6d 70 6c 61 74 65 22 2c 2c 2d 31 2c 2c 2c |Template",,-1,,,| 000007c0 2d 31 2c 61 24 20 b8 20 2c 2c 42 25 2c 2c 2c 2c |-1,a$ . ,,B%,,,,| 000007d0 41 25 0d 02 6c 2c e7 20 41 25 20 8b 20 85 20 31 |A%..l,. A% . . 1| 000007e0 2c 22 54 65 6d 70 6c 61 74 65 20 27 22 2b 61 24 |,"Template '"+a$| 000007f0 2b 22 27 20 6e 6f 74 20 66 6f 75 6e 64 22 0d 02 |+"' not found"..| 00000800 76 40 de 20 41 25 20 42 25 3a c8 99 20 22 57 69 |v@. A% B%:.. "Wi| 00000810 6d 70 5f 4c 6f 61 64 54 65 6d 70 6c 61 74 65 22 |mp_LoadTemplate"| 00000820 2c 2c 71 25 2c 41 25 2c 41 25 2b 42 25 2c 2d 31 |,,q%,A%,A%+B%,-1| 00000830 2c 61 24 3a 71 25 21 36 34 3d 73 70 72 25 0d 02 |,a$:q%!64=spr%..| 00000840 80 05 e1 0d 02 8a 04 0d 02 94 0c dd 20 f2 6d 6f |............ .mo| 00000850 75 73 65 0d 02 9e 0e c8 8e 20 71 25 21 31 32 20 |use...... q%!12 | 00000860 ca 0d 02 a8 3b c9 20 2d 32 3a e7 20 71 25 21 38 |....;. -2:. q%!8| 00000870 20 80 20 32 3a c8 99 20 22 57 69 6d 70 5f 43 72 | . 2:.. "Wimp_Cr| 00000880 65 61 74 65 4d 65 6e 75 22 2c 2c 6d 65 6e 75 25 |eateMenu",,menu%| 00000890 2c 21 71 25 2d 6d 78 25 2c 6d 79 25 0d 02 b2 0b |,!q%-mx%,my%....| 000008a0 c9 20 64 66 73 77 25 0d 02 bc 0f 20 c8 8e 20 71 |. dfsw%.... .. q| 000008b0 25 21 31 36 20 ca 0d 02 c6 36 20 c9 20 30 3a e7 |%!16 ....6 . 0:.| 000008c0 20 a4 70 61 74 68 28 24 73 61 76 65 70 74 72 25 | .path($saveptr%| 000008d0 2c b9 29 20 8c 20 e7 20 a4 66 72 6f 6d 5f 64 66 |,.) . . .from_df| 000008e0 73 28 24 73 61 76 65 70 74 72 25 29 0d 02 d0 27 |s($saveptr%)...'| 000008f0 20 c9 20 31 3a f2 64 6f 64 72 61 67 28 71 25 21 | . 1:.dodrag(q%!| 00000900 31 32 29 3a 73 61 76 65 66 72 6f 6d 25 3d 64 66 |12):savefrom%=df| 00000910 73 77 25 0d 02 da 42 20 c9 20 33 2c 34 2c 35 3a |sw%...B . 3,4,5:| 00000920 71 25 21 32 30 3d 31 3c 3c 32 31 3a 71 25 21 32 |q%!20=1<<21:q%!2| 00000930 34 3d 31 3c 3c 32 31 3a c8 99 20 22 57 69 6d 70 |4=1<<21:.. "Wimp| 00000940 5f 53 65 74 49 63 6f 6e 53 74 61 74 65 22 2c 2c |_SetIconState",,| 00000950 71 25 2b 31 32 0d 02 e4 06 20 cb 0d 02 ee 0b c9 |q%+12.... ......| 00000960 20 69 6e 66 77 25 0d 02 f8 0f 20 c8 8e 20 71 25 | infw%.... .. q%| 00000970 21 31 36 20 ca 0d 03 02 36 20 c9 20 30 3a e7 20 |!16 ....6 . 0:. | 00000980 a4 70 61 74 68 28 24 73 61 76 65 70 74 72 25 2c |.path($saveptr%,| 00000990 b9 29 20 8c 20 e7 20 a4 66 72 6f 6d 5f 69 6e 66 |.) . . .from_inf| 000009a0 28 24 73 61 76 65 70 74 72 25 29 0d 03 0c 27 20 |($saveptr%)...' | 000009b0 c9 20 31 3a f2 64 6f 64 72 61 67 28 71 25 21 31 |. 1:.dodrag(q%!1| 000009c0 32 29 3a 73 61 76 65 66 72 6f 6d 25 3d 69 6e 66 |2):savefrom%=inf| 000009d0 77 25 0d 03 16 06 20 cb 0d 03 20 0b c9 20 61 72 |w%.... ... .. ar| 000009e0 63 77 25 0d 03 2a 0f 20 c8 8e 20 71 25 21 31 36 |cw%..*. .. q%!16| 000009f0 20 ca 0d 03 34 34 20 c9 20 30 3a e7 20 a4 70 61 | ...44 . 0:. .pa| 00000a00 74 68 28 24 73 61 76 65 70 74 72 25 2c b9 29 20 |th($saveptr%,.) | 00000a10 8c 20 e7 20 a4 74 6f 5f 69 6e 66 28 24 73 61 76 |. . .to_inf($sav| 00000a20 65 70 74 72 25 29 0d 03 3e 27 20 c9 20 31 3a f2 |eptr%)..>' . 1:.| 00000a30 64 6f 64 72 61 67 28 71 25 21 31 32 29 3a 73 61 |dodrag(q%!12):sa| 00000a40 76 65 66 72 6f 6d 25 3d 61 72 63 77 25 0d 03 48 |vefrom%=arcw%..H| 00000a50 42 20 c9 20 33 3a c8 99 20 22 57 69 6d 70 5f 47 |B . 3:.. "Wimp_G| 00000a60 65 74 49 63 6f 6e 53 74 61 74 65 22 2c 2c 71 25 |etIconState",,q%| 00000a70 2b 31 32 3a 71 25 21 31 36 3d 31 3a 71 25 21 32 |+12:q%!16=1:q%!2| 00000a80 30 3d 71 25 21 33 36 20 80 20 31 3c 3c 32 31 0d |0=q%!36 . 1<<21.| 00000a90 03 52 2f 20 20 71 25 21 32 34 3d 31 3c 3c 32 31 |.R/ q%!24=1<<21| 00000aa0 3a c8 99 20 22 57 69 6d 70 5f 53 65 74 49 63 6f |:.. "Wimp_SetIco| 00000ab0 6e 53 74 61 74 65 22 2c 2c 71 25 2b 31 32 0d 03 |nState",,q%+12..| 00000ac0 5c 06 20 cb 0d 03 66 05 cb 0d 03 70 05 e1 0d 03 |\. ...f....p....| 00000ad0 7a 04 0d 03 84 11 dd 20 f2 64 6f 64 72 61 67 28 |z...... .dodrag(| 00000ae0 41 25 29 0d 03 8e 35 21 71 25 3d 41 25 3a 71 25 |A%)...5!q%=A%:q%| 00000af0 21 34 3d 31 3a c8 99 20 22 57 69 6d 70 5f 47 65 |!4=1:.. "Wimp_Ge| 00000b00 74 49 63 6f 6e 53 74 61 74 65 22 2c 2c 71 25 3a |tIconState",,q%:| 00000b10 71 25 21 34 30 3d 41 25 0d 03 98 48 c8 99 20 22 |q%!40=A%...H.. "| 00000b20 57 69 6d 70 5f 47 65 74 57 69 6e 64 6f 77 53 74 |Wimp_GetWindowSt| 00000b30 61 74 65 22 2c 2c 71 25 2b 34 30 3a 71 25 21 38 |ate",,q%+40:q%!8| 00000b40 2b 3d 71 25 21 34 34 2d 71 25 21 36 30 3a 71 25 |+=q%!44-q%!60:q%| 00000b50 21 31 36 2b 3d 71 25 21 34 34 2d 71 25 21 36 30 |!16+=q%!44-q%!60| 00000b60 0d 03 a2 4b 71 25 21 31 32 2b 3d 71 25 21 35 36 |...Kq%!12+=q%!56| 00000b70 2d 71 25 21 36 34 3a 71 25 21 32 30 2b 3d 71 25 |-q%!64:q%!20+=q%| 00000b80 21 35 36 2d 71 25 21 36 34 3a 71 25 21 32 34 3d |!56-q%!64:q%!24=| 00000b90 30 3a 71 25 21 32 38 3d 30 3a 71 25 21 33 32 3d |0:q%!28=0:q%!32=| 00000ba0 2d 31 3a 71 25 21 33 36 3d 2d 31 0d 03 ac 1e c8 |-1:q%!36=-1.....| 00000bb0 99 20 22 4f 53 5f 42 79 74 65 22 2c 31 36 31 2c |. "OS_Byte",161,| 00000bc0 32 38 20 b8 20 2c 2c 41 25 0d 03 b6 41 e7 20 21 |28 . ,,A%...A. !| 00000bd0 71 25 3d 61 72 63 77 25 20 8c 20 71 25 21 34 34 |q%=arcw% . q%!44| 00000be0 3d 31 3a c8 99 20 22 57 69 6d 70 5f 47 65 74 49 |=1:.. "Wimp_GetI| 00000bf0 63 6f 6e 53 74 61 74 65 22 2c 2c 71 25 2b 34 30 |conState",,q%+40| 00000c00 3a 8b 20 71 25 21 36 34 3d 30 0d 03 c0 34 e7 20 |:. q%!64=0...4. | 00000c10 71 25 21 36 34 20 80 20 31 3c 3c 32 31 20 8c 20 |q%!64 . 1<<21 . | 00000c20 61 24 3d 22 66 69 6c 65 5f 64 64 63 22 3a 8b 20 |a$="file_ddc":. | 00000c30 61 24 3d 22 64 69 72 65 63 74 6f 72 79 22 0d 03 |a$="directory"..| 00000c40 ca 0e e7 20 41 25 20 80 20 32 20 8c 0d 03 d4 36 |... A% . 2 ....6| 00000c50 20 c8 99 20 26 36 32 34 30 30 2c 31 39 37 2c 31 | .. &62400,197,1| 00000c60 2c 61 24 2c 71 25 2b 38 2c 71 25 2b 32 34 20 b8 |,a$,q%+8,q%+24 .| 00000c70 20 3b 42 25 3a e7 20 42 25 20 80 20 31 3a 41 25 | ;B%:. B% . 1:A%| 00000c80 3d 30 0d 03 de 05 cd 0d 03 e8 31 e7 20 41 25 20 |=0........1. A% | 00000c90 80 20 32 20 8b 20 21 71 25 3d 30 3a 71 25 21 34 |. 2 . !q%=0:q%!4| 00000ca0 3d 35 3a c8 99 20 22 57 69 6d 70 5f 44 72 61 67 |=5:.. "Wimp_Drag| 00000cb0 42 6f 78 22 2c 2c 71 25 0d 03 f2 05 e1 0d 03 fc |Box",,q%........| 00000cc0 04 0d 04 06 0a dd 20 f2 6b 65 79 0d 04 10 19 e7 |...... .key.....| 00000cd0 20 71 25 21 34 3d 32 20 80 20 71 25 21 32 34 3d | q%!4=2 . q%!24=| 00000ce0 31 33 20 8c 0d 04 1a 0d 20 c8 8e 20 21 71 25 20 |13 ..... .. !q% | 00000cf0 ca 0d 04 24 3a 20 c9 20 64 66 73 77 25 3a e7 20 |...$: . dfsw%:. | 00000d00 a4 70 61 74 68 28 24 73 61 76 65 70 74 72 25 2c |.path($saveptr%,| 00000d10 b9 29 20 8c 20 e7 20 a4 66 72 6f 6d 5f 64 66 73 |.) . . .from_dfs| 00000d20 28 24 73 61 76 65 70 74 72 25 29 0d 04 2e 3a 20 |($saveptr%)...: | 00000d30 c9 20 69 6e 66 77 25 3a e7 20 a4 70 61 74 68 28 |. infw%:. .path(| 00000d40 24 73 61 76 65 70 74 72 25 2c b9 29 20 8c 20 e7 |$saveptr%,.) . .| 00000d50 20 a4 66 72 6f 6d 5f 69 6e 66 28 24 73 61 76 65 | .from_inf($save| 00000d60 70 74 72 25 29 0d 04 38 38 20 c9 20 61 72 63 77 |ptr%)..88 . arcw| 00000d70 25 3a e7 20 a4 70 61 74 68 28 24 73 61 76 65 70 |%:. .path($savep| 00000d80 74 72 25 2c b9 29 20 8c 20 e7 20 a4 74 6f 5f 69 |tr%,.) . . .to_i| 00000d90 6e 66 28 24 73 61 76 65 70 74 72 25 29 0d 04 42 |nf($saveptr%)..B| 00000da0 21 20 7f 3a c8 99 20 22 57 69 6d 70 5f 50 72 6f |! .:.. "Wimp_Pro| 00000db0 63 65 73 73 4b 65 79 22 2c 71 25 21 32 34 0d 04 |cessKey",q%!24..| 00000dc0 4c 06 20 cb 0d 04 56 20 cc 20 c8 99 20 22 57 69 |L. ...V . .. "Wi| 00000dd0 6d 70 5f 50 72 6f 63 65 73 73 4b 65 79 22 2c 71 |mp_ProcessKey",q| 00000de0 25 21 32 34 0d 04 60 05 cd 0d 04 6a 05 e1 0d 04 |%!24..`....j....| 00000df0 74 04 0d 04 7e 0b dd 20 f2 64 72 61 67 0d 04 88 |t...~.. .drag...| 00000e00 24 c8 99 20 22 57 69 6d 70 5f 47 65 74 50 6f 69 |$.. "Wimp_GetPoi| 00000e10 6e 74 65 72 49 6e 66 6f 22 2c 2c 71 25 2b 31 32 |nterInfo",,q%+12| 00000e20 38 0d 04 92 34 e7 20 71 25 21 31 34 30 3d 64 66 |8...4. q%!140=df| 00000e30 73 77 25 20 84 20 71 25 21 31 34 30 3d 69 6e 66 |sw% . q%!140=inf| 00000e40 77 25 20 84 20 71 25 21 31 34 30 3d 61 72 63 77 |w% . q%!140=arcw| 00000e50 25 20 8c 20 e1 0d 04 9c 31 e7 20 71 25 21 31 34 |% . ....1. q%!14| 00000e60 30 3c 30 20 80 20 28 71 25 21 31 34 34 3c 30 20 |0<0 . (q%!144<0 | 00000e70 84 20 71 25 21 31 34 34 3d 62 61 72 69 63 6f 6e |. q%!144=baricon| 00000e80 25 29 20 8c 20 e1 0d 04 a6 44 e7 20 71 25 21 31 |%) . ....D. q%!1| 00000e90 34 30 3d 2d 32 8c 20 f2 74 65 6c 6c 74 68 65 6d |40=-2. .tellthem| 00000ea0 6f 66 66 28 22 43 61 6e 27 74 20 73 61 76 65 20 |off("Can't save | 00000eb0 74 6f 20 61 6e 6f 74 68 65 72 20 61 70 70 6c 69 |to another appli| 00000ec0 63 61 74 69 6f 6e 22 29 3a e1 0d 04 b0 4c 71 25 |cation"):....Lq%| 00000ed0 21 32 30 3d 71 25 21 31 34 30 3a 71 25 21 32 34 |!20=q%!140:q%!24| 00000ee0 3d 71 25 21 31 34 34 3a 71 25 21 33 36 3d 2d 31 |=q%!144:q%!36=-1| 00000ef0 3a 24 28 71 25 2b 34 34 29 3d a4 6c 65 61 66 28 |:$(q%+44)=.leaf(| 00000f00 24 73 61 76 65 70 74 72 25 29 2b bd 20 30 3a 21 |$saveptr%)+. 0:!| 00000f10 71 25 3d 32 35 36 0d 04 ba 2b 71 25 21 31 32 3d |q%=256...+q%!12=| 00000f20 30 3a 71 25 21 31 36 3d 31 3a 71 25 21 32 38 3d |0:q%!16=1:q%!28=| 00000f30 31 3a 71 25 21 33 32 3d 26 37 46 46 46 46 46 46 |1:q%!32=&7FFFFFF| 00000f40 46 0d 04 c4 2b c8 99 20 22 57 69 6d 70 5f 53 65 |F...+.. "Wimp_Se| 00000f50 6e 64 4d 65 73 73 61 67 65 22 2c 31 37 2c 71 25 |ndMessage",17,q%| 00000f60 2c 71 25 21 32 30 2c 71 25 21 32 34 0d 04 ce 05 |,q%!20,q%!24....| 00000f70 e1 0d 04 d8 04 0d 04 e2 0e dd 20 f2 6d 65 73 73 |.......... .mess| 00000f80 61 67 65 0d 04 ec 0e c8 8e 20 71 25 21 31 36 20 |age...... q%!16 | 00000f90 ca 0d 04 f6 0f c9 20 30 3a 71 75 69 74 25 3d b9 |...... 0:quit%=.| 00000fa0 0d 05 00 14 c9 20 32 3a f2 64 61 74 61 73 61 76 |..... 2:.datasav| 00000fb0 65 61 63 6b 0d 05 0a 11 c9 20 33 3a f2 64 61 74 |eack..... 3:.dat| 00000fc0 61 6c 6f 61 64 0d 05 14 19 c9 20 26 34 30 30 43 |aload..... &400C| 00000fd0 32 3a 61 24 3d a4 30 28 71 25 2b 32 38 29 0d 05 |2:a$=.0(q%+28)..| 00000fe0 1e 15 20 e7 20 61 24 3d 22 42 65 65 62 41 72 63 |.. . a$="BeebArc| 00000ff0 22 20 8c 0d 05 28 40 20 20 21 71 25 3d 32 30 3a |" ...(@ !q%=20:| 00001000 71 25 21 31 32 3d 71 25 21 38 3a 71 25 21 31 36 |q%!12=q%!8:q%!16| 00001010 3d 30 3a c8 99 20 22 57 69 6d 70 5f 53 65 6e 64 |=0:.. "Wimp_Send| 00001020 4d 65 73 73 61 67 65 22 2c 31 37 2c 71 25 2c 71 |Message",17,q%,q| 00001030 25 21 34 0d 05 32 41 20 20 21 71 25 3d 31 3a 24 |%!4..2A !q%=1:$| 00001040 28 71 25 2b 34 29 3d 22 59 6f 75 20 63 61 6e 27 |(q%+4)="You can'| 00001050 74 20 72 75 6e 20 74 77 6f 20 63 6f 70 69 65 73 |t run two copies| 00001060 20 6f 66 20 42 65 65 62 41 72 63 20 61 74 20 6f | of BeebArc at o| 00001070 6e 63 65 22 0d 05 3c 20 20 20 c8 99 20 22 57 69 |nce"..< .. "Wi| 00001080 6d 70 5f 52 65 70 6f 72 74 45 72 72 6f 72 22 2c |mp_ReportError",| 00001090 71 25 2c 31 0d 05 46 06 20 cd 0d 05 50 05 cb 0d |q%,1..F. ...P...| 000010a0 05 5a 05 e1 0d 05 64 04 0d 05 6e 12 dd 20 f2 64 |.Z....d...n.. .d| 000010b0 61 74 61 73 61 76 65 61 63 6b 0d 05 78 21 e7 20 |atasaveack..x!. | 000010c0 71 25 21 34 3d 74 61 73 6b 25 3a e1 3a 8b 20 66 |q%!4=task%:.:. f| 000010d0 24 3d a4 30 28 71 25 2b 34 34 29 0d 05 82 51 e7 |$=.0(q%+44)...Q.| 000010e0 20 66 24 3d 22 3c 57 69 6d 70 24 53 63 72 61 70 | f$="<Wimp$Scrap| 000010f0 3e 22 20 8c 20 f2 74 65 6c 6c 74 68 65 6d 6f 66 |>" . .tellthemof| 00001100 66 28 22 43 61 6e 27 74 20 74 72 61 6e 73 66 65 |f("Can't transfe| 00001110 72 20 74 6f 20 61 6e 6f 74 68 65 72 20 61 70 70 |r to another app| 00001120 6c 69 63 61 74 69 6f 6e 22 29 3a e1 0d 05 8c 3c |lication"):....<| 00001130 71 25 21 31 36 3d 33 3a 71 25 21 31 32 3d 71 25 |q%!16=3:q%!12=q%| 00001140 21 38 3a c8 99 20 22 57 69 6d 70 5f 53 65 6e 64 |!8:.. "Wimp_Send| 00001150 4d 65 73 73 61 67 65 22 2c 31 37 2c 71 25 2c 71 |Message",17,q%,q| 00001160 25 21 34 3a 41 25 3d 30 0d 05 96 12 c8 8e 20 73 |%!4:A%=0...... s| 00001170 61 76 65 66 72 6f 6d 25 20 ca 0d 05 a0 1c c9 20 |avefrom% ...... | 00001180 64 66 73 77 25 3a 41 25 3d a4 66 72 6f 6d 5f 64 |dfsw%:A%=.from_d| 00001190 66 73 28 66 24 29 0d 05 aa 1c c9 20 69 6e 66 77 |fs(f$)..... infw| 000011a0 25 3a 41 25 3d a4 66 72 6f 6d 5f 69 6e 66 28 66 |%:A%=.from_inf(f| 000011b0 24 29 0d 05 b4 1a c9 20 61 72 63 77 25 3a 41 25 |$)..... arcw%:A%| 000011c0 3d a4 74 6f 5f 69 6e 66 28 66 24 29 0d 05 be 05 |=.to_inf(f$)....| 000011d0 cb 0d 05 c8 23 e7 20 41 25 20 8b 20 c8 99 20 22 |....#. A% . .. "| 000011e0 57 69 6d 70 5f 43 72 65 61 74 65 4d 65 6e 75 22 |Wimp_CreateMenu"| 000011f0 2c 2c 2d 31 0d 05 d2 05 e1 0d 05 dc 04 0d 05 e6 |,,-1............| 00001200 0f dd 20 f2 64 61 74 61 6c 6f 61 64 0d 05 f0 1d |.. .dataload....| 00001210 c8 99 20 22 4f 53 5f 46 69 6c 65 22 2c 35 2c 71 |.. "OS_File",5,q| 00001220 25 2b 34 34 20 b8 20 49 25 0d 05 fa 3e e7 20 49 |%+44 . I%...>. I| 00001230 25 3d 32 20 84 20 49 25 3d 33 20 84 20 71 25 21 |%=2 . I%=3 . q%!| 00001240 34 30 3d 26 46 46 44 20 84 20 71 25 21 34 30 3d |40=&FFD . q%!40=| 00001250 26 31 30 30 30 20 84 20 71 25 21 34 30 3d 26 32 |&1000 . q%!40=&2| 00001260 30 30 30 20 8b 20 e1 0d 06 04 1c e7 20 a4 70 61 |000 . ...... .pa| 00001270 74 68 28 a4 30 28 71 25 2b 34 34 29 2c a3 29 20 |th(.0(q%+44),.) | 00001280 8b 20 e1 0d 06 0e 23 69 6e 24 3d a4 30 28 71 25 |. ....#in$=.0(q%| 00001290 2b 34 34 29 3a 24 73 61 76 65 70 74 72 25 3d 69 |+44):$saveptr%=i| 000012a0 6e 24 2b 22 27 22 0d 06 18 12 e7 20 71 25 21 34 |n$+"'"..... q%!4| 000012b0 30 3d 26 46 46 44 20 8c 0d 06 22 1a 20 73 61 76 |0=&FFD ...". sav| 000012c0 65 66 72 6f 6d 25 3d 64 66 73 77 25 3a 49 25 3d |efrom%=dfsw%:I%=| 000012d0 2d 31 0d 06 2c 08 20 ea 20 85 0d 06 36 27 20 ee |-1..,. . ...6' .| 000012e0 20 85 20 ea 20 f7 20 85 3a c8 99 20 22 58 4f 53 | . . . .:.. "XOS| 000012f0 5f 46 69 6e 64 22 2c 2c 49 25 3a 85 20 9f 2c f6 |_Find",,I%:. .,.| 00001300 24 0d 06 40 31 20 49 25 3d 8e 20 69 6e 24 3a e7 |$..@1 I%=. in$:.| 00001310 20 a2 23 49 25 3c 35 31 32 20 8c 20 85 20 31 2c | .#I%<512 . . 1,| 00001320 22 4e 6f 74 20 61 20 64 69 73 6b 20 69 6d 61 67 |"Not a disk imag| 00001330 65 22 0d 06 4a 2b 20 cf 23 49 25 3d 26 31 30 36 |e"..J+ .#I%=&106| 00001340 3a 4c 25 3d 28 9a 23 49 25 20 80 20 31 35 29 3c |:L%=(.#I% . 15)<| 00001350 3c 31 36 20 84 20 9a 23 49 25 3c 3c 38 0d 06 54 |<16 . .#I%<<8..T| 00001360 37 20 e7 20 4c 25 3c 3e 26 31 39 30 30 30 20 80 |7 . L%<>&19000 .| 00001370 20 4c 25 3c 3e 26 33 32 30 30 30 20 8c 20 85 20 | L%<>&32000 . . | 00001380 31 2c 22 4e 6f 74 20 61 20 64 69 73 6b 20 69 6d |1,"Not a disk im| 00001390 61 67 65 22 0d 06 5e 16 20 64 73 64 25 3d 4c 25 |age"..^. dsd%=L%| 000013a0 3c a2 23 49 25 3a d9 23 49 25 0d 06 68 08 20 f7 |<.#I%:.#I%..h. .| 000013b0 20 85 0d 06 72 2e 20 21 71 25 3d 64 66 73 77 25 | ...r. !q%=dfsw%| 000013c0 3a 71 25 21 38 3d 31 3c 3c 32 32 20 80 20 ac 20 |:q%!8=1<<22 . . | 000013d0 64 73 64 25 3a 71 25 21 31 32 3d 31 3c 3c 32 32 |dsd%:q%!12=1<<22| 000013e0 0d 06 7c 2e 20 e3 20 71 25 21 34 3d 33 20 b8 20 |..|. . q%!4=3 . | 000013f0 35 3a c8 99 20 22 57 69 6d 70 5f 53 65 74 49 63 |5:.. "Wimp_SetIc| 00001400 6f 6e 53 74 61 74 65 22 2c 2c 71 25 3a ed 0d 06 |onState",,q%:...| 00001410 86 26 cc 20 c8 99 20 22 4f 53 5f 46 69 6c 65 22 |.&. .. "OS_File"| 00001420 2c 35 2c 69 6e 24 2b 22 2e 2a 2f 69 6e 66 22 20 |,5,in$+".*/inf" | 00001430 b8 20 41 25 0d 06 90 31 20 e7 20 41 25 20 8b 20 |. A%...1 . A% . | 00001440 c8 99 20 22 4f 53 5f 46 69 6c 65 22 2c 35 2c 69 |.. "OS_File",5,i| 00001450 6e 24 2b 22 2e 23 23 23 23 23 23 23 2f 69 6e 22 |n$+".#######/in"| 00001460 20 b8 20 41 25 0d 06 9a 31 20 e7 20 41 25 20 8b | . A%...1 . A% .| 00001470 20 c8 99 20 22 4f 53 5f 46 69 6c 65 22 2c 35 2c | .. "OS_File",5,| 00001480 69 6e 24 2b 22 2e 23 23 23 23 23 23 23 23 2f 69 |in$+".########/i| 00001490 22 20 b8 20 41 25 0d 06 a4 31 20 e7 20 41 25 20 |" . A%...1 . A% | 000014a0 8b 20 c8 99 20 22 4f 53 5f 46 69 6c 65 22 2c 35 |. .. "OS_File",5| 000014b0 2c 69 6e 24 2b 22 2e 23 23 23 23 23 23 23 23 23 |,in$+".#########| 000014c0 2f 22 20 b8 20 41 25 0d 06 ae 0d 20 e7 20 41 25 |/" . A%.... . A%| 000014d0 3d 31 20 8c 0d 06 b8 15 20 20 73 61 76 65 66 72 |=1 ..... savefr| 000014e0 6f 6d 25 3d 69 6e 66 77 25 0d 06 c2 39 20 cc 20 |om%=infw%...9 . | 000014f0 73 61 76 65 66 72 6f 6d 25 3d 61 72 63 77 25 3a |savefrom%=arcw%:| 00001500 c8 99 20 22 58 4f 53 5f 4d 6f 64 75 6c 65 22 2c |.. "XOS_Module",| 00001510 31 38 2c 22 53 70 61 72 6b 46 53 22 20 b8 20 3b |18,"SparkFS" . ;| 00001520 41 25 0d 06 cc 2f 20 20 e7 20 41 25 20 80 20 31 |A%.../ . A% . 1| 00001530 20 8b 20 c8 99 20 22 58 4f 53 5f 4d 6f 64 75 6c | . .. "XOS_Modul| 00001540 65 22 2c 31 38 2c 22 5a 69 70 22 20 b8 20 3b 41 |e",18,"Zip" . ;A| 00001550 25 0d 06 d6 3c 20 20 e7 20 41 25 20 80 20 31 20 |%...< . A% . 1 | 00001560 8c 20 71 25 21 38 3d 31 3c 3c 32 32 3a 71 25 21 |. q%!8=1<<22:q%!| 00001570 31 32 3d 33 3c 3c 32 31 3a 8b 20 71 25 21 38 3d |12=3<<21:. q%!8=| 00001580 30 3a 71 25 21 31 32 3d 31 3c 3c 32 32 0d 06 e0 |0:q%!12=1<<22...| 00001590 31 20 20 21 71 25 3d 61 72 63 77 25 3a 71 25 21 |1 !q%=arcw%:q%!| 000015a0 34 3d 33 3a c8 99 20 22 57 69 6d 70 5f 53 65 74 |4=3:.. "Wimp_Set| 000015b0 49 63 6f 6e 53 74 61 74 65 22 2c 2c 71 25 0d 06 |IconState",,q%..| 000015c0 ea 06 20 cd 0d 06 f4 05 cd 0d 06 fe 2f c8 99 20 |.. ........./.. | 000015d0 22 57 69 6d 70 5f 43 72 65 61 74 65 4d 65 6e 75 |"Wimp_CreateMenu| 000015e0 22 2c 2c 73 61 76 65 66 72 6f 6d 25 2c 96 37 2d |",,savefrom%,.7-| 000015f0 36 34 2c 96 38 2b 36 34 0d 07 08 05 e1 0d 07 12 |64,.8+64........| 00001600 04 0d 07 1c 1b dd 20 f2 74 65 6c 6c 74 68 65 6d |...... .tellthem| 00001610 6f 66 66 28 24 28 71 25 2b 34 29 29 0d 07 26 2e |off($(q%+4))..&.| 00001620 ea 20 21 71 25 3a c8 99 20 22 57 69 6d 70 5f 52 |. !q%:.. "Wimp_R| 00001630 65 70 6f 72 74 45 72 72 6f 72 22 2c 71 25 2c 31 |eportError",q%,1| 00001640 2c 22 42 65 65 62 41 72 63 22 0d 07 30 05 e1 0d |,"BeebArc"..0...| 00001650 07 3a 04 0d 07 44 15 dd 20 a4 71 75 65 72 79 28 |.:...D.. .query(| 00001660 24 28 71 25 2b 34 29 29 0d 07 4e 35 ea 20 21 71 |$(q%+4))..N5. !q| 00001670 25 3a c8 99 20 22 57 69 6d 70 5f 52 65 70 6f 72 |%:.. "Wimp_Repor| 00001680 74 45 72 72 6f 72 22 2c 71 25 2c 33 2c 22 42 65 |tError",q%,3,"Be| 00001690 65 62 41 72 63 22 20 b8 20 2c 21 71 25 0d 07 58 |ebArc" . ,!q%..X| 000016a0 0a 3d 21 71 25 3d 31 0d 07 62 04 0d 07 6c 0c dd |.=!q%=1..b...l..| 000016b0 20 a4 30 28 41 25 29 0d 07 76 24 ea 20 61 24 3a | .0(A%)..v$. a$:| 000016c0 c8 95 20 3f 41 25 3e 33 31 3a 61 24 2b 3d bd 20 |.. ?A%>31:a$+=. | 000016d0 3f 41 25 3a 41 25 2b 3d 31 3a ce 0d 07 80 07 3d |?A%:A%+=1:.....=| 000016e0 61 24 0d 07 8a 04 0d 07 94 12 dd 20 a4 70 61 74 |a$......... .pat| 000016f0 68 28 66 24 2c 46 25 29 0d 07 9e 2b ea 20 69 25 |h(f$,F%)...+. i%| 00001700 3a 69 25 3d a9 20 66 24 2b 31 3a e7 20 a7 66 24 |:i%=. f$+1:. .f$| 00001710 2c 22 3a 22 29 3a 69 25 3d a7 66 24 2c 22 3a 22 |,":"):i%=.f$,":"| 00001720 29 2b 31 0d 07 a8 13 66 24 3d c1 66 24 2c 69 25 |)+1....f$=.f$,i%| 00001730 29 3a 69 25 3d a3 0d 07 b2 31 e7 20 a7 66 24 2c |):i%=....1. .f$,| 00001740 22 2e 22 29 3a 66 24 3d c1 66 24 2c a7 66 24 2c |"."):f$=.f$,.f$,| 00001750 22 2e 22 29 2b 31 29 3a e7 20 a7 66 24 2c 22 2e |".")+1):. .f$,".| 00001760 22 29 3a 69 25 3d b9 0d 07 bc 4d e7 20 69 25 20 |"):i%=....M. i% | 00001770 8b 20 e7 20 46 25 3a f2 74 65 6c 6c 74 68 65 6d |. . F%:.tellthem| 00001780 6f 66 66 28 22 54 6f 20 73 61 76 65 2c 20 64 72 |off("To save, dr| 00001790 61 67 20 74 68 65 20 69 63 6f 6e 20 74 6f 20 61 |ag the icon to a| 000017a0 20 64 69 72 65 63 74 6f 72 79 20 64 69 73 70 6c | directory displ| 000017b0 61 79 22 29 0d 07 c6 07 3d 69 25 0d 07 d0 04 0d |ay")....=i%.....| 000017c0 07 da 0f dd 20 a4 6c 65 61 66 28 66 24 29 0d 07 |.... .leaf(f$)..| 000017d0 e4 24 c8 95 20 a7 66 24 2c 22 3a 22 29 3a 66 24 |.$.. .f$,":"):f$| 000017e0 3d c1 66 24 2c a7 66 24 2c 22 3a 22 29 2b 31 29 |=.f$,.f$,":")+1)| 000017f0 3a ce 0d 07 ee 24 c8 95 20 a7 66 24 2c 22 2e 22 |:....$.. .f$,"."| 00001800 29 3a 66 24 3d c1 66 24 2c a7 66 24 2c 22 2e 22 |):f$=.f$,.f$,"."| 00001810 29 2b 31 29 3a ce 0d 07 f8 07 3d 66 24 0d 08 02 |)+1):.....=f$...| 00001820 04 0d 08 0c 15 dd 20 a4 66 72 6f 6d 5f 64 66 73 |...... .from_dfs| 00001830 28 6f 75 74 24 29 0d 08 16 08 ea 20 61 24 0d 08 |(out$)..... a$..| 00001840 20 0c e7 20 64 73 64 25 20 8c 0d 08 2a 3d 20 61 | .. dsd% ...*= a| 00001850 24 3d 22 20 2d 73 69 64 65 20 22 3a 21 71 25 3d |$=" -side ":!q%=| 00001860 64 66 73 77 25 3a 71 25 21 34 3d 33 3a c8 99 20 |dfsw%:q%!4=3:.. | 00001870 22 57 69 6d 70 5f 47 65 74 49 63 6f 6e 53 74 61 |"Wimp_GetIconSta| 00001880 74 65 22 2c 2c 71 25 0d 08 34 16 20 e7 20 71 25 |te",,q%..4. . q%| 00001890 21 32 34 20 80 20 31 3c 3c 32 31 20 8c 0d 08 3e |!24 . 1<<21 ...>| 000018a0 0e 20 20 61 24 2b 3d 22 3a 30 22 0d 08 48 28 20 |. a$+=":0"..H( | 000018b0 cc 20 71 25 21 34 3d 34 3a c8 99 20 22 57 69 6d |. q%!4=4:.. "Wim| 000018c0 70 5f 47 65 74 49 63 6f 6e 53 74 61 74 65 22 2c |p_GetIconState",| 000018d0 2c 71 25 0d 08 52 2d 20 20 e7 20 71 25 21 32 34 |,q%..R- . q%!24| 000018e0 20 80 20 31 3c 3c 32 31 20 8c 20 61 24 2b 3d 22 | . 1<<21 . a$+="| 000018f0 3a 32 22 3a 8b 20 61 24 2b 3d 22 3a 30 3a 32 22 |:2":. a$+=":0:2"| 00001900 0d 08 5c 06 20 cd 0d 08 66 05 cd 0d 08 70 3e 50 |..\. ...f....p>P| 00001910 25 3d 71 25 3a f2 61 70 70 28 22 3c 42 65 65 62 |%=q%:.app("<Beeb| 00001920 41 72 63 24 44 69 72 3e 2e 44 46 53 5f 53 70 6c |Arc$Dir>.DFS_Spl| 00001930 69 74 20 22 29 3a f2 61 70 70 28 69 6e 24 29 3a |it "):.app(in$):| 00001940 f2 61 70 70 28 22 20 22 29 0d 08 7a 33 f2 61 70 |.app(" ")..z3.ap| 00001950 70 28 6f 75 74 24 29 3a f2 61 70 70 28 61 24 29 |p(out$):.app(a$)| 00001960 3a c8 99 20 22 4f 53 5f 46 69 6c 65 22 2c 35 2c |:.. "OS_File",5,| 00001970 69 6e 24 20 b8 20 2c 2c 2c 2c 4c 25 0d 08 84 13 |in$ . ,,,,L%....| 00001980 3d a4 72 75 6e 28 4c 25 2b 36 35 35 33 36 29 0d |=.run(L%+65536).| 00001990 08 8e 04 0d 08 98 15 dd 20 a4 66 72 6f 6d 5f 69 |........ .from_i| 000019a0 6e 66 28 6f 75 74 24 29 0d 08 a2 45 ea 20 41 25 |nf(out$)...E. A%| 000019b0 3a 21 71 25 3d 69 6e 66 77 25 3a 71 25 21 34 3d |:!q%=infw%:q%!4=| 000019c0 33 3a c8 99 20 22 57 69 6d 70 5f 47 65 74 49 63 |3:.. "Wimp_GetIc| 000019d0 6f 6e 53 74 61 74 65 22 2c 2c 71 25 3a 41 25 3d |onState",,q%:A%=| 000019e0 71 25 21 32 34 20 80 20 31 3c 3c 32 31 0d 08 ac |q%!24 . 1<<21...| 000019f0 27 50 25 3d 71 25 3a f2 61 70 70 28 22 3c 42 65 |'P%=q%:.app("<Be| 00001a00 65 62 41 72 63 24 44 69 72 3e 2e 55 6e 2f 69 6e |ebArc$Dir>.Un/in| 00001a10 66 20 22 29 0d 08 b6 35 f2 61 70 70 28 69 6e 24 |f ")...5.app(in$| 00001a20 29 3a f2 61 70 70 28 22 20 22 29 3a f2 61 70 70 |):.app(" "):.app| 00001a30 28 6f 75 74 24 29 3a e7 20 41 25 20 8c 20 f2 61 |(out$):. A% . .a| 00001a40 70 70 28 22 20 2d 66 22 29 0d 08 c0 10 3d a4 72 |pp(" -f")....=.r| 00001a50 75 6e 28 36 35 35 33 36 29 0d 08 ca 04 0d 08 d4 |un(65536).......| 00001a60 13 dd 20 a4 74 6f 5f 69 6e 66 28 6f 75 74 24 29 |.. .to_inf(out$)| 00001a70 0d 08 de 45 ea 20 41 25 3a 21 71 25 3d 61 72 63 |...E. A%:!q%=arc| 00001a80 77 25 3a 71 25 21 34 3d 33 3a c8 99 20 22 57 69 |w%:q%!4=3:.. "Wi| 00001a90 6d 70 5f 47 65 74 49 63 6f 6e 53 74 61 74 65 22 |mp_GetIconState"| 00001aa0 2c 2c 71 25 3a 41 25 3d 71 25 21 32 34 20 80 20 |,,q%:A%=q%!24 . | 00001ab0 31 3c 3c 32 31 0d 08 e8 28 50 25 3d 71 25 3a f2 |1<<21...(P%=q%:.| 00001ac0 61 70 70 28 22 3c 42 65 65 62 41 72 63 24 44 69 |app("<BeebArc$Di| 00001ad0 72 3e 2e 41 64 64 2f 69 6e 66 20 22 29 0d 08 f2 |r>.Add/inf ")...| 00001ae0 35 f2 61 70 70 28 69 6e 24 29 3a f2 61 70 70 28 |5.app(in$):.app(| 00001af0 22 20 22 29 3a f2 61 70 70 28 6f 75 74 24 29 3a |" "):.app(out$):| 00001b00 e7 20 41 25 20 8c 20 f2 61 70 70 28 22 20 2d 61 |. A% . .app(" -a| 00001b10 22 29 0d 08 fc 10 3d a4 72 75 6e 28 36 35 35 33 |")....=.run(6553| 00001b20 36 29 0d 09 06 04 0d 09 10 0e dd 20 f2 61 70 70 |6)......... .app| 00001b30 28 61 24 29 0d 09 1a 17 24 50 25 3d 61 24 2b bd |(a$)....$P%=a$+.| 00001b40 20 30 3a 50 25 2b 3d a9 20 61 24 0d 09 24 05 e1 | 0:P%+=. a$..$..| 00001b50 0d 09 2e 04 0d 09 38 0e dd 20 a4 72 75 6e 28 4c |......8.. .run(L| 00001b60 25 29 0d 09 42 49 ea 20 41 25 2c 42 25 3a c8 99 |%)..BI. A%,B%:..| 00001b70 20 22 57 69 6d 70 5f 53 6c 6f 74 53 69 7a 65 22 | "Wimp_SlotSize"| 00001b80 2c 2d 31 2c 2d 31 20 b8 20 2c 41 25 3a c8 99 20 |,-1,-1 . ,A%:.. | 00001b90 22 57 69 6d 70 5f 53 6c 6f 74 53 69 7a 65 22 2c |"Wimp_SlotSize",| 00001ba0 2d 31 2c 4c 25 20 b8 20 2c 42 25 0d 09 4c 4c e7 |-1,L% . ,B%..LL.| 00001bb0 20 42 25 3c 4c 25 20 8c 20 f2 74 65 6c 6c 74 68 | B%<L% . .tellth| 00001bc0 65 6d 6f 66 66 28 22 4e 6f 74 20 65 6e 6f 75 67 |emoff("Not enoug| 00001bd0 68 20 6d 65 6d 6f 72 79 20 2d 20 66 72 65 65 20 |h memory - free | 00001be0 73 6f 6d 65 20 74 68 65 6e 20 74 72 79 20 61 67 |some then try ag| 00001bf0 61 69 6e 22 29 3a e1 0d 09 56 45 c8 99 20 22 48 |ain"):...VE.. "H| 00001c00 6f 75 72 67 6c 61 73 73 5f 4f 6e 22 3a c8 99 20 |ourglass_On":.. | 00001c10 22 57 69 6d 70 5f 53 74 61 72 74 54 61 73 6b 22 |"Wimp_StartTask"| 00001c20 2c 71 25 3a c8 99 20 22 57 69 6d 70 5f 53 6c 6f |,q%:.. "Wimp_Slo| 00001c30 74 53 69 7a 65 22 2c 2d 31 2c 41 25 0d 09 60 16 |tSize",-1,A%..`.| 00001c40 c8 99 20 22 48 6f 75 72 67 6c 61 73 73 5f 4f 66 |.. "Hourglass_Of| 00001c50 66 22 0d 09 6a 43 c8 99 20 22 4f 53 5f 52 65 61 |f"..jC.. "OS_Rea| 00001c60 64 56 61 72 56 61 6c 22 2c 22 53 79 73 24 52 65 |dVarVal","Sys$Re| 00001c70 74 75 72 6e 43 6f 64 65 22 2c 71 25 2c 34 3a c8 |turnCode",q%,4:.| 00001c80 99 20 22 4f 53 5f 57 72 69 74 65 4e 22 2c 71 25 |. "OS_WriteN",q%| 00001c90 20 b8 20 61 24 0d 09 74 09 3d a0 20 61 24 0d ff | . a$..t.=. a$..| 00001ca0