Home » Personal collection » Acorn ADFS disks » Electron_User_Group » EUG_38.ADF » P/JaffaWimp
P/JaffaWimp
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 ADFS disks » Electron_User_Group » EUG_38.ADF |
Filename: | P/JaffaWimp |
Read OK: | ✔ |
File size: | 0B6A bytes |
Load address: | FFFFFB47 |
Exec address: | DAA1A82F |
Duplicates
There are 2 duplicate copies of this file in the archive:
- AEW website » eug » eug_5_25_discs_Eug-38_D-EUG38.dsd » U.JaffaWi
- Personal collection » Acorn ADFS disks » Electron_User_Group » EUG_38.ADF » P/JaffaWimp
- Personal collection » Acorn hard disk » zipped_disks » elk03 » eug38/P/JaffaWimp
File contents
10REM AMX Clipart converter 20REM Generated by WimpWorks on Fri,17 Oct 1997.20:57:33 30REM WimpWorks is LEN Jaffa Software 1995 40 50END 60 70DEF PROCtask(RETURN name$,RETURN sprite$,RETURN text$,RETURN side%,RETURN text%,RETURN purp$,RETURN auth$,RETURN ver$,RETURN opt%) 80name$ ="AMX Clipart converter" 90sprite$="!amxconvrt" 100text$ ="" 110text% =0 120side% =-1 130purp$ ="Turn clipart into sprites" 140auth$ ="�1997 SPROW" 150ver$ ="0.95 (17-Oct-1997)" 160opt% =6 170ENDPROC 180 190DEF PROCinitmenus 200PROCloadtemplate("saveas",saveas%) 210DIM TimeTaken% 600 220TimeTaken%=FNcreatemenu(TimeTaken%,"Timing|*Nothing done yet|") 230PROCiconmenu("AMXConvert|[infobox%].Info|[TimeTaken%].Last file|.Invert input|.Quit|") 240ENDPROC 250 260DEF PROCfile_dropped(file$,type%) 270 IFtype%>&FFF THENPROCerror("One at a time please"):ENDPROC 280 IFtype%=&FF9 THENPROCerror("Already a sprite file"):ENDPROC 290 in%=OPENIN file$ 300 : 310 cando%=FALSE:input$=file$ 320 IFEXT#in%=38400 THENtemplate$="640x480":cando%=TRUE 330 IFEXT#in%=20480 THENtemplate$="640x256":cando%=TRUE 340 IFEXT#in%=19840 THENtemplate$="640x248":cando%=TRUE 350 IFcando%=FALSE THENPROCerror("This size of clipart is not yet supported"):ENDPROC 360 CLOSE#in% 370 PROCsetsave("SpriteFile","file_ff9"):PROCopendialogue(saveas%,0,0) 380ENDPROC 390 400DEF PROCerror(mssg$) 410 CLOSE#0 420 SYS "Hourglass_Smash" 430 title$="Message from AMXConverter" 440 button$="Understood" 450 flags%=256+2048+8+16 460 P%=wimperror% 470 [OPT2:EQUD0:EQUSmssg$+CHR$0:] 480 SYS "Wimp_ReportError",wimperror%,flags%,title$,,,button$ 490ENDPROC 500 510DEF PROCdefine_variables 520 REM Reserve some room for error blocks 530 DIMwimperror% 128 540 invert%=FALSE 550ENDPROC 560 570DEF PROCsave_sprite(file$) 580 PROChouron 590 then%=TIME:out%=OPENOUTfile$ 600 in%=OPENIN("<ObeyTask$Dir>.Resources."+template$) 610 REPEAT:data%=BGET#in%:BPUT#out%,data%:UNTILEOF#in% 620 CLOSE#in% 630 in%=OPENINinput$ 640 FORy%=0TO(VAL(RIGHT$(template$,3))-1) 650 FORx%=0TO79 660 PTR#in%=((y% DIV8)*80*8)+(y% MOD8)+(x%*8) 670 data%=BGET#in% EORinvert%:BPUT#out%,FNflip(data%) 680 NEXT:PROCpercentage(PTR#in%,EXT#in%):NEXT 690 CLOSE#in%:CLOSE#out% 700 PROChouroff 710 : 720 OSCLI"SETTYPE "+file$+" FF9" 730 PROCchangemenu(TimeTaken%,"Timing |*"+STR$((TIME-then%)DIV100)+"s|") 740 : 750ENDPROC 760: 770DEFFNflip(V%) 780R%=0 790FORloop%=0TO7:R%=R%+((2^loop%)*SGN(V% AND(2^(7-loop%)))):NEXT 800=R% 810REM Where V% is value passed and R% is the result 820 830DEF PROCinverter 840 invert%=invert% EOR TRUE 850 PROCtickitem(iconmenu%,3) 860ENDPROC 870 880DEF PROCmenu:LOCAL a$,r$,d% 890SYS "Wimp_DecodeMenu",,open%,wimp%,STRING$(200,CHR$32) TO ,,,a$ 900IF RIGHT$(a$,3)="..." THEN d%=1:a$=LEFT$(a$,LENa$-3) 910WHILE INSTR(a$,CHR$46)>0:a$=MID$(a$,INSTR(a$,CHR$46)+1):ENDWHILE 920IF d% THEN a$+="..." 930CASE a$ OF 940 WHEN "Info":REM Infobox 950 WHEN "Last file":REM Sublink 960 WHEN "Invert input":PROCinverter 970 WHEN "Quit":PROCclosedown 980 WHEN "Nothing done yet":PROCww_poll 990OTHERWISE:PROChandle_event(11,a$,"") 1000ENDCASE 1010ENDPROC 1020 1030DEF PROChandle_event(n%,a$,b$):LOCAL p% 1040CASE n% OF 1050 WHEN 1:PROCdefine_variables 1060 WHEN 5:PROCfile_dropped(a$,VAL(b$)) 1070 WHEN 9:PROCsave_sprite(a$) 1080ENDCASE 1090ENDPROC 1100 1110DEF FNhandle_event(n%,a$,b$):LOCAL p$ 1120CASE n% OF 1130WHEN 3:p$=CHR$49 1140WHEN 6:p$="This object belongs to 'AMX Clipart converter', which is a WimpWorks application." 1150ENDCASE 1160=p$ 1170 1180DEF PROCww_internal:ENDPROC
� AMX Clipart converter 8� Generated by WimpWorks on Fri,17 Oct 1997.20:57:33 (� WimpWorks is � Jaffa Software 1995 ( 2� < FT� �task(� name$,� sprite$,� text$,� side%,� text%,� purp$,� auth$,� ver$,� opt%) P#name$ ="AMX Clipart converter" Zsprite$="!amxconvrt" dtext$ ="" n text% =0 xside% =-1 �'purp$ ="Turn clipart into sprites" �auth$ ="�1997 SPROW" � ver$ ="0.95 (17-Oct-1997)" � opt% =6 �� � �� �initmenus �#�loadtemplate("saveas",saveas%) �� TimeTaken% 600 �BTimeTaken%=�createmenu(TimeTaken%,"Timing|*Nothing done yet|") �W�iconmenu("AMXConvert|[infobox%].Info|[TimeTaken%].Last file|.Invert input|.Quit|") �� � � �file_dropped(file$,type%) 2 �type%>&FFF ��error("One at a time please"):� 3 �type%=&FF9 ��error("Already a sprite file"):� " in%=� file$ , : 6 cando%=�:input$=file$ @/ �#in%=38400 �template$="640x480":cando%=� J/ �#in%=20480 �template$="640x256":cando%=� T/ �#in%=19840 �template$="640x248":cando%=� ^E �cando%=� ��error("This size of clipart is not yet supported"):� h �#in% rA �setsave("SpriteFile","file_ff9"):�opendialogue(saveas%,0,0) |� � �� �error(mssg$) � �#0 � ș "Hourglass_Smash" �( title$="Message from AMXConverter" � button$="Understood" � flags%=256+2048+8+16 � P%=wimperror% � [OPT2:EQUD0:EQUSmssg$+�0:] �> ș "Wimp_ReportError",wimperror%,flags%,title$,,,button$ �� � �� �define_variables * � Reserve some room for error blocks �wimperror% 128 invert%=� &� 0 :� �save_sprite(file$) D �houron N then%=�:out%=�file$ X1 in%=�("<ObeyTask$Dir>.Resources."+template$) b& �:data%=�#in%:�#out%,data%:��#in% l �#in% v in%=�input$ � �y%=0�(�(�template$,3))-1) � �x%=0�79 �) �#in%=((y% �8)*80*8)+(y% �8)+(x%*8) �. data%=�#in% �invert%:�#out%,�flip(data%) �! �:�percentage(�#in%,�#in%):� � �#in%:�#out% � �houroff � : � �"SETTYPE "+file$+" FF9" �> �changemenu(TimeTaken%,"Timing |*"+�((�-then%)�100)+"s|") � : �� �: ݤflip(V%) R%=0 7�loop%=0�7:R%=R%+((2^loop%)*�(V% �(2^(7-loop%)))):� =R% *3� Where V% is value passed and R% is the result 4 >� �inverter H invert%=invert% � � R �tickitem(iconmenu%,3) \� f p� �menu:� a$,r$,d% z7ș "Wimp_DecodeMenu",,open%,wimp%,�200,�32) � ,,,a$ �'� �a$,3)="..." � d%=1:a$=�a$,�a$-3) �&ȕ �a$,�46)>0:a$=�a$,�a$,�46)+1):� �� d% � a$+="..." �Ȏ a$ � � � "Info":� Infobox � � "Last file":� Sublink � � "Invert input":�inverter � � "Quit":�closedown �" � "Nothing done yet":�ww_poll �:�handle_event(11,a$,"") �� �� � "� �handle_event(n%,a$,b$):� p% Ȏ n% � � 1:�define_variables $ � 5:�file_dropped(a$,�(b$)) . � 9:�save_sprite(a$) 8� B� L V"� �handle_event(n%,a$,b$):� p$ `Ȏ n% � j� 3:p$=�49 t^� 6:p$="This object belongs to 'AMX Clipart converter', which is a WimpWorks application." ~� �=p$ � �� �ww_internal:� �
00000000 0d 00 0a 1b f4 20 41 4d 58 20 43 6c 69 70 61 72 |..... AMX Clipar| 00000010 74 20 63 6f 6e 76 65 72 74 65 72 0d 00 14 38 f4 |t converter...8.| 00000020 20 47 65 6e 65 72 61 74 65 64 20 62 79 20 57 69 | Generated by Wi| 00000030 6d 70 57 6f 72 6b 73 20 6f 6e 20 46 72 69 2c 31 |mpWorks on Fri,1| 00000040 37 20 4f 63 74 20 31 39 39 37 2e 32 30 3a 35 37 |7 Oct 1997.20:57| 00000050 3a 33 33 0d 00 1e 28 f4 20 57 69 6d 70 57 6f 72 |:33...(. WimpWor| 00000060 6b 73 20 69 73 20 a9 20 4a 61 66 66 61 20 53 6f |ks is . Jaffa So| 00000070 66 74 77 61 72 65 20 31 39 39 35 0d 00 28 04 0d |ftware 1995..(..| 00000080 00 32 05 e0 0d 00 3c 04 0d 00 46 54 dd 20 f2 74 |.2....<...FT. .t| 00000090 61 73 6b 28 f8 20 6e 61 6d 65 24 2c f8 20 73 70 |ask(. name$,. sp| 000000a0 72 69 74 65 24 2c f8 20 74 65 78 74 24 2c f8 20 |rite$,. text$,. | 000000b0 73 69 64 65 25 2c f8 20 74 65 78 74 25 2c f8 20 |side%,. text%,. | 000000c0 70 75 72 70 24 2c f8 20 61 75 74 68 24 2c f8 20 |purp$,. auth$,. | 000000d0 76 65 72 24 2c f8 20 6f 70 74 25 29 0d 00 50 23 |ver$,. opt%)..P#| 000000e0 6e 61 6d 65 24 20 20 3d 22 41 4d 58 20 43 6c 69 |name$ ="AMX Cli| 000000f0 70 61 72 74 20 63 6f 6e 76 65 72 74 65 72 22 0d |part converter".| 00000100 00 5a 18 73 70 72 69 74 65 24 3d 22 21 61 6d 78 |.Z.sprite$="!amx| 00000110 63 6f 6e 76 72 74 22 0d 00 64 0e 74 65 78 74 24 |convrt"..d.text$| 00000120 20 20 3d 22 22 0d 00 6e 0d 74 65 78 74 25 20 20 | =""..n.text% | 00000130 3d 30 0d 00 78 0e 73 69 64 65 25 20 20 3d 2d 31 |=0..x.side% =-1| 00000140 0d 00 82 27 70 75 72 70 24 20 20 3d 22 54 75 72 |...'purp$ ="Tur| 00000150 6e 20 63 6c 69 70 61 72 74 20 69 6e 74 6f 20 73 |n clipart into s| 00000160 70 72 69 74 65 73 22 0d 00 8c 19 61 75 74 68 24 |prites"....auth$| 00000170 20 20 3d 22 a9 31 39 39 37 20 53 50 52 4f 57 22 | =".1997 SPROW"| 00000180 0d 00 96 20 76 65 72 24 20 20 20 3d 22 30 2e 39 |... ver$ ="0.9| 00000190 35 20 28 31 37 2d 4f 63 74 2d 31 39 39 37 29 22 |5 (17-Oct-1997)"| 000001a0 0d 00 a0 0d 6f 70 74 25 20 20 20 3d 36 0d 00 aa |....opt% =6...| 000001b0 05 e1 0d 00 b4 04 0d 00 be 10 dd 20 f2 69 6e 69 |........... .ini| 000001c0 74 6d 65 6e 75 73 0d 00 c8 23 f2 6c 6f 61 64 74 |tmenus...#.loadt| 000001d0 65 6d 70 6c 61 74 65 28 22 73 61 76 65 61 73 22 |emplate("saveas"| 000001e0 2c 73 61 76 65 61 73 25 29 0d 00 d2 14 de 20 54 |,saveas%)..... T| 000001f0 69 6d 65 54 61 6b 65 6e 25 20 36 30 30 0d 00 dc |imeTaken% 600...| 00000200 42 54 69 6d 65 54 61 6b 65 6e 25 3d a4 63 72 65 |BTimeTaken%=.cre| 00000210 61 74 65 6d 65 6e 75 28 54 69 6d 65 54 61 6b 65 |atemenu(TimeTake| 00000220 6e 25 2c 22 54 69 6d 69 6e 67 7c 2a 4e 6f 74 68 |n%,"Timing|*Noth| 00000230 69 6e 67 20 64 6f 6e 65 20 79 65 74 7c 22 29 0d |ing done yet|").| 00000240 00 e6 57 f2 69 63 6f 6e 6d 65 6e 75 28 22 41 4d |..W.iconmenu("AM| 00000250 58 43 6f 6e 76 65 72 74 7c 5b 69 6e 66 6f 62 6f |XConvert|[infobo| 00000260 78 25 5d 2e 49 6e 66 6f 7c 5b 54 69 6d 65 54 61 |x%].Info|[TimeTa| 00000270 6b 65 6e 25 5d 2e 4c 61 73 74 20 66 69 6c 65 7c |ken%].Last file|| 00000280 2e 49 6e 76 65 72 74 20 69 6e 70 75 74 7c 2e 51 |.Invert input|.Q| 00000290 75 69 74 7c 22 29 0d 00 f0 05 e1 0d 00 fa 04 0d |uit|")..........| 000002a0 01 04 20 dd 20 f2 66 69 6c 65 5f 64 72 6f 70 70 |.. . .file_dropp| 000002b0 65 64 28 66 69 6c 65 24 2c 74 79 70 65 25 29 0d |ed(file$,type%).| 000002c0 01 0e 32 20 e7 74 79 70 65 25 3e 26 46 46 46 20 |..2 .type%>&FFF | 000002d0 8c f2 65 72 72 6f 72 28 22 4f 6e 65 20 61 74 20 |..error("One at | 000002e0 61 20 74 69 6d 65 20 70 6c 65 61 73 65 22 29 3a |a time please"):| 000002f0 e1 0d 01 18 33 20 e7 74 79 70 65 25 3d 26 46 46 |....3 .type%=&FF| 00000300 39 20 8c f2 65 72 72 6f 72 28 22 41 6c 72 65 61 |9 ..error("Alrea| 00000310 64 79 20 61 20 73 70 72 69 74 65 20 66 69 6c 65 |dy a sprite file| 00000320 22 29 3a e1 0d 01 22 10 20 69 6e 25 3d 8e 20 66 |"):...". in%=. f| 00000330 69 6c 65 24 0d 01 2c 06 20 3a 0d 01 36 1a 20 63 |ile$..,. :..6. c| 00000340 61 6e 64 6f 25 3d a3 3a 69 6e 70 75 74 24 3d 66 |ando%=.:input$=f| 00000350 69 6c 65 24 0d 01 40 2f 20 e7 a2 23 69 6e 25 3d |ile$..@/ ..#in%=| 00000360 33 38 34 30 30 20 8c 74 65 6d 70 6c 61 74 65 24 |38400 .template$| 00000370 3d 22 36 34 30 78 34 38 30 22 3a 63 61 6e 64 6f |="640x480":cando| 00000380 25 3d b9 0d 01 4a 2f 20 e7 a2 23 69 6e 25 3d 32 |%=...J/ ..#in%=2| 00000390 30 34 38 30 20 8c 74 65 6d 70 6c 61 74 65 24 3d |0480 .template$=| 000003a0 22 36 34 30 78 32 35 36 22 3a 63 61 6e 64 6f 25 |"640x256":cando%| 000003b0 3d b9 0d 01 54 2f 20 e7 a2 23 69 6e 25 3d 31 39 |=...T/ ..#in%=19| 000003c0 38 34 30 20 8c 74 65 6d 70 6c 61 74 65 24 3d 22 |840 .template$="| 000003d0 36 34 30 78 32 34 38 22 3a 63 61 6e 64 6f 25 3d |640x248":cando%=| 000003e0 b9 0d 01 5e 45 20 e7 63 61 6e 64 6f 25 3d a3 20 |...^E .cando%=. | 000003f0 8c f2 65 72 72 6f 72 28 22 54 68 69 73 20 73 69 |..error("This si| 00000400 7a 65 20 6f 66 20 63 6c 69 70 61 72 74 20 69 73 |ze of clipart is| 00000410 20 6e 6f 74 20 79 65 74 20 73 75 70 70 6f 72 74 | not yet support| 00000420 65 64 22 29 3a e1 0d 01 68 0a 20 d9 23 69 6e 25 |ed"):...h. .#in%| 00000430 0d 01 72 41 20 f2 73 65 74 73 61 76 65 28 22 53 |..rA .setsave("S| 00000440 70 72 69 74 65 46 69 6c 65 22 2c 22 66 69 6c 65 |priteFile","file| 00000450 5f 66 66 39 22 29 3a f2 6f 70 65 6e 64 69 61 6c |_ff9"):.opendial| 00000460 6f 67 75 65 28 73 61 76 65 61 73 25 2c 30 2c 30 |ogue(saveas%,0,0| 00000470 29 0d 01 7c 05 e1 0d 01 86 04 0d 01 90 13 dd 20 |)..|........... | 00000480 f2 65 72 72 6f 72 28 6d 73 73 67 24 29 0d 01 9a |.error(mssg$)...| 00000490 09 20 20 d9 23 30 0d 01 a4 1a 20 20 c8 99 20 22 |. .#0.... .. "| 000004a0 48 6f 75 72 67 6c 61 73 73 5f 53 6d 61 73 68 22 |Hourglass_Smash"| 000004b0 0d 01 ae 28 20 20 74 69 74 6c 65 24 3d 22 4d 65 |...( title$="Me| 000004c0 73 73 61 67 65 20 66 72 6f 6d 20 41 4d 58 43 6f |ssage from AMXCo| 000004d0 6e 76 65 72 74 65 72 22 0d 01 b8 1a 20 20 62 75 |nverter".... bu| 000004e0 74 74 6f 6e 24 3d 22 55 6e 64 65 72 73 74 6f 6f |tton$="Understoo| 000004f0 64 22 0d 01 c2 1a 20 20 66 6c 61 67 73 25 3d 32 |d".... flags%=2| 00000500 35 36 2b 32 30 34 38 2b 38 2b 31 36 0d 01 cc 13 |56+2048+8+16....| 00000510 20 20 50 25 3d 77 69 6d 70 65 72 72 6f 72 25 0d | P%=wimperror%.| 00000520 01 d6 20 20 20 5b 4f 50 54 32 3a 45 51 55 44 30 |.. [OPT2:EQUD0| 00000530 3a 45 51 55 53 6d 73 73 67 24 2b bd 30 3a 5d 0d |:EQUSmssg$+.0:].| 00000540 01 e0 3e 20 20 c8 99 20 22 57 69 6d 70 5f 52 65 |..> .. "Wimp_Re| 00000550 70 6f 72 74 45 72 72 6f 72 22 2c 77 69 6d 70 65 |portError",wimpe| 00000560 72 72 6f 72 25 2c 66 6c 61 67 73 25 2c 74 69 74 |rror%,flags%,tit| 00000570 6c 65 24 2c 2c 2c 62 75 74 74 6f 6e 24 0d 01 ea |le$,,,button$...| 00000580 05 e1 0d 01 f4 04 0d 01 fe 17 dd 20 f2 64 65 66 |........... .def| 00000590 69 6e 65 5f 76 61 72 69 61 62 6c 65 73 0d 02 08 |ine_variables...| 000005a0 2a 20 20 f4 20 52 65 73 65 72 76 65 20 73 6f 6d |* . Reserve som| 000005b0 65 20 72 6f 6f 6d 20 66 6f 72 20 65 72 72 6f 72 |e room for error| 000005c0 20 62 6c 6f 63 6b 73 0d 02 12 15 20 20 de 77 69 | blocks.... .wi| 000005d0 6d 70 65 72 72 6f 72 25 20 31 32 38 0d 02 1c 0f |mperror% 128....| 000005e0 20 20 69 6e 76 65 72 74 25 3d a3 0d 02 26 05 e1 | invert%=...&..| 000005f0 0d 02 30 04 0d 02 3a 19 dd 20 f2 73 61 76 65 5f |..0...:.. .save_| 00000600 73 70 72 69 74 65 28 66 69 6c 65 24 29 0d 02 44 |sprite(file$)..D| 00000610 0c 20 f2 68 6f 75 72 6f 6e 0d 02 4e 18 20 74 68 |. .houron..N. th| 00000620 65 6e 25 3d 91 3a 6f 75 74 25 3d ae 66 69 6c 65 |en%=.:out%=.file| 00000630 24 0d 02 58 31 20 69 6e 25 3d 8e 28 22 3c 4f 62 |$..X1 in%=.("<Ob| 00000640 65 79 54 61 73 6b 24 44 69 72 3e 2e 52 65 73 6f |eyTask$Dir>.Reso| 00000650 75 72 63 65 73 2e 22 2b 74 65 6d 70 6c 61 74 65 |urces."+template| 00000660 24 29 0d 02 62 26 20 f5 3a 64 61 74 61 25 3d 9a |$)..b& .:data%=.| 00000670 23 69 6e 25 3a d5 23 6f 75 74 25 2c 64 61 74 61 |#in%:.#out%,data| 00000680 25 3a fd c5 23 69 6e 25 0d 02 6c 0a 20 d9 23 69 |%:..#in%..l. .#i| 00000690 6e 25 0d 02 76 10 20 69 6e 25 3d 8e 69 6e 70 75 |n%..v. in%=.inpu| 000006a0 74 24 0d 02 80 1f 20 e3 79 25 3d 30 b8 28 bb 28 |t$.... .y%=0.(.(| 000006b0 c2 74 65 6d 70 6c 61 74 65 24 2c 33 29 29 2d 31 |.template$,3))-1| 000006c0 29 0d 02 8a 0d 20 e3 78 25 3d 30 b8 37 39 0d 02 |).... .x%=0.79..| 000006d0 94 29 20 20 cf 23 69 6e 25 3d 28 28 79 25 20 81 |.) .#in%=((y% .| 000006e0 38 29 2a 38 30 2a 38 29 2b 28 79 25 20 83 38 29 |8)*80*8)+(y% .8)| 000006f0 2b 28 78 25 2a 38 29 0d 02 9e 2e 20 20 64 61 74 |+(x%*8).... dat| 00000700 61 25 3d 9a 23 69 6e 25 20 82 69 6e 76 65 72 74 |a%=.#in% .invert| 00000710 25 3a d5 23 6f 75 74 25 2c a4 66 6c 69 70 28 64 |%:.#out%,.flip(d| 00000720 61 74 61 25 29 0d 02 a8 21 20 ed 3a f2 70 65 72 |ata%)...! .:.per| 00000730 63 65 6e 74 61 67 65 28 8f 23 69 6e 25 2c a2 23 |centage(.#in%,.#| 00000740 69 6e 25 29 3a ed 0d 02 b2 11 20 d9 23 69 6e 25 |in%):..... .#in%| 00000750 3a d9 23 6f 75 74 25 0d 02 bc 0d 20 f2 68 6f 75 |:.#out%.... .hou| 00000760 72 6f 66 66 0d 02 c6 06 20 3a 0d 02 d0 1d 20 ff |roff.... :.... .| 00000770 22 53 45 54 54 59 50 45 20 22 2b 66 69 6c 65 24 |"SETTYPE "+file$| 00000780 2b 22 20 46 46 39 22 0d 02 da 3e 20 f2 63 68 61 |+" FF9"...> .cha| 00000790 6e 67 65 6d 65 6e 75 28 54 69 6d 65 54 61 6b 65 |ngemenu(TimeTake| 000007a0 6e 25 2c 22 54 69 6d 69 6e 67 20 7c 2a 22 2b c3 |n%,"Timing |*"+.| 000007b0 28 28 91 2d 74 68 65 6e 25 29 81 31 30 30 29 2b |((.-then%).100)+| 000007c0 22 73 7c 22 29 0d 02 e4 06 20 3a 0d 02 ee 05 e1 |"s|").... :.....| 000007d0 0d 02 f8 05 3a 0d 03 02 0e dd a4 66 6c 69 70 28 |....:......flip(| 000007e0 56 25 29 0d 03 0c 08 52 25 3d 30 0d 03 16 37 e3 |V%)....R%=0...7.| 000007f0 6c 6f 6f 70 25 3d 30 b8 37 3a 52 25 3d 52 25 2b |loop%=0.7:R%=R%+| 00000800 28 28 32 5e 6c 6f 6f 70 25 29 2a b4 28 56 25 20 |((2^loop%)*.(V% | 00000810 80 28 32 5e 28 37 2d 6c 6f 6f 70 25 29 29 29 29 |.(2^(7-loop%))))| 00000820 3a ed 0d 03 20 07 3d 52 25 0d 03 2a 33 f4 20 57 |:... .=R%..*3. W| 00000830 68 65 72 65 20 56 25 20 69 73 20 76 61 6c 75 65 |here V% is value| 00000840 20 70 61 73 73 65 64 20 61 6e 64 20 52 25 20 69 | passed and R% i| 00000850 73 20 74 68 65 20 72 65 73 75 6c 74 0d 03 34 04 |s the result..4.| 00000860 0d 03 3e 0f dd 20 f2 69 6e 76 65 72 74 65 72 0d |..>.. .inverter.| 00000870 03 48 19 20 20 69 6e 76 65 72 74 25 3d 69 6e 76 |.H. invert%=inv| 00000880 65 72 74 25 20 82 20 b9 0d 03 52 1c 20 20 f2 74 |ert% . ...R. .t| 00000890 69 63 6b 69 74 65 6d 28 69 63 6f 6e 6d 65 6e 75 |ickitem(iconmenu| 000008a0 25 2c 33 29 0d 03 5c 05 e1 0d 03 66 04 0d 03 70 |%,3)..\....f...p| 000008b0 16 dd 20 f2 6d 65 6e 75 3a ea 20 61 24 2c 72 24 |.. .menu:. a$,r$| 000008c0 2c 64 25 0d 03 7a 37 c8 99 20 22 57 69 6d 70 5f |,d%..z7.. "Wimp_| 000008d0 44 65 63 6f 64 65 4d 65 6e 75 22 2c 2c 6f 70 65 |DecodeMenu",,ope| 000008e0 6e 25 2c 77 69 6d 70 25 2c c4 32 30 30 2c bd 33 |n%,wimp%,.200,.3| 000008f0 32 29 20 b8 20 2c 2c 2c 61 24 0d 03 84 27 e7 20 |2) . ,,,a$...'. | 00000900 c2 61 24 2c 33 29 3d 22 2e 2e 2e 22 20 8c 20 64 |.a$,3)="..." . d| 00000910 25 3d 31 3a 61 24 3d c0 61 24 2c a9 61 24 2d 33 |%=1:a$=.a$,.a$-3| 00000920 29 0d 03 8e 26 c8 95 20 a7 61 24 2c bd 34 36 29 |)...&.. .a$,.46)| 00000930 3e 30 3a 61 24 3d c1 61 24 2c a7 61 24 2c bd 34 |>0:a$=.a$,.a$,.4| 00000940 36 29 2b 31 29 3a ce 0d 03 98 14 e7 20 64 25 20 |6)+1):...... d% | 00000950 8c 20 61 24 2b 3d 22 2e 2e 2e 22 0d 03 a2 0b c8 |. a$+="...".....| 00000960 8e 20 61 24 20 ca 0d 03 ac 17 20 c9 20 22 49 6e |. a$ ..... . "In| 00000970 66 6f 22 3a f4 20 49 6e 66 6f 62 6f 78 0d 03 b6 |fo":. Infobox...| 00000980 1c 20 c9 20 22 4c 61 73 74 20 66 69 6c 65 22 3a |. . "Last file":| 00000990 f4 20 53 75 62 6c 69 6e 6b 0d 03 c0 1f 20 c9 20 |. Sublink.... . | 000009a0 22 49 6e 76 65 72 74 20 69 6e 70 75 74 22 3a f2 |"Invert input":.| 000009b0 69 6e 76 65 72 74 65 72 0d 03 ca 18 20 c9 20 22 |inverter.... . "| 000009c0 51 75 69 74 22 3a f2 63 6c 6f 73 65 64 6f 77 6e |Quit":.closedown| 000009d0 0d 03 d4 22 20 c9 20 22 4e 6f 74 68 69 6e 67 20 |..." . "Nothing | 000009e0 64 6f 6e 65 20 79 65 74 22 3a f2 77 77 5f 70 6f |done yet":.ww_po| 000009f0 6c 6c 0d 03 de 1d 7f 3a f2 68 61 6e 64 6c 65 5f |ll.....:.handle_| 00000a00 65 76 65 6e 74 28 31 31 2c 61 24 2c 22 22 29 0d |event(11,a$,"").| 00000a10 03 e8 05 cb 0d 03 f2 05 e1 0d 03 fc 04 0d 04 06 |................| 00000a20 22 dd 20 f2 68 61 6e 64 6c 65 5f 65 76 65 6e 74 |". .handle_event| 00000a30 28 6e 25 2c 61 24 2c 62 24 29 3a ea 20 70 25 0d |(n%,a$,b$):. p%.| 00000a40 04 10 0b c8 8e 20 6e 25 20 ca 0d 04 1a 1a 20 c9 |..... n% ..... .| 00000a50 20 31 3a f2 64 65 66 69 6e 65 5f 76 61 72 69 61 | 1:.define_varia| 00000a60 62 6c 65 73 0d 04 24 20 20 c9 20 35 3a f2 66 69 |bles..$ . 5:.fi| 00000a70 6c 65 5f 64 72 6f 70 70 65 64 28 61 24 2c bb 28 |le_dropped(a$,.(| 00000a80 62 24 29 29 0d 04 2e 19 20 c9 20 39 3a f2 73 61 |b$)).... . 9:.sa| 00000a90 76 65 5f 73 70 72 69 74 65 28 61 24 29 0d 04 38 |ve_sprite(a$)..8| 00000aa0 05 cb 0d 04 42 05 e1 0d 04 4c 04 0d 04 56 22 dd |....B....L...V".| 00000ab0 20 a4 68 61 6e 64 6c 65 5f 65 76 65 6e 74 28 6e | .handle_event(n| 00000ac0 25 2c 61 24 2c 62 24 29 3a ea 20 70 24 0d 04 60 |%,a$,b$):. p$..`| 00000ad0 0b c8 8e 20 6e 25 20 ca 0d 04 6a 0e c9 20 33 3a |... n% ...j.. 3:| 00000ae0 70 24 3d bd 34 39 0d 04 74 5e c9 20 36 3a 70 24 |p$=.49..t^. 6:p$| 00000af0 3d 22 54 68 69 73 20 6f 62 6a 65 63 74 20 62 65 |="This object be| 00000b00 6c 6f 6e 67 73 20 74 6f 20 27 41 4d 58 20 43 6c |longs to 'AMX Cl| 00000b10 69 70 61 72 74 20 63 6f 6e 76 65 72 74 65 72 27 |ipart converter'| 00000b20 2c 20 77 68 69 63 68 20 69 73 20 61 20 57 69 6d |, which is a Wim| 00000b30 70 57 6f 72 6b 73 20 61 70 70 6c 69 63 61 74 69 |pWorks applicati| 00000b40 6f 6e 2e 22 0d 04 7e 05 cb 0d 04 88 07 3d 70 24 |on."..~......=p$| 00000b50 0d 04 92 04 0d 04 9c 14 dd 20 f2 77 77 5f 69 6e |......... .ww_in| 00000b60 74 65 72 6e 61 6c 3a e1 0d ff |ternal:...| 00000b6a