home *** CD-ROM | disk | FTP | other *** search
Unknown | 1994-12-31 | 8.9 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| file
| data
| default
| |
100%
| xdgMime
| image/x-tga
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 0d 00 0a 1d f4 20 3e 3c | 43 6c 72 54 67 61 24 44 |..... ><|ClrTga$D|
|00000010| 69 72 3e 2e 21 52 75 6e | 49 6d 61 67 65 0d 00 14 |ir>.!Run|Image...|
|00000020| 1d ee 85 ef 34 3a f1 f6 | 24 2b 22 20 61 74 20 6c |....4:..|$+" at l|
|00000030| 69 6e 65 20 22 2b c3 9e | 3a e0 0d 00 1e 41 c8 99 |ine "+..|:....A..|
|00000040| 20 22 57 69 6d 70 5f 49 | 6e 69 74 69 61 6c 69 73 | "Wimp_I|nitialis|
|00000050| 65 22 2c 32 30 30 2c 26 | 34 42 35 33 34 31 35 34 |e",200,&|4B534154|
|00000060| 2c 22 43 6c 65 61 72 2d | 54 61 72 67 61 22 b8 77 |,"Clear-|Targa".w|
|00000070| 69 6d 70 25 2c 74 61 73 | 6b 68 25 0d 00 28 24 c8 |imp%,tas|kh%..($.|
|00000080| 99 20 22 49 6e 74 65 72 | 66 61 63 65 5f 49 6e 69 |. "Inter|face_Ini|
|00000090| 74 69 61 6c 69 73 65 22 | 2c 74 61 73 6b 68 25 0d |tialise"|,taskh%.|
|000000a0| 00 32 26 c8 99 20 22 57 | 69 6d 70 5f 53 6c 6f 74 |.2&.. "W|imp_Slot|
|000000b0| 53 69 7a 65 22 2c 2d 31 | 2c 2d 31 b8 62 61 73 65 |Size",-1|,-1.base|
|000000c0| 73 6c 6f 74 25 0d 00 3c | 24 de 63 6f 64 65 25 34 |slot%..<|$.code%4|
|000000d0| 38 2c 71 25 31 30 32 34 | 2c 69 6e 64 72 25 36 30 |8,q%1024|,indr%60|
|000000e0| 30 2c 6d 65 6e 75 25 38 | 30 0d 00 46 35 69 6e 64 |0,menu%8|0..F5ind|
|000000f0| 72 5f 65 6e 64 25 3d 69 | 6e 64 72 25 2b 36 30 30 |r_end%=i|ndr%+600|
|00000100| 3a 66 69 6e 69 73 68 65 | 64 25 3d a3 3a 68 66 6c |:finishe|d%=.:hfl|
|00000110| 69 70 25 3d a3 3a 76 66 | 6c 69 70 25 3d a3 0d 00 |ip%=.:vf|lip%=...|
|00000120| 50 31 69 6e 24 3d 22 22 | 3a 73 70 6e 61 6d 65 24 |P1in$=""|:spname$|
|00000130| 3d 22 22 3a 68 25 3d 30 | 3a 69 6e 73 63 72 61 70 |="":h%=0|:inscrap|
|00000140| 25 3d a3 3a 6f 75 74 73 | 63 72 61 70 25 3d a3 0d |%=.:outs|crap%=..|
|00000150| 00 5a 04 0d 00 64 22 73 | 70 72 69 74 65 24 3d 22 |.Z...d"s|prite$="|
|00000160| 3c 43 6c 72 54 67 61 24 | 44 69 72 3e 2e 53 70 72 |<ClrTga$|Dir>.Spr|
|00000170| 69 74 65 73 22 0d 00 6e | 12 e7 20 77 69 6d 70 25 |ites"..n|.. wimp%|
|00000180| 3e 3d 33 30 30 20 8c 0d | 00 78 35 20 20 73 70 72 |>=300 ..|.x5 spr|
|00000190| 69 74 65 32 24 3d 73 70 | 72 69 74 65 24 3a c8 99 |ite2$=sp|rite$:..|
|000001a0| 20 22 58 57 69 6d 70 5f | 52 65 61 64 53 79 73 49 | "XWimp_|ReadSysI|
|000001b0| 6e 66 6f 22 2c 32 b8 61 | 25 3b 66 25 0d 00 82 26 |nfo",2.a|%;f%...&|
|000001c0| 20 20 e7 20 28 66 25 80 | 31 29 3d 30 20 8c 20 73 | . (f%.|1)=0 . s|
|000001d0| 70 72 69 74 65 24 2b 3d | bd 3f 61 25 2b bd 61 25 |prite$+=|.?a%+.a%|
|000001e0| 3f 31 0d 00 8c 32 20 20 | 68 25 3d 8e 73 70 72 69 |?1...2 |h%=.spri|
|000001f0| 74 65 24 3a e7 20 68 25 | 3d 30 20 8c 20 73 70 72 |te$:. h%|=0 . spr|
|00000200| 69 74 65 24 3d 73 70 72 | 69 74 65 32 24 20 8b 20 |ite$=spr|ite2$ . |
|00000210| d9 23 68 25 0d 00 96 05 | cd 0d 00 a0 61 68 25 3d |.#h%....|....ah%=|
|00000220| 8e 73 70 72 69 74 65 24 | 3a 73 70 72 6c 65 6e 25 |.sprite$|:sprlen%|
|00000230| 3d a2 23 68 25 3a d9 23 | 68 25 3a de 77 73 70 72 |=.#h%:.#|h%:.wspr|
|00000240| 25 73 70 72 6c 65 6e 25 | 2b 34 3a 21 77 73 70 72 |%sprlen%|+4:!wspr|
|00000250| 25 3d 73 70 72 6c 65 6e | 25 3a c8 99 20 22 4f 53 |%=sprlen|%:.. "OS|
|00000260| 5f 46 69 6c 65 22 2c 32 | 35 35 2c 73 70 72 69 74 |_File",2|55,sprit|
|00000270| 65 24 2c 77 73 70 72 25 | 2b 34 0d 00 aa 04 0d 00 |e$,wspr%|+4......|
|00000280| b4 a1 c8 99 20 22 57 69 | 6d 70 5f 4f 70 65 6e 54 |.... "Wi|mp_OpenT|
|00000290| 65 6d 70 6c 61 74 65 22 | 2c 2c 22 3c 43 6c 72 54 |emplate"|,,"<ClrT|
|000002a0| 67 61 24 44 69 72 3e 2e | 54 65 6d 70 6c 61 74 65 |ga$Dir>.|Template|
|000002b0| 73 22 3a 70 72 6f 67 5f | 69 6e 66 6f 25 3d a4 63 |s":prog_|info%=.c|
|000002c0| 72 65 61 74 65 77 69 6e | 28 22 70 72 6f 67 5f 69 |reatewin|("prog_i|
|000002d0| 6e 66 6f 22 29 3a 6d 61 | 69 6e 25 3d a4 63 72 65 |nfo"):ma|in%=.cre|
|000002e0| 61 74 65 77 69 6e 28 22 | 6d 61 69 6e 22 29 3a 73 |atewin("|main"):s|
|000002f0| 61 76 65 25 3d a4 63 72 | 65 61 74 65 77 69 6e 28 |ave%=.cr|eatewin(|
|00000300| 22 73 61 76 65 22 29 3a | c8 99 20 22 57 69 6d 70 |"save"):|.. "Wimp|
|00000310| 5f 43 6c 6f 73 65 54 65 | 6d 70 6c 61 74 65 22 0d |_CloseTe|mplate".|
|00000320| 00 be 04 0d 00 c8 42 c8 | 99 20 22 4f 53 5f 46 69 |......B.|. "OS_Fi|
|00000330| 6c 65 22 2c 32 35 35 2c | 22 3c 43 6c 72 54 67 61 |le",255,|"<ClrTga|
|00000340| 24 44 69 72 3e 2e 4d 65 | 6e 75 22 2c 6d 65 6e 75 |$Dir>.Me|nu",menu|
|00000350| 25 3a 6d 65 6e 75 25 21 | 33 32 3d 70 72 6f 67 5f |%:menu%!|32=prog_|
|00000360| 69 6e 66 6f 25 0d 00 d2 | 68 21 71 25 3d 2d 31 3a |info%...|h!q%=-1:|
|00000370| 71 25 21 34 3d 30 3a 71 | 25 21 38 3d 30 3a 71 25 |q%!4=0:q|%!8=0:q%|
|00000380| 21 31 32 3d 36 38 3a 71 | 25 21 31 36 3d 36 38 3a |!12=68:q|%!16=68:|
|00000390| 71 25 21 32 30 3d 26 33 | 30 30 32 3a 24 28 71 25 |q%!20=&3|002:$(q%|
|000003a0| 2b 32 34 29 3d 22 21 63 | 6c 72 74 67 61 22 3a c8 |+24)="!c|lrtga":.|
|000003b0| 99 20 22 57 69 6d 70 5f | 43 72 65 61 74 65 49 63 |. "Wimp_|CreateIc|
|000003c0| 6f 6e 22 2c 2c 71 25 b8 | 62 69 63 6e 25 0d 00 dc |on",,q%.|bicn%...|
|000003d0| 04 0d 00 e6 22 e3 6f 70 | 74 25 3d 30 b8 32 88 32 |....".op|t%=0.2.2|
|000003e0| 3a 50 25 3d 63 6f 64 65 | 25 3a 5b 4f 50 54 20 6f |:P%=code|%:[OPT o|
|000003f0| 70 74 25 0d 00 f0 86 2e | 72 65 64 72 61 77 25 61 |pt%.....|redraw%a|
|00000400| 64 72 20 72 31 2c 71 25 | 3a 73 77 69 22 57 69 6d |dr r1,q%|:swi"Wim|
|00000410| 70 5f 52 65 64 72 61 77 | 57 69 6e 64 6f 77 22 3a |p_Redraw|Window":|
|00000420| 2e 72 64 6c 70 25 63 6d | 6e 20 72 30 2c 23 31 3a |.rdlp%cm|n r0,#1:|
|00000430| 6d 6f 76 6e 65 20 70 63 | 2c 72 31 34 3a 73 77 69 |movne pc|,r14:swi|
|00000440| 22 49 6e 74 65 72 66 61 | 63 65 5f 52 65 6e 64 65 |"Interfa|ce_Rende|
|00000450| 72 33 64 57 69 6e 64 6f | 77 22 3a 73 77 69 22 57 |r3dWindo|w":swi"W|
|00000460| 69 6d 70 5f 47 65 74 52 | 65 63 74 61 6e 67 6c 65 |imp_GetR|ectangle|
|00000470| 22 3a 62 20 72 64 6c 70 | 25 0d 00 fa 6a 2e 73 77 |":b rdlp|%...j.sw|
|00000480| 61 70 32 34 25 6c 64 72 | 62 20 72 32 2c 5b 72 30 |ap24%ldr|b r2,[r0|
|00000490| 5d 3a 6c 64 72 62 20 72 | 33 2c 5b 72 30 2c 23 32 |]:ldrb r|3,[r0,#2|
|000004a0| 5d 3a 73 74 72 62 20 72 | 33 2c 5b 72 30 5d 2c 23 |]:strb r|3,[r0],#|
|000004b0| 33 3a 73 74 72 62 20 72 | 32 2c 5b 72 30 2c 23 2d |3:strb r|2,[r0,#-|
|000004c0| 31 5d 3a 63 6d 70 20 72 | 30 2c 72 31 3a 62 6c 74 |1]:cmp r|0,r1:blt|
|000004d0| 20 73 77 61 70 32 34 25 | 3a 6d 6f 76 20 70 63 2c | swap24%|:mov pc,|
|000004e0| 72 31 34 0d 01 04 07 5d | 3a ed 0d 01 0e 04 0d 01 |r14....]|:.......|
|000004f0| 18 0c ee 85 f2 65 72 72 | 6f 72 0d 01 22 04 0d 01 |.....err|or.."...|
|00000500| 2c 05 f5 0d 01 36 20 20 | 20 c8 99 20 22 57 69 6d |,....6 | .. "Wim|
|00000510| 70 5f 50 6f 6c 6c 22 2c | 2c 71 25 b8 72 65 61 73 |p_Poll",|,q%.reas|
|00000520| 6f 6e 25 0d 01 40 29 20 | 20 c8 99 20 22 49 6e 74 |on%..@) | .. "Int|
|00000530| 65 72 66 61 63 65 5f 50 | 6f 6c 6c 22 2c 72 65 61 |erface_P|oll",rea|
|00000540| 73 6f 6e 25 2c 2c 74 61 | 73 6b 68 25 0d 01 4a 3c |son%,,ta|skh%..J<|
|00000550| 20 20 c8 99 20 22 49 6e | 74 65 72 66 61 63 65 5f | .. "In|terface_|
|00000560| 50 72 65 50 72 6f 63 65 | 73 73 4b 65 79 22 2c 72 |PreProce|ssKey",r|
|00000570| 65 61 73 6f 6e 25 2c 71 | 25 2c 74 61 73 6b 68 25 |eason%,q|%,taskh%|
|00000580| b8 72 65 61 73 6f 6e 25 | 0d 01 54 10 20 20 c8 8e |.reason%|..T. ..|
|00000590| 72 65 61 73 6f 6e 25 ca | 0d 01 5e 13 20 20 20 20 |reason%.|..^. |
|000005a0| c9 31 3a d6 72 65 64 72 | 61 77 25 0d 01 68 23 20 |.1:.redr|aw%..h# |
|000005b0| 20 20 20 c9 32 3a c8 99 | 20 22 57 69 6d 70 5f 4f | .2:..| "Wimp_O|
|000005c0| 70 65 6e 57 69 6e 64 6f | 77 22 2c 2c 71 25 0d 01 |penWindo|w",,q%..|
|000005d0| 72 24 20 20 20 20 c9 33 | 3a c8 99 20 22 57 69 6d |r$ .3|:.. "Wim|
|000005e0| 70 5f 43 6c 6f 73 65 57 | 69 6e 64 6f 77 22 2c 2c |p_CloseW|indow",,|
|000005f0| 71 25 0d 01 7c 11 20 20 | 20 20 c9 36 3a f2 6d 6f |q%..|. | .6:.mo|
|00000600| 75 73 65 0d 01 86 16 20 | 20 20 20 c9 37 3a f2 64 |use.... | .7:.d|
|00000610| 72 61 67 62 6f 78 65 6e | 64 0d 01 90 14 20 20 20 |ragboxen|d.... |
|00000620| 20 c9 38 3a f2 6b 65 79 | 70 72 65 73 73 0d 01 9a | .8:.key|press...|
|00000630| 16 20 20 20 20 c9 39 3a | f2 64 65 63 6f 64 65 6d |. .9:|.decodem|
|00000640| 65 6e 75 0d 01 a4 28 20 | 20 20 20 c9 31 37 2c 31 |enu...( | .17,1|
|00000650| 38 3a e7 20 71 25 21 34 | 3c 3e 74 61 73 6b 68 25 |8:. q%!4|<>taskh%|
|00000660| 20 8c 20 f2 6d 65 73 73 | 61 67 65 0d 01 ae 07 20 | . .mess|age.... |
|00000670| 20 cb 0d 01 b8 0e fd 66 | 69 6e 69 73 68 65 64 25 | ......f|inished%|
|00000680| 0d 01 c2 04 0d 01 cc 23 | c8 99 20 22 49 6e 74 65 |.......#|.. "Inte|
|00000690| 72 66 61 63 65 5f 43 6c | 6f 73 65 44 6f 77 6e 22 |rface_Cl|oseDown"|
|000006a0| 2c 74 61 73 6b 68 25 0d | 01 d6 28 c8 99 20 22 57 |,taskh%.|..(.. "W|
|000006b0| 69 6d 70 5f 43 6c 6f 73 | 65 44 6f 77 6e 22 2c 74 |imp_Clos|eDown",t|
|000006c0| 61 73 6b 68 25 2c 26 34 | 42 35 33 34 31 35 34 0d |askh%,&4|B534154.|
|000006d0| 01 e0 05 e0 0d 01 ea 04 | 0d 01 f4 0c dd 20 f2 6d |........|..... .m|
|000006e0| 6f 75 73 65 0d 01 fe 0c | c8 8e 71 25 21 31 32 ca |ouse....|..q%!12.|
|000006f0| 0d 02 08 12 20 20 c9 2d | 32 3a c8 8e 71 25 21 31 |.... .-|2:..q%!1|
|00000700| 36 ca 0d 02 12 16 20 20 | 20 20 c9 62 69 63 6e 25 |6..... | .bicn%|
|00000710| 3a c8 8e 71 25 21 38 ca | 0d 02 1c 1f 20 20 20 20 |:..q%!8.|.... |
|00000720| 20 20 c9 34 3a f2 6f 70 | 65 6e 77 69 6e 64 6f 77 | .4:.op|enwindow|
|00000730| 28 6d 61 69 6e 25 29 0d | 02 26 33 20 20 20 20 20 |(main%).|.&3 |
|00000740| 20 c9 32 3a c8 99 20 22 | 57 69 6d 70 5f 43 72 65 | .2:.. "|Wimp_Cre|
|00000750| 61 74 65 4d 65 6e 75 22 | 2c 2c 6d 65 6e 75 25 2c |ateMenu"|,,menu%,|
|00000760| 21 71 25 2d 37 36 2c 31 | 38 34 0d 02 30 78 20 20 |!q%-76,1|84..0x |
|00000770| 20 20 20 20 c9 31 3a e7 | 20 69 6e 24 3c 3e 22 22 | .1:.| in$<>""|
|00000780| 20 80 20 73 70 6e 61 6d | 65 24 3c 3e 22 22 20 8c | . spnam|e$<>"" .|
|00000790| 20 c8 99 20 22 57 69 6d | 70 5f 47 65 74 50 6f 69 | .. "Wim|p_GetPoi|
|000007a0| 6e 74 65 72 49 6e 66 6f | 22 2c 2c 71 25 2b 32 35 |nterInfo|",,q%+25|
|000007b0| 36 3a c8 99 20 22 57 69 | 6d 70 5f 43 72 65 61 74 |6:.. "Wi|mp_Creat|
|000007c0| 65 4d 65 6e 75 22 2c 2c | 73 61 76 65 25 2c 71 25 |eMenu",,|save%,q%|
|000007d0| 21 32 35 36 2d 31 35 32 | 2c 71 25 21 32 36 30 2b |!256-152|,q%!260+|
|000007e0| 36 38 0d 02 3a 09 20 20 | 20 20 cb 0d 02 44 07 20 |68..:. | ...D. |
|000007f0| 20 cb 0d 02 4e 14 20 20 | c9 6d 61 69 6e 25 3a c8 | ...N. |.main%:.|
|00000800| 8e 71 25 21 38 ca 0d 02 | 58 15 20 20 20 20 c9 34 |.q%!8...|X. .4|
|00000810| 2c 31 3a c8 8e 71 25 21 | 31 36 ca 0d 02 62 1b 20 |,1:..q%!|16...b. |
|00000820| 20 20 20 20 20 c9 32 3a | 68 66 6c 69 70 25 3d ac | .2:|hflip%=.|
|00000830| 68 66 6c 69 70 25 0d 02 | 6c 1b 20 20 20 20 20 20 |hflip%..|l. |
|00000840| c9 33 3a 76 66 6c 69 70 | 25 3d ac 76 66 6c 69 70 |.3:vflip|%=.vflip|
|00000850| 25 0d 02 76 40 20 20 20 | 20 20 20 c9 38 3a f2 73 |%..v@ | .8:.s|
|00000860| 65 74 69 63 6f 6e 74 65 | 78 74 28 6d 61 69 6e 25 |eticonte|xt(main%|
|00000870| 2c 36 2c c3 28 bb 28 a4 | 67 65 74 69 63 6f 6e 74 |,6,.(.(.|geticont|
|00000880| 65 78 74 28 6d 61 69 6e | 25 2c 36 29 29 2b 31 29 |ext(main|%,6))+1)|
|00000890| 29 0d 02 80 5f 20 20 20 | 20 20 20 c9 39 3a e7 20 |)..._ | .9:. |
|000008a0| bb 28 a4 67 65 74 69 63 | 6f 6e 74 65 78 74 28 6d |.(.getic|ontext(m|
|000008b0| 61 69 6e 25 2c 36 29 29 | 3e 30 20 8c 20 f2 73 65 |ain%,6))|>0 . .se|
|000008c0| 74 69 63 6f 6e 74 65 78 | 74 28 6d 61 69 6e 25 2c |ticontex|t(main%,|
|000008d0| 36 2c c3 28 bb 28 a4 67 | 65 74 69 63 6f 6e 74 65 |6,.(.(.g|eticonte|
|000008e0| 78 74 28 6d 61 69 6e 25 | 2c 36 29 29 2d 31 29 29 |xt(main%|,6))-1))|
|000008f0| 0d 02 8a 41 20 20 20 20 | 20 20 c9 31 30 3a f2 73 |...A | .10:.s|
|00000900| 65 74 69 63 6f 6e 74 65 | 78 74 28 6d 61 69 6e 25 |eticonte|xt(main%|
|00000910| 2c 37 2c c3 28 bb 28 a4 | 67 65 74 69 63 6f 6e 74 |,7,.(.(.|geticont|
|00000920| 65 78 74 28 6d 61 69 6e | 25 2c 37 29 29 2b 31 29 |ext(main|%,7))+1)|
|00000930| 29 0d 02 94 60 20 20 20 | 20 20 20 c9 31 31 3a e7 |)...` | .11:.|
|00000940| 20 bb 28 a4 67 65 74 69 | 63 6f 6e 74 65 78 74 28 | .(.geti|context(|
|00000950| 6d 61 69 6e 25 2c 37 29 | 29 3e 30 20 8c 20 f2 73 |main%,7)|)>0 . .s|
|00000960| 65 74 69 63 6f 6e 74 65 | 78 74 28 6d 61 69 6e 25 |eticonte|xt(main%|
|00000970| 2c 37 2c c3 28 bb 28 a4 | 67 65 74 69 63 6f 6e 74 |,7,.(.(.|geticont|
|00000980| 65 78 74 28 6d 61 69 6e | 25 2c 37 29 29 2d 31 29 |ext(main|%,7))-1)|
|00000990| 29 0d 02 9e 09 20 20 20 | 20 cb 0d 02 a8 07 20 20 |).... | ..... |
|000009a0| cb 0d 02 b2 14 20 20 c9 | 73 61 76 65 25 3a c8 8e |..... .|save%:..|
|000009b0| 71 25 21 38 ca 0d 02 bc | 15 20 20 20 20 c9 34 2c |q%!8....|. .4,|
|000009c0| 31 3a c8 8e 71 25 21 31 | 36 ca 0d 02 c6 70 20 20 |1:..q%!1|6....p |
|000009d0| 20 20 20 20 c9 30 3a c8 | 99 20 22 49 6e 74 65 72 | .0:.|. "Inter|
|000009e0| 66 61 63 65 5f 53 6c 61 | 62 42 75 74 74 6f 6e 22 |face_Sla|bButton"|
|000009f0| 2c 2c 71 25 3a f2 70 72 | 65 5f 73 61 76 65 28 a4 |,,q%:.pr|e_save(.|
|00000a00| 67 65 74 69 63 6f 6e 74 | 65 78 74 28 73 61 76 65 |geticont|ext(save|
|00000a10| 25 2c 31 29 29 3a 71 25 | 21 38 3d 30 3a c8 99 20 |%,1)):q%|!8=0:.. |
|00000a20| 22 49 6e 74 65 72 66 61 | 63 65 5f 53 6c 61 62 42 |"Interfa|ce_SlabB|
|00000a30| 75 74 74 6f 6e 22 2c 2c | 71 25 0d 02 d0 26 20 20 |utton",,|q%...& |
|00000a40| 20 20 20 20 c9 33 3a f2 | 64 72 61 67 62 6f 78 28 | .3:.|dragbox(|
|00000a50| 73 61 76 65 25 2c 33 2c | 73 70 6e 61 6d 65 24 29 |save%,3,|spname$)|
|00000a60| 0d 02 da 09 20 20 20 20 | cb 0d 02 e4 07 20 20 cb |.... |..... .|
|00000a70| 0d 02 ee 05 cb 0d 02 f8 | 05 e1 0d 03 02 04 0d 03 |........|........|
|00000a80| 0c 0f dd 20 f2 6b 65 79 | 70 72 65 73 73 0d 03 16 |... .key|press...|
|00000a90| 0b c8 8e 71 25 21 34 ca | 0d 03 20 49 20 20 c9 36 |...q%!4.|.. I .6|
|00000aa0| 3a c8 99 20 22 57 69 6d | 70 5f 53 65 74 43 61 72 |:.. "Wim|p_SetCar|
|00000ab0| 65 74 50 6f 73 69 74 69 | 6f 6e 22 2c 6d 61 69 6e |etPositi|on",main|
|00000ac0| 25 2c 37 2c 30 2c 30 2c | 2d 31 2c a9 a4 67 65 74 |%,7,0,0,|-1,..get|
|00000ad0| 69 63 6f 6e 74 65 78 74 | 28 6d 61 69 6e 25 2c 37 |icontext|(main%,7|
|00000ae0| 29 0d 03 2a 26 20 20 c9 | 37 3a c8 99 20 22 57 69 |)..*& .|7:.. "Wi|
|00000af0| 6d 70 5f 53 65 74 43 61 | 72 65 74 50 6f 73 69 74 |mp_SetCa|retPosit|
|00000b00| 69 6f 6e 22 2c 2d 31 0d | 03 34 05 cb 0d 03 3e 1e |ion",-1.|.4....>.|
|00000b10| c8 99 20 22 57 69 6d 70 | 5f 50 72 6f 63 65 73 73 |.. "Wimp|_Process|
|00000b20| 4b 65 79 22 2c 71 25 21 | 32 34 0d 03 48 05 e1 0d |Key",q%!|24..H...|
|00000b30| 03 52 04 0d 03 5c 11 dd | 20 f2 64 65 63 6f 64 65 |.R...\..| .decode|
|00000b40| 6d 65 6e 75 0d 03 66 6b | e7 20 21 71 25 3d 31 20 |menu..fk|. !q%=1 |
|00000b50| 8c 20 66 69 6e 69 73 68 | 65 64 25 3d b9 20 8b 20 |. finish|ed%=. . |
|00000b60| c8 99 20 22 57 69 6d 70 | 5f 47 65 74 50 6f 69 6e |.. "Wimp|_GetPoin|
|00000b70| 74 65 72 49 6e 66 6f 22 | 2c 2c 71 25 3a e7 20 71 |terInfo"|,,q%:. q|
|00000b80| 25 21 38 3d 31 20 8c 20 | c8 99 20 22 57 69 6d 70 |%!8=1 . |.. "Wimp|
|00000b90| 5f 43 72 65 61 74 65 4d | 65 6e 75 22 2c 2c 6d 65 |_CreateM|enu",,me|
|00000ba0| 6e 75 25 2c 21 71 25 2d | 37 32 2c 71 25 21 34 0d |nu%,!q%-|72,q%!4.|
|00000bb0| 03 70 05 e1 0d 03 7a 04 | 0d 03 84 0e dd 20 f2 6d |.p....z.|..... .m|
|00000bc0| 65 73 73 61 67 65 0d 03 | 8e 0c c8 8e 71 25 21 31 |essage..|....q%!1|
|00000bd0| 36 ca 0d 03 98 14 20 20 | c9 30 3a 66 69 6e 69 73 |6..... |.0:finis|
|00000be0| 68 65 64 25 3d b9 0d 03 | a2 7c 20 20 c9 31 3a c8 |hed%=...|.| .1:.|
|00000bf0| 99 20 22 58 4f 53 5f 52 | 65 61 64 56 61 72 56 61 |. "XOS_R|eadVarVa|
|00000c00| 6c 22 2c 22 57 69 6d 70 | 24 53 63 72 61 70 22 2c |l","Wimp|$Scrap",|
|00000c10| 2c 2d 31 2c 30 2c 33 b8 | 2c 2c 78 69 73 74 25 3a |,-1,0,3.|,,xist%:|
|00000c20| e7 20 78 69 73 74 25 3d | 30 20 8c 20 f2 6f 6b 28 |. xist%=|0 . .ok(|
|00000c30| 22 43 61 6e 27 74 20 74 | 72 61 6e 73 66 65 72 20 |"Can't t|ransfer |
|00000c40| 66 69 6c 65 20 28 53 63 | 72 61 70 20 64 69 72 65 |file (Sc|rap dire|
|00000c50| 63 74 6f 72 79 20 6e 6f | 74 20 73 65 74 29 22 29 |ctory no|t set)")|
|00000c60| 3a e1 0d 03 ac 9c 20 20 | e7 20 71 25 21 34 3c 3e |:..... |. q%!4<>|
|00000c70| 74 61 73 6b 68 25 20 80 | 20 28 71 25 21 34 30 3d |taskh% .| (q%!40=|
|00000c80| 26 36 39 30 20 84 20 71 | 25 21 34 30 3d 26 36 39 |&690 . q|%!40=&69|
|00000c90| 44 29 20 8c 20 21 71 25 | 3d 36 30 3a 71 25 21 31 |D) . !q%|=60:q%!1|
|00000ca0| 32 3d 71 25 21 38 3a 71 | 25 21 31 36 3d 32 3a 71 |2=q%!8:q|%!16=2:q|
|00000cb0| 25 21 33 36 3d 2d 31 3a | 24 28 71 25 2b 34 34 29 |%!36=-1:|$(q%+44)|
|00000cc0| 3d 22 3c 57 69 6d 70 24 | 53 63 72 61 70 3e 22 2b |="<Wimp$|Scrap>"+|
|00000cd0| bd 30 3a c8 99 20 22 57 | 69 6d 70 5f 53 65 6e 64 |.0:.. "W|imp_Send|
|00000ce0| 4d 65 73 73 61 67 65 22 | 2c 31 37 2c 71 25 2c 71 |Message"|,17,q%,q|
|00000cf0| 25 21 34 3a 69 6e 73 63 | 72 61 70 25 3d b9 0d 03 |%!4:insc|rap%=...|
|00000d00| b6 08 20 20 c9 32 0d 03 | c0 17 20 20 73 61 76 65 |.. .2..|.. save|
|00000d10| 24 3d a4 76 61 72 28 71 | 25 2b 34 34 29 0d 03 ca |$=.var(q|%+44)...|
|00000d20| 1e 20 20 e7 20 73 61 76 | 65 24 3d 22 3c 57 69 6d |. . sav|e$="<Wim|
|00000d30| 70 24 53 63 72 61 70 3e | 22 20 8c 0d 03 d4 38 20 |p$Scrap>|" ....8 |
|00000d40| 20 20 20 c8 99 20 22 58 | 4f 53 5f 52 65 61 64 56 | .. "X|OS_ReadV|
|00000d50| 61 72 56 61 6c 22 2c 22 | 57 69 6d 70 24 53 63 72 |arVal","|Wimp$Scr|
|00000d60| 61 70 22 2c 2c 2d 31 2c | 30 2c 33 b8 2c 2c 78 69 |ap",,-1,|0,3.,,xi|
|00000d70| 73 74 25 0d 03 de 58 20 | 20 20 20 e7 20 78 69 73 |st%...X | . xis|
|00000d80| 74 25 3d 30 20 8c 20 f2 | 6f 6b 28 22 43 61 6e 27 |t%=0 . .|ok("Can'|
|00000d90| 74 20 74 72 61 6e 73 66 | 65 72 20 66 69 6c 65 20 |t transf|er file |
|00000da0| 28 53 63 72 61 70 20 64 | 69 72 65 63 74 6f 72 79 |(Scrap d|irectory|
|00000db0| 20 6e 6f 74 20 73 65 74 | 29 22 29 3a e1 20 8b 20 | not set|)"):. . |
|00000dc0| 6f 75 74 73 63 72 61 70 | 25 3d b9 0d 03 e8 07 20 |outscrap|%=..... |
|00000dd0| 20 cd 0d 03 f2 4a 20 20 | 71 25 21 31 32 3d 71 25 | ....J |q%!12=q%|
|00000de0| 21 38 3a 71 25 21 31 36 | 3d 33 3a c8 99 20 22 57 |!8:q%!16|=3:.. "W|
|00000df0| 69 6d 70 5f 53 65 6e 64 | 4d 65 73 73 61 67 65 22 |imp_Send|Message"|
|00000e00| 2c 31 37 2c 71 25 2c 71 | 25 21 34 3a f2 70 72 65 |,17,q%,q|%!4:.pre|
|00000e10| 5f 73 61 76 65 28 73 61 | 76 65 24 29 0d 03 fc 11 |_save(sa|ve$)....|
|00000e20| 20 20 c9 33 3a c8 8e 71 | 25 21 34 30 ca 0d 04 06 | .3:..q|%!40....|
|00000e30| 4a 20 20 20 20 c9 26 36 | 39 30 3a 73 70 6e 61 6d |J .&6|90:spnam|
|00000e40| 65 24 3d 22 66 69 6c 65 | 5f 36 39 64 22 3a 69 6e |e$="file|_69d":in|
|00000e50| 24 3d a4 76 61 72 28 71 | 25 2b 34 34 29 3a f2 73 |$=.var(q|%+44):.s|
|00000e60| 61 76 65 62 6f 78 28 22 | 54 61 72 67 61 22 2c 73 |avebox("|Targa",s|
|00000e70| 70 6e 61 6d 65 24 29 0d | 04 10 4a 20 20 20 20 c9 |pname$).|..J .|
|00000e80| 26 36 39 44 3a 73 70 6e | 61 6d 65 24 3d 22 66 69 |&69D:spn|ame$="fi|
|00000e90| 6c 65 5f 36 39 30 22 3a | 69 6e 24 3d a4 76 61 72 |le_690":|in$=.var|
|00000ea0| 28 71 25 2b 34 34 29 3a | f2 73 61 76 65 62 6f 78 |(q%+44):|.savebox|
|00000eb0| 28 22 43 6c 65 61 72 22 | 2c 73 70 6e 61 6d 65 24 |("Clear"|,spname$|
|00000ec0| 29 0d 04 1a 07 20 20 cb | 0d 04 24 39 20 20 71 25 |).... .|..$9 q%|
|00000ed0| 21 31 32 3d 71 25 21 38 | 3a 71 25 21 31 36 3d 34 |!12=q%!8|:q%!16=4|
|00000ee0| 3a c8 99 20 22 57 69 6d | 70 5f 53 65 6e 64 4d 65 |:.. "Wim|p_SendMe|
|00000ef0| 73 73 61 67 65 22 2c 31 | 37 2c 71 25 2c 71 25 21 |ssage",1|7,q%,q%!|
|00000f00| 34 0d 04 2e 6f 20 20 c9 | 31 30 3a 68 25 3d 71 25 |4...o .|10:h%=q%|
|00000f10| 21 32 30 3a c8 99 20 22 | 4f 53 5f 52 65 61 64 56 |!20:.. "|OS_ReadV|
|00000f20| 61 72 56 61 6c 22 2c 22 | 43 6c 72 54 67 61 24 44 |arVal","|ClrTga$D|
|00000f30| 69 72 22 2c 71 25 2b 32 | 35 36 2c 32 35 36 2c 30 |ir",q%+2|56,256,0|
|00000f40| 2c 33 b8 2c 2c 65 6e 64 | 25 3a 71 25 3f 28 32 35 |,3.,,end|%:q%?(25|
|00000f50| 36 2b 65 6e 64 25 29 3d | 31 33 3a d5 23 68 25 2c |6+end%)=|13:.#h%,|
|00000f60| 22 52 75 6e 20 22 2b 24 | 28 71 25 2b 32 35 36 29 |"Run "+$|(q%+256)|
|00000f70| 0d 04 38 05 cb 0d 04 42 | 05 e1 0d 04 4c 04 0d 04 |..8....B|....L...|
|00000f80| 56 ba dd 20 f2 73 61 76 | 65 62 6f 78 28 66 69 6c |V.. .sav|ebox(fil|
|00000f90| 65 24 2c 69 63 6f 6e 24 | 29 3a f2 73 65 74 69 63 |e$,icon$|):.setic|
|00000fa0| 6f 6e 74 65 78 74 28 73 | 61 76 65 25 2c 31 2c 66 |ontext(s|ave%,1,f|
|00000fb0| 69 6c 65 24 29 3a f2 73 | 65 74 69 6e 64 72 74 65 |ile$):.s|etindrte|
|00000fc0| 78 74 28 73 61 76 65 25 | 2c 33 2c 22 70 70 74 72 |xt(save%|,3,"pptr|
|00000fd0| 5f 68 61 6e 64 2c 31 32 | 2c 38 3b 73 22 2b 69 63 |_hand,12|,8;s"+ic|
|00000fe0| 6f 6e 24 29 3a c8 99 20 | 22 57 69 6d 70 5f 47 65 |on$):.. |"Wimp_Ge|
|00000ff0| 74 50 6f 69 6e 74 65 72 | 49 6e 66 6f 22 2c 2c 71 |tPointer|Info",,q|
|00001000| 25 2b 32 35 36 3a c8 99 | 20 22 57 69 6d 70 5f 43 |%+256:..| "Wimp_C|
|00001010| 72 65 61 74 65 4d 65 6e | 75 22 2c 2c 73 61 76 65 |reateMen|u",,save|
|00001020| 25 2c 71 25 21 32 35 36 | 2d 31 35 32 2c 71 25 21 |%,q%!256|-152,q%!|
|00001030| 32 36 30 2b 36 38 3a e1 | 0d 04 60 04 0d 04 6a 23 |260+68:.|..`...j#|
|00001040| dd 20 f2 64 72 61 67 62 | 6f 78 28 77 69 6e 64 25 |. .dragb|ox(wind%|
|00001050| 2c 69 63 6f 6e 25 2c 73 | 70 6e 61 6d 65 24 29 0d |,icon%,s|pname$).|
|00001060| 04 74 c9 21 71 25 3d 77 | 69 6e 64 25 3a c8 99 20 |.t.!q%=w|ind%:.. |
|00001070| 22 57 69 6d 70 5f 47 65 | 74 57 69 6e 64 6f 77 53 |"Wimp_Ge|tWindowS|
|00001080| 74 61 74 65 22 2c 2c 71 | 25 3a 78 25 3d 71 25 21 |tate",,q|%:x%=q%!|
|00001090| 34 3a 79 25 3d 71 25 21 | 31 36 3a 21 71 25 3d 77 |4:y%=q%!|16:!q%=w|
|000010a0| 69 6e 64 25 3a 71 25 21 | 34 3d 69 63 6f 6e 25 3a |ind%:q%!|4=icon%:|
|000010b0| c8 99 20 22 57 69 6d 70 | 5f 47 65 74 49 63 6f 6e |.. "Wimp|_GetIcon|
|000010c0| 53 74 61 74 65 22 2c 2c | 71 25 3a 71 25 21 34 3d |State",,|q%:q%!4=|
|000010d0| 35 3a 71 25 21 38 2b 3d | 78 25 3a 71 25 21 31 32 |5:q%!8+=|x%:q%!12|
|000010e0| 2b 3d 79 25 3a 71 25 21 | 31 36 2b 3d 78 25 3a 71 |+=y%:q%!|16+=x%:q|
|000010f0| 25 21 32 30 2b 3d 79 25 | 3a 71 25 21 32 34 3d 30 |%!20+=y%|:q%!24=0|
|00001100| 3a 71 25 21 32 38 3d 30 | 3a 71 25 21 33 32 3d 26 |:q%!28=0|:q%!32=&|
|00001110| 37 46 46 46 46 46 46 46 | 3a 71 25 21 33 36 3d 26 |7FFFFFFF|:q%!36=&|
|00001120| 37 46 46 46 46 46 46 46 | 0d 04 7e 7b c8 99 20 22 |7FFFFFFF|..~{.. "|
|00001130| 4f 53 5f 42 79 74 65 22 | 2c 31 36 31 2c 32 38 b8 |OS_Byte"|,161,28.|
|00001140| 2c 2c 64 72 61 67 61 73 | 70 72 25 3a e7 20 64 72 |,,dragas|pr%:. dr|
|00001150| 61 67 61 73 70 72 25 80 | 32 20 8c 20 c8 99 20 22 |agaspr%.|2 . .. "|
|00001160| 44 72 61 67 41 53 70 72 | 69 74 65 5f 53 74 61 72 |DragASpr|ite_Star|
|00001170| 74 22 2c 31 39 37 2c 31 | 2c 73 70 6e 61 6d 65 24 |t",197,1|,spname$|
|00001180| 2c 71 25 2b 38 2c 71 25 | 2b 32 34 20 8b 20 c8 99 |,q%+8,q%|+24 . ..|
|00001190| 20 22 57 69 6d 70 5f 44 | 72 61 67 42 6f 78 22 2c | "Wimp_D|ragBox",|
|000011a0| 2c 71 25 0d 04 88 05 e1 | 0d 04 92 04 0d 04 9c 11 |,q%.....|........|
|000011b0| dd 20 f2 64 72 61 67 62 | 6f 78 65 6e 64 0d 04 a6 |. .dragb|oxend...|
|000011c0| 29 e7 20 64 72 61 67 61 | 73 70 72 25 80 32 20 8c |). draga|spr%.2 .|
|000011d0| 20 c8 99 20 22 44 72 61 | 67 41 53 70 72 69 74 65 | .. "Dra|gASprite|
|000011e0| 5f 53 74 6f 70 22 0d 04 | b0 20 c8 99 20 22 57 69 |_Stop"..|. .. "Wi|
|000011f0| 6d 70 5f 47 65 74 50 6f | 69 6e 74 65 72 49 6e 66 |mp_GetPo|interInf|
|00001200| 6f 22 2c 2c 71 25 0d 04 | ba 48 71 25 21 32 30 3d |o",,q%..|.Hq%!20=|
|00001210| 71 25 21 31 32 3a 71 25 | 21 32 34 3d 71 25 21 31 |q%!12:q%|!24=q%!1|
|00001220| 36 3a 71 25 21 32 38 3d | 21 71 25 3a 71 25 21 33 |6:q%!28=|!q%:q%!3|
|00001230| 32 3d 71 25 21 34 3a 71 | 25 21 31 32 3d 30 3a 71 |2=q%!4:q|%!12=0:q|
|00001240| 25 21 31 36 3d 31 3a 71 | 25 21 33 36 3d 30 0d 04 |%!16=1:q|%!36=0..|
|00001250| c4 32 e7 20 73 70 6e 61 | 6d 65 24 3d 22 66 69 6c |.2. spna|me$="fil|
|00001260| 65 5f 36 39 64 22 20 8c | 20 71 25 21 34 30 3d 26 |e_69d" .| q%!40=&|
|00001270| 36 39 64 20 8b 20 71 25 | 21 34 30 3d 26 36 39 30 |69d . q%|!40=&690|
|00001280| 0d 04 ce 2c 24 28 71 25 | 2b 34 34 29 3d a4 6c 65 |...,$(q%|+44)=.le|
|00001290| 61 66 28 a4 67 65 74 69 | 63 6f 6e 74 65 78 74 28 |af(.geti|context(|
|000012a0| 73 61 76 65 25 2c 31 29 | 29 2b bd 30 0d 04 d8 28 |save%,1)|)+.0...(|
|000012b0| 21 71 25 3d 34 34 2b 28 | a9 a4 67 65 74 69 63 6f |!q%=44+(|..getico|
|000012c0| 6e 74 65 78 74 28 73 61 | 76 65 25 2c 31 29 2b 34 |ntext(sa|ve%,1)+4|
|000012d0| 29 80 ac 33 0d 04 e2 2b | c8 99 20 22 57 69 6d 70 |)..3...+|.. "Wimp|
|000012e0| 5f 53 65 6e 64 4d 65 73 | 73 61 67 65 22 2c 31 37 |_SendMes|sage",17|
|000012f0| 2c 71 25 2c 71 25 21 32 | 30 2c 71 25 21 32 34 0d |,q%,q%!2|0,q%!24.|
|00001300| 04 ec 05 e1 0d 04 f6 04 | 0d 05 00 11 dd a4 6c 65 |........|......le|
|00001310| 61 66 28 66 69 6c 65 24 | 29 0d 05 0a 31 c8 95 a7 |af(file$|)...1...|
|00001320| 66 69 6c 65 24 2c 22 3a | 22 29 3e 30 3a 66 69 6c |file$,":|")>0:fil|
|00001330| 65 24 3d c1 66 69 6c 65 | 24 2c a7 66 69 6c 65 24 |e$=.file|$,.file$|
|00001340| 2c 22 3a 22 29 2b 31 29 | 3a ce 0d 05 14 31 c8 95 |,":")+1)|:....1..|
|00001350| a7 66 69 6c 65 24 2c 22 | 2e 22 29 3e 30 3a 66 69 |.file$,"|.")>0:fi|
|00001360| 6c 65 24 3d c1 66 69 6c | 65 24 2c a7 66 69 6c 65 |le$=.fil|e$,.file|
|00001370| 24 2c 22 2e 22 29 2b 31 | 29 3a ce 0d 05 1e 0a 3d |$,".")+1|):.....=|
|00001380| 66 69 6c 65 24 0d 05 28 | 04 0d 05 32 3e dd a4 76 |file$..(|...2>..v|
|00001390| 61 72 28 76 61 72 25 29 | 76 61 72 24 3d 22 22 3a |ar(var%)|var$="":|
|000013a0| c8 95 3f 76 61 72 25 3e | 33 31 3a 76 61 72 24 2b |..?var%>|31:var$+|
|000013b0| 3d bd 3f 76 61 72 25 3a | 76 61 72 25 2b 3d 31 3a |=.?var%:|var%+=1:|
|000013c0| ce 3a 3d 76 61 72 24 0d | 05 3c 3d dd a4 74 65 78 |.:=var$.|.<=..tex|
|000013d0| 74 61 64 64 72 28 77 69 | 6e 64 25 2c 69 63 6f 6e |taddr(wi|nd%,icon|
|000013e0| 25 29 f2 67 65 74 69 63 | 6f 6e 73 74 61 74 65 28 |%).getic|onstate(|
|000013f0| 77 69 6e 64 25 2c 69 63 | 6f 6e 25 29 3a 3d 71 25 |wind%,ic|on%):=q%|
|00001400| 21 32 38 34 0d 05 46 3d | dd a4 69 6e 64 72 61 64 |!284..F=|..indrad|
|00001410| 64 72 28 77 69 6e 64 25 | 2c 69 63 6f 6e 25 29 f2 |dr(wind%|,icon%).|
|00001420| 67 65 74 69 63 6f 6e 73 | 74 61 74 65 28 77 69 6e |geticons|tate(win|
|00001430| 64 25 2c 69 63 6f 6e 25 | 29 3a 3d 71 25 21 32 38 |d%,icon%|):=q%!28|
|00001440| 38 0d 05 50 5a dd 20 f2 | 67 65 74 69 63 6f 6e 73 |8..PZ. .|geticons|
|00001450| 74 61 74 65 28 77 69 6e | 64 25 2c 69 63 6f 6e 25 |tate(win|d%,icon%|
|00001460| 29 71 25 21 32 35 36 3d | 77 69 6e 64 25 3a 71 25 |)q%!256=|wind%:q%|
|00001470| 21 32 36 30 3d 69 63 6f | 6e 25 3a c8 99 20 22 57 |!260=ico|n%:.. "W|
|00001480| 69 6d 70 5f 47 65 74 49 | 63 6f 6e 53 74 61 74 65 |imp_GetI|conState|
|00001490| 22 2c 2c 71 25 2b 32 35 | 36 3a e1 0d 05 5a 80 dd |",,q%+25|6:...Z..|
|000014a0| 20 f2 73 65 74 69 63 6f | 6e 73 74 61 74 65 28 77 | .setico|nstate(w|
|000014b0| 69 6e 64 25 2c 69 63 6f | 6e 25 2c 65 6f 72 25 2c |ind%,ico|n%,eor%,|
|000014c0| 63 6c 65 61 72 25 29 71 | 25 21 32 35 36 3d 77 69 |clear%)q|%!256=wi|
|000014d0| 6e 64 25 3a 71 25 21 32 | 36 30 3d 69 63 6f 6e 25 |nd%:q%!2|60=icon%|
|000014e0| 3a 71 25 21 32 36 34 3d | 65 6f 72 25 3a 71 25 21 |:q%!264=|eor%:q%!|
|000014f0| 32 36 38 3d 63 6c 65 61 | 72 25 3a c8 99 20 22 57 |268=clea|r%:.. "W|
|00001500| 69 6d 70 5f 53 65 74 49 | 63 6f 6e 53 74 61 74 65 |imp_SetI|conState|
|00001510| 22 2c 2c 71 25 2b 32 35 | 36 3a e1 0d 05 64 3b dd |",,q%+25|6:...d;.|
|00001520| a4 67 65 74 69 63 6f 6e | 74 65 78 74 28 77 69 6e |.geticon|text(win|
|00001530| 64 25 2c 69 63 6f 6e 25 | 29 3d a4 76 61 72 28 a4 |d%,icon%|)=.var(.|
|00001540| 74 65 78 74 61 64 64 72 | 28 77 69 6e 64 25 2c 69 |textaddr|(wind%,i|
|00001550| 63 6f 6e 25 29 29 0d 05 | 6e 63 dd 20 f2 73 65 74 |con%))..|nc. .set|
|00001560| 69 63 6f 6e 74 65 78 74 | 28 77 69 6e 64 25 2c 69 |icontext|(wind%,i|
|00001570| 63 6f 6e 25 2c 74 65 78 | 74 24 29 24 a4 74 65 78 |con%,tex|t$)$.tex|
|00001580| 74 61 64 64 72 28 77 69 | 6e 64 25 2c 69 63 6f 6e |taddr(wi|nd%,icon|
|00001590| 25 29 3d 74 65 78 74 24 | 3a f2 73 65 74 69 63 6f |%)=text$|:.setico|
|000015a0| 6e 73 74 61 74 65 28 77 | 69 6e 64 25 2c 69 63 6f |nstate(w|ind%,ico|
|000015b0| 6e 25 2c 30 2c 30 29 3a | e1 0d 05 78 63 dd 20 f2 |n%,0,0):|...xc. .|
|000015c0| 73 65 74 69 6e 64 72 74 | 65 78 74 28 77 69 6e 64 |setindrt|ext(wind|
|000015d0| 25 2c 69 63 6f 6e 25 2c | 74 65 78 74 24 29 24 a4 |%,icon%,|text$)$.|
|000015e0| 69 6e 64 72 61 64 64 72 | 28 77 69 6e 64 25 2c 69 |indraddr|(wind%,i|
|000015f0| 63 6f 6e 25 29 3d 74 65 | 78 74 24 3a f2 73 65 74 |con%)=te|xt$:.set|
|00001600| 69 63 6f 6e 73 74 61 74 | 65 28 77 69 6e 64 25 2c |iconstat|e(wind%,|
|00001610| 69 63 6f 6e 25 2c 30 2c | 30 29 3a e1 0d 05 82 04 |icon%,0,|0):.....|
|00001620| 0d 05 8c 6e dd 20 f2 6f | 70 65 6e 77 69 6e 64 6f |...n. .o|penwindo|
|00001630| 77 28 77 69 6e 64 25 29 | 71 25 21 32 35 36 3d 77 |w(wind%)|q%!256=w|
|00001640| 69 6e 64 25 3a c8 99 20 | 22 57 69 6d 70 5f 47 65 |ind%:.. |"Wimp_Ge|
|00001650| 74 57 69 6e 64 6f 77 53 | 74 61 74 65 22 2c 2c 71 |tWindowS|tate",,q|
|00001660| 25 2b 32 35 36 3a 71 25 | 21 32 38 34 3d 2d 31 3a |%+256:q%|!284=-1:|
|00001670| c8 99 20 22 57 69 6d 70 | 5f 4f 70 65 6e 57 69 6e |.. "Wimp|_OpenWin|
|00001680| 64 6f 77 22 2c 2c 71 25 | 2b 32 35 36 3a e1 0d 05 |dow",,q%|+256:...|
|00001690| 96 04 0d 05 a0 16 dd a4 | 63 72 65 61 74 65 77 69 |........|createwi|
|000016a0| 6e 28 74 65 6d 70 24 29 | 0d 05 aa 5e c8 99 20 22 |n(temp$)|...^.. "|
|000016b0| 57 69 6d 70 5f 4c 6f 61 | 64 54 65 6d 70 6c 61 74 |Wimp_Loa|dTemplat|
|000016c0| 65 22 2c 2c 71 25 2c 69 | 6e 64 72 25 2c 69 6e 64 |e",,q%,i|ndr%,ind|
|000016d0| 72 5f 65 6e 64 25 2c 2d | 31 2c 74 65 6d 70 24 2c |r_end%,-|1,temp$,|
|000016e0| 30 b8 2c 2c 69 6e 64 72 | 25 3a e7 20 74 65 6d 70 |0.,,indr|%:. temp|
|000016f0| 24 3d 22 6d 61 69 6e 22 | 20 8c 20 71 25 21 36 34 |$="main"| . q%!64|
|00001700| 3d 77 73 70 72 25 0d 05 | b4 24 c8 99 20 22 57 69 |=wspr%..|.$.. "Wi|
|00001710| 6d 70 5f 43 72 65 61 74 | 65 57 69 6e 64 6f 77 22 |mp_Creat|eWindow"|
|00001720| 2c 2c 71 25 b8 77 69 6e | 64 25 0d 05 be 0a 3d 77 |,,q%.win|d%....=w|
|00001730| 69 6e 64 25 0d 05 c8 04 | 0d 05 d2 16 dd 20 f2 70 |ind%....|..... .p|
|00001740| 72 65 5f 73 61 76 65 28 | 66 69 6c 65 24 29 0d 05 |re_save(|file$)..|
|00001750| dc 70 e7 20 ac 6f 75 74 | 73 63 72 61 70 25 20 8c |.p. .out|scrap% .|
|00001760| 20 e7 20 a7 66 69 6c 65 | 24 2c 22 2e 22 29 3c 31 | . .file|$,".")<1|
|00001770| 20 80 20 a7 66 69 6c 65 | 24 2c 22 3a 22 29 3c 31 | . .file|$,":")<1|
|00001780| 20 8c 20 f2 6f 6b 28 22 | 54 6f 20 73 61 76 65 2c | . .ok("|To save,|
|00001790| 20 64 72 61 67 20 74 68 | 65 20 66 69 6c 65 20 69 | drag th|e file i|
|000017a0| 63 6f 6e 20 74 6f 20 61 | 20 64 69 72 65 63 74 6f |con to a| directo|
|000017b0| 72 79 20 64 69 73 70 6c | 61 79 22 29 3a e1 0d 05 |ry displ|ay"):...|
|000017c0| e6 66 e7 20 69 6e 24 3d | 22 3c 57 69 6d 70 24 53 |.f. in$=|"<Wimp$S|
|000017d0| 63 72 61 70 3e 22 20 80 | 20 66 69 6c 65 24 3d 22 |crap>" .| file$="|
|000017e0| 3c 57 69 6d 70 24 53 63 | 72 61 70 3e 22 20 8c 20 |<Wimp$Sc|rap>" . |
|000017f0| f2 6f 6b 28 22 49 20 63 | 61 6e 6e 6f 74 20 70 65 |.ok("I c|annot pe|
|00001800| 72 66 6f 72 6d 20 61 6e | 20 61 70 70 2d 3e 6d 65 |rform an| app->me|
|00001810| 2d 3e 61 70 70 32 20 74 | 72 61 6e 73 66 65 72 21 |->app2 t|ransfer!|
|00001820| 22 29 3a e1 0d 05 f0 49 | e7 20 69 6e 24 3d 66 69 |"):....I|. in$=fi|
|00001830| 6c 65 24 20 8c 20 f2 6f | 6b 28 22 59 6f 75 20 61 |le$ . .o|k("You a|
|00001840| 72 65 20 75 73 69 6e 67 | 20 74 68 65 20 73 61 6d |re using| the sam|
|00001850| 65 20 69 6e 70 75 74 20 | 61 6e 64 20 6f 75 74 70 |e input |and outp|
|00001860| 75 74 20 66 69 6c 65 73 | 21 22 29 3a e1 0d 05 fa |ut files|!"):....|
|00001870| 15 c8 99 20 22 48 6f 75 | 72 67 6c 61 73 73 5f 4f |... "Hou|rglass_O|
|00001880| 6e 22 0d 06 04 0b 68 25 | 3d 8e 69 6e 24 0d 06 0e |n"....h%|=.in$...|
|00001890| 35 c8 99 20 22 57 69 6d | 70 5f 53 6c 6f 74 53 69 |5.. "Wim|p_SlotSi|
|000018a0| 7a 65 22 2c a2 23 68 25 | 2b 62 61 73 65 73 6c 6f |ze",.#h%|+baseslo|
|000018b0| 74 25 2b 36 34 2c 2d 31 | b8 63 75 72 72 73 6c 6f |t%+64,-1|.currslo|
|000018c0| 74 25 0d 06 18 23 e7 20 | 63 75 72 72 73 6c 6f 74 |t%...#. |currslot|
|000018d0| 25 3c a2 23 68 25 2b 62 | 61 73 65 73 6c 6f 74 25 |%<.#h%+b|aseslot%|
|000018e0| 2b 36 34 20 8c 0d 06 22 | 6d 20 20 f2 6f 6b 28 22 |+64 ..."|m .ok("|
|000018f0| 49 20 63 61 6e 6e 6f 74 | 20 67 72 61 62 20 74 68 |I cannot| grab th|
|00001900| 65 20 6d 65 6d 6f 72 79 | 20 6e 65 65 64 65 64 20 |e memory| needed |
|00001910| 66 6f 72 20 70 72 6f 63 | 65 73 73 69 6e 67 20 74 |for proc|essing t|
|00001920| 68 69 73 20 66 69 6c 65 | 2e 20 50 6c 65 61 73 65 |his file|. Please|
|00001930| 20 66 72 65 65 20 73 6f | 6d 65 20 6d 65 6d 6f 72 | free so|me memor|
|00001940| 79 20 61 6e 64 20 74 72 | 79 20 61 67 61 69 6e 2e |y and tr|y again.|
|00001950| 22 29 0d 06 2c 25 20 20 | c8 99 20 22 57 69 6d 70 |")..,% |.. "Wimp|
|00001960| 5f 53 6c 6f 74 53 69 7a | 65 22 2c 62 61 73 65 73 |_SlotSiz|e",bases|
|00001970| 6c 6f 74 25 2c 2d 31 0d | 06 36 07 20 20 e1 0d 06 |lot%,-1.|.6. ...|
|00001980| 40 05 cd 0d 06 4a 0c 6f | 75 74 25 3d 93 2b 31 0d |@....J.o|ut%=.+1.|
|00001990| 06 54 0e c8 8e 73 70 6e | 61 6d 65 24 ca 0d 06 5e |.T...spn|ame$...^|
|000019a0| 21 20 20 c9 22 66 69 6c | 65 5f 36 39 64 22 3a f2 |! ."fil|e_69d":.|
|000019b0| 63 6c 65 61 72 5f 74 6f | 5f 74 61 72 67 61 0d 06 |clear_to|_targa..|
|000019c0| 68 21 20 20 c9 22 66 69 | 6c 65 5f 36 39 30 22 3a |h! ."fi|le_690":|
|000019d0| f2 74 61 72 67 61 5f 74 | 6f 5f 63 6c 65 61 72 0d |.targa_t|o_clear.|
|000019e0| 06 72 05 cb 0d 06 7c 08 | d9 23 68 25 0d 06 86 1e |.r....|.|.#h%....|
|000019f0| e7 69 6e 73 63 72 61 70 | 25 20 8c 20 ff 22 52 65 |.inscrap|% . ."Re|
|00001a00| 6d 6f 76 65 20 22 2b 69 | 6e 24 0d 06 90 0e 69 6e |move "+i|n$....in|
|00001a10| 73 63 72 61 70 25 3d a3 | 0d 06 9a 1b c8 99 20 22 |scrap%=.|...... "|
|00001a20| 57 69 6d 70 5f 43 72 65 | 61 74 65 4d 65 6e 75 22 |Wimp_Cre|ateMenu"|
|00001a30| 2c 2d 31 0d 06 a4 23 c8 | 99 20 22 57 69 6d 70 5f |,-1...#.|. "Wimp_|
|00001a40| 53 6c 6f 74 53 69 7a 65 | 22 2c 62 61 73 65 73 6c |SlotSize|",basesl|
|00001a50| 6f 74 25 2c 2d 31 0d 06 | ae 16 c8 99 20 22 48 6f |ot%,-1..|.... "Ho|
|00001a60| 75 72 67 6c 61 73 73 5f | 4f 66 66 22 0d 06 b8 05 |urglass_|Off"....|
|00001a70| e1 0d 06 c2 04 0d 06 cc | 15 dd 20 f2 63 6c 65 61 |........|.. .clea|
|00001a80| 72 5f 74 6f 5f 74 61 72 | 67 61 0d 06 d6 0f c8 95 |r_to_tar|ga......|
|00001a90| 9a 23 68 25 3c 3e 30 3a | ce 0d 06 e0 50 76 65 72 |.#h%<>0:|....Pver|
|00001aa0| 25 3d a4 77 6f 72 64 3a | 78 73 69 7a 25 3d a4 77 |%=.word:|xsiz%=.w|
|00001ab0| 6f 72 64 3a 79 73 69 7a | 25 3d a4 77 6f 72 64 3a |ord:ysiz|%=.word:|
|00001ac0| 62 70 70 25 3d a4 77 6f | 72 64 3a e7 20 62 70 70 |bpp%=.wo|rd:. bpp|
|00001ad0| 25 3c 3d 38 20 8c 20 6f | 62 70 70 25 3d 38 20 8b |%<=8 . o|bpp%=8 .|
|00001ae0| 20 6f 62 70 70 25 3d 32 | 34 0d 06 ea 0b 3f 6f 75 | obpp%=2|4....?ou|
|00001af0| 74 25 3d 30 0d 06 f4 45 | 6f 75 74 25 3f 38 3d bb |t%=0...E|out%?8=.|
|00001b00| a4 67 65 74 69 63 6f 6e | 74 65 78 74 28 6d 61 69 |.geticon|text(mai|
|00001b10| 6e 25 2c 36 29 3a 6f 75 | 74 25 3f 39 3d 28 bb a4 |n%,6):ou|t%?9=(..|
|00001b20| 67 65 74 69 63 6f 6e 74 | 65 78 74 28 6d 61 69 6e |geticont|ext(main|
|00001b30| 25 2c 36 29 29 81 32 35 | 36 0d 06 fe 47 6f 75 74 |%,6)).25|6...Gout|
|00001b40| 25 3f 31 30 3d bb a4 67 | 65 74 69 63 6f 6e 74 65 |%?10=..g|eticonte|
|00001b50| 78 74 28 6d 61 69 6e 25 | 2c 36 29 3a 6f 75 74 25 |xt(main%|,6):out%|
|00001b60| 3f 31 31 3d 28 bb a4 67 | 65 74 69 63 6f 6e 74 65 |?11=(..g|eticonte|
|00001b70| 78 74 28 6d 61 69 6e 25 | 2c 36 29 29 81 32 35 36 |xt(main%|,6)).256|
|00001b80| 0d 07 08 23 6f 75 74 25 | 3f 31 32 3d 78 73 69 7a |...#out%|?12=xsiz|
|00001b90| 25 3a 6f 75 74 25 3f 31 | 33 3d 78 73 69 7a 25 81 |%:out%?1|3=xsiz%.|
|00001ba0| 32 35 36 0d 07 12 23 6f | 75 74 25 3f 31 34 3d 79 |256...#o|ut%?14=y|
|00001bb0| 73 69 7a 25 3a 6f 75 74 | 25 3f 31 35 3d 79 73 69 |siz%:out|%?15=ysi|
|00001bc0| 7a 25 81 32 35 36 0d 07 | 1c 11 6f 75 74 25 3f 31 |z%.256..|..out%?1|
|00001bd0| 36 3d 6f 62 70 70 25 0d | 07 26 27 e7 20 68 66 6c |6=obpp%.|.&'. hfl|
|00001be0| 69 70 25 20 8c 20 6f 75 | 74 25 3f 31 37 3d 31 3c |ip% . ou|t%?17=1<|
|00001bf0| 3c 34 20 8b 20 6f 75 74 | 25 3f 31 37 3d 30 0d 07 |<4 . out|%?17=0..|
|00001c00| 30 1d e7 20 ac 76 66 6c | 69 70 25 20 8c 20 6f 75 |0.. .vfl|ip% . ou|
|00001c10| 74 25 3f 31 37 2b 3d 31 | 3c 3c 35 0d 07 3a 0f e7 |t%?17+=1|<<5..:..|
|00001c20| 20 62 70 70 25 3c 3d 38 | 20 8c 0d 07 44 4d 20 20 | bpp%<=8| ...DM |
|00001c30| 6f 75 74 25 3f 31 3d 31 | 3a 6f 75 74 25 3f 32 3d |out%?1=1|:out%?2=|
|00001c40| 31 3a 6f 75 74 25 3f 33 | 3d 30 3a 6f 75 74 25 3f |1:out%?3|=0:out%?|
|00001c50| 34 3d 30 3a 6f 75 74 25 | 3f 35 3d 32 5e 6f 62 70 |4=0:out%|?5=2^obp|
|00001c60| 70 25 3a 6f 75 74 25 3f | 36 3d 28 32 5e 6f 62 70 |p%:out%?|6=(2^obp|
|00001c70| 70 25 29 81 32 35 36 0d | 07 4e 0f 20 20 6f 75 74 |p%).256.|.N. out|
|00001c80| 25 3f 37 3d 32 34 0d 07 | 58 28 20 20 c8 99 20 22 |%?7=24..|X( .. "|
|00001c90| 4f 53 5f 47 42 50 42 22 | 2c 34 2c 68 25 2c 6f 75 |OS_GBPB"|,4,h%,ou|
|00001ca0| 74 25 2b 31 38 2c 32 5e | 62 70 70 25 2a 33 0d 07 |t%+18,2^|bpp%*3..|
|00001cb0| 62 3d 20 20 c8 99 20 22 | 4f 53 5f 47 42 50 42 22 |b= .. "|OS_GBPB"|
|00001cc0| 2c 34 2c 68 25 2c 6f 75 | 74 25 2b 31 38 2b 32 5e |,4,h%,ou|t%+18+2^|
|00001cd0| 6f 62 70 70 25 2a 33 2c | 78 73 69 7a 25 2a 79 73 |obpp%*3,|xsiz%*ys|
|00001ce0| 69 7a 25 2a 6f 62 70 70 | 25 2f 38 0d 07 6c 2e 20 |iz%*obpp|%/8..l. |
|00001cf0| 20 41 25 3d 6f 75 74 25 | 2b 31 38 3a 42 25 3d 6f | A%=out%|+18:B%=o|
|00001d00| 75 74 25 2b 31 38 2b 32 | 5e 6f 62 70 70 25 2a 33 |ut%+18+2|^obpp%*3|
|00001d10| 3a d6 73 77 61 70 32 34 | 25 0d 07 76 4c 20 20 c8 |:.swap24|%..vL .|
|00001d20| 99 20 22 4f 53 5f 46 69 | 6c 65 22 2c 31 30 2c 66 |. "OS_Fi|le",10,f|
|00001d30| 69 6c 65 24 2c 26 36 39 | 44 2c 2c 6f 75 74 25 2c |ile$,&69|D,,out%,|
|00001d40| 6f 75 74 25 2b 31 38 2b | 32 5e 6f 62 70 70 25 2a |out%+18+|2^obpp%*|
|00001d50| 33 2b 78 73 69 7a 25 2a | 79 73 69 7a 25 2a 6f 62 |3+xsiz%*|ysiz%*ob|
|00001d60| 70 70 25 2f 38 0d 07 80 | 05 cc 0d 07 8a 44 20 20 |pp%/8...|.....D |
|00001d70| 6f 75 74 25 3f 31 3d 30 | 3a 6f 75 74 25 3f 32 3d |out%?1=0|:out%?2=|
|00001d80| 32 3a 6f 75 74 25 3f 33 | 3d 30 3a 6f 75 74 25 3f |2:out%?3|=0:out%?|
|00001d90| 34 3d 30 3a 6f 75 74 25 | 3f 35 3d 30 3a 6f 75 74 |4=0:out%|?5=0:out|
|00001da0| 25 3f 36 3d 30 3a 6f 75 | 74 25 3f 37 3d 30 0d 07 |%?6=0:ou|t%?7=0..|
|00001db0| 94 2d 20 20 c8 99 20 22 | 4f 53 5f 47 42 50 42 22 |.- .. "|OS_GBPB"|
|00001dc0| 2c 34 2c 68 25 2c 6f 75 | 74 25 2b 31 38 2c 78 73 |,4,h%,ou|t%+18,xs|
|00001dd0| 69 7a 25 2a 79 73 69 7a | 25 2a 33 0d 07 9e 32 20 |iz%*ysiz|%*3...2 |
|00001de0| 20 41 25 3d 6f 75 74 25 | 2b 31 38 3a 42 25 3d 6f | A%=out%|+18:B%=o|
|00001df0| 75 74 25 2b 31 38 2b 78 | 73 69 7a 25 2a 79 73 69 |ut%+18+x|siz%*ysi|
|00001e00| 7a 25 2a 33 3a d6 73 77 | 61 70 32 34 25 0d 07 a8 |z%*3:.sw|ap24%...|
|00001e10| 3e 20 20 c8 99 20 22 4f | 53 5f 46 69 6c 65 22 2c |> .. "O|S_File",|
|00001e20| 31 30 2c 66 69 6c 65 24 | 2c 26 36 39 44 2c 2c 6f |10,file$|,&69D,,o|
|00001e30| 75 74 25 2c 6f 75 74 25 | 2b 31 38 2b 28 78 73 69 |ut%,out%|+18+(xsi|
|00001e40| 7a 25 2a 79 73 69 7a 25 | 2a 33 29 0d 07 b2 05 cd |z%*ysiz%|*3).....|
|00001e50| 0d 07 bc 05 e1 0d 07 c6 | 04 0d 07 d0 15 dd 20 f2 |........|...... .|
|00001e60| 74 61 72 67 61 5f 74 6f | 5f 63 6c 65 61 72 0d 07 |targa_to|_clear..|
|00001e70| da 38 69 64 6c 65 6e 25 | 3d 9a 23 68 25 3a 63 6c |.8idlen%|=.#h%:cl|
|00001e80| 6d 61 70 25 3d 9a 23 68 | 25 3a 69 74 79 70 65 25 |map%=.#h|%:itype%|
|00001e90| 3d 9a 23 68 25 3a 63 6d | 66 73 74 25 3d a4 68 61 |=.#h%:cm|fst%=.ha|
|00001ea0| 6c 66 77 6f 72 64 0d 07 | e4 42 63 6d 6c 65 6e 25 |lfword..|.Bcmlen%|
|00001eb0| 3d a4 68 61 6c 66 77 6f | 72 64 3a 63 6d 62 70 63 |=.halfwo|rd:cmbpc|
|00001ec0| 25 3d 9a 23 68 25 3a 78 | 6f 72 69 67 25 3d a4 68 |%=.#h%:x|orig%=.h|
|00001ed0| 61 6c 66 77 6f 72 64 3a | 79 6f 72 69 67 25 3d a4 |alfword:|yorig%=.|
|00001ee0| 68 61 6c 66 77 6f 72 64 | 0d 07 ee 3d 78 73 69 7a |halfword|...=xsiz|
|00001ef0| 65 25 3d a4 68 61 6c 66 | 77 6f 72 64 3a 79 73 69 |e%=.half|word:ysi|
|00001f00| 7a 65 25 3d a4 68 61 6c | 66 77 6f 72 64 3a 69 6d |ze%=.hal|fword:im|
|00001f10| 62 70 70 25 3d 9a 23 68 | 25 3a 66 6c 61 67 73 25 |bpp%=.#h|%:flags%|
|00001f20| 3d 9a 23 68 25 0d 07 f8 | 38 e7 20 69 6d 62 70 70 |=.#h%...|8. imbpp|
|00001f30| 25 3e 32 34 20 8c 20 f2 | 6f 6b 28 22 49 20 63 61 |%>24 . .|ok("I ca|
|00001f40| 6e 6e 6f 74 20 68 61 6e | 64 6c 65 20 3e 32 34 62 |nnot han|dle >24b|
|00001f50| 70 70 20 54 61 72 67 61 | 21 22 29 3a e1 0d 08 02 |pp Targa|!"):....|
|00001f60| 47 e7 20 69 74 79 70 65 | 25 3e 38 20 80 20 69 74 |G. itype|%>8 . it|
|00001f70| 79 70 65 25 3c 31 32 20 | 8c 20 f2 6f 6b 28 22 49 |ype%<12 |. .ok("I|
|00001f80| 20 63 61 6e 6e 6f 74 20 | 68 61 6e 64 6c 65 20 63 | cannot |handle c|
|00001f90| 6f 6d 70 72 65 73 73 65 | 64 20 54 61 72 67 61 21 |ompresse|d Targa!|
|00001fa0| 22 29 3a e1 0d 08 0c 14 | cf 23 68 25 3d 8f 23 68 |"):.....|.#h%=.#h|
|00001fb0| 25 2b 69 64 6c 65 6e 25 | 0d 08 16 2d 24 6f 75 74 |%+idlen%|...-$out|
|00001fc0| 25 3d 22 43 6c 65 61 72 | 2d 54 61 72 67 61 22 3a |%="Clear|-Targa":|
|00001fd0| 6f 75 74 25 3f 31 31 3d | 30 3a 6f 75 74 25 21 31 |out%?11=|0:out%!1|
|00001fe0| 32 3d 31 30 32 0d 08 20 | 30 6f 75 74 25 21 31 36 |2=102.. |0out%!16|
|00001ff0| 3d 78 73 69 7a 65 25 3a | 6f 75 74 25 21 32 30 3d |=xsize%:|out%!20=|
|00002000| 79 73 69 7a 65 25 3a 6f | 75 74 25 21 32 34 3d 69 |ysize%:o|ut%!24=i|
|00002010| 6d 62 70 70 25 0d 08 2a | 10 64 61 74 25 3d 6f 75 |mbpp%..*|.dat%=ou|
|00002020| 74 25 2b 32 38 0d 08 34 | 11 e7 20 69 6d 62 70 70 |t%+28..4|.. imbpp|
|00002030| 25 3c 3d 38 20 8c 0d 08 | 3e 11 20 20 c8 8e 20 63 |%<=8 ...|>. .. c|
|00002040| 6c 6d 61 70 25 20 ca 0d | 08 48 43 20 20 20 20 c9 |lmap% ..|.HC .|
|00002050| 20 30 3a 6e 25 3d 30 3a | e3 63 25 3d 64 61 74 25 | 0:n%=0:|.c%=dat%|
|00002060| b8 64 61 74 25 2b 37 36 | 37 88 33 3a 3f 63 25 3d |.dat%+76|7.3:?c%=|
|00002070| 6e 25 3a 63 25 3f 31 3d | 6e 25 3a 63 25 3f 32 3d |n%:c%?1=|n%:c%?2=|
|00002080| 6e 25 3a 6e 25 2b 3d 31 | 3a ed 0d 08 52 4b 20 20 |n%:n%+=1|:...RK |
|00002090| 20 20 c9 20 31 3a e7 20 | 63 6d 62 70 63 25 3d 32 | . 1:. |cmbpc%=2|
|000020a0| 34 20 8c 20 70 61 6c 25 | 3d 28 32 5e 69 6d 62 70 |4 . pal%|=(2^imbp|
|000020b0| 70 25 29 2a 33 3a c8 99 | 20 22 4f 53 5f 47 42 50 |p%)*3:..| "OS_GBP|
|000020c0| 42 22 2c 34 2c 68 25 2c | 64 61 74 25 2c 63 6d 6c |B",4,h%,|dat%,cml|
|000020d0| 65 6e 25 2a 33 0d 08 5c | 30 20 20 20 20 7f 20 f2 |en%*3..\|0 . .|
|000020e0| 6f 6b 28 22 54 61 72 67 | 61 20 74 6f 20 43 6c 65 |ok("Targ|a to Cle|
|000020f0| 61 72 3a 20 70 61 6c 65 | 74 74 65 20 65 72 72 6f |ar: pale|tte erro|
|00002100| 72 22 29 3a e1 0d 08 66 | 07 20 20 cb 0d 08 67 15 |r"):...f|. ...g.|
|00002110| 20 20 70 61 6c 25 3d 32 | 5e 69 6d 62 70 70 25 2a | pal%=2|^imbpp%*|
|00002120| 33 0d 08 70 10 20 20 64 | 61 74 25 2b 3d 70 61 6c |3..p. d|at%+=pal|
|00002130| 25 0d 08 71 05 cc 0d 08 | 72 0c 20 20 70 61 6c 25 |%..q....|r. pal%|
|00002140| 3d 30 0d 08 7a 05 cd 0d | 08 84 31 c8 99 20 22 4f |=0..z...|..1.. "O|
|00002150| 53 5f 47 42 50 42 22 2c | 34 2c 68 25 2c 64 61 74 |S_GBPB",|4,h%,dat|
|00002160| 25 2c 78 73 69 7a 65 25 | 2a 79 73 69 7a 65 25 2a |%,xsize%|*ysize%*|
|00002170| 69 6d 62 70 70 25 2f 38 | 0d 08 8e 49 e7 20 69 6d |imbpp%/8|...I. im|
|00002180| 62 70 70 25 3c 32 34 20 | 8c 20 6d 61 78 25 3d 6f |bpp%<24 |. max%=o|
|00002190| 75 74 25 2b 32 38 2b 70 | 61 6c 25 20 8b 20 6d 61 |ut%+28+p|al% . ma|
|000021a0| 78 25 3d 6f 75 74 25 2b | 32 38 2b 78 73 69 7a 65 |x%=out%+|28+xsize|
|000021b0| 25 2a 79 73 69 7a 65 25 | 2a 69 6d 62 70 70 25 2f |%*ysize%|*imbpp%/|
|000021c0| 38 0d 08 98 1f 41 25 3d | 6f 75 74 25 2b 32 38 3a |8....A%=|out%+28:|
|000021d0| 42 25 3d 6d 61 78 25 3a | d6 73 77 61 70 32 34 25 |B%=max%:|.swap24%|
|000021e0| 0d 08 a2 48 c8 99 20 22 | 4f 53 5f 46 69 6c 65 22 |...H.. "|OS_File"|
|000021f0| 2c 31 30 2c 66 69 6c 65 | 24 2c 26 36 39 30 2c 2c |,10,file|$,&690,,|
|00002200| 6f 75 74 25 2c 6f 75 74 | 25 2b 32 38 2b 70 61 6c |out%,out|%+28+pal|
|00002210| 25 2b 78 73 69 7a 65 25 | 2a 79 73 69 7a 65 25 2a |%+xsize%|*ysize%*|
|00002220| 69 6d 62 70 70 25 2f 38 | 0d 08 ac 05 e1 0d 08 b6 |imbpp%/8|........|
|00002230| 04 0d 08 c0 1c dd a4 68 | 61 6c 66 77 6f 72 64 3a |.......h|alfword:|
|00002240| 3d 9a 23 68 25 84 9a 23 | 68 25 3c 3c 38 0d 08 ca |=.#h%..#|h%<<8...|
|00002250| 2a dd a4 77 6f 72 64 3a | 3d 9a 23 68 25 84 9a 23 |*..word:|=.#h%..#|
|00002260| 68 25 3c 3c 38 84 9a 23 | 68 25 3c 3c 31 36 84 9a |h%<<8..#|h%<<16..|
|00002270| 23 68 25 3c 3c 32 34 0d | 08 d4 04 0d 08 de 13 dd |#h%<<24.|........|
|00002280| 20 f2 6f 6b 28 6d 65 73 | 73 61 67 65 24 29 0d 08 | .ok(mes|sage$)..|
|00002290| e8 1a 69 6e 73 63 72 61 | 70 25 3d a3 3a 6f 75 74 |..inscra|p%=.:out|
|000022a0| 73 63 72 61 70 25 3d a3 | 0d 08 f2 58 71 25 21 32 |scrap%=.|...Xq%!2|
|000022b0| 35 36 3d 30 3a 24 28 71 | 25 2b 32 36 30 29 3d 6d |56=0:$(q|%+260)=m|
|000022c0| 65 73 73 61 67 65 24 2b | bd 30 3a c8 99 20 22 57 |essage$+|.0:.. "W|
|000022d0| 69 6d 70 5f 52 65 70 6f | 72 74 45 72 72 6f 72 22 |imp_Repo|rtError"|
|000022e0| 2c 71 25 2b 32 35 36 2c | 31 37 2c 22 4d 65 73 73 |,q%+256,|17,"Mess|
|000022f0| 61 67 65 20 66 72 6f 6d | 20 43 6c 72 54 67 61 22 |age from| ClrTga"|
|00002300| 0d 08 fc 05 e1 0d 09 06 | 04 0d 09 10 0c dd 20 f2 |........|...... .|
|00002310| 65 72 72 6f 72 0d 09 1a | 1a 69 6e 73 63 72 61 70 |error...|.inscrap|
|00002320| 25 3d a3 3a 6f 75 74 73 | 63 72 61 70 25 3d a3 0d |%=.:outs|crap%=..|
|00002330| 09 24 94 71 25 21 32 35 | 36 3d 9f 3a 24 28 71 25 |.$.q%!25|6=.:$(q%|
|00002340| 2b 32 36 30 29 3d f6 24 | 2b 22 20 28 49 45 43 20 |+260)=.$|+" (IEC |
|00002350| 22 2b c3 9e 2b 22 29 20 | 2d 20 28 43 61 6e 63 65 |"+..+") |- (Cance|
|00002360| 6c 20 74 6f 20 71 75 69 | 74 29 22 2b bd 30 3a c8 |l to qui|t)"+.0:.|
|00002370| 99 20 22 57 69 6d 70 5f | 52 65 70 6f 72 74 45 72 |. "Wimp_|ReportEr|
|00002380| 72 6f 72 22 2c 71 25 2b | 32 35 36 2c 33 2c 22 43 |ror",q%+|256,3,"C|
|00002390| 6c 72 54 67 61 22 b8 2c | 62 74 6e 73 25 3a e7 20 |lrTga".,|btns%:. |
|000023a0| 62 74 6e 73 25 3d 32 20 | 8c 20 66 69 6e 69 73 68 |btns%=2 |. finish|
|000023b0| 65 64 25 3d b9 20 8b 20 | 66 69 6e 69 73 68 65 64 |ed%=. . |finished|
|000023c0| 25 3d a3 0d 09 2e 05 e1 | 0d ff |%=......|.. |
+--------+-------------------------+-------------------------+--------+--------+