home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: ArcFS Archive
(archive/arcFS).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| ArcFS Archive (archive/arcFS)
| magic
| Supported |
100%
| file
| RISC OS archive (ArcFS format)
| default
| |
99%
| file
| data
| default
| |
100%
| TrID
| Acorn ArcFS Archive
| default
| |
100%
| gt2
| Kopftext: 'Archive'
| default (weak)
| |
100%
| detectItEasy
| Archive: ArcFS
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 41 72 63 68 69 76 65 00 | 40 02 00 00 a0 02 00 00 |Archive.|@.......|
|00000010| 28 00 00 00 64 00 00 00 | 00 00 00 00 00 00 00 00 |(...d...|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000060| 82 21 4d 61 6b 65 54 49 | 46 46 00 00 ff ff ff ff |.!MakeTI|FF......|
|00000070| 43 fd ff ff fc 61 8d 98 | 00 00 00 00 ff ff ff ff |C....a..|........|
|00000080| 1c 02 00 80 82 21 42 6f | 6f 74 00 00 04 00 00 00 |.....!Bo|ot......|
|00000090| 88 00 00 00 42 eb ff ff | 71 05 65 78 03 00 0b bc |....B...|q.ex....|
|000000a0| 88 00 00 00 24 00 00 00 | 82 21 42 6f 6f 74 6c 65 |....$...|.!Bootle|
|000000b0| 6e 00 00 00 05 00 00 00 | 43 fd ff ff 84 4b d8 99 |n.......|C....K..|
|000000c0| 03 00 01 a9 05 00 00 00 | d0 00 00 00 82 21 48 65 |........|.....!He|
|000000d0| 6c 70 00 00 04 00 00 00 | 39 00 00 00 42 ff ff ff |lp......|9...B...|
|000000e0| 94 6f 60 78 03 00 1c 2d | 39 00 00 00 f9 00 00 00 |.o`x...-|9.......|
|000000f0| 82 21 49 6d 61 67 65 6c | 65 6e 00 00 05 00 00 00 |.!Imagel|en......|
|00000100| 43 fd ff ff a0 4b d8 99 | 03 00 b5 1a 05 00 00 00 |C....K..|........|
|00000110| 56 01 00 00 82 21 52 75 | 6e 00 00 00 04 00 00 00 |V....!Ru|n.......|
|00000120| 88 00 00 00 42 eb ff ff | cf 68 0f af 03 00 ab db |....B...|.h......|
|00000130| 88 00 00 00 7f 01 00 00 | 82 21 52 75 6e 49 6d 61 |........|.!RunIma|
|00000140| 67 65 00 00 f2 4d 00 00 | 42 fb ff ff 68 9e c8 d4 |ge...M..|B...h...|
|00000150| 03 00 9a 8c f2 4d 00 00 | 2b 02 00 00 82 21 52 75 |.....M..|+....!Ru|
|00000160| 6e 6c 65 6e 00 00 00 00 | 05 00 00 00 43 fd ff ff |nlen....|....C...|
|00000170| b8 4b d8 99 03 00 01 a9 | 05 00 00 00 41 50 00 00 |.K......|....AP..|
|00000180| 82 21 53 70 72 69 74 65 | 73 00 00 00 b8 09 00 00 |.!Sprite|s.......|
|00000190| 40 f9 ff ff 08 03 84 a9 | 03 00 0a 4c b8 09 00 00 |@.......|...L....|
|000001a0| 6a 50 00 00 82 44 6f 63 | 73 00 00 00 04 00 00 00 |jP...Doc|s.......|
|000001b0| ff ff ff ff 43 fd ff ff | 2f 62 8d 98 00 00 00 00 |....C...|/b......|
|000001c0| ff ff ff ff d4 01 00 80 | 82 47 75 69 64 65 00 00 |........|.Guide..|
|000001d0| 00 00 00 00 7e 11 00 00 | 42 ff ff ff b3 5e c8 d4 |....~...|B....^..|
|000001e0| 03 00 98 fc 7e 11 00 00 | 46 5a 00 00 82 55 70 64 |....~...|FZ...Upd|
|000001f0| 61 74 65 73 00 00 00 00 | 45 04 00 00 42 ff ff ff |ates....|E...B...|
|00000200| c7 76 c8 d4 03 00 a3 bc | 45 04 00 00 e8 6b 00 00 |.v......|E....k..|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| b4 00 00 00 82 54 65 6d | 70 6c 61 74 65 73 00 00 |.....Tem|plates..|
|00000240| 9a 02 00 00 42 ec ff ff | 70 de 98 d4 03 00 39 bc |....B...|p.....9.|
|00000250| 9a 02 00 00 51 70 00 00 | 00 00 00 01 1b 00 00 00 |....Qp..|........|
|00000260| 04 00 00 00 12 04 00 00 | 44 ff ff ff 60 51 21 c4 |........|D...`Q!.|
|00000270| 03 0c 87 0e d4 02 00 00 | 08 13 26 02 00 00 00 00 |........|..&.....|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 b4 00 00 00 |........|........|
|000002a0| 46 69 6c 65 44 61 74 61 | 82 21 42 6f 6f 74 00 00 |FileData|.!Boot..|
|000002b0| 04 00 00 00 88 00 00 00 | 42 eb ff ff 71 05 65 78 |........|B...q.ex|
|000002c0| 03 00 0b bc 7c 0a 7c 20 | 21 42 6f 6f 74 20 66 6f |....|.| |!Boot fo|
|000002d0| 72 20 4d 61 6b 65 54 49 | 46 46 0a 7c 0a 53 65 74 |r MakeTI|FF.|.Set|
|000002e0| 20 4d 61 6b 65 54 49 46 | 46 24 44 69 72 20 3c 4f | MakeTIF|F$Dir <O|
|000002f0| 62 65 79 24 44 69 72 3e | 0a 49 63 6f 6e 53 70 72 |bey$Dir>|.IconSpr|
|00000300| 69 74 65 73 20 3c 4d 61 | 6b 65 54 49 46 46 24 44 |ites <Ma|keTIFF$D|
|00000310| 69 72 3e 2e 21 53 70 72 | 69 74 65 73 0a 53 65 74 |ir>.!Spr|ites.Set|
|00000320| 20 46 69 6c 65 24 54 79 | 70 65 5f 36 39 30 20 43 | File$Ty|pe_690 C|
|00000330| 6c 65 61 72 0a 53 65 74 | 20 46 69 6c 65 24 54 79 |lear.Set| File$Ty|
|00000340| 70 65 5f 46 46 30 20 54 | 49 46 46 0a 46 69 6c 65 |pe_FF0 T|IFF.File|
|00000350| 44 61 74 61 82 21 42 6f | 6f 74 6c 65 6e 00 00 00 |Data.!Bo|otlen...|
|00000360| 05 00 00 00 43 fd ff ff | 84 4b d8 99 03 00 01 a9 |....C...|.K......|
|00000370| 40 00 00 00 88 46 69 6c | 65 44 61 74 61 82 21 48 |@....Fil|eData.!H|
|00000380| 65 6c 70 00 00 04 00 00 | 00 39 00 00 00 42 ff ff |elp.....|.9...B..|
|00000390| ff 94 6f 60 78 03 00 1c | 2d 0a 46 6f 72 20 66 75 |..o`x...|-.For fu|
|000003a0| 6c 6c 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 2c 20 |ll infor|mation, |
|000003b0| 72 65 66 65 72 20 74 6f | 20 74 68 65 20 64 6f 63 |refer to| the doc|
|000003c0| 75 6d 65 6e 74 73 20 69 | 6e 20 27 44 6f 63 73 27 |uments i|n 'Docs'|
|000003d0| 0a 0a 46 69 6c 65 44 61 | 74 61 82 21 49 6d 61 67 |..FileDa|ta.!Imag|
|000003e0| 65 6c 65 6e 00 00 05 00 | 00 00 43 fd ff ff a0 4b |elen....|..C....K|
|000003f0| d8 99 03 00 b5 1a 40 00 | 00 4d f2 46 69 6c 65 44 |......@.|.M.FileD|
|00000400| 61 74 61 82 21 52 75 6e | 00 00 00 04 00 00 00 88 |ata.!Run|........|
|00000410| 00 00 00 42 eb ff ff cf | 68 0f af 03 00 ab db 7c |...B....|h......||
|00000420| 0a 7c 20 21 52 75 6e 20 | 66 69 6c 65 20 66 6f 72 |.| !Run |file for|
|00000430| 20 4d 61 6b 65 54 49 46 | 46 0a 7c 0a 49 63 6f 6e | MakeTIF|F.|.Icon|
|00000440| 53 70 72 69 74 65 73 20 | 3c 4f 62 65 79 24 44 69 |Sprites |<Obey$Di|
|00000450| 72 3e 2e 21 53 70 72 69 | 74 65 73 0a 53 65 74 20 |r>.!Spri|tes.Set |
|00000460| 4d 61 6b 65 54 49 46 46 | 24 44 69 72 20 3c 4f 62 |MakeTIFF|$Dir <Ob|
|00000470| 65 79 24 44 69 72 3e 0a | 57 69 6d 70 53 6c 6f 74 |ey$Dir>.|WimpSlot|
|00000480| 20 2d 6d 69 6e 20 38 30 | 4b 0a 52 75 6e 20 3c 4d | -min 80|K.Run <M|
|00000490| 61 6b 65 54 49 46 46 24 | 44 69 72 3e 2e 21 52 75 |akeTIFF$|Dir>.!Ru|
|000004a0| 6e 49 6d 61 67 65 0a 46 | 69 6c 65 44 61 74 61 82 |nImage.F|ileData.|
|000004b0| 21 52 75 6e 49 6d 61 67 | 65 00 00 f2 4d 00 00 42 |!RunImag|e...M..B|
|000004c0| fb ff ff 68 9e c8 d4 03 | 00 9a 8c 0d 00 0a 10 f4 |...h....|........|
|000004d0| 20 3e 21 52 75 6e 49 6d | 61 67 65 0d 00 14 4b f4 | >!RunIm|age...K.|
|000004e0| ab ab ab ab ab ab ab ab | ab ab ab ab ab ab ab ab |........|........|
|000004f0| ab ab ab ab ab ab ab ab | ab ab ab ab ab ab ab ab |........|........|
|00000500| ab ab ab ab ab ab ab ab | ab ab ab ab ab ab ab ab |........|........|
|00000510| ab ab ab ab ab ab ab ab | ab ab ab ab ab ab ab ab |........|........|
|00000520| ab ab ab ab ab ab 0d 00 | 1e 4b f4 20 43 72 65 61 |........|.K. Crea|
|00000530| 74 65 73 20 54 49 46 46 | 20 66 69 6c 65 20 66 72 |tes TIFF| file fr|
|00000540| 6f 6d 20 73 70 72 69 74 | 65 20 6f 72 20 43 6c 65 |om sprit|e or Cle|
|00000550| 61 72 20 66 69 6c 65 20 | 20 20 20 20 20 20 20 20 |ar file | |
|00000560| 20 20 20 20 20 20 20 28 | 52 49 53 43 57 41 52 45 | (|RISCWARE|
|00000570| 29 0d 00 28 2d f4 20 56 | 65 72 73 69 6f 6e 20 64 |)..(-. V|ersion d|
|00000580| 61 74 65 20 3a 20 53 75 | 6e 2c 31 36 20 44 65 63 |ate : Su|n,16 Dec|
|00000590| 20 31 39 39 30 2e 32 33 | 3a 30 36 3a 31 30 0d 00 | 1990.23|:06:10..|
|000005a0| 32 1e f4 20 a9 20 31 39 | 39 30 20 5a 65 72 69 64 |2.. . 19|90 Zerid|
|000005b0| 61 6a 68 20 73 6f 66 74 | 77 61 72 65 0d 00 3c 15 |ajh soft|ware..<.|
|000005c0| f4 20 62 79 20 4a 6f 68 | 6e 20 4b 6f 72 74 69 6e |. by Joh|n Kortin|
|000005d0| 6b 0d 00 46 4b f4 ab ab | ab ab ab ab ab ab ab ab |k..FK...|........|
|000005e0| ab ab ab ab ab ab ab ab | ab ab ab ab ab ab ab ab |........|........|
|000005f0| ab ab ab ab ab ab ab ab | ab ab ab ab ab ab ab ab |........|........|
|00000600| ab ab ab ab ab ab ab ab | ab ab ab ab ab ab ab ab |........|........|
|00000610| ab ab ab ab ab ab ab ab | ab ab ab ab 0d 00 50 2e |........|......P.|
|00000620| ee 20 85 20 f1 27 22 45 | 72 72 6f 72 22 27 27 22 |. . .'"E|rror"''"|
|00000630| 27 22 3b f6 24 3b 22 27 | 20 28 63 6f 64 65 20 22 |'";.$;"'| (code "|
|00000640| 3b 9e 3b 22 29 22 27 27 | 3a e0 0d 00 5a 29 de 20 |;.;")"''|:...Z). |
|00000650| 6d 65 6e 75 20 32 30 34 | 38 2c 77 69 6e 64 6f 77 |menu 204|8,window|
|00000660| 31 20 32 30 34 38 2c 77 | 69 6e 64 6f 77 32 20 32 |1 2048,w|indow2 2|
|00000670| 30 34 38 0d 00 64 39 de | 20 69 63 6f 6e 64 61 74 |048..d9.| icondat|
|00000680| 61 20 32 30 34 38 2c 69 | 63 6f 6e 64 65 6e 64 20 |a 2048,i|condend |
|00000690| 30 2c 70 6f 6c 6c 20 32 | 35 36 2c 62 6c 6f 63 6b |0,poll 2|56,block|
|000006a0| 20 32 35 36 2c 65 72 72 | 20 32 35 36 0d 00 6e 35 | 256,err| 256..n5|
|000006b0| de 20 43 6f 64 65 25 20 | 32 30 34 38 2c 52 6f 77 |. Code% |2048,Row|
|000006c0| 42 66 25 20 38 31 39 32 | 2c 52 6f 77 42 66 32 25 |Bf% 8192|,RowBf2%|
|000006d0| 20 38 31 39 32 2c 52 65 | 76 4d 61 70 25 20 32 35 | 8192,Re|vMap% 25|
|000006e0| 36 0d 00 78 1c de 20 64 | 75 6d 25 20 32 35 36 2c |6..x.. d|um% 256,|
|000006f0| 50 61 6c 65 74 74 65 25 | 28 32 35 36 29 0d 00 82 |Palette%|(256)...|
|00000700| 3d 48 65 61 64 73 69 7a | 65 25 3d 34 30 39 36 3a |=Headsiz|e%=4096:|
|00000710| de 20 48 65 61 64 25 20 | 48 65 61 64 73 69 7a 65 |. Head% |Headsize|
|00000720| 25 3a f4 20 42 75 66 66 | 65 72 20 66 6f 72 20 66 |%:. Buff|er for f|
|00000730| 69 6c 65 20 68 65 61 64 | 65 72 0d 00 8c 47 50 72 |ile head|er...GPr|
|00000740| 6f 67 6e 65 65 64 25 3d | 36 30 2a 31 30 32 34 3a |ogneed%=|60*1024:|
|00000750| f4 20 4d 65 6d 6f 72 79 | 20 6e 65 65 64 65 64 20 |. Memory| needed |
|00000760| 66 6f 72 20 70 72 6f 67 | 72 61 6d 2b 76 61 72 73 |for prog|ram+vars|
|00000770| 2c 20 77 69 74 68 6f 75 | 74 20 62 75 66 66 65 72 |, withou|t buffer|
|00000780| 73 0d 00 96 22 54 6f 74 | 61 6c 25 3d 93 2d 90 3a |s..."Tot|al%=.-.:|
|00000790| f4 20 54 6f 74 61 6c 20 | 6d 65 6d 6f 72 79 20 66 |. Total |memory f|
|000007a0| 72 65 65 0d 00 a0 35 42 | 75 66 66 72 65 65 25 3d |ree...5B|uffree%=|
|000007b0| 54 6f 74 61 6c 25 2d 50 | 72 6f 67 6e 65 65 64 25 |Total%-P|rogneed%|
|000007c0| 3a f4 20 46 72 65 65 20 | 66 6f 72 20 66 69 6c 65 |:. Free |for file|
|000007d0| 20 62 75 66 66 65 72 73 | 0d 00 aa 3e e7 42 75 66 | buffers|...>.Buf|
|000007e0| 66 72 65 65 25 3c 32 30 | 2a 31 30 32 34 20 8c 20 |free%<20|*1024 . |
|000007f0| 85 20 31 2c 22 4d 61 6b | 65 54 49 46 46 20 63 61 |. 1,"Mak|eTIFF ca|
|00000800| 6e 6e 6f 74 20 73 74 61 | 72 74 75 70 20 70 72 6f |nnot sta|rtup pro|
|00000810| 70 65 72 6c 79 22 0d 00 | b4 2e 68 61 6c 76 65 25 |perly"..|..halve%|
|00000820| 3d 28 42 75 66 66 72 65 | 65 25 81 32 29 80 ac 33 |=(Buffre|e%.2)..3|
|00000830| 3a f4 20 41 6c 69 67 6e | 65 64 20 68 61 6c 66 20 |:. Align|ed half |
|00000840| 73 69 7a 65 0d 00 be 41 | 4f 75 74 70 75 74 73 69 |size...A|Outputsi|
|00000850| 7a 65 25 3d 68 61 6c 76 | 65 25 3a de 20 4f 75 74 |ze%=halv|e%:. Out|
|00000860| 70 75 74 25 20 4f 75 74 | 70 75 74 73 69 7a 65 25 |put% Out|putsize%|
|00000870| 3a f4 20 4f 75 74 70 75 | 74 20 66 69 6c 65 20 62 |:. Outpu|t file b|
|00000880| 75 66 66 65 72 0d 00 c8 | 3d 49 6e 70 75 74 73 69 |uffer...|=Inputsi|
|00000890| 7a 65 25 3d 68 61 6c 76 | 65 25 3a de 20 49 6e 70 |ze%=halv|e%:. Inp|
|000008a0| 75 74 25 20 49 6e 70 75 | 74 73 69 7a 65 25 3a f4 |ut% Inpu|tsize%:.|
|000008b0| 20 49 6e 70 75 74 20 66 | 69 6c 65 20 62 75 66 66 | Input f|ile buff|
|000008c0| 65 72 0d 00 d2 28 f2 69 | 6e 69 74 69 61 6c 69 73 |er...(.i|nitialis|
|000008d0| 65 3a f4 20 49 6e 69 74 | 69 61 6c 69 73 65 20 61 |e:. Init|ialise a|
|000008e0| 70 70 6c 69 63 61 74 69 | 6f 6e 0d 00 dc 25 ee 20 |pplicati|on...%. |
|000008f0| 85 20 f2 65 72 72 6f 72 | 28 9f 2c f6 24 2b 22 20 |. .error|(.,.$+" |
|00000900| 28 63 6f 64 65 20 22 2b | c3 9e 2b 22 29 22 29 0d |(code "+|..+")").|
|00000910| 00 e6 17 f5 20 f4 20 50 | 6f 6c 6c 20 61 6e 64 20 |.... . P|oll and |
|00000920| 61 63 74 69 6f 6e 0d 00 | f0 11 c8 8e 20 a4 70 6f |action..|.... .po|
|00000930| 6c 6c 28 30 29 20 ca 0d | 00 fa 30 20 c9 20 30 20 |ll(0) ..|..0 . 0 |
|00000940| 3a 20 f2 6e 75 6c 6c 3a | f4 20 4e 6f 74 68 69 6e |: .null:|. Nothin|
|00000950| 67 20 74 6f 20 64 6f 2c | 20 70 65 72 66 6f 72 6d |g to do,| perform|
|00000960| 20 63 68 65 63 6b 73 0d | 01 04 2a 20 c9 20 31 20 | checks.|..* . 1 |
|00000970| 3a 20 f2 72 65 64 72 61 | 77 3a f4 20 52 65 64 72 |: .redra|w:. Redr|
|00000980| 61 77 20 77 69 6e 64 6f | 77 20 72 65 71 75 65 73 |aw windo|w reques|
|00000990| 74 0d 01 0e 26 20 c9 20 | 32 20 3a 20 f2 6f 70 65 |t...& . |2 : .ope|
|000009a0| 6e 3a f4 20 4f 70 65 6e | 20 77 69 6e 64 6f 77 20 |n:. Open| window |
|000009b0| 72 65 71 75 65 73 74 0d | 01 18 28 20 c9 20 33 20 |request.|..( . 3 |
|000009c0| 3a 20 f2 63 6c 6f 73 65 | 3a f4 20 43 6c 6f 73 65 |: .close|:. Close|
|000009d0| 20 77 69 6e 64 6f 77 20 | 72 65 71 75 65 73 74 0d | window |request.|
|000009e0| 01 22 26 20 c9 20 36 20 | 3a 20 f2 6d 6f 75 73 65 |."& . 6 |: .mouse|
|000009f0| 63 6c 69 63 6b 3a f4 20 | 4d 6f 75 73 65 20 63 6c |click:. |Mouse cl|
|00000a00| 69 63 6b 65 64 0d 01 2c | 3f 20 c9 20 37 20 3a 20 |icked..,|? . 7 : |
|00000a10| f2 64 72 61 67 64 72 6f | 70 3a f4 20 55 73 65 72 |.dragdro|p:. User|
|00000a20| 20 68 61 73 20 64 72 6f | 70 70 65 64 20 64 72 61 | has dro|pped dra|
|00000a30| 67 20 62 6f 78 20 6f 66 | 20 66 69 6c 65 20 77 69 |g box of| file wi|
|00000a40| 6e 64 6f 77 0d 01 36 1d | 20 c9 20 38 20 3a 20 f2 |ndow..6.| . 8 : .|
|00000a50| 6b 65 79 3a f4 20 4b 65 | 79 20 70 72 65 73 73 65 |key:. Ke|y presse|
|00000a60| 64 0d 01 40 31 20 c9 20 | 39 20 3a 20 f2 6d 65 6e |d..@1 . |9 : .men|
|00000a70| 75 73 65 6c 65 63 74 3a | f4 20 4d 65 6e 75 20 73 |uselect:|. Menu s|
|00000a80| 65 6c 65 63 74 69 6f 6e | 20 66 72 6f 6d 20 75 73 |election| from us|
|00000a90| 65 72 0d 01 4a 2b 20 c9 | 20 31 37 2c 31 38 20 3a |er..J+ .| 17,18 :|
|00000aa0| 20 f2 6d 65 73 73 61 67 | 65 3a f4 20 4d 65 73 73 | .messag|e:. Mess|
|00000ab0| 61 67 65 20 66 72 6f 6d | 20 57 49 4d 50 0d 01 54 |age from| WIMP..T|
|00000ac0| 05 cb 0d 01 5e 07 fd 20 | a3 0d 01 68 05 20 0d 01 |....^.. |...h. ..|
|00000ad0| 72 10 dd f2 6d 65 6e 75 | 73 65 6c 65 63 74 0d 01 |r...menu|select..|
|00000ae0| 7c 3d c8 99 20 57 44 65 | 63 6f 64 65 4d 25 2c 2c ||=.. WDe|codeM%,,|
|00000af0| 6d 65 6e 75 2c 70 6f 6c | 6c 2c c4 32 30 2c 22 20 |menu,pol|l,.20," |
|00000b00| 22 29 20 b8 20 2c 2c 2c | 73 65 6c 65 63 74 24 3a |") . ,,,|select$:|
|00000b10| f4 20 53 65 6c 65 63 74 | 69 6f 6e 0d 01 86 10 c8 |. Select|ion.....|
|00000b20| 8e 20 73 65 6c 65 63 74 | 24 20 ca 0d 01 90 3b 20 |. select|$ ....; |
|00000b30| c9 20 22 43 6f 6d 70 72 | 65 73 73 22 20 3a 20 43 |. "Compr|ess" : C|
|00000b40| 6f 6d 70 72 65 73 73 3d | ac 43 6f 6d 70 72 65 73 |ompress=|.Compres|
|00000b50| 73 3a f4 20 54 6f 67 67 | 6c 65 20 63 6f 6d 70 72 |s:. Togg|le compr|
|00000b60| 65 73 73 69 6f 6e 0d 01 | 9a 32 20 c9 20 22 51 75 |ession..|.2 . "Qu|
|00000b70| 69 74 22 20 3a 20 f2 64 | 69 65 3a f4 20 51 75 69 |it" : .d|ie:. Qui|
|00000b80| 74 20 69 63 6f 6e 2c 20 | 74 69 64 79 20 75 70 20 |t icon, |tidy up |
|00000b90| 61 6e 64 20 65 78 69 74 | 0d 01 a4 05 cb 0d 01 ae |and exit|........|
|00000ba0| 28 c8 99 20 57 47 65 74 | 50 49 25 2c 2c 62 6c 6f |(.. WGet|PI%,,blo|
|00000bb0| 63 6b 3a f4 20 47 65 74 | 20 70 6f 69 6e 74 65 72 |ck:. Get| pointer|
|00000bc0| 20 69 6e 66 6f 0d 01 b8 | 38 e7 28 28 62 6c 6f 63 | info...|8.((bloc|
|00000bd0| 6b 21 38 29 80 31 29 3e | 30 20 8c 20 f2 69 63 6f |k!8).1)>|0 . .ico|
|00000be0| 6e 62 61 72 5f 6d 65 6e | 75 3a f4 20 41 64 6a 75 |nbar_men|u:. Adju|
|00000bf0| 73 74 20 2d 3e 20 72 65 | 2d 6f 70 65 6e 0d 01 c2 |st -> re|-open...|
|00000c00| 05 e1 0d 01 cc 04 0d 01 | d6 0b dd f2 63 6c 6f 73 |........|....clos|
|00000c10| 65 0d 01 e0 28 f2 63 6c | 6f 73 65 5f 77 69 6e 64 |e...(.cl|ose_wind|
|00000c20| 6f 77 28 70 6f 6c 6c 21 | 30 29 3a f4 20 43 6c 6f |ow(poll!|0):. Clo|
|00000c30| 73 65 20 77 69 6e 64 6f | 77 0d 01 ea 05 e1 0d 01 |se windo|w.......|
|00000c40| f4 04 0d 01 fe 0a dd f2 | 6f 70 65 6e 0d 02 08 26 |........|open...&|
|00000c50| f2 6f 70 65 6e 5f 77 69 | 6e 64 6f 77 28 30 2c 70 |.open_wi|ndow(0,p|
|00000c60| 6f 6c 6c 29 3a f4 20 4f | 70 65 6e 20 77 69 6e 64 |oll):. O|pen wind|
|00000c70| 6f 77 0d 02 12 05 e1 0d | 02 1c 04 0d 02 26 0a dd |ow......|.....&..|
|00000c80| f2 6e 75 6c 6c 0d 02 30 | 13 e7 44 61 74 61 4c 6f |.null..0|..DataLo|
|00000c90| 61 64 52 65 66 25 20 8c | 0d 02 3a 3e 20 44 61 74 |adRef% .|..:> Dat|
|00000ca0| 61 4c 6f 61 64 52 65 66 | 25 3d a3 3a c8 99 20 22 |aLoadRef|%=.:.. "|
|00000cb0| 4f 53 5f 46 69 6c 65 22 | 2c 36 2c 4f 75 74 70 75 |OS_File"|,6,Outpu|
|00000cc0| 74 24 3a f4 20 44 65 6c | 65 74 65 20 66 69 6c 65 |t$:. Del|ete file|
|00000cd0| 20 73 61 76 65 64 0d 02 | 44 43 20 f2 65 72 72 6f | saved..|DC .erro|
|00000ce0| 72 28 2d 31 2c 22 42 61 | 64 20 64 61 74 61 20 74 |r(-1,"Ba|d data t|
|00000cf0| 72 61 6e 73 66 65 72 2c | 20 72 65 63 65 69 76 65 |ransfer,| receive|
|00000d00| 72 20 64 65 61 64 22 29 | 3a f4 20 4e 6f 20 44 61 |r dead")|:. No Da|
|00000d10| 74 61 4c 6f 61 64 41 63 | 6b 0d 02 4e 05 cd 0d 02 |taLoadAc|k..N....|
|00000d20| 58 05 e1 0d 02 62 04 0d | 02 6c 09 dd f2 6b 65 79 |X....b..|.l...key|
|00000d30| 0d 02 76 45 77 69 6e 25 | 3d 70 6f 6c 6c 21 30 3a |..vEwin%|=poll!0:|
|00000d40| 69 63 6f 25 3d 70 6f 6c | 6c 21 34 3a 63 68 61 72 |ico%=pol|l!4:char|
|00000d50| 25 3d 70 6f 6c 6c 21 32 | 34 3a f4 20 57 69 6e 64 |%=poll!2|4:. Wind|
|00000d60| 6f 77 2c 20 69 63 6f 6e | 2c 20 6b 65 79 20 70 72 |ow, icon|, key pr|
|00000d70| 65 73 73 65 64 0d 02 80 | 22 e7 28 77 69 6e 25 3d |essed...|".(win%=|
|00000d80| 77 69 6e 5f 66 69 6c 65 | 25 29 20 80 20 28 69 63 |win_file|%) . (ic|
|00000d90| 6f 25 3d 31 29 20 8c 0d | 02 8a 0f 20 c8 8e 20 63 |o%=1) ..|... .. c|
|00000da0| 68 61 72 25 20 ca 0d 02 | 94 1d 20 20 c9 20 31 33 |har% ...|.. . 13|
|00000db0| 20 3a 20 f4 20 52 65 74 | 75 72 6e 20 70 72 65 73 | : . Ret|urn pres|
|00000dc0| 73 65 64 0d 02 9e 43 20 | 20 20 f2 65 72 72 6f 72 |sed...C | .error|
|00000dd0| 28 2d 31 2c 22 50 6c 65 | 61 73 65 20 64 72 61 67 |(-1,"Ple|ase drag|
|00000de0| 20 74 68 65 20 66 69 6c | 65 20 69 63 6f 6e 20 74 | the fil|e icon t|
|00000df0| 6f 20 61 20 64 69 72 65 | 63 74 6f 72 79 20 76 69 |o a dire|ctory vi|
|00000e00| 65 77 65 72 22 29 0d 02 | a8 1d 20 20 c9 20 32 37 |ewer")..|.. . 27|
|00000e10| 20 3a 20 f4 20 45 73 63 | 61 70 65 20 70 72 65 73 | : . Esc|ape pres|
|00000e20| 73 65 64 0d 02 b2 1f 20 | 20 20 f2 63 6c 6f 73 65 |sed.... | .close|
|00000e30| 5f 77 69 6e 64 6f 77 28 | 77 69 6e 5f 66 69 6c 65 |_window(|win_file|
|00000e40| 25 29 0d 02 bc 06 20 cb | 0d 02 c6 05 cd 0d 02 d0 |%).... .|........|
|00000e50| 05 e1 0d 02 da 04 0d 02 | e4 0d dd f2 6d 65 73 73 |........|....mess|
|00000e60| 61 67 65 0d 02 ee 2d f4 | 20 49 67 6e 6f 72 65 20 |age...-.| Ignore |
|00000e70| 6d 65 73 73 61 67 65 73 | 20 6f 72 69 67 69 6e 61 |messages| origina|
|00000e80| 74 69 6e 67 20 66 72 6f | 6d 20 6d 79 73 65 6c 66 |ting fro|m myself|
|00000e90| 0d 02 f8 36 e7 28 70 6f | 6c 6c 21 34 29 3d 54 61 |...6.(po|ll!4)=Ta|
|00000ea0| 73 6b 48 61 6e 64 6c 65 | 25 20 8c 20 6d 73 67 6e |skHandle|% . msgn|
|00000eb0| 72 25 3d 2d 31 20 8b 20 | 6d 73 67 6e 72 25 3d 70 |r%=-1 . |msgnr%=p|
|00000ec0| 6f 6c 6c 21 31 36 0d 03 | 02 0f c8 8e 20 6d 73 67 |oll!16..|.... msg|
|00000ed0| 6e 72 25 20 ca 0d 03 0c | 19 20 c9 20 2d 31 20 3a |nr% ....|. . -1 :|
|00000ee0| 20 f4 20 44 6f 6e 27 74 | 20 72 65 61 63 74 0d 03 | . Don't| react..|
|00000ef0| 16 2b 20 c9 20 30 20 3a | 20 f2 64 69 65 3a f4 20 |.+ . 0 :| .die:. |
|00000f00| 52 65 71 75 65 73 74 20 | 74 6f 20 74 65 72 6d 69 |Request |to termi|
|00000f10| 6e 61 74 65 20 74 61 73 | 6b 0d 03 20 2e 20 c9 20 |nate tas|k.. . . |
|00000f20| 31 20 3a 20 f4 20 44 61 | 74 61 53 61 76 65 2c 20 |1 : . Da|taSave, |
|00000f30| 74 72 61 6e 73 66 65 72 | 20 76 69 61 20 73 63 72 |transfer| via scr|
|00000f40| 61 70 20 66 69 6c 65 0d | 03 2a 37 20 20 73 63 72 |ap file.|.*7 scr|
|00000f50| 61 70 24 3d a4 4f 53 76 | 61 72 28 22 57 69 6d 70 |ap$=.OSv|ar("Wimp|
|00000f60| 24 53 63 72 61 70 22 29 | 3a f4 20 52 65 61 64 20 |$Scrap")|:. Read |
|00000f70| 73 63 72 61 70 20 66 69 | 6c 65 6e 61 6d 65 0d 03 |scrap fi|lename..|
|00000f80| 34 d2 20 20 e7 73 63 72 | 61 70 24 3c 3e 22 22 20 |4. .scr|ap$<>"" |
|00000f90| 8c 20 70 6f 6c 6c 21 31 | 32 3d 70 6f 6c 6c 21 38 |. poll!1|2=poll!8|
|00000fa0| 3a 70 6f 6c 6c 21 31 36 | 3d 32 3a 70 6f 6c 6c 21 |:poll!16|=2:poll!|
|00000fb0| 33 36 3d 2d 31 3a 24 28 | 70 6f 6c 6c 2b 34 34 29 |36=-1:$(|poll+44)|
|00000fc0| 3d 73 63 72 61 70 24 2b | bd 30 3a 70 6f 6c 6c 21 |=scrap$+|.0:poll!|
|00000fd0| 30 3d 34 34 2b 28 a9 73 | 63 72 61 70 24 2b 31 2b |0=44+(.s|crap$+1+|
|00000fe0| 33 29 80 ac 33 3a c8 99 | 20 57 53 65 6e 64 4d 73 |3)..3:..| WSendMs|
|00000ff0| 67 25 2c 31 38 2c 70 6f | 6c 6c 2c 70 6f 6c 6c 21 |g%,18,po|ll,poll!|
|00001000| 34 20 8b 20 f2 65 72 72 | 6f 72 28 2d 31 2c 22 57 |4 . .err|or(-1,"W|
|00001010| 69 6d 70 24 53 63 72 61 | 70 20 6e 6f 74 20 64 65 |imp$Scra|p not de|
|00001020| 66 69 6e 65 64 22 29 3a | f4 20 53 65 6e 64 20 44 |fined"):|. Send D|
|00001030| 61 74 61 53 61 76 65 41 | 63 6b 20 69 66 20 73 63 |ataSaveA|ck if sc|
|00001040| 72 61 70 20 66 69 6c 65 | 20 64 65 66 69 6e 65 64 |rap file| defined|
|00001050| 0d 03 3e 23 20 c9 20 32 | 20 3a 20 f4 20 44 61 74 |..># . 2| : . Dat|
|00001060| 61 53 61 76 65 41 63 6b | 2c 20 73 61 76 65 20 66 |aSaveAck|, save f|
|00001070| 69 6c 65 0d 03 48 46 20 | 20 4f 75 74 70 75 74 24 |ile..HF | Output$|
|00001080| 3d a4 73 74 72 69 6e 67 | 28 70 6f 6c 6c 2b 34 34 |=.string|(poll+44|
|00001090| 29 3a f4 20 52 65 61 64 | 20 70 61 74 68 2d 6e 61 |):. Read| path-na|
|000010a0| 6d 65 20 6f 66 20 54 49 | 46 46 20 66 69 6c 65 20 |me of TI|FF file |
|000010b0| 74 6f 20 63 72 65 61 74 | 65 0d 03 52 1d 20 20 f2 |to creat|e..R. .|
|000010c0| 68 6f 75 72 5f 6f 6e 3a | f4 20 48 6f 75 72 67 6c |hour_on:|. Hourgl|
|000010d0| 61 73 73 20 6f 6e 0d 03 | 5c 40 20 20 f2 6d 61 6b |ass on..|\@ .mak|
|000010e0| 65 5f 54 49 46 46 28 74 | 79 70 65 25 2c 49 6e 70 |e_TIFF(t|ype%,Inp|
|000010f0| 75 74 24 2c 4f 75 74 70 | 75 74 24 2c 65 72 72 6f |ut$,Outp|ut$,erro|
|00001100| 72 24 29 3a f4 20 43 72 | 65 61 74 65 20 54 49 46 |r$):. Cr|eate TIF|
|00001110| 46 20 66 69 6c 65 0d 03 | 66 1f 20 20 f2 68 6f 75 |F file..|f. .hou|
|00001120| 72 5f 6f 66 66 3a f4 20 | 48 6f 75 72 67 6c 61 73 |r_off:. |Hourglas|
|00001130| 73 20 6f 66 66 0d 03 70 | 13 20 20 e7 65 72 72 6f |s off..p|. .erro|
|00001140| 72 24 3c 3e 22 22 20 8c | 0d 03 7a 27 20 20 20 f2 |r$<>"" .|..z' .|
|00001150| 65 72 72 6f 72 28 2d 31 | 2c 65 72 72 6f 72 24 29 |error(-1|,error$)|
|00001160| 3a f4 20 52 65 70 6f 72 | 74 20 65 72 72 6f 72 0d |:. Repor|t error.|
|00001170| 03 84 2f 20 20 20 c8 99 | 20 22 4f 53 5f 46 69 6c |../ ..| "OS_Fil|
|00001180| 65 22 2c 36 2c 4f 75 74 | 70 75 74 24 3a f4 20 4b |e",6,Out|put$:. K|
|00001190| 69 6c 6c 20 6f 75 74 70 | 75 74 66 69 6c 65 0d 03 |ill outp|utfile..|
|000011a0| 8e 07 20 20 cd 0d 03 98 | 3e 20 20 70 6f 6c 6c 21 |.. ....|> poll!|
|000011b0| 31 32 3d 70 6f 6c 6c 21 | 38 3a 70 6f 6c 6c 21 31 |12=poll!|8:poll!1|
|000011c0| 36 3d 33 3a f4 20 41 6d | 65 6e 64 20 64 61 74 61 |6=3:. Am|end data|
|000011d0| 20 62 6c 6f 63 6b 20 66 | 6f 72 20 44 61 74 61 4c | block f|or DataL|
|000011e0| 6f 61 64 0d 03 a2 31 20 | 20 c8 99 20 57 53 65 6e |oad...1 | .. WSen|
|000011f0| 64 4d 73 67 25 2c 31 38 | 2c 70 6f 6c 6c 2c 70 6f |dMsg%,18|,poll,po|
|00001200| 6c 6c 21 34 3a f4 20 53 | 65 6e 64 20 44 61 74 61 |ll!4:. S|end Data|
|00001210| 4c 6f 61 64 0d 03 ac 3f | 20 20 44 61 74 61 4c 6f |Load...?| DataLo|
|00001220| 61 64 52 65 66 25 3d 70 | 6f 6c 6c 21 38 3a f4 20 |adRef%=p|oll!8:. |
|00001230| 41 77 61 69 74 20 61 20 | 44 61 74 61 4c 6f 61 64 |Await a |DataLoad|
|00001240| 41 63 6b 2c 20 72 65 6d | 65 6d 62 65 72 20 6d 79 |Ack, rem|ember my|
|00001250| 72 65 66 0d 03 b6 34 20 | c9 20 33 20 3a 20 f4 20 |ref...4 |. 3 : . |
|00001260| 44 61 74 61 4c 6f 61 64 | 2c 20 63 68 65 63 6b 20 |DataLoad|, check |
|00001270| 69 66 20 73 70 72 69 74 | 65 20 6f 72 20 43 6c 65 |if sprit|e or Cle|
|00001280| 61 72 20 66 69 6c 65 0d | 03 c0 1e 20 20 74 79 70 |ar file.|... typ|
|00001290| 65 25 3d 70 6f 6c 6c 21 | 34 30 3a f4 20 46 69 6c |e%=poll!|40:. Fil|
|000012a0| 65 74 79 70 65 0d 03 ca | 20 20 20 e7 74 79 70 65 |etype...| .type|
|000012b0| 25 3d 26 46 46 39 20 84 | 20 74 79 70 65 25 3d 26 |%=&FF9 .| type%=&|
|000012c0| 36 39 30 20 8c 0d 03 d4 | 38 20 20 20 f4 20 53 70 |690 ....|8 . Sp|
|000012d0| 72 69 74 65 20 6f 72 20 | 43 6c 65 61 72 20 66 69 |rite or |Clear fi|
|000012e0| 6c 65 2c 20 70 72 65 70 | 61 72 65 20 74 6f 20 6d |le, prep|are to m|
|000012f0| 61 6b 65 20 54 49 46 46 | 20 66 69 6c 65 0d 03 de |ake TIFF| file...|
|00001300| 29 20 20 20 49 6e 70 75 | 74 24 3d a4 73 74 72 69 |) Inpu|t$=.stri|
|00001310| 6e 67 28 70 6f 6c 6c 2b | 34 34 29 3a f4 20 46 69 |ng(poll+|44):. Fi|
|00001320| 6c 65 6e 61 6d 65 0d 03 | e8 38 20 20 20 f2 6f 70 |lename..|.8 .op|
|00001330| 65 6e 5f 77 69 6e 64 6f | 77 28 77 69 6e 5f 66 69 |en_windo|w(win_fi|
|00001340| 6c 65 25 2c 30 29 3a f4 | 20 4f 70 65 6e 20 73 61 |le%,0):.| Open sa|
|00001350| 76 65 20 66 69 6c 65 20 | 77 69 6e 64 6f 77 0d 03 |ve file |window..|
|00001360| f2 49 20 20 20 70 6f 6c | 6c 21 31 32 3d 70 6f 6c |.I pol|l!12=pol|
|00001370| 6c 21 38 3a 70 6f 6c 6c | 21 31 36 3d 34 3a c8 99 |l!8:poll|!16=4:..|
|00001380| 20 57 53 65 6e 64 4d 73 | 67 25 2c 31 37 2c 70 6f | WSendMs|g%,17,po|
|00001390| 6c 6c 2c 70 6f 6c 6c 21 | 34 3a f4 20 44 61 74 61 |ll,poll!|4:. Data|
|000013a0| 4c 6f 61 64 41 63 6b 0d | 03 fc 07 20 20 cd 0d 04 |LoadAck.|... ...|
|000013b0| 06 29 20 c9 20 34 20 3a | 20 f4 20 44 61 74 61 4c |.) . 4 :| . DataL|
|000013c0| 6f 61 64 41 63 6b 2c 20 | 63 68 65 63 6b 20 6f 72 |oadAck, |check or|
|000013d0| 20 69 67 6e 6f 72 65 0d | 04 10 3c 20 20 e7 44 61 | ignore.|..< .Da|
|000013e0| 74 61 4c 6f 61 64 52 65 | 66 25 20 8c 20 e7 70 6f |taLoadRe|f% . .po|
|000013f0| 6c 6c 21 31 32 3d 44 61 | 74 61 4c 6f 61 64 52 65 |ll!12=Da|taLoadRe|
|00001400| 66 25 20 8c 20 44 61 74 | 61 4c 6f 61 64 52 65 66 |f% . Dat|aLoadRef|
|00001410| 25 3d a3 0d 04 1a 05 cb | 0d 04 24 05 e1 0d 04 2e |%=......|..$.....|
|00001420| 04 0d 04 38 10 dd f2 6d | 6f 75 73 65 63 6c 69 63 |...8...m|ouseclic|
|00001430| 6b 0d 04 42 3f 62 75 74 | 25 3d 70 6f 6c 6c 21 38 |k..B?but|%=poll!8|
|00001440| 3a 77 69 6e 25 3d 70 6f | 6c 6c 21 31 32 3a 69 63 |:win%=po|ll!12:ic|
|00001450| 6f 25 3d 70 6f 6c 6c 21 | 31 36 3a f4 20 42 75 74 |o%=poll!|16:. But|
|00001460| 74 6f 6e 73 2f 77 69 6e | 64 6f 77 2f 69 63 6f 6e |tons/win|dow/icon|
|00001470| 0d 04 4c 0d c8 8e 20 77 | 69 6e 25 20 ca 0d 04 56 |..L... w|in% ...V|
|00001480| 1e 20 c9 20 2d 32 20 3a | 20 f4 20 43 6c 69 63 6b |. . -2 :| . Click|
|00001490| 20 6f 6e 20 69 63 6f 6e | 62 61 72 0d 04 60 33 20 | on icon|bar..`3 |
|000014a0| 20 e7 69 63 6f 25 3d 49 | 69 63 6f 6e 62 61 72 25 | .ico%=I|iconbar%|
|000014b0| 20 8c 20 e7 28 62 75 74 | 25 80 37 29 3d 32 20 8c | . .(but|%.7)=2 .|
|000014c0| 20 f2 69 63 6f 6e 62 61 | 72 5f 6d 65 6e 75 0d 04 | .iconba|r_menu..|
|000014d0| 6a 2e 20 c9 20 77 69 6e | 5f 66 69 6c 65 25 20 3a |j. . win|_file% :|
|000014e0| 20 f4 20 43 6c 69 63 6b | 20 6f 6e 20 73 61 76 65 | . Click| on save|
|000014f0| 20 66 69 6c 65 20 77 69 | 6e 64 6f 77 0d 04 74 0f | file wi|ndow..t.|
|00001500| 20 20 e7 69 63 6f 25 3d | 30 20 8c 0d 04 7e 16 20 | .ico%=|0 ...~. |
|00001510| 20 20 c8 8e 20 62 75 74 | 25 20 80 20 26 37 46 20 | .. but|% . &7F |
|00001520| ca 0d 04 88 39 20 20 20 | 20 c9 20 31 36 2c 36 34 |....9 | . 16,64|
|00001530| 20 3a 20 f4 20 44 72 61 | 67 2c 63 61 6c 63 75 6c | : . Dra|g,calcul|
|00001540| 61 74 65 20 64 72 61 67 | 20 62 6f 78 20 61 6e 64 |ate drag| box and|
|00001550| 20 63 72 65 61 74 65 20 | 69 74 0d 04 92 7a 20 20 | create |it...z |
|00001560| 20 20 20 53 63 72 57 25 | 3d a4 6d 6f 64 65 5f 76 | ScrW%|=.mode_v|
|00001570| 61 72 28 eb 2c 31 31 29 | 3c 3c a4 6d 6f 64 65 5f |ar(.,11)|<<.mode_|
|00001580| 76 61 72 28 eb 2c 34 29 | 3a 53 63 72 48 25 3d a4 |var(.,4)|:ScrH%=.|
|00001590| 6d 6f 64 65 5f 76 61 72 | 28 eb 2c 31 32 29 3c 3c |mode_var|(.,12)<<|
|000015a0| a4 6d 6f 64 65 5f 76 61 | 72 28 eb 2c 35 29 3a f4 |.mode_va|r(.,5):.|
|000015b0| 20 53 63 72 65 65 6e 20 | 77 69 64 74 68 20 61 6e | Screen |width an|
|000015c0| 64 20 68 65 69 67 68 74 | 20 69 6e 20 4f 53 2d 75 |d height| in OS-u|
|000015d0| 6e 69 74 73 0d 04 9c e7 | 20 20 20 20 20 21 62 6c |nits....| !bl|
|000015e0| 6f 63 6b 3d 77 69 6e 25 | 3a c8 99 20 57 47 65 74 |ock=win%|:.. WGet|
|000015f0| 57 53 25 2c 2c 62 6c 6f | 63 6b 3a 78 25 3d 62 6c |WS%,,blo|ck:x%=bl|
|00001600| 6f 63 6b 21 34 3a 79 25 | 3d 62 6c 6f 63 6b 21 38 |ock!4:y%|=block!8|
|00001610| 3a 62 6c 6f 63 6b 21 34 | 3d 69 63 6f 25 3a c8 99 |:block!4|=ico%:..|
|00001620| 20 57 47 65 74 49 53 25 | 2c 2c 62 6c 6f 63 6b 3a | WGetIS%|,,block:|
|00001630| 21 62 6c 6f 63 6b 3d 77 | 69 6e 25 3a 62 6c 6f 63 |!block=w|in%:bloc|
|00001640| 6b 21 34 3d 35 3a 62 6c | 6f 63 6b 21 38 2b 3d 78 |k!4=5:bl|ock!8+=x|
|00001650| 25 3a 62 6c 6f 63 6b 21 | 31 32 2b 3d 79 25 3a 62 |%:block!|12+=y%:b|
|00001660| 6c 6f 63 6b 21 31 36 3d | 62 6c 6f 63 6b 21 38 2b |lock!16=|block!8+|
|00001670| 36 38 3a 62 6c 6f 63 6b | 21 32 30 3d 62 6c 6f 63 |68:block|!20=bloc|
|00001680| 6b 21 31 32 2b 36 38 3a | 62 6c 6f 63 6b 21 32 34 |k!12+68:|block!24|
|00001690| 3d 30 3a 62 6c 6f 63 6b | 21 32 38 3d 30 3a 62 6c |=0:block|!28=0:bl|
|000016a0| 6f 63 6b 21 33 32 3d 53 | 63 72 57 25 3a 62 6c 6f |ock!32=S|crW%:blo|
|000016b0| 63 6b 21 33 36 3d 53 63 | 72 48 25 0d 04 a6 2c 20 |ck!36=Sc|rH%..., |
|000016c0| 20 20 20 20 c8 99 20 57 | 44 72 61 67 42 25 2c 2c | .. W|DragB%,,|
|000016d0| 62 6c 6f 63 6b 3a f4 20 | 43 72 65 61 74 65 20 64 |block:. |Create d|
|000016e0| 72 61 67 20 62 6f 78 0d | 04 b0 08 20 20 20 cb 0d |rag box.|... ..|
|000016f0| 04 ba 07 20 20 cd 0d 04 | c4 05 cb 0d 04 ce 05 e1 |... ...|........|
|00001700| 0d 04 d8 04 0d 04 e2 0e | dd f2 64 72 61 67 64 72 |........|..dragdr|
|00001710| 6f 70 0d 04 ec 2c c8 99 | 20 57 47 65 74 50 49 25 |op...,..| WGetPI%|
|00001720| 2c 2c 62 6c 6f 63 6b 3a | f4 20 47 65 74 20 70 6f |,,block:|. Get po|
|00001730| 69 6e 74 65 72 20 70 6f | 73 69 74 69 6f 6e 0d 04 |inter po|sition..|
|00001740| f6 47 64 72 6f 70 77 69 | 6e 25 3d 62 6c 6f 63 6b |.Gdropwi|n%=block|
|00001750| 21 31 32 3a 64 72 6f 70 | 69 63 6f 25 3d 62 6c 6f |!12:drop|ico%=blo|
|00001760| 63 6b 21 31 36 3a f4 20 | 57 69 6e 64 6f 77 2f 69 |ck!16:. |Window/i|
|00001770| 63 6f 6e 20 77 68 65 72 | 65 20 62 6f 78 20 64 72 |con wher|e box dr|
|00001780| 6f 70 70 65 64 0d 05 00 | 31 66 69 6c 65 6e 61 6d |opped...|1filenam|
|00001790| 65 24 3d a4 73 74 72 69 | 6e 67 28 53 41 56 66 6e |e$=.stri|ng(SAVfn|
|000017a0| 25 29 3a f4 20 46 69 6c | 65 6e 61 6d 65 20 66 6f |%):. Fil|ename fo|
|000017b0| 72 20 73 61 76 65 0d 05 | 0a ad 62 6c 6f 63 6b 21 |r save..|..block!|
|000017c0| 32 30 3d 62 6c 6f 63 6b | 21 31 32 3a 62 6c 6f 63 |20=block|!12:bloc|
|000017d0| 6b 21 32 34 3d 62 6c 6f | 63 6b 21 31 36 3a 62 6c |k!24=blo|ck!16:bl|
|000017e0| 6f 63 6b 21 32 38 3d 62 | 6c 6f 63 6b 21 30 3a 62 |ock!28=b|lock!0:b|
|000017f0| 6c 6f 63 6b 21 33 32 3d | 62 6c 6f 63 6b 21 34 3a |lock!32=|block!4:|
|00001800| 62 6c 6f 63 6b 21 31 32 | 3d 30 3a 62 6c 6f 63 6b |block!12|=0:block|
|00001810| 21 31 36 3d 31 3a 62 6c | 6f 63 6b 21 33 36 3d 30 |!16=1:bl|ock!36=0|
|00001820| 3a 62 6c 6f 63 6b 21 34 | 30 3d 26 46 46 39 3a 24 |:block!4|0=&FF9:$|
|00001830| 28 62 6c 6f 63 6b 2b 34 | 34 29 3d 66 69 6c 65 6e |(block+4|4)=filen|
|00001840| 61 6d 65 24 2b bd 30 3a | 21 62 6c 6f 63 6b 3d 28 |ame$+.0:|!block=(|
|00001850| 34 34 2b a9 66 69 6c 65 | 6e 61 6d 65 24 2b 34 29 |44+.file|name$+4)|
|00001860| 80 ac 33 0d 05 14 3b c8 | 99 20 57 53 65 6e 64 4d |..3...;.|. WSendM|
|00001870| 73 67 25 2c 31 37 2c 62 | 6c 6f 63 6b 2c 64 72 6f |sg%,17,b|lock,dro|
|00001880| 70 77 69 6e 25 2c 64 72 | 6f 70 69 63 6f 25 3a f4 |pwin%,dr|opico%:.|
|00001890| 20 53 65 6e 64 20 44 61 | 74 61 53 61 76 65 0d 05 | Send Da|taSave..|
|000018a0| 1e 36 44 61 74 61 53 61 | 76 65 52 65 66 25 3d 62 |.6DataSa|veRef%=b|
|000018b0| 6c 6f 63 6b 21 38 3a f4 | 20 52 65 6d 65 6d 62 65 |lock!8:.| Remembe|
|000018c0| 72 20 6d 79 72 65 66 20 | 66 6f 72 20 44 61 74 61 |r myref |for Data|
|000018d0| 53 61 76 65 0d 05 28 35 | f2 63 6c 6f 73 65 5f 77 |Save..(5|.close_w|
|000018e0| 69 6e 64 6f 77 28 77 69 | 6e 5f 66 69 6c 65 25 29 |indow(wi|n_file%)|
|000018f0| 3a f4 20 43 6c 6f 73 65 | 20 73 61 76 65 20 66 69 |:. Close| save fi|
|00001900| 6c 65 20 77 69 6e 64 6f | 77 0d 05 32 05 e1 0d 05 |le windo|w..2....|
|00001910| 3c 05 20 0d 05 46 30 dd | f2 6d 61 6b 65 5f 54 49 |<. ..F0.|.make_TI|
|00001920| 46 46 28 74 79 70 65 25 | 2c 49 6e 46 69 6c 65 24 |FF(type%|,InFile$|
|00001930| 2c 4f 75 74 46 69 6c 65 | 24 2c f8 20 65 72 72 6f |,OutFile|$,. erro|
|00001940| 72 24 29 0d 05 50 27 f4 | 20 43 72 65 61 74 65 73 |r$)..P'.| Creates|
|00001950| 20 54 49 46 46 20 66 69 | 6c 65 20 4f 75 74 46 69 | TIFF fi|le OutFi|
|00001960| 6c 65 24 20 66 72 6f 6d | 20 3a 0d 05 5a 2e f4 20 |le$ from| :..Z.. |
|00001970| 28 74 79 70 65 25 3d 26 | 46 46 39 29 20 66 69 72 |(type%=&|FF9) fir|
|00001980| 73 74 20 73 70 72 69 74 | 65 20 69 6e 20 73 70 72 |st sprit|e in spr|
|00001990| 69 74 65 20 66 69 6c 65 | 0d 05 64 26 f4 20 28 74 |ite file|..d&. (t|
|000019a0| 79 70 65 25 3d 26 36 39 | 30 29 20 69 6d 61 67 65 |ype%=&69|0) image|
|000019b0| 20 69 6e 20 43 6c 65 61 | 72 20 66 69 6c 65 0d 05 | in Clea|r file..|
|000019c0| 6e 37 f4 20 52 65 74 75 | 72 6e 73 20 65 72 72 6f |n7. Retu|rns erro|
|000019d0| 72 20 69 6e 20 65 72 72 | 6f 72 24 20 69 66 20 65 |r in err|or$ if e|
|000019e0| 72 72 6f 72 20 6f 63 63 | 75 72 65 64 2c 20 65 6c |rror occ|ured, el|
|000019f0| 73 65 20 22 22 0d 05 78 | 0f ea 20 53 74 72 6f 66 |se ""..x|.. Strof|
|00001a00| 66 25 28 29 0d 05 82 07 | ea 20 85 0d 05 8c 2e ee |f%()....|. ......|
|00001a10| 20 85 20 ea 3a 65 72 72 | 6f 72 24 3d f6 24 2b 22 | . .:err|or$=.$+"|
|00001a20| 20 28 63 6f 64 65 20 22 | 2b c3 9e 2b 22 29 22 3a | (code "|+..+")":|
|00001a30| f2 63 6c 6f 73 65 66 3a | e1 0d 05 96 3d 65 72 72 |.closef:|....=err|
|00001a40| 6f 72 24 3d 22 22 3a 49 | 6e 3d 30 3a 4f 75 74 3d |or$="":I|n=0:Out=|
|00001a50| 30 3a f4 20 4e 6f 20 65 | 72 72 6f 72 73 20 28 79 |0:. No e|rrors (y|
|00001a60| 65 74 29 2c 20 66 69 6c | 65 73 20 62 6f 74 68 20 |et), fil|es both |
|00001a70| 63 6c 6f 73 65 64 0d 05 | a0 23 49 6e 3d 8e 28 49 |closed..|.#In=.(I|
|00001a80| 6e 46 69 6c 65 24 29 3a | f4 20 4f 70 65 6e 20 69 |nFile$):|. Open i|
|00001a90| 6e 70 75 74 20 66 69 6c | 65 0d 05 aa 0e c8 8e 20 |nput fil|e...... |
|00001aa0| 74 79 70 65 25 20 ca 0d | 05 b4 1b 20 c9 20 26 46 |type% ..|... . &F|
|00001ab0| 46 39 20 3a 20 f4 20 53 | 70 72 69 74 65 20 66 69 |F9 : . S|prite fi|
|00001ac0| 6c 65 0d 05 be 43 20 20 | c8 99 20 22 4f 53 5f 47 |le...C |.. "OS_G|
|00001ad0| 42 50 42 22 2c 34 2c 49 | 6e 2c 48 65 61 64 25 2b |BPB",4,I|n,Head%+|
|00001ae0| 34 2c 48 65 61 64 73 69 | 7a 65 25 3a f4 20 52 65 |4,Headsi|ze%:. Re|
|00001af0| 61 64 20 73 70 72 69 74 | 65 20 66 69 6c 65 20 68 |ad sprit|e file h|
|00001b00| 65 61 64 65 72 0d 05 c8 | 30 20 20 73 70 72 25 3d |eader...|0 spr%=|
|00001b10| 48 65 61 64 25 2b 48 65 | 61 64 25 21 38 3a f4 20 |Head%+He|ad%!8:. |
|00001b20| 53 74 61 72 74 20 6f 66 | 20 66 69 72 73 74 20 73 |Start of| first s|
|00001b30| 70 72 69 74 65 0d 05 d2 | 69 20 20 73 70 72 6e 61 |prite...|i sprna|
|00001b40| 6d 65 24 3d 22 22 3a 70 | 74 72 25 3d 73 70 72 25 |me$="":p|tr%=spr%|
|00001b50| 2b 34 3a c8 95 20 28 3f | 70 74 72 25 3c 3e 30 29 |+4:.. (?|ptr%<>0)|
|00001b60| 20 80 20 28 a9 73 70 72 | 6e 61 6d 65 24 3c 31 32 | . (.spr|name$<12|
|00001b70| 29 3a 73 70 72 6e 61 6d | 65 24 2b 3d bd 28 3f 70 |):sprnam|e$+=.(?p|
|00001b80| 74 72 25 29 3a 70 74 72 | 25 2b 3d 31 3a ce 3a f4 |tr%):ptr|%+=1:.:.|
|00001b90| 20 53 70 72 69 74 65 27 | 73 20 6e 61 6d 65 0d 05 | Sprite'|s name..|
|00001ba0| dc 49 20 20 77 6f 72 64 | 77 25 3d 73 70 72 25 21 |.I word|w%=spr%!|
|00001bb0| 31 36 2b 31 3a 68 65 69 | 67 68 74 25 3d 73 70 72 |16+1:hei|ght%=spr|
|00001bc0| 25 21 32 30 2b 31 3a f4 | 20 57 69 64 74 68 20 69 |%!20+1:.| Width i|
|00001bd0| 6e 20 77 6f 72 64 73 2c | 20 68 65 69 67 68 74 20 |n words,| height |
|00001be0| 69 6e 20 72 6f 77 73 0d | 05 e6 4a 20 20 66 69 72 |in rows.|..J fir|
|00001bf0| 73 74 62 25 3d 73 70 72 | 25 21 32 34 3a 6c 61 73 |stb%=spr|%!24:las|
|00001c00| 74 62 25 3d 73 70 72 25 | 21 32 38 3a f4 20 46 69 |tb%=spr%|!28:. Fi|
|00001c10| 72 73 74 2f 6c 61 73 74 | 20 62 69 74 20 75 73 65 |rst/last| bit use|
|00001c20| 64 20 69 6e 20 62 6f 72 | 64 65 72 20 77 6f 72 64 |d in bor|der word|
|00001c30| 73 0d 05 f0 31 20 20 69 | 6d 61 67 65 25 3d 73 70 |s...1 i|mage%=sp|
|00001c40| 72 25 2b 73 70 72 25 21 | 33 32 3a f4 20 50 6f 69 |r%+spr%!|32:. Poi|
|00001c50| 6e 74 65 72 20 74 6f 20 | 69 6d 61 67 65 20 64 61 |nter to |image da|
|00001c60| 74 61 0d 05 fa 48 20 20 | 6d 6f 64 65 25 3d 73 70 |ta...H |mode%=sp|
|00001c70| 72 25 21 34 30 3a 70 61 | 6c 65 74 74 65 25 3d 73 |r%!40:pa|lette%=s|
|00001c80| 70 72 25 2b 34 34 3a f4 | 20 53 70 72 69 74 65 27 |pr%+44:.| Sprite'|
|00001c90| 73 20 6d 6f 64 65 2c 20 | 70 6f 69 6e 74 65 72 20 |s mode, |pointer |
|00001ca0| 74 6f 20 70 61 6c 65 74 | 74 65 0d 06 04 34 20 20 |to palet|te...4 |
|00001cb0| 63 6f 6c 62 69 74 73 25 | 3d 32 5e a4 6d 6f 64 65 |colbits%|=2^.mode|
|00001cc0| 5f 76 61 72 28 6d 6f 64 | 65 25 2c 39 29 3a f4 20 |_var(mod|e%,9):. |
|00001cd0| 42 69 74 73 20 70 65 72 | 20 70 69 78 65 6c 0d 06 |Bits per| pixel..|
|00001ce0| 0e 2d 20 20 63 6f 6c 6f | 75 72 73 25 3d 32 5e 63 |.- colo|urs%=2^c|
|00001cf0| 6f 6c 62 69 74 73 25 3a | f4 20 4e 75 6d 62 65 72 |olbits%:|. Number|
|00001d00| 20 6f 66 20 63 6f 6c 6f | 75 72 73 0d 06 18 49 20 | of colo|urs...I |
|00001d10| 20 77 69 64 74 68 25 3d | 28 77 6f 72 64 77 25 2a | width%=|(wordw%*|
|00001d20| 33 32 2d 28 33 31 2d 6c | 61 73 74 62 25 29 2d 66 |32-(31-l|astb%)-f|
|00001d30| 69 72 73 74 62 25 29 20 | 81 20 63 6f 6c 62 69 74 |irstb%) |. colbit|
|00001d40| 73 25 3a f4 20 57 69 64 | 74 68 20 69 6e 20 70 69 |s%:. Wid|th in pi|
|00001d50| 78 65 6c 73 0d 06 22 19 | 20 20 e7 69 6d 61 67 65 |xels..".| .image|
|00001d60| 25 3c 3d 70 61 6c 65 74 | 74 65 25 20 8c 0d 06 2c |%<=palet|te% ...,|
|00001d70| 34 20 20 20 f4 20 53 70 | 72 69 74 65 20 68 61 73 |4 . Sp|rite has|
|00001d80| 20 6e 6f 20 70 61 6c 65 | 74 74 65 20 3a 20 75 73 | no pale|tte : us|
|00001d90| 65 20 64 65 66 61 75 6c | 74 20 70 61 6c 65 74 74 |e defaul|t palett|
|00001da0| 65 0d 06 36 14 20 20 20 | c8 8e 20 63 6f 6c 6f 75 |e..6. |.. colou|
|00001db0| 72 73 25 20 ca 0d 06 40 | c8 20 20 20 20 c9 20 32 |rs% ...@|. . 2|
|00001dc0| 35 36 20 3a 20 e3 20 63 | 25 3d 30 20 b8 20 32 35 |56 : . c|%=0 . 25|
|00001dd0| 35 3a 72 25 3d 28 28 63 | 25 80 25 30 30 30 31 30 |5:r%=((c|%.%00010|
|00001de0| 30 30 30 29 3e 3e 31 29 | 2b 28 63 25 80 25 30 30 |000)>>1)|+(c%.%00|
|00001df0| 30 30 30 31 30 30 29 2b | 28 63 25 80 25 31 31 29 |000100)+|(c%.%11)|
|00001e00| 3a 67 25 3d 28 28 63 25 | 80 25 30 31 31 30 30 30 |:g%=((c%|.%011000|
|00001e10| 30 30 29 3e 3e 33 29 2b | 28 63 25 80 25 31 31 29 |00)>>3)+|(c%.%11)|
|00001e20| 3a 62 25 3d 28 28 63 25 | 80 25 31 30 30 30 30 30 |:b%=((c%|.%100000|
|00001e30| 30 30 29 3e 3e 34 29 2b | 28 28 63 25 80 25 30 30 |00)>>4)+|((c%.%00|
|00001e40| 30 30 31 30 30 30 29 3e | 3e 31 29 2b 28 63 25 80 |001000)>|>1)+(c%.|
|00001e50| 25 31 31 29 3a 50 61 6c | 65 74 74 65 25 28 63 25 |%11):Pal|ette%(c%|
|00001e60| 29 3d 28 72 25 3c 3c 32 | 30 29 2b 28 67 25 3c 3c |)=(r%<<2|0)+(g%<<|
|00001e70| 31 32 29 2b 28 62 25 3c | 3c 34 29 3a ed 0d 06 4a |12)+(b%<|<4):...J|
|00001e80| 7d 20 20 20 20 c9 20 31 | 36 20 3a 20 50 61 6c 65 |} . 1|6 : Pale|
|00001e90| 74 74 65 25 28 29 3d 30 | 2c 26 46 30 30 30 30 30 |tte%()=0|,&F00000|
|00001ea0| 2c 26 46 30 30 30 2c 26 | 46 30 46 30 30 30 2c 26 |,&F000,&|F0F000,&|
|00001eb0| 46 30 2c 26 46 30 30 30 | 46 30 2c 26 46 30 46 30 |F0,&F000|F0,&F0F0|
|00001ec0| 2c 26 46 30 46 30 46 30 | 2c 30 2c 26 46 30 30 30 |,&F0F0F0|,0,&F000|
|00001ed0| 30 30 2c 26 46 30 30 30 | 2c 26 46 30 46 30 30 30 |00,&F000|,&F0F000|
|00001ee0| 2c 26 46 30 2c 26 46 30 | 30 30 46 30 2c 26 46 30 |,&F0,&F0|00F0,&F0|
|00001ef0| 46 30 2c 26 46 30 46 30 | 46 30 0d 06 54 32 20 20 |F0,&F0F0|F0..T2 |
|00001f00| 20 20 c9 20 34 20 3a 20 | 50 61 6c 65 74 74 65 25 | . 4 : |Palette%|
|00001f10| 28 29 3d 30 2c 26 46 30 | 30 30 30 30 2c 26 46 30 |()=0,&F0|0000,&F0|
|00001f20| 46 30 30 30 2c 26 46 30 | 46 30 46 30 0d 06 5e 22 |F000,&F0|F0F0..^"|
|00001f30| 20 20 20 20 c9 20 32 20 | 3a 20 50 61 6c 65 74 74 | . 2 |: Palett|
|00001f40| 65 25 28 29 3d 30 2c 26 | 46 30 46 30 46 30 0d 06 |e%()=0,&|F0F0F0..|
|00001f50| 68 08 20 20 20 cb 0d 06 | 72 23 20 20 cc 20 f4 20 |h. ...|r# . . |
|00001f60| 52 65 61 64 20 73 70 72 | 69 74 65 27 73 20 6f 77 |Read spr|ite's ow|
|00001f70| 6e 20 70 61 6c 65 74 74 | 65 0d 06 7c 16 20 20 20 |n palett|e..|. |
|00001f80| e7 63 6f 6c 6f 75 72 73 | 25 3c 3d 31 36 20 8c 0d |.colours|%<=16 ..|
|00001f90| 06 86 25 20 20 20 20 f4 | 20 41 6c 6c 20 70 61 6c |..% .| All pal|
|00001fa0| 65 74 74 65 20 65 6e 74 | 72 69 65 73 20 70 72 65 |ette ent|ries pre|
|00001fb0| 73 65 6e 74 0d 06 90 45 | 20 20 20 20 e3 20 63 25 |sent...E| . c%|
|00001fc0| 3d 30 20 b8 20 63 6f 6c | 6f 75 72 73 25 2d 31 3a |=0 . col|ours%-1:|
|00001fd0| 50 61 6c 65 74 74 65 25 | 28 63 25 29 3d a4 70 61 |Palette%|(c%)=.pa|
|00001fe0| 6c 74 6f 72 67 62 28 70 | 61 6c 65 74 74 65 25 21 |ltorgb(p|alette%!|
|00001ff0| 28 63 25 2a 38 29 29 3a | ed 0d 06 9a 44 20 20 20 |(c%*8)):|....D |
|00002000| cc 20 f4 20 4f 6e 6c 79 | 20 36 34 20 70 61 6c 65 |. . Only| 64 pale|
|00002010| 74 74 65 20 65 6e 74 72 | 69 65 73 20 70 72 65 73 |tte entr|ies pres|
|00002020| 65 6e 74 2c 20 64 65 64 | 75 63 65 20 61 6c 6c 20 |ent, ded|uce all |
|00002030| 66 72 6f 6d 20 66 69 72 | 73 74 20 31 36 0d 06 a4 |from fir|st 16...|
|00002040| 90 20 20 20 20 e3 20 63 | 25 3d 30 20 b8 20 31 35 |. . c|%=0 . 15|
|00002050| 3a 50 61 6c 65 74 74 65 | 25 28 63 25 29 3d a4 70 |:Palette|%(c%)=.p|
|00002060| 61 6c 74 6f 72 67 62 28 | 70 61 6c 65 74 74 65 25 |altorgb(|palette%|
|00002070| 21 28 63 25 2a 38 29 29 | 3a ed 3a e3 20 63 25 3d |!(c%*8))|:.:. c%=|
|00002080| 31 36 20 b8 20 32 35 35 | 3a 50 61 6c 65 74 74 65 |16 . 255|:Palette|
|00002090| 25 28 63 25 29 3d 50 61 | 6c 65 74 74 65 25 28 63 |%(c%)=Pa|lette%(c|
|000020a0| 25 80 31 35 29 2b 28 63 | 25 80 26 38 30 29 2b 28 |%.15)+(c|%.&80)+(|
|000020b0| 28 63 25 80 26 36 30 29 | 3c 3c 39 29 2b 28 28 63 |(c%.&60)|<<9)+((c|
|000020c0| 25 80 26 31 30 29 3c 3c | 31 39 29 3a ed 0d 06 ae |%.&10)<<|19):....|
|000020d0| 08 20 20 20 cd 0d 06 b8 | 07 20 20 cd 0d 06 c2 48 |. ....|. ....H|
|000020e0| 20 20 78 65 69 67 25 3d | a4 6d 6f 64 65 5f 76 61 | xeig%=|.mode_va|
|000020f0| 72 28 6d 6f 64 65 25 2c | 34 29 3a 79 65 69 67 25 |r(mode%,|4):yeig%|
|00002100| 3d a4 6d 6f 64 65 5f 76 | 61 72 28 6d 6f 64 65 25 |=.mode_v|ar(mode%|
|00002110| 2c 35 29 3a f4 20 58 2f | 59 65 69 67 20 66 61 63 |,5):. X/|Yeig fac|
|00002120| 74 6f 72 73 0d 06 cc 44 | 20 20 72 65 73 64 69 76 |tors...D| resdiv|
|00002130| 78 25 3d 32 5e 78 65 69 | 67 25 3a 72 65 73 64 69 |x%=2^xei|g%:resdi|
|00002140| 76 79 25 3d 32 5e 79 65 | 69 67 25 3a f4 20 44 69 |vy%=2^ye|ig%:. Di|
|00002150| 76 69 73 6f 72 73 20 66 | 6f 72 20 58 2f 59 52 65 |visors f|or X/YRe|
|00002160| 73 6f 6c 75 74 69 6f 6e | 0d 06 d6 2f 20 20 72 6f |solution|.../ ro|
|00002170| 77 62 79 74 65 73 25 3d | 77 6f 72 64 77 25 2a 34 |wbytes%=|wordw%*4|
|00002180| 3a 52 67 62 3d a3 3a 52 | 65 73 6f 6c 75 74 69 6f |:Rgb=.:R|esolutio|
|00002190| 6e 46 61 63 73 3d b9 0d | 06 e0 34 20 20 64 61 74 |nFacs=..|..4 dat|
|000021a0| 61 70 74 72 25 3d 69 6d | 61 67 65 25 2d 48 65 61 |aptr%=im|age%-Hea|
|000021b0| 64 25 2d 34 3a f4 20 4f | 66 66 73 65 74 20 74 6f |d%-4:. O|ffset to|
|000021c0| 20 69 6d 61 67 65 20 64 | 61 74 61 0d 06 ea 1a 20 | image d|ata.... |
|000021d0| c9 20 26 36 39 30 20 3a | 20 f4 20 43 6c 65 61 72 |. &690 :| . Clear|
|000021e0| 20 66 69 6c 65 0d 06 f4 | 40 20 20 c8 99 20 22 4f | file...|@ .. "O|
|000021f0| 53 5f 47 42 50 42 22 2c | 34 2c 49 6e 2c 48 65 61 |S_GBPB",|4,In,Hea|
|00002200| 64 25 2c 48 65 61 64 73 | 69 7a 65 25 3a f4 20 52 |d%,Heads|ize%:. R|
|00002210| 65 61 64 20 43 6c 65 61 | 72 20 66 69 6c 65 20 68 |ead Clea|r file h|
|00002220| 65 61 64 65 72 0d 06 fe | 70 20 20 70 74 72 25 3d |eader...|p ptr%=|
|00002230| 48 65 61 64 25 3a 6d 61 | 6b 65 72 24 3d 22 22 3a |Head%:ma|ker$="":|
|00002240| c8 95 20 3f 70 74 72 25 | 3e 3d 97 22 20 22 3a 6d |.. ?ptr%|>=." ":m|
|00002250| 61 6b 65 72 24 2b 3d bd | 28 3f 70 74 72 25 29 3a |aker$+=.|(?ptr%):|
|00002260| 70 74 72 25 2b 3d 31 3a | ce 3a 76 65 72 73 69 6f |ptr%+=1:|.:versio|
|00002270| 6e 25 3d 70 74 72 25 21 | 31 3a 70 74 72 25 2b 3d |n%=ptr%!|1:ptr%+=|
|00002280| 35 3a f4 20 4d 61 6b 65 | 72 20 61 6e 64 20 76 65 |5:. Make|r and ve|
|00002290| 72 73 69 6f 6e 0d 07 08 | 47 20 20 77 69 64 74 68 |rsion...|G width|
|000022a0| 25 3d 21 70 74 72 25 3a | 68 65 69 67 68 74 25 3d |%=!ptr%:|height%=|
|000022b0| 70 74 72 25 21 34 3a 63 | 6f 6c 62 69 74 73 25 3d |ptr%!4:c|olbits%=|
|000022c0| 70 74 72 25 21 38 3a 70 | 74 72 25 2b 3d 31 32 3a |ptr%!8:p|tr%+=12:|
|000022d0| f4 20 52 65 73 6f 6c 75 | 74 69 6f 6e 0d 07 12 13 |. Resolu|tion....|
|000022e0| 20 20 e7 63 6f 6c 62 69 | 74 73 25 3e 38 20 8c 0d | .colbi|ts%>8 ..|
|000022f0| 07 1c 2b 20 20 20 63 6f | 6c 62 69 74 73 25 3d 32 |..+ co|lbits%=2|
|00002300| 34 3a 72 6f 77 62 79 74 | 65 73 25 3d 33 2a 77 69 |4:rowbyt|es%=3*wi|
|00002310| 64 74 68 25 3a 52 67 62 | 3d b9 0d 07 26 78 20 20 |dth%:Rgb|=...&x |
|00002320| cc 20 63 6f 6c 6f 75 72 | 73 25 3d 32 5e 63 6f 6c |. colour|s%=2^col|
|00002330| 62 69 74 73 25 3a e3 20 | 63 25 3d 30 20 b8 20 63 |bits%:. |c%=0 . c|
|00002340| 6f 6c 6f 75 72 73 25 2d | 31 3a 50 61 6c 65 74 74 |olours%-|1:Palett|
|00002350| 65 25 28 63 25 29 3d 28 | 28 3f 70 74 72 25 29 3c |e%(c%)=(|(?ptr%)<|
|00002360| 3c 31 36 29 2b 28 28 70 | 74 72 25 3f 31 29 3c 3c |<16)+((p|tr%?1)<<|
|00002370| 38 29 2b 70 74 72 25 3f | 32 3a 70 74 72 25 2b 3d |8)+ptr%?|2:ptr%+=|
|00002380| 33 3a ed 3a f4 20 52 65 | 61 64 20 70 61 6c 65 74 |3:.:. Re|ad palet|
|00002390| 74 65 0d 07 30 1d 20 20 | 20 72 6f 77 62 79 74 65 |te..0. | rowbyte|
|000023a0| 73 25 3d 77 69 64 74 68 | 25 3a 52 67 62 3d a3 0d |s%=width|%:Rgb=..|
|000023b0| 07 3a 07 20 20 cd 0d 07 | 44 28 20 20 52 65 73 6f |.:. ...|D( Reso|
|000023c0| 6c 75 74 69 6f 6e 46 61 | 63 73 3d a3 3a f4 20 46 |lutionFa|cs=.:. F|
|000023d0| 61 63 74 6f 72 73 20 75 | 6e 6b 6e 6f 77 6e 0d 07 |actors u|nknown..|
|000023e0| 4e 30 20 20 64 61 74 61 | 70 74 72 25 3d 70 74 72 |N0 data|ptr%=ptr|
|000023f0| 25 2d 48 65 61 64 25 3a | f4 20 4f 66 66 73 65 74 |%-Head%:|. Offset|
|00002400| 20 74 6f 20 69 6d 61 67 | 65 20 64 61 74 61 0d 07 | to imag|e data..|
|00002410| 58 05 cb 0d 07 62 30 62 | 79 74 65 77 25 3d 28 77 |X....b0b|ytew%=(w|
|00002420| 69 64 74 68 25 2a 63 6f | 6c 62 69 74 73 25 2b 37 |idth%*co|lbits%+7|
|00002430| 29 81 38 3a f4 20 42 79 | 74 65 73 20 70 65 72 20 |).8:. By|tes per |
|00002440| 72 6f 77 0d 07 6c 3e 72 | 6f 77 73 70 65 72 73 74 |row..l>r|owsperst|
|00002450| 72 69 70 25 3d 38 31 39 | 32 20 81 20 62 79 74 65 |rip%=819|2 . byte|
|00002460| 77 25 3a f4 20 4d 61 6b | 65 20 73 74 72 69 70 73 |w%:. Mak|e strips|
|00002470| 20 61 62 6f 75 74 20 38 | 4b 20 69 6e 20 73 69 7a | about 8|K in siz|
|00002480| 65 0d 07 76 46 e7 72 6f | 77 73 70 65 72 73 74 72 |e..vF.ro|wsperstr|
|00002490| 69 70 25 3e 68 65 69 67 | 68 74 25 20 8c 20 72 6f |ip%>heig|ht% . ro|
|000024a0| 77 73 70 65 72 73 74 72 | 69 70 25 3d 68 65 69 67 |wsperstr|ip%=heig|
|000024b0| 68 74 25 3a f4 20 48 65 | 69 67 68 74 20 69 73 20 |ht%:. He|ight is |
|000024c0| 6d 61 78 69 6d 75 6d 0d | 07 80 48 73 74 72 69 70 |maximum.|..Hstrip|
|000024d0| 73 25 3d 28 68 65 69 67 | 68 74 25 2b 72 6f 77 73 |s%=(heig|ht%+rows|
|000024e0| 70 65 72 73 74 72 69 70 | 25 2d 31 29 20 81 20 72 |perstrip|%-1) . r|
|000024f0| 6f 77 73 70 65 72 73 74 | 72 69 70 25 3a f4 20 4e |owsperst|rip%:. N|
|00002500| 75 6d 62 65 72 20 6f 66 | 20 73 74 72 69 70 73 0d |umber of| strips.|
|00002510| 07 8a 16 de 20 53 74 72 | 6f 66 66 25 28 73 74 72 |.... Str|off%(str|
|00002520| 69 70 73 25 29 0d 07 94 | 2a cf 23 49 6e 3d 64 61 |ips%)...|*.#In=da|
|00002530| 74 61 70 74 72 25 3a f4 | 20 54 6f 20 73 74 61 72 |taptr%:.| To star|
|00002540| 74 20 6f 66 20 69 6d 61 | 67 65 20 64 61 74 61 0d |t of ima|ge data.|
|00002550| 07 9e 2b 4f 75 74 3d ae | 28 4f 75 74 46 69 6c 65 |..+Out=.|(OutFile|
|00002560| 24 29 3a f4 20 4f 70 65 | 6e 20 6f 75 74 70 75 74 |$):. Ope|n output|
|00002570| 20 54 49 46 46 20 66 69 | 6c 65 0d 07 a8 32 f2 6f | TIFF fi|le...2.o|
|00002580| 75 74 73 28 22 49 49 22 | 29 3a f4 20 4c 6f 77 2d |uts("II"|):. Low-|
|00002590| 74 6f 2d 68 69 67 68 20 | 62 79 74 65 20 6f 72 64 |to-high |byte ord|
|000025a0| 65 72 20 54 49 46 46 20 | 66 69 6c 65 0d 07 b2 23 |er TIFF |file...#|
|000025b0| f2 6f 75 74 64 28 34 32 | 29 3a f4 20 54 49 46 46 |.outd(42|):. TIFF|
|000025c0| 20 76 65 72 73 69 6f 6e | 20 6e 75 6d 62 65 72 0d | version| number.|
|000025d0| 07 bc 33 f2 6f 75 74 77 | 28 38 29 3a f4 20 4f 66 |..3.outw|(8):. Of|
|000025e0| 66 73 65 74 20 74 6f 20 | 49 6d 61 67 65 20 46 69 |fset to |Image Fi|
|000025f0| 6c 65 20 44 69 72 65 63 | 74 6f 72 79 20 28 49 46 |le Direc|tory (IF|
|00002600| 44 29 0d 07 c6 3d e7 52 | 65 73 6f 6c 75 74 69 6f |D)...=.R|esolutio|
|00002610| 6e 46 61 63 73 20 8c 20 | 65 6e 74 72 69 65 73 25 |nFacs . |entries%|
|00002620| 3d 31 33 20 8b 20 65 6e | 74 72 69 65 73 25 3d 31 |=13 . en|tries%=1|
|00002630| 30 3a f4 20 49 46 44 20 | 65 6e 74 72 69 65 73 0d |0:. IFD |entries.|
|00002640| 07 d0 2b f2 6f 75 74 64 | 28 65 6e 74 72 69 65 73 |..+.outd|(entries|
|00002650| 25 29 3a f4 20 4e 75 6d | 62 65 72 20 6f 66 20 49 |%):. Num|ber of I|
|00002660| 46 44 20 65 6e 74 72 69 | 65 73 0d 07 da 3d 69 70 |FD entri|es...=ip|
|00002670| 74 72 25 3d 31 32 2a 65 | 6e 74 72 69 65 73 25 2b |tr%=12*e|ntries%+|
|00002680| 34 2b 8f 23 4f 75 74 3a | f4 20 49 6e 69 74 69 61 |4+.#Out:|. Initia|
|00002690| 6c 69 73 65 20 69 6e 66 | 6f 20 62 6c 6f 63 6b 20 |lise inf|o block |
|000026a0| 70 6f 69 6e 74 65 72 0d | 07 e4 33 f2 6f 75 74 49 |pointer.|..3.outI|
|000026b0| 46 44 28 32 35 36 2c 34 | 2c 31 2c 77 69 64 74 68 |FD(256,4|,1,width|
|000026c0| 25 29 3a f4 20 49 6d 61 | 67 65 20 77 69 64 74 68 |%):. Ima|ge width|
|000026d0| 20 69 6e 20 70 69 78 65 | 6c 73 0d 07 ee 35 f2 6f | in pixe|ls...5.o|
|000026e0| 75 74 49 46 44 28 32 35 | 37 2c 34 2c 31 2c 68 65 |utIFD(25|7,4,1,he|
|000026f0| 69 67 68 74 25 29 3a f4 | 20 49 6d 61 67 65 20 68 |ight%):.| Image h|
|00002700| 65 69 67 68 74 20 69 6e | 20 70 69 78 65 6c 73 0d |eight in| pixels.|
|00002710| 07 f8 4c e7 52 67 62 20 | 8c 20 f2 6f 75 74 49 46 |..L.Rgb |. .outIF|
|00002720| 44 28 32 35 38 2c 33 2c | 33 2c 2d 31 29 20 8b 20 |D(258,3,|3,-1) . |
|00002730| f2 6f 75 74 49 46 44 28 | 32 35 38 2c 33 2c 31 2c |.outIFD(|258,3,1,|
|00002740| 63 6f 6c 62 69 74 73 25 | 29 3a f4 20 42 69 74 73 |colbits%|):. Bits|
|00002750| 20 70 65 72 20 73 61 6d | 70 6c 65 0d 08 02 2e f4 | per sam|ple.....|
|00002760| 20 43 6f 6d 70 72 65 73 | 73 69 6f 6e 20 28 63 75 | Compres|sion (cu|
|00002770| 72 72 65 6e 74 6c 79 20 | 6e 6f 6e 65 20 6f 72 20 |rrently |none or |
|00002780| 50 61 63 6b 42 69 74 73 | 29 0d 08 0c 3b e7 43 6f |PackBits|)...;.Co|
|00002790| 6d 70 72 65 73 73 20 8c | 20 f2 6f 75 74 49 46 44 |mpress .| .outIFD|
|000027a0| 28 32 35 39 2c 33 2c 31 | 2c 33 32 37 37 33 29 20 |(259,3,1|,32773) |
|000027b0| 8b 20 f2 6f 75 74 49 46 | 44 28 32 35 39 2c 33 2c |. .outIF|D(259,3,|
|000027c0| 31 2c 31 29 0d 08 16 4f | e7 52 67 62 20 8c 20 f2 |1,1)...O|.Rgb . .|
|000027d0| 6f 75 74 49 46 44 28 32 | 36 32 2c 33 2c 31 2c 32 |outIFD(2|62,3,1,2|
|000027e0| 29 20 8b 20 f2 6f 75 74 | 49 46 44 28 32 36 32 2c |) . .out|IFD(262,|
|000027f0| 33 2c 31 2c 33 29 3a f4 | 20 50 68 6f 74 6f 6d 65 |3,1,3):.| Photome|
|00002800| 74 72 69 63 20 69 6e 74 | 65 72 70 72 65 74 61 74 |tric int|erpretat|
|00002810| 69 6f 6e 0d 08 20 49 f2 | 6f 75 74 49 46 44 28 32 |ion.. I.|outIFD(2|
|00002820| 36 36 2c 33 2c 31 2c 31 | 29 3a f4 20 46 69 6c 6c |66,3,1,1|):. Fill|
|00002830| 6f 72 64 65 72 20 28 68 | 69 67 68 20 62 69 74 73 |order (h|igh bits|
|00002840| 20 66 69 72 73 74 2c 20 | 69 74 27 73 20 27 72 65 | first, |it's 're|
|00002850| 63 6f 6d 6d 65 6e 64 65 | 64 27 21 29 0d 08 2a 85 |commende|d'!)..*.|
|00002860| e7 73 74 72 69 70 73 25 | 3e 31 20 8c 20 f2 6f 75 |.strips%|>1 . .ou|
|00002870| 74 49 46 44 28 32 37 33 | 2c 34 2c 73 74 72 69 70 |tIFD(273|,4,strip|
|00002880| 73 25 2c 2d 31 29 20 8b | 20 6f 66 66 53 54 52 25 |s%,-1) .| offSTR%|
|00002890| 3d 8f 23 4f 75 74 3a f2 | 6f 75 74 49 46 44 28 32 |=.#Out:.|outIFD(2|
|000028a0| 37 33 2c 34 2c 73 74 72 | 69 70 73 25 2c 30 29 3a |73,4,str|ips%,0):|
|000028b0| f4 20 53 74 72 69 70 20 | 6f 66 66 73 65 74 73 20 |. Strip |offsets |
|000028c0| 28 69 66 20 31 20 73 74 | 72 69 70 2c 20 50 54 52 |(if 1 st|rip, PTR|
|000028d0| 20 61 73 20 79 65 74 20 | 75 6e 6b 6e 6f 77 6e 21 | as yet |unknown!|
|000028e0| 29 0d 08 34 46 e7 52 67 | 62 20 8c 20 f2 6f 75 74 |)..4F.Rg|b . .out|
|000028f0| 49 46 44 28 32 37 37 2c | 33 2c 31 2c 33 29 20 8b |IFD(277,|3,1,3) .|
|00002900| 20 f2 6f 75 74 49 46 44 | 28 32 37 37 2c 33 2c 31 | .outIFD|(277,3,1|
|00002910| 2c 31 29 3a f4 20 53 61 | 6d 70 6c 65 73 20 70 65 |,1):. Sa|mples pe|
|00002920| 72 20 70 69 78 65 6c 0d | 08 3e 33 f2 6f 75 74 49 |r pixel.|.>3.outI|
|00002930| 46 44 28 32 37 38 2c 34 | 2c 31 2c 72 6f 77 73 70 |FD(278,4|,1,rowsp|
|00002940| 65 72 73 74 72 69 70 25 | 29 3a f4 20 52 6f 77 73 |erstrip%|):. Rows|
|00002950| 20 70 65 72 20 73 74 72 | 69 70 0d 08 48 5a e7 52 | per str|ip..HZ.R|
|00002960| 65 73 6f 6c 75 74 69 6f | 6e 46 61 63 73 20 8c 20 |esolutio|nFacs . |
|00002970| f2 6f 75 74 49 46 44 28 | 32 38 32 2c 35 2c 31 2c |.outIFD(|282,5,1,|
|00002980| 2d 31 29 3a f2 6f 75 74 | 49 46 44 28 32 38 33 2c |-1):.out|IFD(283,|
|00002990| 35 2c 31 2c 2d 31 29 3a | f4 20 58 20 72 65 73 6f |5,1,-1):|. X reso|
|000029a0| 6c 75 74 69 6f 6e 2c 20 | 59 20 72 65 73 6f 6c 75 |lution, |Y resolu|
|000029b0| 74 69 6f 6e 0d 08 52 34 | e7 52 67 62 20 8c 20 f2 |tion..R4|.Rgb . .|
|000029c0| 6f 75 74 49 46 44 28 32 | 38 34 2c 33 2c 31 2c 31 |outIFD(2|84,3,1,1|
|000029d0| 29 3a f4 20 50 6c 61 6e | 61 72 20 43 6f 6e 66 69 |):. Plan|ar Confi|
|000029e0| 67 75 72 61 74 69 6f 6e | 0d 08 5c 41 e7 52 65 73 |guration|..\A.Res|
|000029f0| 6f 6c 75 74 69 6f 6e 46 | 61 63 73 20 8c 20 f2 6f |olutionF|acs . .o|
|00002a00| 75 74 49 46 44 28 32 39 | 36 2c 33 2c 31 2c 32 29 |utIFD(29|6,3,1,2)|
|00002a10| 3a f4 20 52 65 73 6f 6c | 75 74 69 6f 6e 20 75 6e |:. Resol|ution un|
|00002a20| 69 74 20 28 69 6e 63 68 | 29 0d 08 66 34 e7 52 67 |it (inch|)..f4.Rg|
|00002a30| 62 20 8b 20 f2 6f 75 74 | 49 46 44 28 33 32 30 2c |b . .out|IFD(320,|
|00002a40| 33 2c 33 2a 63 6f 6c 6f | 75 72 73 25 2c 2d 31 29 |3,3*colo|urs%,-1)|
|00002a50| 3a f4 20 43 6f 6c 6f 75 | 72 20 6d 61 70 0d 08 70 |:. Colou|r map..p|
|00002a60| 1a f2 6f 75 74 77 28 30 | 29 3a f4 20 4e 6f 20 6e |..outw(0|):. No n|
|00002a70| 65 78 74 20 49 46 44 0d | 08 7a 28 f4 20 41 72 72 |ext IFD.|.z(. Arr|
|00002a80| 69 76 65 64 20 61 74 20 | 69 6e 66 6f 20 62 6c 6f |ived at |info blo|
|00002a90| 63 6b 73 2c 20 77 72 69 | 74 65 20 64 61 74 61 0d |cks, wri|te data.|
|00002aa0| 08 84 3d e7 52 67 62 20 | 8c 20 f2 6f 75 74 64 28 |..=.Rgb |. .outd(|
|00002ab0| 38 29 3a f2 6f 75 74 64 | 28 38 29 3a f2 6f 75 74 |8):.outd|(8):.out|
|00002ac0| 64 28 38 29 3a f4 20 32 | 34 2d 62 69 74 20 52 47 |d(8):. 2|4-bit RG|
|00002ad0| 42 20 3d 20 38 52 2c 38 | 47 2c 38 42 0d 08 8e 42 |B = 8R,8|G,8B...B|
|00002ae0| 6f 66 66 53 54 52 53 25 | 3d 8f 23 4f 75 74 3a e7 |offSTRS%|=.#Out:.|
|00002af0| 73 74 72 69 70 73 25 3e | 31 20 8c 20 cf 23 4f 75 |strips%>|1 . .#Ou|
|00002b00| 74 3d 73 74 72 69 70 73 | 25 2a 34 2b 8f 23 4f 75 |t=strips|%*4+.#Ou|
|00002b10| 74 3a f4 20 53 6b 69 70 | 20 6f 66 66 27 73 0d 08 |t:. Skip| off's..|
|00002b20| 98 63 e7 52 65 73 6f 6c | 75 74 69 6f 6e 46 61 63 |.c.Resol|utionFac|
|00002b30| 73 20 8c 20 f2 6f 75 74 | 77 28 31 38 30 29 3a f2 |s . .out|w(180):.|
|00002b40| 6f 75 74 77 28 72 65 73 | 64 69 76 78 25 29 3a f2 |outw(res|divx%):.|
|00002b50| 6f 75 74 77 28 31 38 30 | 29 3a f2 6f 75 74 77 28 |outw(180|):.outw(|
|00002b60| 72 65 73 64 69 76 79 25 | 29 3a f4 20 31 38 30 20 |resdivy%|):. 180 |
|00002b70| 4f 53 20 75 6e 69 74 73 | 20 70 65 72 20 69 6e 63 |OS units| per inc|
|00002b80| 68 0d 08 a2 73 e7 52 67 | 62 20 8b 20 e3 20 72 67 |h...s.Rg|b . . rg|
|00002b90| 62 25 3d 31 36 20 b8 20 | 30 20 88 20 2d 38 3a e3 |b%=16 . |0 . -8:.|
|00002ba0| 20 63 25 3d 30 20 b8 20 | 63 6f 6c 6f 75 72 73 25 | c%=0 . |colours%|
|00002bb0| 2d 31 3a 76 25 3d 28 50 | 61 6c 65 74 74 65 25 28 |-1:v%=(P|alette%(|
|00002bc0| 63 25 29 3e 3e 3e 72 67 | 62 25 29 80 26 46 46 3a |c%)>>>rg|b%).&FF:|
|00002bd0| f2 6f 75 74 64 28 76 25 | 3c 3c 38 29 3a ed 3a ed |.outd(v%|<<8):.:.|
|00002be0| 3a f4 20 4f 75 74 70 75 | 74 20 63 6f 6c 6f 75 72 |:. Outpu|t colour|
|00002bf0| 20 6d 61 70 0d 08 ac 3f | 21 62 69 74 73 3d 63 6f | map...?|!bits=co|
|00002c00| 6c 62 69 74 73 25 3a 21 | 74 79 70 65 3d 74 79 70 |lbits%:!|type=typ|
|00002c10| 65 25 3a 21 62 79 74 65 | 73 3d 62 79 74 65 77 25 |e%:!byte|s=bytew%|
|00002c20| 3a f4 20 4d 61 63 68 69 | 6e 65 63 6f 64 65 20 69 |:. Machi|necode i|
|00002c30| 6e 66 6f 0d 08 b6 69 e7 | 74 79 70 65 25 3d 26 46 |nfo...i.|type%=&F|
|00002c40| 46 39 20 8c 20 21 6c 65 | 66 74 3d 66 69 72 73 74 |F9 . !le|ft=first|
|00002c50| 62 25 3a 21 77 6f 72 64 | 73 3d 77 6f 72 64 77 25 |b%:!word|s=wordw%|
|00002c60| 3a d6 20 6d 61 6b 65 5f | 6d 61 70 20 8b 20 21 77 |:. make_|map . !w|
|00002c70| 69 64 74 68 3d 77 69 64 | 74 68 25 3a f4 20 4d 6f |idth=wid|th%:. Mo|
|00002c80| 72 65 20 73 70 65 63 69 | 66 69 63 20 6d 61 63 68 |re speci|fic mach|
|00002c90| 69 6e 65 63 6f 64 65 20 | 69 6e 66 6f 0d 08 c0 3d |inecode |info...=|
|00002ca0| e7 43 6f 6d 70 72 65 73 | 73 20 8c 20 6f 75 74 72 |.Compres|s . outr|
|00002cb0| 6f 77 25 3d 52 6f 77 42 | 66 32 25 20 8b 20 6f 75 |ow%=RowB|f2% . ou|
|00002cc0| 74 72 6f 77 25 3d 52 6f | 77 42 66 25 3a 63 6c 65 |trow%=Ro|wBf%:cle|
|00002cd0| 6e 25 3d 62 79 74 65 77 | 25 0d 08 ca 14 73 72 6f |n%=bytew|%....sro|
|00002ce0| 77 25 3d 30 3a 73 74 72 | 69 70 25 3d 30 0d 08 d4 |w%=0:str|ip%=0...|
|00002cf0| 14 e3 20 72 25 3d 31 20 | b8 20 68 65 69 67 68 74 |.. r%=1 |. height|
|00002d00| 25 0d 08 de 63 73 72 6f | 77 25 2d 3d 31 3a e7 73 |%...csro|w%-=1:.s|
|00002d10| 72 6f 77 25 3c 3d 30 20 | 8c 20 73 74 72 69 70 25 |row%<=0 |. strip%|
|00002d20| 2b 3d 31 3a 53 74 72 6f | 66 66 25 28 73 74 72 69 |+=1:Stro|ff%(stri|
|00002d30| 70 25 29 3d 8f 23 4f 75 | 74 3a 73 72 6f 77 25 3d |p%)=.#Ou|t:srow%=|
|00002d40| 72 6f 77 73 70 65 72 73 | 74 72 69 70 25 3a f4 20 |rowspers|trip%:. |
|00002d50| 47 61 74 68 65 72 20 73 | 74 72 69 70 2d 6f 66 66 |Gather s|trip-off|
|00002d60| 73 65 74 73 0d 08 e8 31 | c8 99 20 22 4f 53 5f 47 |sets...1|.. "OS_G|
|00002d70| 42 50 42 22 2c 34 2c 49 | 6e 2c 52 6f 77 42 66 25 |BPB",4,I|n,RowBf%|
|00002d80| 2c 72 6f 77 62 79 74 65 | 73 25 3a f4 20 52 65 61 |,rowbyte|s%:. Rea|
|00002d90| 64 20 72 6f 77 0d 08 f2 | 29 d6 20 63 6f 6e 76 65 |d row...|). conve|
|00002da0| 72 74 3a f4 20 43 6f 6e | 76 65 72 74 20 72 6f 77 |rt:. Con|vert row|
|00002db0| 20 64 61 74 61 20 66 6f | 72 20 54 49 46 46 0d 08 | data fo|r TIFF..|
|00002dc0| fc 35 e7 43 6f 6d 70 72 | 65 73 73 20 8c 20 21 62 |.5.Compr|ess . !b|
|00002dd0| 79 74 65 73 3d 62 79 74 | 65 77 25 3a d6 20 63 6f |ytes=byt|ew%:. co|
|00002de0| 6d 70 72 65 73 73 3a 63 | 6c 65 6e 25 3d 21 62 79 |mpress:c|len%=!by|
|00002df0| 74 65 73 0d 09 06 30 c8 | 99 20 22 4f 53 5f 47 42 |tes...0.|. "OS_GB|
|00002e00| 50 42 22 2c 32 2c 4f 75 | 74 2c 6f 75 74 72 6f 77 |PB",2,Ou|t,outrow|
|00002e10| 25 2c 63 6c 65 6e 25 3a | f4 20 57 72 69 74 65 20 |%,clen%:|. Write |
|00002e20| 72 6f 77 0d 09 10 05 ed | 0d 09 1a ca 64 75 6d 25 |row.....|....dum%|
|00002e30| 3d 8f 23 4f 75 74 3a e7 | 73 74 72 69 70 73 25 3e |=.#Out:.|strips%>|
|00002e40| 31 20 8c 20 cf 23 4f 75 | 74 3d 6f 66 66 53 54 52 |1 . .#Ou|t=offSTR|
|00002e50| 53 25 3a e3 20 73 25 3d | 31 20 b8 20 73 74 72 69 |S%:. s%=|1 . stri|
|00002e60| 70 73 25 3a f2 6f 75 74 | 77 28 53 74 72 6f 66 66 |ps%:.out|w(Stroff|
|00002e70| 25 28 73 25 29 29 3a ed | 3a cf 23 4f 75 74 3d 64 |%(s%)):.|:.#Out=d|
|00002e80| 75 6d 25 20 8b 20 cf 23 | 4f 75 74 3d 6f 66 66 53 |um% . .#|Out=offS|
|00002e90| 54 52 25 3a f2 6f 75 74 | 49 46 44 28 32 37 33 2c |TR%:.out|IFD(273,|
|00002ea0| 34 2c 73 74 72 69 70 73 | 25 2c 53 74 72 6f 66 66 |4,strips|%,Stroff|
|00002eb0| 25 28 31 29 29 3a cf 23 | 4f 75 74 3d 64 75 6d 25 |%(1)):.#|Out=dum%|
|00002ec0| 3a f4 20 57 72 69 74 65 | 20 73 74 72 69 70 20 6f |:. Write| strip o|
|00002ed0| 66 66 73 65 74 73 20 28 | 66 69 6e 61 6c 6c 79 2c |ffsets (|finally,|
|00002ee0| 20 49 20 6b 6e 6f 77 20 | 74 68 65 6d 20 68 65 72 | I know |them her|
|00002ef0| 65 29 0d 09 24 1b d9 23 | 49 6e 3a f4 20 43 6c 6f |e)..$..#|In:. Clo|
|00002f00| 73 65 20 69 6e 70 75 74 | 20 66 69 6c 65 0d 09 2e |se input| file...|
|00002f10| 1b d9 23 4f 75 74 3a f4 | 20 43 6c 6f 73 65 20 54 |..#Out:.| Close T|
|00002f20| 49 46 46 20 66 69 6c 65 | 0d 09 38 42 c8 99 20 22 |IFF file|..8B.. "|
|00002f30| 4f 53 5f 43 4c 49 22 2c | 22 53 65 74 54 79 70 65 |OS_CLI",|"SetType|
|00002f40| 20 22 2b 4f 75 74 46 69 | 6c 65 24 2b 22 20 46 46 | "+OutFi|le$+" FF|
|00002f50| 30 22 3a f4 20 46 69 6c | 65 74 79 70 65 20 61 73 |0":. Fil|etype as|
|00002f60| 20 54 49 46 46 20 66 69 | 6c 65 0d 09 42 05 e1 0d | TIFF fi|le..B...|
|00002f70| 09 4c 05 20 0d 09 56 0c | dd f2 63 6c 6f 73 65 66 |.L. ..V.|..closef|
|00002f80| 0d 09 60 1b f4 20 43 6c | 6f 73 65 73 20 66 69 6c |..`.. Cl|oses fil|
|00002f90| 65 73 20 6f 6e 20 65 72 | 72 6f 72 0d 09 6a 10 e7 |es on er|ror..j..|
|00002fa0| 49 6e 3e 30 20 8c 20 d9 | 23 49 6e 0d 09 74 12 e7 |In>0 . .|#In..t..|
|00002fb0| 4f 75 74 3e 30 20 8c 20 | d9 23 4f 75 74 0d 09 7e |Out>0 . |.#Out..~|
|00002fc0| 05 e1 0d 09 88 05 20 0d | 09 92 11 dd a4 69 70 74 |...... .|.....ipt|
|00002fd0| 72 28 72 6f 6f 6d 25 29 | 0d 09 9c 32 f4 20 52 65 |r(room%)|...2. Re|
|00002fe0| 74 75 72 6e 73 20 66 69 | 6c 65 20 70 6f 69 6e 74 |turns fi|le point|
|00002ff0| 65 72 20 74 6f 20 62 6c | 6f 63 6b 20 6f 66 20 72 |er to bl|ock of r|
|00003000| 6f 6f 6d 25 20 62 79 74 | 65 73 0d 09 a6 1d 69 70 |oom% byt|es....ip|
|00003010| 74 72 25 2b 3d 72 6f 6f | 6d 25 3a 3d 69 70 74 72 |tr%+=roo|m%:=iptr|
|00003020| 25 2d 72 6f 6f 6d 25 0d | 09 b0 05 20 0d 09 ba 27 |%-room%.|... ...'|
|00003030| dd f2 6f 75 74 49 46 44 | 28 74 61 67 25 2c 74 79 |..outIFD|(tag%,ty|
|00003040| 70 65 25 2c 6c 65 6e 67 | 74 68 25 2c 76 61 6c 75 |pe%,leng|th%,valu|
|00003050| 65 25 29 0d 09 c4 22 f4 | 20 4f 75 74 70 75 74 73 |e%)...".| Outputs|
|00003060| 20 49 46 44 20 65 6e 74 | 72 79 20 74 6f 20 6f 75 | IFD ent|ry to ou|
|00003070| 74 66 69 6c 65 0d 09 ce | 0c ea 20 62 79 74 65 73 |tfile...|.. bytes|
|00003080| 25 0d 09 d8 30 62 79 74 | 65 73 25 3d bb 28 c1 22 |%...0byt|es%=.(."|
|00003090| 31 31 32 34 38 22 2c 74 | 79 70 65 25 2c 31 29 29 |11248",t|ype%,1))|
|000030a0| 3a f4 20 42 79 74 65 73 | 20 70 65 72 20 74 79 70 |:. Bytes| per typ|
|000030b0| 65 0d 09 e2 40 e7 76 61 | 6c 75 65 25 3d 2d 31 20 |e...@.va|lue%=-1 |
|000030c0| 8c 20 76 61 6c 75 65 25 | 3d a4 69 70 74 72 28 62 |. value%|=.iptr(b|
|000030d0| 79 74 65 73 25 2a 6c 65 | 6e 67 74 68 25 29 3a f4 |ytes%*le|ngth%):.|
|000030e0| 20 50 6f 69 6e 74 65 72 | 20 74 6f 20 62 6c 6f 63 | Pointer| to bloc|
|000030f0| 6b 0d 09 ec 15 f2 6f 75 | 74 64 28 74 61 67 25 29 |k.....ou|td(tag%)|
|00003100| 3a f4 20 54 61 67 0d 09 | f6 1d f2 6f 75 74 64 28 |:. Tag..|...outd(|
|00003110| 74 79 70 65 25 29 3a f4 | 20 46 69 65 6c 64 20 74 |type%):.| Field t|
|00003120| 79 70 65 0d 0a 00 20 f2 | 6f 75 74 77 28 6c 65 6e |ype... .|outw(len|
|00003130| 67 74 68 25 29 3a f4 20 | 46 69 65 6c 64 20 63 6f |gth%):. |Field co|
|00003140| 75 6e 74 0d 0a 0a 2b f2 | 6f 75 74 77 28 76 61 6c |unt...+.|outw(val|
|00003150| 75 65 25 29 3a f4 20 56 | 61 6c 75 65 20 28 6f 66 |ue%):. V|alue (of|
|00003160| 66 73 65 74 20 6f 72 20 | 76 61 6c 75 65 29 0d 0a |fset or |value)..|
|00003170| 14 05 e1 0d 0a 1e 05 20 | 0d 0a 28 10 dd f2 6f 75 |....... |..(...ou|
|00003180| 74 73 28 6f 75 74 24 29 | 0d 0a 32 1f f4 20 4f 75 |ts(out$)|..2.. Ou|
|00003190| 74 70 75 74 73 20 73 74 | 72 69 6e 67 20 74 6f 20 |tputs st|ring to |
|000031a0| 6f 75 74 66 69 6c 65 0d | 0a 3c 08 ea 20 63 25 0d |outfile.|.<.. c%.|
|000031b0| 0a 46 25 e3 20 63 25 3d | 31 20 b8 20 a9 6f 75 74 |.F%. c%=|1 . .out|
|000031c0| 24 3a d5 23 4f 75 74 2c | 97 c1 6f 75 74 24 2c 63 |$:.#Out,|..out$,c|
|000031d0| 25 29 3a ed 0d 0a 50 05 | e1 0d 0a 5a 05 20 0d 0a |%):...P.|...Z. ..|
|000031e0| 64 10 dd f2 6f 75 74 77 | 28 6f 75 74 25 29 0d 0a |d...outw|(out%)..|
|000031f0| 6e 1d f4 20 4f 75 74 70 | 75 74 73 20 77 6f 72 64 |n.. Outp|uts word|
|00003200| 20 74 6f 20 6f 75 74 66 | 69 6c 65 0d 0a 78 3d d5 | to outf|ile..x=.|
|00003210| 23 4f 75 74 2c 6f 75 74 | 25 3a d5 23 4f 75 74 2c |#Out,out|%:.#Out,|
|00003220| 6f 75 74 25 3e 3e 3e 38 | 3a d5 23 4f 75 74 2c 6f |out%>>>8|:.#Out,o|
|00003230| 75 74 25 3e 3e 3e 31 36 | 3a d5 23 4f 75 74 2c 6f |ut%>>>16|:.#Out,o|
|00003240| 75 74 25 3e 3e 3e 32 34 | 0d 0a 82 05 e1 0d 0a 8c |ut%>>>24|........|
|00003250| 05 20 0d 0a 96 10 dd f2 | 6f 75 74 64 28 6f 75 74 |. ......|outd(out|
|00003260| 25 29 0d 0a a0 24 f4 20 | 4f 75 74 70 75 74 73 20 |%)...$. |Outputs |
|00003270| 64 6f 75 62 6c 65 2d 62 | 79 74 65 20 74 6f 20 6f |double-b|yte to o|
|00003280| 75 74 66 69 6c 65 0d 0a | aa 1c d5 23 4f 75 74 2c |utfile..|...#Out,|
|00003290| 6f 75 74 25 3a d5 23 4f | 75 74 2c 6f 75 74 25 3e |out%:.#O|ut,out%>|
|000032a0| 3e 38 0d 0a b4 05 e1 0d | 0a be 05 20 0d 0a c8 10 |>8......|... ....|
|000032b0| dd f2 6f 75 74 62 28 6f | 75 74 25 29 0d 0a d2 1d |..outb(o|ut%)....|
|000032c0| f4 20 4f 75 74 70 75 74 | 73 20 62 79 74 65 20 74 |. Output|s byte t|
|000032d0| 6f 20 6f 75 74 66 69 6c | 65 0d 0a dc 0e d5 23 4f |o outfil|e.....#O|
|000032e0| 75 74 2c 6f 75 74 25 0d | 0a e6 05 e1 0d 0a f0 05 |ut,out%.|........|
|000032f0| 20 0d 0a fa 1a dd a4 6d | 6f 64 65 5f 76 61 72 28 | ......m|ode_var(|
|00003300| 6d 6f 64 65 25 2c 76 61 | 72 25 29 0d 0b 04 1b f4 |mode%,va|r%).....|
|00003310| 20 52 65 74 75 72 6e 73 | 20 6d 6f 64 65 20 76 61 | Returns| mode va|
|00003320| 72 69 61 62 6c 65 0d 0b | 0e 0a ea 20 76 61 6c 25 |riable..|... val%|
|00003330| 0d 0b 18 30 c8 99 20 22 | 4f 53 5f 52 65 61 64 4d |...0.. "|OS_ReadM|
|00003340| 6f 64 65 56 61 72 69 61 | 62 6c 65 22 2c 6d 6f 64 |odeVaria|ble",mod|
|00003350| 65 25 2c 76 61 72 25 20 | b8 20 2c 2c 76 61 6c 25 |e%,var% |. ,,val%|
|00003360| 0d 0b 22 09 3d 76 61 6c | 25 0d 0b 2c 05 20 0d 0b |..".=val|%..,. ..|
|00003370| 36 13 dd a4 73 74 72 69 | 6e 67 28 61 64 64 72 25 |6...stri|ng(addr%|
|00003380| 29 0d 0b 40 32 f4 20 52 | 65 74 75 72 6e 73 20 43 |)..@2. R|eturns C|
|00003390| 54 52 4c 2d 63 68 61 72 | 20 74 65 72 6d 69 6e 61 |TRL-char| termina|
|000033a0| 74 65 64 20 73 74 72 69 | 6e 67 20 61 74 20 61 64 |ted stri|ng at ad|
|000033b0| 64 72 25 0d 0b 4a 0f ea | 20 5f 25 2c 5f 63 25 2c |dr%..J..| _%,_c%,|
|000033c0| 5f 24 0d 0b 54 1f 5f 25 | 3d 2d 31 3a f5 20 5f 25 |_$..T._%|=-1:. _%|
|000033d0| 2b 3d 31 3a fd 20 61 64 | 64 72 25 3f 5f 25 3c 33 |+=1:. ad|dr%?_%<3|
|000033e0| 32 0d 0b 5e 33 5f 63 25 | 3d 61 64 64 72 25 3f 5f |2..^3_c%|=addr%?_|
|000033f0| 25 3a 61 64 64 72 25 3f | 5f 25 3d 31 33 3a 5f 24 |%:addr%?|_%=13:_$|
|00003400| 3d 24 61 64 64 72 25 3a | 61 64 64 72 25 3f 5f 25 |=$addr%:|addr%?_%|
|00003410| 3d 5f 63 25 0d 0b 68 07 | 3d 5f 24 0d 0b 72 05 20 |=_c%..h.|=_$..r. |
|00003420| 0d 0b 7c 1d dd f2 6d 6f | 75 73 65 28 f8 20 78 25 |..|...mo|use(. x%|
|00003430| 2c f8 20 79 25 2c f8 20 | 62 75 74 25 29 0d 0b 86 |,. y%,. |but%)...|
|00003440| 2b f4 20 52 65 74 75 72 | 6e 73 20 78 2c 79 20 61 |+. Retur|ns x,y a|
|00003450| 6e 64 20 62 75 74 74 6f | 6e 20 73 74 61 74 65 20 |nd butto|n state |
|00003460| 6f 66 20 6d 6f 75 73 65 | 0d 0b 90 11 c8 97 20 78 |of mouse|...... x|
|00003470| 25 2c 79 25 2c 62 75 74 | 25 0d 0b 9a 05 e1 0d 0b |%,y%,but|%.......|
|00003480| a4 05 20 0d 0b ae 0d dd | f2 68 6f 75 72 5f 6f 6e |.. .....|.hour_on|
|00003490| 0d 0b b8 24 f4 20 54 75 | 72 6e 73 20 68 6f 75 72 |...$. Tu|rns hour|
|000034a0| 67 6c 61 73 73 20 6f 6e | 20 61 66 74 65 72 20 31 |glass on| after 1|
|000034b0| 20 73 65 63 0d 0b c2 15 | c8 99 20 22 48 6f 75 72 | sec....|.. "Hour|
|000034c0| 67 6c 61 73 73 5f 4f 6e | 22 0d 0b cc 05 e1 0d 0b |glass_On|".......|
|000034d0| d6 05 20 0d 0b e0 0e dd | f2 68 6f 75 72 5f 6f 66 |.. .....|.hour_of|
|000034e0| 66 0d 0b ea 19 f4 20 54 | 75 72 6e 73 20 68 6f 75 |f..... T|urns hou|
|000034f0| 72 67 6c 61 73 73 20 6f | 66 66 0d 0b f4 16 c8 99 |rglass o|ff......|
|00003500| 20 22 48 6f 75 72 67 6c | 61 73 73 5f 4f 66 66 22 | "Hourgl|ass_Off"|
|00003510| 0d 0b fe 05 e1 0d 0c 08 | 05 20 0d 0c 12 12 dd a4 |........|. ......|
|00003520| 4f 53 76 61 72 28 6e 61 | 6d 65 24 29 0d 0c 1c 2e |OSvar(na|me$)....|
|00003530| f4 20 41 74 74 65 6d 70 | 74 73 20 74 6f 20 72 65 |. Attemp|ts to re|
|00003540| 74 75 72 6e 20 4f 53 2d | 76 61 72 27 73 20 73 74 |turn OS-|var's st|
|00003550| 72 69 6e 67 20 76 61 6c | 75 65 0d 0c 26 0d ea 20 |ring val|ue..&.. |
|00003560| 5f 72 24 2c 5f 6c 25 0d | 0c 30 43 5f 72 24 3d c4 |_r$,_l%.|.0C_r$=.|
|00003570| 31 30 30 2c 22 20 22 29 | 3a c8 99 20 22 58 4f 53 |100," ")|:.. "XOS|
|00003580| 5f 52 65 61 64 56 61 72 | 56 61 6c 22 2c 6e 61 6d |_ReadVar|Val",nam|
|00003590| 65 24 2c 5f 72 24 2c a9 | 5f 72 24 2c 30 2c 33 20 |e$,_r$,.|_r$,0,3 |
|000035a0| b8 20 2c 5f 72 24 2c 5f | 6c 25 0d 0c 3a 0e 3d c0 |. ,_r$,_|l%..:.=.|
|000035b0| 5f 72 24 2c 5f 6c 25 29 | 0d 0c 44 05 20 0d 0c 4e |_r$,_l%)|..D. ..N|
|000035c0| 14 dd a4 70 61 6c 74 6f | 72 67 62 28 70 61 6c 25 |...palto|rgb(pal%|
|000035d0| 29 0d 0c 58 2f f4 20 52 | 65 74 75 72 6e 73 20 26 |)..X/. R|eturns &|
|000035e0| 52 52 47 47 42 42 20 66 | 72 6f 6d 20 73 70 72 69 |RRGGBB f|rom spri|
|000035f0| 74 65 20 70 61 6c 65 74 | 74 65 20 65 6e 74 72 79 |te palet|te entry|
|00003600| 0d 0c 62 37 3d 28 70 61 | 6c 25 3e 3e 3e 32 34 29 |..b7=(pa|l%>>>24)|
|00003610| 2b 28 28 70 61 6c 25 3e | 3e 3e 38 29 80 26 46 46 |+((pal%>|>>8).&FF|
|00003620| 30 30 29 2b 28 28 70 61 | 6c 25 3c 3c 38 29 80 26 |00)+((pa|l%<<8).&|
|00003630| 46 46 30 30 30 30 29 0d | 0c 6c 05 20 0d 0c 76 12 |FF0000).|.l. ..v.|
|00003640| dd f2 69 63 6f 6e 62 61 | 72 5f 6d 65 6e 75 0d 0c |..iconba|r_menu..|
|00003650| 80 23 f4 20 50 6f 70 73 | 20 75 70 20 6d 65 6e 75 |.#. Pops| up menu|
|00003660| 20 66 6f 72 20 69 63 6f | 6e 62 61 72 20 69 63 6f | for ico|nbar ico|
|00003670| 6e 0d 0c 8a 3a f2 6d 6f | 75 73 65 28 78 25 2c 5f |n...:.mo|use(x%,_|
|00003680| 25 2c 5f 25 29 3a 78 25 | 2d 3d 36 34 3a 79 25 3d |%,_%):x%|-=64:y%=|
|00003690| 39 36 2b 32 2a 34 30 3a | f4 20 53 74 61 6e 64 61 |96+2*40:|. Standa|
|000036a0| 72 64 20 70 6f 73 69 74 | 69 6f 6e 0d 0c 94 74 24 |rd posit|ion...t$|
|000036b0| 6d 65 6e 75 3d 22 4d 61 | 6b 65 54 49 46 46 22 3a |menu="Ma|keTIFF":|
|000036c0| 6d 65 6e 75 3f 31 32 3d | 74 66 25 3a 6d 65 6e 75 |menu?12=|tf%:menu|
|000036d0| 3f 31 33 3d 74 62 25 3a | 6d 65 6e 75 3f 31 34 3d |?13=tb%:|menu?14=|
|000036e0| 77 66 25 3a 6d 65 6e 75 | 3f 31 35 3d 77 62 25 3a |wf%:menu|?15=wb%:|
|000036f0| 6d 65 6e 75 21 31 36 3d | 39 2a 31 36 3a 6d 65 6e |menu!16=|9*16:men|
|00003700| 75 21 32 30 3d 34 30 3a | 6d 65 6e 75 21 32 34 3d |u!20=40:|menu!24=|
|00003710| 30 3a f4 20 4d 65 6e 75 | 20 68 65 61 64 65 72 0d |0:. Menu| header.|
|00003720| 0c 9e a6 6d 65 6e 75 21 | 32 38 3d 30 3a 6d 65 6e |...menu!|28=0:men|
|00003730| 75 21 33 32 3d 77 69 6e | 5f 69 6e 66 6f 25 3a 6d |u!32=win|_info%:m|
|00003740| 65 6e 75 21 33 36 3d 28 | 77 62 25 3c 3c 32 38 29 |enu!36=(|wb%<<28)|
|00003750| 2b 28 77 66 25 3c 3c 32 | 34 29 2b 28 31 35 3c 3c |+(wf%<<2|4)+(15<<|
|00003760| 31 32 29 2b 31 3a 24 28 | 6d 65 6e 75 2b 34 30 29 |12)+1:$(|menu+40)|
|00003770| 3d 22 49 6e 66 6f 22 2b | bd 30 3a 6d 65 6e 75 21 |="Info"+|.0:menu!|
|00003780| 35 32 3d 28 43 6f 6d 70 | 72 65 73 73 20 80 20 31 |52=(Comp|ress . 1|
|00003790| 29 3a 6d 65 6e 75 21 35 | 36 3d 2d 31 3a 6d 65 6e |):menu!5|6=-1:men|
|000037a0| 75 21 36 30 3d 6d 65 6e | 75 21 33 36 3a 24 28 6d |u!60=men|u!36:$(m|
|000037b0| 65 6e 75 2b 36 34 29 3d | 22 43 6f 6d 70 72 65 73 |enu+64)=|"Compres|
|000037c0| 73 22 2b bd 30 0d 0c a8 | 3f 6d 65 6e 75 21 37 36 |s"+.0...|?menu!76|
|000037d0| 3d 26 38 30 3a 6d 65 6e | 75 21 38 30 3d 2d 31 3a |=&80:men|u!80=-1:|
|000037e0| 6d 65 6e 75 21 38 34 3d | 6d 65 6e 75 21 33 36 3a |menu!84=|menu!36:|
|000037f0| 24 28 6d 65 6e 75 2b 38 | 38 29 3d 22 51 75 69 74 |$(menu+8|8)="Quit|
|00003800| 22 2b bd 30 0d 0c b2 32 | c8 99 20 57 43 72 65 61 |"+.0...2|.. WCrea|
|00003810| 74 65 4d 25 2c 2c 6d 65 | 6e 75 2c 78 25 2c 79 25 |teM%,,me|nu,x%,y%|
|00003820| 3a f4 20 43 72 65 61 74 | 65 20 69 63 6f 6e 62 61 |:. Creat|e iconba|
|00003830| 72 20 6d 65 6e 75 0d 0c | bc 05 e1 0d 0c c6 05 20 |r menu..|....... |
|00003840| 0d 0c d0 1f dd f2 6f 70 | 65 6e 5f 77 69 6e 64 6f |......op|en_windo|
|00003850| 77 28 68 61 6e 64 6c 65 | 25 2c 69 6e 66 6f 29 0d |w(handle|%,info).|
|00003860| 0c da 26 f4 20 4f 70 65 | 6e 73 20 77 69 6e 64 6f |..&. Ope|ns windo|
|00003870| 77 20 77 69 74 68 20 68 | 61 6e 64 6c 65 20 68 61 |w with h|andle ha|
|00003880| 6e 64 6c 65 25 0d 0c e4 | 3a f4 20 49 66 20 69 6e |ndle%...|:. If in|
|00003890| 66 6f 3c 3e 30 20 74 68 | 65 6e 20 69 6e 66 6f 20 |fo<>0 th|en info |
|000038a0| 69 73 20 72 65 61 64 79 | 20 61 74 20 69 6e 66 6f |is ready| at info|
|000038b0| 2c 20 65 6c 73 65 20 67 | 65 74 20 69 6e 66 6f 0d |, else g|et info.|
|000038c0| 0c ee 1b ea 20 62 25 2c | 70 78 25 2c 70 79 25 2c |.... b%,|px%,py%,|
|000038d0| 5f 25 2c 78 73 25 2c 79 | 73 25 0d 0c f8 0e e7 69 |_%,xs%,y|s%.....i|
|000038e0| 6e 66 6f 3c 3e 30 20 8c | 0d 0d 02 27 20 e3 20 62 |nfo<>0 .|...' . b|
|000038f0| 25 3d 30 20 b8 20 33 31 | 20 88 20 34 3a 62 6c 6f |%=0 . 31| . 4:blo|
|00003900| 63 6b 21 62 25 3d 69 6e | 66 6f 21 62 25 3a ed 0d |ck!b%=in|fo!b%:..|
|00003910| 0d 0c 26 cc 20 21 62 6c | 6f 63 6b 3d 68 61 6e 64 |..&. !bl|ock=hand|
|00003920| 6c 65 25 3a c8 99 20 57 | 47 65 74 57 53 25 2c 2c |le%:.. W|GetWS%,,|
|00003930| 62 6c 6f 63 6b 0d 0d 16 | 8d 20 f2 6d 6f 75 73 65 |block...|. .mouse|
|00003940| 28 70 78 25 2c 70 79 25 | 2c 5f 25 29 3a 78 73 25 |(px%,py%|,_%):xs%|
|00003950| 3d 62 6c 6f 63 6b 21 31 | 32 2d 62 6c 6f 63 6b 21 |=block!1|2-block!|
|00003960| 34 3a 79 73 25 3d 62 6c | 6f 63 6b 21 31 36 2d 62 |4:ys%=bl|ock!16-b|
|00003970| 6c 6f 63 6b 21 38 3a 62 | 6c 6f 63 6b 21 34 3d 70 |lock!8:b|lock!4=p|
|00003980| 78 25 2d 36 34 3a 62 6c | 6f 63 6b 21 38 3d 70 79 |x%-64:bl|ock!8=py|
|00003990| 25 2d 79 73 25 2b 31 36 | 3a 62 6c 6f 63 6b 21 31 |%-ys%+16|:block!1|
|000039a0| 32 3d 62 6c 6f 63 6b 21 | 34 2b 78 73 25 3a 62 6c |2=block!|4+xs%:bl|
|000039b0| 6f 63 6b 21 31 36 3d 62 | 6c 6f 63 6b 21 38 2b 79 |ock!16=b|lock!8+y|
|000039c0| 73 25 0d 0d 20 05 cd 0d | 0d 2a 15 c8 99 20 57 4f |s%.. ...|.*... WO|
|000039d0| 70 65 6e 57 25 2c 2c 62 | 6c 6f 63 6b 0d 0d 34 05 |penW%,,b|lock..4.|
|000039e0| e1 0d 0d 3e 05 20 0d 0d | 48 1b dd f2 63 6c 6f 73 |...>. ..|H...clos|
|000039f0| 65 5f 77 69 6e 64 6f 77 | 28 68 61 6e 64 6c 65 25 |e_window|(handle%|
|00003a00| 29 0d 0d 52 27 f4 20 43 | 6c 6f 73 65 73 20 77 69 |)..R'. C|loses wi|
|00003a10| 6e 64 6f 77 20 77 69 74 | 68 20 68 61 6e 64 6c 65 |ndow wit|h handle|
|00003a20| 20 68 61 6e 64 6c 65 25 | 0d 0d 5c 25 21 62 6c 6f | handle%|..\%!blo|
|00003a30| 63 6b 3d 68 61 6e 64 6c | 65 25 3a c8 99 20 57 43 |ck=handl|e%:.. WC|
|00003a40| 6c 6f 73 65 57 25 2c 2c | 62 6c 6f 63 6b 0d 0d 66 |loseW%,,|block..f|
|00003a50| 05 e1 0d 0d 70 05 20 0d | 0d 7a 11 dd a4 70 6f 6c |....p. .|.z...pol|
|00003a60| 6c 28 6d 61 73 6b 25 29 | 0d 0d 84 40 f4 20 52 65 |l(mask%)|...@. Re|
|00003a70| 74 75 72 6e 73 20 70 6f | 6c 6c 20 72 65 61 73 6f |turns po|ll reaso|
|00003a80| 6e 20 63 6f 64 65 2c 20 | 6d 61 73 6b 69 6e 67 20 |n code, |masking |
|00003a90| 77 69 74 68 20 6d 61 73 | 6b 25 2c 20 64 61 74 61 |with mas|k%, data|
|00003aa0| 20 61 74 20 70 6f 6c 6c | 0d 0d 8e 10 ea 20 72 65 | at poll|..... re|
|00003ab0| 61 73 6f 6e 63 6f 64 65 | 0d 0d 98 25 c8 99 20 57 |asoncode|...%.. W|
|00003ac0| 50 6f 6c 6c 25 2c 6d 61 | 73 6b 25 2c 70 6f 6c 6c |Poll%,ma|sk%,poll|
|00003ad0| 20 b8 20 72 65 61 73 6f | 6e 63 6f 64 65 0d 0d a2 | . reaso|ncode...|
|00003ae0| 0f 3d 72 65 61 73 6f 6e | 63 6f 64 65 0d 0d ac 05 |.=reason|code....|
|00003af0| 20 0d 0d b6 10 dd f2 69 | 6e 69 74 69 61 6c 69 73 | ......i|nitialis|
|00003b00| 65 0d 0d c0 19 f4 20 49 | 6e 69 74 69 61 6c 69 73 |e..... I|nitialis|
|00003b10| 65 73 20 70 72 6f 67 72 | 61 6d 0d 0d ca 2e 61 70 |es progr|am....ap|
|00003b20| 70 6c 6e 61 6d 65 24 3d | 22 4d 61 6b 65 54 49 46 |plname$=|"MakeTIF|
|00003b30| 46 22 3a f4 20 4e 61 6d | 65 20 6f 66 20 61 70 70 |F":. Nam|e of app|
|00003b40| 6c 69 63 61 74 69 6f 6e | 0d 0d d4 46 c8 99 20 22 |lication|...F.. "|
|00003b50| 57 69 6d 70 5f 49 6e 69 | 74 69 61 6c 69 73 65 22 |Wimp_Ini|tialise"|
|00003b60| 2c 32 30 30 2c 26 34 42 | 35 33 34 31 35 34 2c 61 |,200,&4B|534154,a|
|00003b70| 70 70 6c 6e 61 6d 65 24 | 20 b8 20 76 65 72 73 69 |pplname$| . versi|
|00003b80| 6f 6e 2c 54 61 73 6b 48 | 61 6e 64 6c 65 25 0d 0d |on,TaskH|andle%..|
|00003b90| de 39 e7 76 65 72 73 69 | 6f 6e 3c 32 30 30 20 8c |.9.versi|on<200 .|
|00003ba0| 20 85 20 31 2c 22 49 20 | 63 61 6e 6e 6f 74 20 77 | . 1,"I |cannot w|
|00003bb0| 6f 72 6b 20 77 69 74 68 | 20 57 49 4d 50 20 70 72 |ork with| WIMP pr|
|00003bc0| 65 2d 32 2e 30 30 22 0d | 0d e8 36 57 25 3d a4 73 |e-2.00".|..6W%=.s|
|00003bd0| 77 69 5f 74 6f 5f 6e 72 | 28 22 57 69 6d 70 5f 49 |wi_to_nr|("Wimp_I|
|00003be0| 6e 69 74 69 61 6c 69 73 | 65 22 29 3a f4 20 42 61 |nitialis|e"):. Ba|
|00003bf0| 73 65 20 53 57 49 20 6e | 75 6d 62 65 72 0d 0d f2 |se SWI n|umber...|
|00003c00| cd 57 43 72 65 61 74 65 | 57 25 3d 57 25 2b 31 3a |.WCreate|W%=W%+1:|
|00003c10| 57 43 72 65 61 74 65 49 | 25 3d 57 25 2b 32 3a 57 |WCreateI|%=W%+2:W|
|00003c20| 4f 70 65 6e 57 25 3d 57 | 25 2b 35 3a 57 43 6c 6f |OpenW%=W|%+5:WClo|
|00003c30| 73 65 57 25 3d 57 25 2b | 36 3a 57 50 6f 6c 6c 25 |seW%=W%+|6:WPoll%|
|00003c40| 3d 57 25 2b 37 3a 57 47 | 65 74 57 53 25 3d 57 25 |=W%+7:WG|etWS%=W%|
|00003c50| 2b 31 31 3a 57 47 65 74 | 49 53 25 3d 57 25 2b 31 |+11:WGet|IS%=W%+1|
|00003c60| 34 3a 57 47 65 74 50 49 | 25 3d 57 25 2b 31 35 3a |4:WGetPI|%=W%+15:|
|00003c70| 57 44 72 61 67 42 25 3d | 57 25 2b 31 36 3a 57 43 |WDragB%=|W%+16:WC|
|00003c80| 72 65 61 74 65 4d 25 3d | 57 25 2b 32 30 3a 57 44 |reateM%=|W%+20:WD|
|00003c90| 65 63 6f 64 65 4d 25 3d | 57 25 2b 32 31 3a 57 4c |ecodeM%=|W%+21:WL|
|00003ca0| 6f 61 64 54 25 3d 57 25 | 2b 32 37 3a 57 52 65 70 |oadT%=W%|+27:WRep|
|00003cb0| 6f 72 74 25 3d 57 25 2b | 33 31 3a 57 53 65 6e 64 |ort%=W%+|31:WSend|
|00003cc0| 4d 73 67 25 3d 57 25 2b | 33 39 0d 0d fc 3d 74 66 |Msg%=W%+|39...=tf|
|00003cd0| 25 3d 37 3a 74 62 25 3d | 32 3a 77 66 25 3d 37 3a |%=7:tb%=|2:wf%=7:|
|00003ce0| 77 62 25 3d 30 3a 73 69 | 25 3d 31 3a 73 6f 25 3d |wb%=0:si|%=1:so%=|
|00003cf0| 33 3a f4 20 57 69 6e 64 | 6f 77 2f 6d 65 6e 75 20 |3:. Wind|ow/menu |
|00003d00| 63 6f 6c 6f 75 72 73 0d | 0e 06 93 21 62 6c 6f 63 |colours.|...!bloc|
|00003d10| 6b 3d 2d 31 3a 62 6c 6f | 63 6b 21 34 3d 30 3a 62 |k=-1:blo|ck!4=0:b|
|00003d20| 6c 6f 63 6b 21 38 3d 30 | 3a 62 6c 6f 63 6b 21 31 |lock!8=0|:block!1|
|00003d30| 32 3d 36 38 3a 62 6c 6f | 63 6b 21 31 36 3d 36 38 |2=68:blo|ck!16=68|
|00003d40| 3a 62 6c 6f 63 6b 21 32 | 30 3d 26 32 37 30 30 33 |:block!2|0=&27003|
|00003d50| 30 30 32 3a 24 28 62 6c | 6f 63 6b 2b 32 34 29 3d |002:$(bl|ock+24)=|
|00003d60| 22 21 6d 61 6b 65 74 69 | 66 66 22 3a c8 99 20 57 |"!maketi|ff":.. W|
|00003d70| 43 72 65 61 74 65 49 25 | 2c 2c 62 6c 6f 63 6b 20 |CreateI%|,,block |
|00003d80| b8 20 49 69 63 6f 6e 62 | 61 72 25 3a f4 20 49 63 |. Iiconb|ar%:. Ic|
|00003d90| 6f 6e 62 61 72 20 69 63 | 6f 6e 0d 0e 10 14 f4 20 |onbar ic|on..... |
|00003da0| 4c 6f 61 64 20 74 65 6d | 70 6c 61 74 65 73 0d 0e |Load tem|plates..|
|00003db0| 1a 36 c8 99 20 22 57 69 | 6d 70 5f 4f 70 65 6e 54 |.6.. "Wi|mp_OpenT|
|00003dc0| 65 6d 70 6c 61 74 65 22 | 2c 2c 22 3c 4d 61 6b 65 |emplate"|,,"<Make|
|00003dd0| 54 49 46 46 24 44 69 72 | 3e 2e 54 65 6d 70 6c 61 |TIFF$Dir|>.Templa|
|00003de0| 74 65 73 22 0d 0e 24 3c | 69 63 3d 69 63 6f 6e 64 |tes"..$<|ic=icond|
|00003df0| 61 74 61 3a 69 65 3d 69 | 63 6f 6e 64 65 6e 64 3a |ata:ie=i|condend:|
|00003e00| f4 20 49 6e 64 69 72 65 | 63 74 65 64 20 69 63 6f |. Indire|cted ico|
|00003e10| 6e 20 64 61 74 61 20 77 | 6f 72 6b 73 70 61 63 65 |n data w|orkspace|
|00003e20| 0d 0e 2e 3b 24 64 75 6d | 25 3d 22 73 61 76 65 22 |...;$dum|%="save"|
|00003e30| 3a c8 99 20 57 4c 6f 61 | 64 54 25 2c 2c 77 69 6e |:.. WLoa|dT%,,win|
|00003e40| 64 6f 77 31 2c 69 63 2c | 69 65 2c 2d 31 2c 64 75 |dow1,ic,|ie,-1,du|
|00003e50| 6d 25 2c 30 20 b8 20 2c | 2c 69 63 0d 0e 38 25 c8 |m%,0 . ,|,ic..8%.|
|00003e60| 99 20 57 43 72 65 61 74 | 65 57 25 2c 2c 77 69 6e |. WCreat|eW%,,win|
|00003e70| 64 6f 77 31 20 b8 20 77 | 69 6e 5f 66 69 6c 65 25 |dow1 . w|in_file%|
|00003e80| 0d 0e 42 21 53 41 56 66 | 6e 25 3d a4 69 63 6f 6e |..B!SAVf|n%=.icon|
|00003e90| 61 64 64 72 28 77 69 6e | 5f 66 69 6c 65 25 2c 31 |addr(win|_file%,1|
|00003ea0| 29 0d 0e 4c 3b 24 64 75 | 6d 25 3d 22 69 6e 66 6f |)..L;$du|m%="info|
|00003eb0| 22 3a c8 99 20 57 4c 6f | 61 64 54 25 2c 2c 77 69 |":.. WLo|adT%,,wi|
|00003ec0| 6e 64 6f 77 32 2c 69 63 | 2c 69 65 2c 2d 31 2c 64 |ndow2,ic|,ie,-1,d|
|00003ed0| 75 6d 25 2c 30 20 b8 20 | 2c 2c 69 63 0d 0e 56 25 |um%,0 . |,,ic..V%|
|00003ee0| c8 99 20 57 43 72 65 61 | 74 65 57 25 2c 2c 77 69 |.. WCrea|teW%,,wi|
|00003ef0| 6e 64 6f 77 32 20 b8 20 | 77 69 6e 5f 69 6e 66 6f |ndow2 . |win_info|
|00003f00| 25 0d 0e 60 1b c8 99 20 | 22 57 69 6d 70 5f 43 6c |%..`... |"Wimp_Cl|
|00003f10| 6f 73 65 54 65 6d 70 6c | 61 74 65 22 0d 0e 6a 1a |oseTempl|ate"..j.|
|00003f20| f4 20 49 6e 69 74 69 61 | 6c 69 73 65 20 76 61 72 |. Initia|lise var|
|00003f30| 69 61 62 6c 65 73 0d 0e | 74 42 4f 75 74 70 75 74 |iables..|tBOutput|
|00003f40| 24 3d 22 22 3a 49 6e 70 | 75 74 24 3d 22 22 3a 44 |$="":Inp|ut$="":D|
|00003f50| 61 74 61 4c 6f 61 64 52 | 65 66 25 3d a3 3a 44 61 |ataLoadR|ef%=.:Da|
|00003f60| 74 61 53 61 76 65 52 65 | 66 25 3d 2d 31 3a 43 6f |taSaveRe|f%=-1:Co|
|00003f70| 6d 70 72 65 73 73 3d b9 | 0d 0e 7e 0a f2 6d 63 6f |mpress=.|..~..mco|
|00003f80| 64 65 0d 0e 88 05 e1 0d | 0e 92 05 20 0d 0e 9c 19 |de......|... ....|
|00003f90| dd a4 69 63 6f 6e 61 64 | 64 72 28 77 69 6e 25 2c |..iconad|dr(win%,|
|00003fa0| 69 63 6f 25 29 0d 0e a6 | 2c f4 20 52 65 74 75 72 |ico%)...|,. Retur|
|00003fb0| 6e 73 20 69 6e 64 69 72 | 65 63 74 65 64 20 69 63 |ns indir|ected ic|
|00003fc0| 6f 6e 27 73 20 64 61 74 | 61 20 61 64 64 72 65 73 |on's dat|a addres|
|00003fd0| 73 0d 0e b0 3e 21 62 6c | 6f 63 6b 3d 77 69 6e 25 |s...>!bl|ock=win%|
|00003fe0| 3a 62 6c 6f 63 6b 21 34 | 3d 69 63 6f 25 3a c8 99 |:block!4|=ico%:..|
|00003ff0| 20 57 47 65 74 49 53 25 | 2c 2c 62 6c 6f 63 6b 3a | WGetIS%|,,block:|
|00004000| f4 20 47 65 74 20 69 63 | 6f 6e 20 69 6e 66 6f 0d |. Get ic|on info.|
|00004010| 0e ba 0d 3d 62 6c 6f 63 | 6b 21 32 38 0d 0e c4 05 |...=bloc|k!28....|
|00004020| 20 0d 0e ce 0b dd f2 6d | 63 6f 64 65 0d 0e d8 19 | ......m|code....|
|00004030| f4 20 43 72 65 61 74 65 | 73 20 6d 61 63 68 69 6e |. Create|s machin|
|00004040| 65 63 6f 64 65 0d 0e e2 | 1a e3 20 4e 3d 30 20 b8 |ecode...|.. N=0 .|
|00004050| 20 32 20 88 20 32 3a 50 | 25 3d 43 6f 64 65 25 0d | 2 . 2:P|%=Code%.|
|00004060| 0e ec 09 5b 4f 50 54 4e | 0d 0e f6 38 2e 74 79 70 |...[OPTN|...8.typ|
|00004070| 65 20 20 45 51 55 44 20 | 30 3a 5c 20 49 6d 61 67 |e EQUD |0:\ Imag|
|00004080| 65 20 74 79 70 65 20 28 | 26 46 46 39 3d 73 70 72 |e type (|&FF9=spr|
|00004090| 69 74 65 2c 20 26 36 39 | 30 3d 43 6c 65 61 72 29 |ite, &69|0=Clear)|
|000040a0| 0d 0f 00 2a 2e 77 69 64 | 74 68 20 45 51 55 44 20 |...*.wid|th EQUD |
|000040b0| 30 3a 5c 20 57 69 64 74 | 68 20 6f 66 20 72 6f 77 |0:\ Widt|h of row|
|000040c0| 20 69 6e 20 70 69 78 65 | 6c 73 0d 0f 0a 2d 2e 6c | in pixe|ls...-.l|
|000040d0| 65 66 74 20 20 45 51 55 | 44 20 30 3a 5c 20 28 53 |eft EQU|D 0:\ (S|
|000040e0| 70 72 69 74 65 29 20 4c | 65 66 74 20 62 69 74 20 |prite) L|eft bit |
|000040f0| 77 61 73 74 61 67 65 0d | 0f 14 2a 2e 77 6f 72 64 |wastage.|..*.word|
|00004100| 73 20 45 51 55 44 20 30 | 3a 5c 20 28 53 70 72 69 |s EQUD 0|:\ (Spri|
|00004110| 74 65 29 20 57 6f 72 64 | 73 20 70 65 72 20 72 6f |te) Word|s per ro|
|00004120| 77 0d 0f 1e 22 2e 62 69 | 74 73 20 20 45 51 55 44 |w...".bi|ts EQUD|
|00004130| 20 30 3a 5c 20 42 69 74 | 73 20 70 65 72 20 70 69 | 0:\ Bit|s per pi|
|00004140| 78 65 6c 0d 0f 28 23 2e | 72 6f 77 20 20 20 45 51 |xel..(#.|row EQ|
|00004150| 55 44 20 52 6f 77 42 66 | 25 3a 5c 20 52 6f 77 20 |UD RowBf|%:\ Row |
|00004160| 62 75 66 66 65 72 0d 0f | 32 28 2e 6d 61 70 20 20 |buffer..|2(.map |
|00004170| 20 45 51 55 44 20 52 65 | 76 4d 61 70 25 3a 5c 20 | EQUD Re|vMap%:\ |
|00004180| 43 6f 6e 76 65 72 73 69 | 6f 6e 20 6d 61 70 0d 0f |Conversi|on map..|
|00004190| 3c 2f 2e 62 79 74 65 73 | 20 45 51 55 44 20 30 3a |</.bytes| EQUD 0:|
|000041a0| 5c 20 42 79 74 65 73 20 | 70 65 72 20 72 6f 77 20 |\ Bytes |per row |
|000041b0| 28 63 6f 6d 70 72 65 73 | 73 69 6f 6e 29 0d 0f 46 |(compres|sion)..F|
|000041c0| 39 2e 6f 72 6f 77 20 20 | 45 51 55 44 20 52 6f 77 |9.orow |EQUD Row|
|000041d0| 42 66 32 25 3a 5c 20 4f | 75 74 70 75 74 20 72 6f |Bf2%:\ O|utput ro|
|000041e0| 77 20 62 75 66 66 65 72 | 20 28 63 6f 6d 70 72 65 |w buffer| (compre|
|000041f0| 73 73 69 6f 6e 29 0d 0f | 50 05 20 0d 0f 5a 2e 2e |ssion)..|P. ..Z..|
|00004200| 63 6f 6e 76 65 72 74 20 | 5c 20 43 6f 6e 76 65 72 |convert |\ Conver|
|00004210| 74 73 20 72 6f 77 20 6f | 66 20 70 69 78 65 6c 73 |ts row o|f pixels|
|00004220| 20 66 6f 72 20 54 49 46 | 46 0d 0f 64 46 20 5c 20 | for TIF|F..dF \ |
|00004230| 53 70 72 69 74 65 20 2d | 20 4c 65 66 74 2d 61 6c |Sprite -| Left-al|
|00004240| 69 67 6e 73 20 73 70 72 | 69 74 65 20 72 6f 77 20 |igns spr|ite row |
|00004250| 26 20 72 65 76 65 72 73 | 65 73 20 70 69 78 65 6c |& revers|es pixel|
|00004260| 20 6f 72 64 65 72 20 69 | 6e 20 62 79 74 65 73 0d | order i|n bytes.|
|00004270| 0f 6e 41 20 5c 20 43 6c | 65 61 72 20 20 2d 20 50 |.nA \ Cl|ear - P|
|00004280| 61 63 6b 73 20 62 79 74 | 65 2d 76 61 6c 75 65 73 |acks byt|e-values|
|00004290| 20 26 20 72 65 76 65 72 | 73 65 73 20 70 69 78 65 | & rever|ses pixe|
|000042a0| 6c 20 6f 72 64 65 72 20 | 69 6e 20 62 79 74 65 73 |l order |in bytes|
|000042b0| 0d 0f 78 21 20 53 54 4d | 46 44 20 72 31 33 21 2c |..x! STM|FD r13!,|
|000042c0| 7b 72 31 34 7d 3a 5c 20 | 53 61 76 65 20 6c 69 6e |{r14}:\ |Save lin|
|000042d0| 6b 0d 0f 82 25 20 4c 44 | 52 20 72 31 30 2c 6d 61 |k...% LD|R r10,ma|
|000042e0| 70 3a 5c 20 50 69 78 65 | 6c 20 72 65 76 65 72 73 |p:\ Pixe|l revers|
|000042f0| 61 6c 20 6d 61 70 0d 0f | 8c 3e 20 4c 44 52 20 72 |al map..|.> LDR r|
|00004300| 30 2c 74 79 70 65 3a 43 | 4d 50 20 72 30 2c 23 26 |0,type:C|MP r0,#&|
|00004310| 36 39 30 3a 42 4e 45 20 | 63 6f 6e 76 5f 73 70 72 |690:BNE |conv_spr|
|00004320| 3a 5c 20 53 70 72 69 74 | 65 20 6f 72 20 43 6c 65 |:\ Sprit|e or Cle|
|00004330| 61 72 20 3f 0d 0f 96 46 | 20 4c 44 52 20 72 36 2c |ar ?...F| LDR r6,|
|00004340| 62 69 74 73 3a 43 4d 50 | 20 72 36 2c 23 38 3a 42 |bits:CMP| r6,#8:B|
|00004350| 47 45 20 63 6f 6e 76 5f | 65 78 69 74 3a 5c 20 4e |GE conv_|exit:\ N|
|00004360| 6f 20 63 6f 6e 76 65 72 | 73 69 6f 6e 20 6e 65 65 |o conver|sion nee|
|00004370| 64 65 64 20 28 38 2f 32 | 34 29 0d 0f a0 39 20 4c |ded (8/2|4)...9 L|
|00004380| 44 52 20 72 37 2c 77 69 | 64 74 68 3a 4c 44 52 20 |DR r7,wi|dth:LDR |
|00004390| 72 38 2c 72 6f 77 3a 5c | 20 50 69 78 65 6c 73 20 |r8,row:\| Pixels |
|000043a0| 6f 6e 20 72 6f 77 20 61 | 6e 64 20 6c 6f 63 61 74 |on row a|nd locat|
|000043b0| 69 6f 6e 0d 0f aa 1c 20 | 4d 4f 56 20 72 33 2c 72 |ion.... |MOV r3,r|
|000043c0| 38 3a 5c 20 44 65 73 74 | 69 6e 61 74 69 6f 6e 0d |8:\ Dest|ination.|
|000043d0| 0f b4 3b 2e 62 6c 64 5f | 70 72 65 70 20 4d 4f 56 |..;.bld_|prep MOV|
|000043e0| 20 72 35 2c 23 30 3a 4d | 4f 56 20 72 34 2c 23 38 | r5,#0:M|OV r4,#8|
|000043f0| 3a 5c 20 41 63 63 75 6d | 75 6c 61 74 6f 72 20 2f |:\ Accum|ulator /|
|00004400| 20 62 69 74 20 73 68 69 | 66 74 0d 0f be 3e 2e 62 | bit shi|ft...>.b|
|00004410| 6c 64 5f 62 79 74 65 20 | 53 55 42 53 20 72 37 2c |ld_byte |SUBS r7,|
|00004420| 72 37 2c 23 31 3a 42 4c | 45 20 62 6c 64 5f 64 6f |r7,#1:BL|E bld_do|
|00004430| 6e 65 3a 5c 20 50 69 78 | 65 6c 20 76 61 6c 75 65 |ne:\ Pix|el value|
|00004440| 73 20 6c 65 66 74 20 3f | 0d 0f c8 26 20 4c 44 52 |s left ?|...& LDR|
|00004450| 42 20 72 30 2c 5b 72 38 | 5d 2c 23 31 3a 5c 20 47 |B r0,[r8|],#1:\ G|
|00004460| 65 74 20 70 69 78 65 6c | 20 76 61 6c 75 65 0d 0f |et pixel| value..|
|00004470| d2 3f 20 53 55 42 53 20 | 72 34 2c 72 34 2c 72 36 |.? SUBS |r4,r4,r6|
|00004480| 3a 84 52 20 72 35 2c 72 | 35 2c 72 30 2c 4c 53 4c |:.R r5,r|5,r0,LSL|
|00004490| 20 72 34 3a 42 47 54 20 | 62 6c 64 5f 62 79 74 65 | r4:BGT |bld_byte|
|000044a0| 3a 5c 20 4e 65 78 74 20 | 70 69 78 65 6c 0d 0f dc |:\ Next |pixel...|
|000044b0| 2b 20 53 54 52 42 20 72 | 35 2c 5b 72 33 5d 2c 23 |+ STRB r|5,[r3],#|
|000044c0| 31 3a 42 20 62 6c 64 5f | 70 72 65 70 3a 5c 20 4e |1:B bld_|prep:\ N|
|000044d0| 65 78 74 20 62 79 74 65 | 0d 0f e6 35 2e 62 6c 64 |ext byte|...5.bld|
|000044e0| 5f 64 6f 6e 65 20 43 4d | 50 20 72 34 2c 23 38 3a |_done CM|P r4,#8:|
|000044f0| 53 54 52 4c 54 42 20 72 | 35 2c 5b 72 33 5d 2c 23 |STRLTB r|5,[r3],#|
|00004500| 31 3a 5c 20 4c 61 73 74 | 20 62 69 74 73 0d 0f f0 |1:\ Last| bits...|
|00004510| 28 2e 63 6f 6e 76 5f 65 | 78 69 74 20 4c 44 4d 46 |(.conv_e|xit LDMF|
|00004520| 44 20 72 31 33 21 2c 7b | 70 63 7d 5e 3a 5c 20 52 |D r13!,{|pc}^:\ R|
|00004530| 65 74 75 72 6e 0d 0f fa | 35 2e 63 6f 6e 76 5f 73 |eturn...|5.conv_s|
|00004540| 70 72 20 4c 44 52 20 72 | 39 2c 6c 65 66 74 3a 5c |pr LDR r|9,left:\|
|00004550| 20 42 69 74 20 6f 66 66 | 73 65 74 20 74 6f 20 66 | Bit off|set to f|
|00004560| 69 72 73 74 20 70 69 78 | 65 6c 0d 10 04 36 20 4c |irst pix|el...6 L|
|00004570| 44 52 20 72 37 2c 77 6f | 72 64 73 3a 4c 44 52 20 |DR r7,wo|rds:LDR |
|00004580| 72 38 2c 72 6f 77 3a 5c | 20 52 6f 77 20 6c 65 6e |r8,row:\| Row len|
|00004590| 67 74 68 20 61 6e 64 20 | 6c 6f 63 61 74 69 6f 6e |gth and |location|
|000045a0| 0d 10 0e 26 20 52 53 42 | 20 72 36 2c 72 39 2c 23 |...& RSB| r6,r9,#|
|000045b0| 33 32 3a 5c 20 4f 70 70 | 6f 73 69 74 65 20 62 69 |32:\ Opp|osite bi|
|000045c0| 74 73 68 69 66 74 0d 10 | 18 32 20 4c 44 52 20 72 |tshift..|.2 LDR r|
|000045d0| 30 2c 5b 72 38 5d 3a 4d | 4f 56 20 72 30 2c 72 30 |0,[r8]:M|OV r0,r0|
|000045e0| 2c 4c 53 52 20 72 39 3a | 5c 20 47 65 74 20 66 69 |,LSR r9:|\ Get fi|
|000045f0| 72 73 74 20 62 69 74 73 | 0d 10 22 46 2e 6c 65 66 |rst bits|.."F.lef|
|00004600| 5f 61 6c 20 53 55 42 53 | 20 72 37 2c 72 37 2c 23 |_al SUBS| r7,r7,#|
|00004610| 31 3a 4c 44 52 47 54 20 | 72 31 2c 5b 72 38 2c 23 |1:LDRGT |r1,[r8,#|
|00004620| 34 5d 3a 4d 4f 56 4c 45 | 20 72 31 2c 23 30 3a 5c |4]:MOVLE| r1,#0:\|
|00004630| 20 47 65 74 20 6e 65 78 | 74 20 77 6f 72 64 0d 10 | Get nex|t word..|
|00004640| 2c 24 20 84 52 20 72 32 | 2c 72 30 2c 72 31 2c 4c |,$ .R r2|,r0,r1,L|
|00004650| 53 4c 20 72 36 3a 5c 20 | 42 75 69 6c 64 20 77 6f |SL r6:\ |Build wo|
|00004660| 72 64 0d 10 36 3d 20 80 | 20 72 34 2c 72 32 2c 23 |rd..6= .| r4,r2,#|
|00004670| 26 46 46 3a 4c 44 52 42 | 20 72 33 2c 5b 72 31 30 |&FF:LDRB| r3,[r10|
|00004680| 2c 72 34 5d 3a 5c 20 52 | 65 76 65 72 73 65 20 62 |,r4]:\ R|everse b|
|00004690| 69 74 73 20 69 6e 20 6c | 6f 77 20 62 79 74 65 0d |its in l|ow byte.|
|000046a0| 10 40 44 20 4d 4f 56 20 | 72 34 2c 72 32 2c 4c 53 |.@D MOV |r4,r2,LS|
|000046b0| 52 23 38 3a 80 20 72 34 | 2c 72 34 2c 23 26 46 46 |R#8:. r4|,r4,#&FF|
|000046c0| 3a 4c 44 52 42 20 72 34 | 2c 5b 72 31 30 2c 72 34 |:LDRB r4|,[r10,r4|
|000046d0| 5d 3a 84 52 20 72 33 2c | 72 33 2c 72 34 2c 4c 53 |]:.R r3,|r3,r4,LS|
|000046e0| 4c 23 38 0d 10 4a 46 20 | 4d 4f 56 20 72 34 2c 72 |L#8..JF |MOV r4,r|
|000046f0| 32 2c 4c 53 52 23 31 36 | 3a 80 20 72 34 2c 72 34 |2,LSR#16|:. r4,r4|
|00004700| 2c 23 26 46 46 3a 4c 44 | 52 42 20 72 34 2c 5b 72 |,#&FF:LD|RB r4,[r|
|00004710| 31 30 2c 72 34 5d 3a 84 | 52 20 72 33 2c 72 33 2c |10,r4]:.|R r3,r3,|
|00004720| 72 34 2c 4c 53 4c 23 31 | 36 0d 10 54 45 20 4d 4f |r4,LSL#1|6..TE MO|
|00004730| 56 20 72 34 2c 72 32 2c | 4c 53 52 23 32 34 3a 4c |V r4,r2,|LSR#24:L|
|00004740| 44 52 42 20 72 34 2c 5b | 72 31 30 2c 72 34 5d 3a |DRB r4,[|r10,r4]:|
|00004750| 84 52 20 72 33 2c 72 33 | 2c 72 34 2c 4c 53 4c 23 |.R r3,r3|,r4,LSL#|
|00004760| 32 34 3a 5c 20 48 69 67 | 68 20 62 79 74 65 0d 10 |24:\ Hig|h byte..|
|00004770| 5e 20 20 53 54 52 20 72 | 33 2c 5b 72 38 5d 2c 23 |^ STR r|3,[r8],#|
|00004780| 34 3a 5c 20 57 72 69 74 | 65 20 77 6f 72 64 0d 10 |4:\ Writ|e word..|
|00004790| 68 2c 20 4d 4f 56 20 72 | 30 2c 72 31 2c 4c 53 52 |h, MOV r|0,r1,LSR|
|000047a0| 20 72 39 3a 42 47 54 20 | 6c 65 66 5f 61 6c 3a 5c | r9:BGT |lef_al:\|
|000047b0| 20 4e 65 78 74 20 77 6f | 72 64 0d 10 72 1e 20 4c | Next wo|rd..r. L|
|000047c0| 44 4d 46 44 20 72 31 33 | 21 2c 7b 70 63 7d 5e 3a |DMFD r13|!,{pc}^:|
|000047d0| 5c 20 52 65 74 75 72 6e | 0d 10 7c 05 20 0d 10 86 |\ Return|..|. ...|
|000047e0| 4b 2e 6d 61 6b 65 5f 6d | 61 70 20 5c 20 4d 61 6b |K.make_m|ap \ Mak|
|000047f0| 65 73 20 6d 61 70 20 74 | 6f 20 63 6f 6e 76 65 72 |es map t|o conver|
|00004800| 74 20 70 69 78 65 6c 20 | 6f 72 64 65 72 20 77 69 |t pixel |order wi|
|00004810| 74 68 69 6e 20 62 79 74 | 65 73 20 28 66 69 6c 6c |thin byt|es (fill|
|00004820| 6f 72 64 65 72 3d 31 29 | 0d 10 90 21 20 53 54 4d |order=1)|...! STM|
|00004830| 46 44 20 72 31 33 21 2c | 7b 72 31 34 7d 3a 5c 20 |FD r13!,|{r14}:\ |
|00004840| 53 61 76 65 20 6c 69 6e | 6b 0d 10 9a 39 20 4c 44 |Save lin|k...9 LD|
|00004850| 52 20 72 32 2c 6d 61 70 | 3a 4d 4f 56 20 72 30 2c |R r2,map|:MOV r0,|
|00004860| 23 32 35 35 3a 5c 20 4d | 61 70 20 73 74 61 72 74 |#255:\ M|ap start|
|00004870| 2c 20 66 69 72 73 74 20 | 62 79 74 65 20 76 61 6c |, first |byte val|
|00004880| 75 65 0d 10 a4 21 20 4c | 44 52 20 72 33 2c 62 69 |ue...! L|DR r3,bi|
|00004890| 74 73 3a 5c 20 42 69 74 | 73 20 70 65 72 20 70 69 |ts:\ Bit|s per pi|
|000048a0| 78 65 6c 0d 10 ae 49 2e | 6d 61 6b 5f 74 20 43 4d |xel...I.|mak_t CM|
|000048b0| 50 20 72 33 2c 23 31 3a | 42 45 51 20 6d 61 6b 5f |P r3,#1:|BEQ mak_|
|000048c0| 74 31 3a 43 4d 50 20 72 | 33 2c 23 32 3a 42 45 51 |t1:CMP r|3,#2:BEQ|
|000048d0| 20 6d 61 6b 5f 74 32 3a | 43 4d 50 20 72 33 2c 23 | mak_t2:|CMP r3,#|
|000048e0| 34 3a 42 45 51 20 6d 61 | 6b 5f 74 34 0d 10 b8 20 |4:BEQ ma|k_t4... |
|000048f0| 2e 6d 61 6b 5f 74 38 20 | 4d 4f 56 20 72 31 2c 72 |.mak_t8 |MOV r1,r|
|00004900| 30 3a 42 20 6d 61 6b 5f | 74 75 72 6e 0d 10 c2 44 |0:B mak_|turn...D|
|00004910| 2e 6d 61 6b 5f 74 34 20 | 80 20 72 34 2c 72 30 2c |.mak_t4 |. r4,r0,|
|00004920| 23 31 35 3a 4d 4f 56 20 | 72 31 2c 72 30 2c 4c 53 |#15:MOV |r1,r0,LS|
|00004930| 52 23 34 3a 84 52 20 72 | 31 2c 72 31 2c 72 34 2c |R#4:.R r|1,r1,r4,|
|00004940| 4c 53 4c 23 34 3a 42 20 | 6d 61 6b 5f 74 75 72 6e |LSL#4:B |mak_turn|
|00004950| 0d 10 cc 83 2e 6d 61 6b | 5f 74 32 20 80 20 72 34 |.....mak|_t2 . r4|
|00004960| 2c 72 30 2c 23 33 3a 80 | 20 72 35 2c 72 30 2c 23 |,r0,#3:.| r5,r0,#|
|00004970| 33 3c 3c 32 3a 80 20 72 | 36 2c 72 30 2c 23 33 3c |3<<2:. r|6,r0,#3<|
|00004980| 3c 34 3a 4d 4f 56 20 72 | 31 2c 72 30 2c 4c 53 52 |<4:MOV r|1,r0,LSR|
|00004990| 23 36 3a 84 52 20 72 31 | 2c 72 31 2c 72 36 2c 4c |#6:.R r1|,r1,r6,L|
|000049a0| 53 52 23 32 3a 84 52 20 | 72 31 2c 72 31 2c 72 35 |SR#2:.R |r1,r1,r5|
|000049b0| 2c 4c 53 4c 23 32 3a 84 | 52 20 72 31 2c 72 31 2c |,LSL#2:.|R r1,r1,|
|000049c0| 72 34 2c 4c 53 4c 23 36 | 3a 42 20 6d 61 6b 5f 74 |r4,LSL#6|:B mak_t|
|000049d0| 75 72 6e 0d 10 d6 29 2e | 6d 61 6b 5f 74 31 20 4d |urn...).|mak_t1 M|
|000049e0| 4f 56 20 72 34 2c 72 30 | 3a 4d 4f 56 20 72 35 2c |OV r4,r0|:MOV r5,|
|000049f0| 23 38 3a 4d 4f 56 20 72 | 31 2c 23 30 0d 10 e0 44 |#8:MOV r|1,#0...D|
|00004a00| 2e 6d 61 6b 5f 74 31 72 | 20 4d 4f 56 53 20 72 34 |.mak_t1r| MOVS r4|
|00004a10| 2c 72 34 2c 4c 53 52 23 | 31 3a 41 44 43 20 72 31 |,r4,LSR#|1:ADC r1|
|00004a20| 2c 72 31 2c 72 31 3a 53 | 55 42 53 20 72 35 2c 72 |,r1,r1:S|UBS r5,r|
|00004a30| 35 2c 23 31 3a 42 4e 45 | 20 6d 61 6b 5f 74 31 72 |5,#1:BNE| mak_t1r|
|00004a40| 0d 10 ea 47 2e 6d 61 6b | 5f 74 75 72 6e 20 53 54 |...G.mak|_turn ST|
|00004a50| 52 42 20 72 31 2c 5b 72 | 32 2c 72 30 5d 3a 53 55 |RB r1,[r|2,r0]:SU|
|00004a60| 42 53 20 72 30 2c 72 30 | 2c 23 31 3a 42 50 4c 20 |BS r0,r0|,#1:BPL |
|00004a70| 6d 61 6b 5f 74 3a 5c 20 | 4e 65 78 74 20 62 79 74 |mak_t:\ |Next byt|
|00004a80| 65 20 76 61 6c 75 65 0d | 10 f4 1e 20 4c 44 4d 46 |e value.|... LDMF|
|00004a90| 44 20 72 31 33 21 2c 7b | 70 63 7d 5e 3a 5c 20 52 |D r13!,{|pc}^:\ R|
|00004aa0| 65 74 75 72 6e 0d 10 fe | 05 20 0d 11 08 3d 2e 63 |eturn...|. ...=.c|
|00004ab0| 6f 6d 70 72 65 73 73 20 | 5c 20 43 6f 6d 70 72 65 |ompress |\ Compre|
|00004ac0| 73 73 65 73 20 54 49 46 | 46 20 64 61 74 61 20 72 |sses TIF|F data r|
|00004ad0| 6f 77 20 77 69 74 68 20 | 50 61 63 6b 42 69 74 73 |ow with |PackBits|
|00004ae0| 20 73 63 68 65 6d 65 0d | 11 12 21 20 53 54 4d 46 | scheme.|..! STMF|
|00004af0| 44 20 72 31 33 21 2c 7b | 72 31 34 7d 3a 5c 20 53 |D r13!,{|r14}:\ S|
|00004b00| 61 76 65 20 6c 69 6e 6b | 0d 11 1c 37 20 4c 44 52 |ave link|...7 LDR|
|00004b10| 20 72 31 2c 72 6f 77 3a | 4c 44 52 20 72 32 2c 6f | r1,row:|LDR r2,o|
|00004b20| 72 6f 77 3a 5c 20 52 6f | 77 20 64 61 74 61 20 62 |row:\ Ro|w data b|
|00004b30| 75 66 66 65 72 73 20 28 | 69 6e 2f 6f 75 74 29 0d |uffers (|in/out).|
|00004b40| 11 26 1f 20 4c 44 52 20 | 72 33 2c 62 79 74 65 73 |.&. LDR |r3,bytes|
|00004b50| 3a 5c 20 49 6e 70 75 74 | 20 62 79 74 65 73 0d 11 |:\ Input| bytes..|
|00004b60| 30 45 2e 63 6f 6d 5f 75 | 6e 65 71 20 4d 4f 56 20 |0E.com_u|neq MOV |
|00004b70| 72 35 2c 23 31 3a 4d 4f | 56 20 72 36 2c 23 30 3a |r5,#1:MO|V r6,#0:|
|00004b80| 5c 20 49 6e 69 74 20 72 | 65 70 6c 69 63 61 74 65 |\ Init r|eplicate|
|00004b90| 20 26 20 6c 69 74 65 72 | 61 6c 20 63 6f 75 6e 74 | & liter|al count|
|00004ba0| 65 72 73 0d 11 3a 1f 20 | 4d 56 4e 20 72 34 2c 23 |ers..:. |MVN r4,#|
|00004bb0| 30 3a 5c 20 4e 6f 20 27 | 6c 61 73 74 27 20 62 79 |0:\ No '|last' by|
|00004bc0| 74 65 0d 11 44 48 20 4d | 4f 56 20 72 37 2c 72 32 |te..DH M|OV r7,r2|
|00004bd0| 3a 41 44 44 20 72 32 2c | 72 32 2c 23 31 3a 5c 20 |:ADD r2,|r2,#1:\ |
|00004be0| 52 65 6d 65 6d 62 65 72 | 20 63 6f 64 65 20 62 79 |Remember| code by|
|00004bf0| 74 65 20 61 64 64 72 65 | 73 73 2c 20 73 6b 69 70 |te addre|ss, skip|
|00004c00| 20 63 6f 64 65 20 62 79 | 74 65 0d 11 4e 42 2e 63 | code by|te..NB.c|
|00004c10| 6f 6d 5f 75 6e 6c 6b 20 | 53 55 42 53 20 72 33 2c |om_unlk |SUBS r3,|
|00004c20| 72 33 2c 23 31 3a 42 4c | 54 20 63 6f 6d 5f 65 6e |r3,#1:BL|T com_en|
|00004c30| 64 3a 4c 44 52 42 20 72 | 30 2c 5b 72 31 5d 2c 23 |d:LDRB r|0,[r1],#|
|00004c40| 31 3a 5c 20 47 65 74 20 | 62 79 74 65 0d 11 58 49 |1:\ Get |byte..XI|
|00004c50| 20 41 44 44 20 72 36 2c | 72 36 2c 23 31 3a 53 54 | ADD r6,|r6,#1:ST|
|00004c60| 52 42 20 72 30 2c 5b 72 | 32 5d 2c 23 31 3a 5c 20 |RB r0,[r|2],#1:\ |
|00004c70| 43 6f 75 6e 74 20 61 6e | 64 20 6f 75 74 70 75 74 |Count an|d output|
|00004c80| 20 62 79 74 65 20 66 6f | 72 20 6c 69 74 65 72 61 | byte fo|r litera|
|00004c90| 6c 20 72 75 6e 0d 11 62 | 41 20 54 45 51 20 72 30 |l run..b|A TEQ r0|
|00004ca0| 2c 72 34 3a 4d 4f 56 20 | 72 34 2c 72 30 3a 4d 4f |,r4:MOV |r4,r0:MO|
|00004cb0| 56 4e 45 20 72 35 2c 23 | 31 3a 42 4e 45 20 63 6f |VNE r5,#|1:BNE co|
|00004cc0| 6d 5f 63 6f 6e 3a 5c 20 | 53 61 6d 65 20 61 73 20 |m_con:\ |Same as |
|00004cd0| 6c 61 73 74 20 3f 0d 11 | 6c 4d 20 41 44 44 20 72 |last ?..|lM ADD r|
|00004ce0| 35 2c 72 35 2c 23 31 3a | 43 4d 50 20 72 35 2c 23 |5,r5,#1:|CMP r5,#|
|00004cf0| 33 3a 42 47 45 20 63 6f | 6d 5f 65 71 3a 5c 20 49 |3:BGE co|m_eq:\ I|
|00004d00| 6e 74 65 72 72 75 70 74 | 20 6c 69 74 65 72 61 6c |nterrupt| literal|
|00004d10| 20 72 75 6e 20 66 6f 72 | 20 3e 3d 33 20 65 71 75 | run for| >=3 equ|
|00004d20| 61 6c 73 0d 11 76 40 2e | 63 6f 6d 5f 63 6f 6e 20 |als..v@.|com_con |
|00004d30| 43 4d 50 20 72 36 2c 23 | 31 32 38 3a 42 4c 54 20 |CMP r6,#|128:BLT |
|00004d40| 63 6f 6d 5f 75 6e 6c 6b | 3a 5c 20 43 6f 75 6e 74 |com_unlk|:\ Count|
|00004d50| 20 75 70 20 74 6f 20 31 | 32 38 20 6c 69 74 65 72 | up to 1|28 liter|
|00004d60| 61 6c 73 0d 11 80 4e 2e | 63 6f 6d 5f 65 6e 64 20 |als...N.|com_end |
|00004d70| 53 55 42 53 20 72 36 2c | 72 36 2c 23 31 3a 53 54 |SUBS r6,|r6,#1:ST|
|00004d80| 52 47 45 42 20 72 36 2c | 5b 72 37 5d 3a 5c 20 4f |RGEB r6,|[r7]:\ O|
|00004d90| 75 74 70 75 74 20 63 6f | 64 65 20 62 79 74 65 20 |utput co|de byte |
|00004da0| 28 69 66 20 6e 6f 20 65 | 6d 70 74 79 20 72 75 6e |(if no e|mpty run|
|00004db0| 29 0d 11 8a 35 20 53 55 | 42 4c 54 20 72 32 2c 72 |)...5 SU|BLT r2,r|
|00004dc0| 32 2c 23 31 3a 5c 20 53 | 74 65 70 20 62 61 63 6b |2,#1:\ S|tep back|
|00004dd0| 20 6f 76 65 72 20 75 6e | 75 73 65 64 20 63 6f 64 | over un|used cod|
|00004de0| 65 20 62 79 74 65 0d 11 | 94 3d 2e 63 6f 6d 5f 6e |e byte..|.=.com_n|
|00004df0| 65 78 74 20 43 4d 50 20 | 72 33 2c 23 30 3a 42 47 |ext CMP |r3,#0:BG|
|00004e00| 54 20 63 6f 6d 5f 75 6e | 65 71 3a 5c 20 43 6f 6e |T com_un|eq:\ Con|
|00004e10| 74 69 6e 75 65 20 69 66 | 20 62 79 74 65 73 20 6c |tinue if| bytes l|
|00004e20| 65 66 74 0d 11 9e 4a 20 | 4c 44 52 20 72 30 2c 6f |eft...J |LDR r0,o|
|00004e30| 72 6f 77 3a 53 55 42 20 | 72 30 2c 72 32 2c 72 30 |row:SUB |r0,r2,r0|
|00004e40| 3a 53 54 52 20 72 30 2c | 62 79 74 65 73 3a 5c 20 |:STR r0,|bytes:\ |
|00004e50| 43 61 6c 63 75 6c 61 74 | 65 20 23 62 79 74 65 73 |Calculat|e #bytes|
|00004e60| 20 28 63 6f 6d 70 72 65 | 73 73 65 64 29 0d 11 a8 | (compre|ssed)...|
|00004e70| 1e 20 4c 44 4d 46 44 20 | 72 31 33 21 2c 7b 70 63 |. LDMFD |r13!,{pc|
|00004e80| 7d 5e 3a 5c 20 52 65 74 | 75 72 6e 0d 11 b2 4d 2e |}^:\ Ret|urn...M.|
|00004e90| 63 6f 6d 5f 65 71 20 53 | 55 42 53 20 72 36 2c 72 |com_eq S|UBS r6,r|
|00004ea0| 36 2c 23 34 3a 53 54 52 | 47 45 42 20 72 36 2c 5b |6,#4:STR|GEB r6,[|
|00004eb0| 72 37 5d 3a 5c 20 4f 75 | 74 70 75 74 20 63 6f 64 |r7]:\ Ou|tput cod|
|00004ec0| 65 20 62 79 74 65 20 28 | 69 66 20 6e 6f 20 65 6d |e byte (|if no em|
|00004ed0| 70 74 79 20 72 75 6e 29 | 0d 11 bc 49 20 53 55 42 |pty run)|...I SUB|
|00004ee0| 4c 54 20 72 32 2c 72 32 | 2c 23 31 3a 5c 20 41 63 |LT r2,r2|,#1:\ Ac|
|00004ef0| 63 6f 75 6e 74 20 66 6f | 72 20 27 75 6e 75 73 65 |count fo|r 'unuse|
|00004f00| 64 27 20 63 6f 64 65 20 | 62 79 74 65 20 6f 66 20 |d' code |byte of |
|00004f10| 65 6d 70 74 79 20 6c 69 | 74 65 72 61 6c 20 72 75 |empty li|teral ru|
|00004f20| 6e 0d 11 c6 35 20 53 55 | 42 20 72 37 2c 72 32 2c |n...5 SU|B r7,r2,|
|00004f30| 23 33 3a 41 44 44 20 72 | 32 2c 72 37 2c 23 32 3a |#3:ADD r|2,r7,#2:|
|00004f40| 5c 20 52 65 63 61 6c 63 | 75 6c 61 74 65 20 70 6f |\ Recalc|ulate po|
|00004f50| 69 6e 74 65 72 73 0d 11 | d0 44 2e 63 6f 6d 5f 65 |inters..|.D.com_e|
|00004f60| 71 6c 6b 20 53 55 42 53 | 20 72 33 2c 72 33 2c 23 |qlk SUBS| r3,r3,#|
|00004f70| 31 3a 42 4c 54 20 63 6f | 6d 5f 65 71 65 6e 64 3a |1:BLT co|m_eqend:|
|00004f80| 4c 44 52 42 20 72 30 2c | 5b 72 31 5d 2c 23 31 3a |LDRB r0,|[r1],#1:|
|00004f90| 5c 20 47 65 74 20 62 79 | 74 65 0d 11 da 2d 20 54 |\ Get by|te...- T|
|00004fa0| 45 51 20 72 30 2c 72 34 | 3a 42 4e 45 20 63 6f 6d |EQ r0,r4|:BNE com|
|00004fb0| 5f 65 71 65 6e 64 3a 5c | 20 53 61 6d 65 20 61 73 |_eqend:\| Same as|
|00004fc0| 20 6c 61 73 74 20 3f 0d | 11 e4 47 20 41 44 44 20 | last ?.|..G ADD |
|00004fd0| 72 35 2c 72 35 2c 23 31 | 3a 43 4d 50 20 72 35 2c |r5,r5,#1|:CMP r5,|
|00004fe0| 23 31 32 38 3a 42 4c 54 | 20 63 6f 6d 5f 65 71 6c |#128:BLT| com_eql|
|00004ff0| 6b 3a 5c 20 43 6f 75 6e | 74 20 75 70 20 74 6f 20 |k:\ Coun|t up to |
|00005000| 31 32 38 20 72 65 70 6c | 69 63 61 74 65 73 0d 11 |128 repl|icates..|
|00005010| ee 4d 2e 63 6f 6d 5f 65 | 71 65 6e 64 20 52 53 42 |.M.com_e|qend RSB|
|00005020| 20 72 35 2c 72 35 2c 23 | 31 3a 53 54 52 42 20 72 | r5,r5,#|1:STRB r|
|00005030| 35 2c 5b 72 37 5d 3a 5c | 20 4f 75 74 70 75 74 20 |5,[r7]:\| Output |
|00005040| 63 6f 64 65 20 62 79 74 | 65 20 66 6f 72 20 72 65 |code byt|e for re|
|00005050| 70 6c 69 63 61 74 65 20 | 72 75 6e 0d 11 f8 4a 20 |plicate |run...J |
|00005060| 54 45 51 20 72 30 2c 72 | 34 3a 53 55 42 4e 45 20 |TEQ r0,r|4:SUBNE |
|00005070| 72 31 2c 72 31 2c 23 31 | 3a 41 44 44 4e 45 20 72 |r1,r1,#1|:ADDNE r|
|00005080| 33 2c 72 33 2c 23 31 3a | 5c 20 53 74 65 70 20 62 |3,r3,#1:|\ Step b|
|00005090| 61 63 6b 20 74 6f 20 27 | 75 6e 65 71 75 61 6c 27 |ack to '|unequal'|
|000050a0| 20 62 79 74 65 0d 12 02 | 1a 20 42 20 63 6f 6d 5f | byte...|. B com_|
|000050b0| 6e 65 78 74 3a 5c 20 43 | 6f 6e 74 69 6e 75 65 0d |next:\ C|ontinue.|
|000050c0| 12 0c 05 20 0d 12 16 06 | 5d ed 0d 12 20 05 e1 0d |... ....|]... ...|
|000050d0| 12 2a 05 20 0d 12 34 15 | dd a4 73 77 69 5f 74 6f |.*. ..4.|..swi_to|
|000050e0| 5f 6e 72 28 73 77 69 24 | 29 0d 12 3e 29 f4 20 52 |_nr(swi$|)..>). R|
|000050f0| 65 74 75 72 6e 73 20 53 | 57 49 20 6e 75 6d 62 65 |eturns S|WI numbe|
|00005100| 72 20 6f 66 20 53 57 49 | 20 63 61 6c 6c 20 73 77 |r of SWI| call sw|
|00005110| 69 24 0d 12 48 0c ea 20 | 73 77 69 6e 72 25 0d 12 |i$..H.. |swinr%..|
|00005120| 52 2f c8 99 20 22 58 4f | 53 5f 53 57 49 4e 75 6d |R/.. "XO|S_SWINum|
|00005130| 62 65 72 46 72 6f 6d 53 | 74 72 69 6e 67 22 2c 2c |berFromS|tring",,|
|00005140| 73 77 69 24 20 b8 20 73 | 77 69 6e 72 25 0d 12 5c |swi$ . s|winr%..\|
|00005150| 0b 3d 73 77 69 6e 72 25 | 0d 12 66 05 20 0d 12 70 |.=swinr%|..f. ..p|
|00005160| 1a dd f2 65 72 72 6f 72 | 28 65 72 72 6e 72 2c 65 |...error|(errnr,e|
|00005170| 72 72 6d 73 67 24 29 0d | 12 7a 14 f4 20 48 61 6e |rrmsg$).|.z.. Han|
|00005180| 64 6c 65 73 20 65 72 72 | 6f 72 73 0d 12 84 0f ea |dles err|ors.....|
|00005190| 20 62 75 74 25 2c 6f 70 | 74 25 0d 12 8e 27 e7 65 | but%,op|t%...'.e|
|000051a0| 72 72 6e 72 3d 2d 31 20 | 8c 20 65 72 72 6e 72 3d |rrnr=-1 |. errnr=|
|000051b0| 31 3a 6f 70 74 25 3d 31 | 20 8b 20 6f 70 74 25 3d |1:opt%=1| . opt%=|
|000051c0| 33 0d 12 98 1f 21 65 72 | 72 3d 65 72 72 6e 72 3a |3....!er|r=errnr:|
|000051d0| 24 28 65 72 72 2b 34 29 | 3d 65 72 72 6d 73 67 24 |$(err+4)|=errmsg$|
|000051e0| 0d 12 a2 2a c8 99 20 57 | 52 65 70 6f 72 74 25 2c |...*.. W|Report%,|
|000051f0| 65 72 72 2c 6f 70 74 25 | 2c 61 70 70 6c 6e 61 6d |err,opt%|,applnam|
|00005200| 65 24 20 b8 20 2c 62 75 | 74 25 0d 12 ac 13 e7 62 |e$ . ,bu|t%.....b|
|00005210| 75 74 25 3c 3e 31 20 8c | 20 f2 64 69 65 0d 12 b6 |ut%<>1 .| .die...|
|00005220| 05 e1 0d 12 c0 05 20 0d | 12 ca 0c dd f2 66 69 6e |...... .|.....fin|
|00005230| 69 73 68 0d 12 d4 0f f4 | 20 54 69 64 69 65 73 20 |ish.....| Tidies |
|00005240| 75 70 0d 12 de 2d c8 99 | 20 22 57 69 6d 70 5f 43 |up...-..| "Wimp_C|
|00005250| 6c 6f 73 65 44 6f 77 6e | 22 2c 54 61 73 6b 48 61 |loseDown|",TaskHa|
|00005260| 6e 64 6c 65 25 2c 26 34 | 42 35 33 34 31 35 34 0d |ndle%,&4|B534154.|
|00005270| 12 e8 05 e1 0d 12 f2 05 | 20 0d 12 fc 09 dd f2 64 |........| ......d|
|00005280| 69 65 0d 13 06 19 f4 20 | 54 69 64 69 65 73 20 75 |ie..... |Tidies u|
|00005290| 70 20 61 6e 64 20 65 78 | 69 74 73 0d 13 10 0b f2 |p and ex|its.....|
|000052a0| 66 69 6e 69 73 68 0d 13 | 1a 10 c8 99 20 22 4f 53 |finish..|.... "OS|
|000052b0| 5f 45 78 69 74 22 0d 13 | 24 05 e1 0d ff 46 69 6c |_Exit"..|$....Fil|
|000052c0| 65 44 61 74 61 82 21 52 | 75 6e 6c 65 6e 00 00 00 |eData.!R|unlen...|
|000052d0| 00 05 00 00 00 43 fd ff | ff b8 4b d8 99 03 00 01 |.....C..|..K.....|
|000052e0| a9 40 00 00 00 88 46 69 | 6c 65 44 61 74 61 82 21 |.@....Fi|leData.!|
|000052f0| 53 70 72 69 74 65 73 00 | 00 00 b8 09 00 00 40 f9 |Sprites.|......@.|
|00005300| ff ff 08 03 84 a9 03 00 | 0a 4c 05 00 00 00 10 00 |........|.L......|
|00005310| 00 00 bc 09 00 00 80 01 | 00 00 66 69 6c 65 5f 66 |........|..file_f|
|00005320| 66 30 00 00 00 00 04 00 | 00 00 10 00 00 00 00 00 |f0......|........|
|00005330| 00 00 07 00 00 00 2c 00 | 00 00 2c 00 00 00 0c 00 |......,.|..,.....|
|00005340| 00 00 77 77 77 77 77 77 | 77 77 77 77 77 77 77 77 |..wwwwww|wwwwwwww|
|00005350| 77 77 77 00 ff ff 77 99 | 99 ff ff ff ff ff ff ff |www...w.|........|
|00005360| ff ff ff ff ff ff 77 00 | ff ff 77 99 f9 ff ff ff |......w.|..w.....|
|00005370| ff ff ff ff ff ff ff ff | ff ff 77 00 ff ff 77 ff |........|..w...w.|
|00005380| ff ff ff ff bf fb ff ff | ff ff ff ff ff ff 77 00 |........|......w.|
|00005390| ff ff 77 ff ff ff ff bb | bb bb bb bb bb bb bb fb |..w.....|........|
|000053a0| ff ff 77 00 ff ff 77 ff | ff ff bf bb bb bb bb bb |..w...w.|........|
|000053b0| bb bb bb bb ff ff 77 00 | ff ff 77 ff ff ff ff ef |......w.|..w.....|
|000053c0| ee ee ee ee ee ee ee fe | ff ff 77 00 ff ff 77 ff |........|..w...w.|
|000053d0| ff ff ff ef 8e ee 8e 88 | e8 ee e8 fe ff ff 77 00 |........|......w.|
|000053e0| ff ff 77 aa aa aa aa ea | ee ee 8e 88 e8 ee ee ae |..w.....|........|
|000053f0| aa aa 77 00 ff ff 77 aa | aa aa aa ea ee ee 8e 88 |..w...w.|........|
|00005400| e8 ee ee ae aa aa 77 00 | ff ff 77 aa aa aa aa aa |......w.|..w.....|
|00005410| aa aa 0a 00 a0 aa aa aa | aa aa 77 00 ff ff 77 aa |........|..w...w.|
|00005420| aa aa aa aa aa aa 00 00 | a0 aa aa aa aa aa 77 00 |........|......w.|
|00005430| ff ff 77 aa aa aa aa aa | aa aa 00 00 00 aa aa aa |..w.....|........|
|00005440| aa aa 77 00 ff ff 77 aa | aa aa aa aa aa aa 0a 00 |..w...w.|........|
|00005450| 00 aa aa aa aa aa 77 00 | ff ff 77 aa aa aa aa aa |......w.|..w.....|
|00005460| aa aa 0a 00 a0 aa aa aa | aa aa 77 00 ff ff 77 aa |........|..w...w.|
|00005470| aa aa aa aa aa 0a 00 00 | aa aa aa aa aa aa 77 00 |........|......w.|
|00005480| ff ff 77 77 77 77 77 77 | 77 77 77 77 77 77 77 77 |..wwwwww|wwwwwwww|
|00005490| 77 77 77 80 01 00 98 00 | 00 00 73 6d 61 6c 6c 5f |www.....|..small_|
|000054a0| 66 66 30 00 00 00 02 00 | 00 00 08 00 00 00 00 00 |ff0.....|........|
|000054b0| 00 00 07 00 00 00 2c 00 | 00 00 2c 00 00 00 0c 00 |......,.|..,.....|
|000054c0| 00 00 77 77 77 77 77 77 | 77 77 77 00 00 70 77 99 |..wwwwww|www..pw.|
|000054d0| ff ff ff ff ff ff 77 00 | 00 70 77 ff bf ff ff ff |......w.|.pw.....|
|000054e0| ff ff 77 00 00 70 77 bf | bb bb bb bb bb fb 77 00 |..w..pw.|......w.|
|000054f0| 00 70 77 ff 8e ee 88 ee | e8 ff 77 00 00 70 77 aa |.pw.....|..w..pw.|
|00005500| ee ee 88 ee ee aa 77 00 | 00 70 77 aa aa 0a 00 aa |......w.|.pw.....|
|00005510| aa aa 77 00 00 70 77 aa | aa 00 a0 aa aa aa 77 00 |..w..pw.|......w.|
|00005520| 00 70 77 77 77 77 77 77 | 77 77 77 00 00 40 80 01 |.pwwwwww|www..@..|
|00005530| 00 00 66 69 6c 65 5f 36 | 39 30 00 00 00 00 04 00 |..file_6|90......|
|00005540| 00 00 10 00 00 00 00 00 | 00 00 07 00 00 00 2c 00 |........|......,.|
|00005550| 00 00 2c 00 00 00 0c 00 | 00 00 77 77 77 77 77 77 |..,.....|..wwwwww|
|00005560| 77 77 77 77 77 77 77 77 | 77 77 77 00 00 00 77 b0 |wwwwwwww|www...w.|
|00005570| b0 b0 b0 b0 d0 d0 d0 d0 | d0 80 80 80 80 80 77 00 |........|......w.|
|00005580| 00 00 77 0b 0b 0b 0b 0b | 0d 0d 0d 0d 0d 08 08 08 |..w.....|........|
|00005590| 08 08 77 00 00 00 77 b0 | b0 b0 b0 b0 d0 d0 d0 d0 |..w...w.|........|
|000055a0| d0 80 80 80 80 80 77 00 | 00 00 77 1b 1b 1b 1b 1b |......w.|..w.....|
|000055b0| 1d 1d 1d 1d 1d 18 18 18 | 18 18 77 00 00 00 77 b1 |........|..w...w.|
|000055c0| b1 b1 b1 b1 d1 d1 d1 d1 | d1 81 81 81 81 81 77 00 |........|......w.|
|000055d0| 00 00 77 2b 2b 2b 2b 2b | 2d 2d 2d 2d 2d 28 28 28 |..w+++++|-----(((|
|000055e0| 28 28 77 00 00 00 77 b2 | b2 b2 b2 b2 d2 d2 d2 d2 |((w...w.|........|
|000055f0| d2 82 82 82 82 82 77 00 | 00 00 77 3b 3b 3b 3b 3b |......w.|..w;;;;;|
|00005600| 3d 3d 3d 3d 3d 38 38 38 | 38 38 77 00 00 00 77 b3 |=====888|88w...w.|
|00005610| b3 b3 b3 b3 d3 d3 d3 d3 | d3 83 83 83 83 83 77 00 |........|......w.|
|00005620| 00 00 77 4b 4b 4b 4b 4b | 4d 4d 4d 4d 4d 48 48 48 |..wKKKKK|MMMMMHHH|
|00005630| 48 48 77 00 00 00 77 b4 | b4 b4 b4 b4 d4 d4 d4 d4 |HHw...w.|........|
|00005640| d4 84 84 84 84 84 77 00 | 00 00 77 5b 5b 5b 5b 5b |......w.|..w[[[[[|
|00005650| 5d 5d 5d 5d 5d 58 58 58 | 58 58 77 00 00 00 77 b5 |]]]]]XXX|XXw...w.|
|00005660| b5 b5 b5 b5 d5 d5 d5 d5 | d5 85 85 85 85 85 77 00 |........|......w.|
|00005670| 00 00 77 6b 6b 6b 6b 6b | 6d 6d 6d 6d 6d 68 68 68 |..wkkkkk|mmmmmhhh|
|00005680| 68 68 77 00 00 00 77 b6 | b6 b6 b6 b6 d6 d6 d6 d6 |hhw...w.|........|
|00005690| d6 86 86 86 86 86 77 00 | 00 00 77 77 77 77 77 77 |......w.|..wwwwww|
|000056a0| 77 77 77 77 77 77 77 77 | 77 77 77 00 00 00 98 00 |wwwwwwww|www.....|
|000056b0| 00 00 73 6d 61 6c 6c 5f | 36 39 30 00 00 00 02 00 |..small_|690.....|
|000056c0| 00 00 08 00 00 00 00 00 | 00 00 0b 00 00 00 2c 00 |........|......,.|
|000056d0| 00 00 2c 00 00 00 0c 00 | 00 00 77 77 77 77 77 77 |..,.....|..wwwwww|
|000056e0| 77 77 77 07 00 00 77 0b | 0b 0b 0d 0d 08 08 78 07 |www...w.|......x.|
|000056f0| 00 00 77 b1 b1 d1 d1 d1 | 81 81 71 07 00 00 77 2b |..w.....|..q...w+|
|00005700| 2b 2b 2d 2d 28 28 78 07 | 00 00 77 b3 b3 d3 d3 d3 |++--((x.|..w.....|
|00005710| 83 83 73 07 00 00 77 4b | 4b 4b 4d 4d 48 48 78 07 |..s...wK|KKMMHHx.|
|00005720| 00 00 77 b5 b5 d5 d5 d5 | 85 85 75 07 00 00 77 6b |..w.....|..u...wk|
|00005730| 6b 6b 6d 6d 68 68 78 07 | 00 00 77 77 77 77 77 77 |kkmmhhx.|..wwwwww|
|00005740| 77 77 77 07 00 00 7c 05 | 00 00 21 6d 61 6b 65 74 |www...|.|..!maket|
|00005750| 69 66 66 00 00 00 04 00 | 00 00 21 00 00 00 00 00 |iff.....|..!.....|
|00005760| 00 00 07 00 00 00 2c 00 | 00 00 d4 02 00 00 14 00 |......,.|........|
|00005770| 00 00 77 77 77 77 77 77 | 53 13 dd 7d 77 77 77 77 |..wwwwww|S..}wwww|
|00005780| 77 77 00 00 00 00 77 77 | 77 77 77 77 75 77 d5 7d |ww....ww|wwwwuw.}|
|00005790| 77 77 77 77 77 77 00 00 | 00 00 77 77 77 77 77 77 |wwwwww..|..wwwwww|
|000057a0| 75 77 d7 7d 97 f9 ff 0f | 00 77 00 00 00 00 77 77 |uw.}....|.w....ww|
|000057b0| 77 77 77 77 32 75 57 7d | 97 ff ff 00 55 77 00 00 |wwww2uW}|....Uw..|
|000057c0| 00 00 77 99 ff ff 0f 00 | 77 71 67 71 f7 bf ff 50 |..w.....|wqgq...P|
|000057d0| 44 71 00 00 00 00 77 f9 | ff 0f 00 77 71 61 67 71 |Dq....w.|...wqagq|
|000057e0| f7 bb 0b 30 04 77 00 00 | 00 00 77 ff bb 0f 70 77 |...0.w..|..w...pw|
|000057f0| 71 61 67 71 f7 8e 0e 60 | 04 77 00 00 00 00 77 bf |qagq...`|.w....w.|
|00005800| bb 0b 77 07 77 61 67 71 | a7 ee 0e 70 04 77 00 00 |..w.wagq|...p.w..|
|00005810| 00 00 77 ff ee 0b 25 05 | 77 61 67 71 a7 aa 0a b0 |..w...%.|wagq....|
|00005820| 0b 77 00 00 00 00 77 aa | 8e 00 1b 03 77 61 67 71 |.w....w.|....wagq|
|00005830| a7 aa 0a 70 0b 77 00 00 | 00 00 77 aa ee 00 bb 07 |...p.w..|..w.....|
|00005840| 77 61 67 71 77 77 77 77 | 77 77 77 00 00 00 77 aa |wagqwwww|www...w.|
|00005850| aa 00 b7 0b 77 61 67 71 | 77 77 77 77 77 77 77 00 |....wagq|wwwwwww.|
|00005860| 00 00 77 aa aa 00 b7 0b | 77 61 67 71 77 97 f9 ff |..w.....|wagqw...|
|00005870| ff ff 77 00 00 00 77 aa | 00 00 7b 0b 77 5d 77 71 |..w...w.|..{.w]wq|
|00005880| 77 97 ff ff ff ff 77 00 | 00 00 77 77 77 77 77 77 |w.....w.|..wwwwww|
|00005890| 77 dd 77 d4 7d f7 bf fb | ff ff 77 00 00 00 77 77 |w.w.}...|..w...ww|
|000058a0| 77 77 77 77 77 dd 74 57 | 72 f7 bb bb bb fb 77 00 |wwwww.tW|r.....w.|
|000058b0| 00 00 77 77 77 87 88 77 | d7 dd 6d 77 75 f7 ef ee |..www..w|..mwu...|
|000058c0| ee ff 77 00 00 00 77 77 | 77 87 88 77 d7 dd 6d 77 |..w...ww|w..w..mw|
|000058d0| 75 a7 ea e8 e8 aa 77 00 | 00 00 77 77 77 77 77 77 |u.....w.|..wwwwww|
|000058e0| 77 dd 74 57 72 a7 ea ee | e8 aa 77 00 00 00 77 77 |w.tWr...|..w...ww|
|000058f0| 77 77 77 77 77 3d 77 d4 | 7d a7 aa 0a a0 aa 77 00 |wwwww=w.|}.....w.|
|00005900| 00 00 77 0b 0b 0d 0d 08 | 77 5d 77 71 77 a7 aa 00 |..w.....|w]wqw...|
|00005910| aa aa 77 00 00 00 77 b0 | d0 d0 80 80 77 61 67 71 |..w...w.|....wagq|
|00005920| 77 a7 0a a0 aa aa 77 00 | 00 00 77 1b 1b 1d 1d 18 |w.....w.|..w.....|
|00005930| 77 61 67 71 77 77 77 77 | 77 77 77 00 00 00 77 b1 |wagqwwww|www...w.|
|00005940| d1 d1 81 81 77 61 67 71 | 77 77 77 77 77 77 77 00 |....wagq|wwwwwww.|
|00005950| 00 00 77 2b 2b 2d 2d 28 | 77 61 67 71 27 2b 2d 2d |..w++--(|wagq'+--|
|00005960| 28 77 00 00 00 00 77 b2 | d2 d2 82 82 77 61 67 71 |(w....w.|....wagq|
|00005970| b7 b3 d3 83 83 77 00 00 | 00 00 77 3b 3b 3d 3d 38 |.....w..|..w;;==8|
|00005980| 77 61 67 71 37 3b 3d 3d | 38 77 00 00 00 00 77 b3 |wagq7;==|8w....w.|
|00005990| d3 d3 83 83 77 61 67 71 | b7 b4 d4 84 84 77 00 00 |....wagq|.....w..|
|000059a0| 00 00 77 4b 4b 4d 4d 48 | 77 61 67 71 47 4b 4d 4d |..wKKMMH|wagqGKMM|
|000059b0| 48 77 00 00 00 00 77 b4 | d4 d4 84 84 77 71 67 7d |Hw....w.|....wqg}|
|000059c0| b7 b5 d5 85 85 77 00 00 | 00 00 77 77 77 77 77 77 |.....w..|..wwwwww|
|000059d0| 32 75 47 7d 67 6b 6d 6d | 68 77 00 00 00 00 77 77 |2uG}gkmm|hw....ww|
|000059e0| 77 77 77 77 75 77 17 7d | b7 b7 d7 87 87 77 00 00 |wwwwuw.}|.....w..|
|000059f0| 00 00 77 77 77 77 77 77 | 75 77 dd 7d 77 77 77 77 |..wwwwww|uw.}wwww|
|00005a00| 77 77 00 00 00 00 77 77 | 77 77 77 77 32 d1 dd 7d |ww....ww|wwww2..}|
|00005a10| 77 77 77 77 77 77 00 00 | 00 00 00 00 00 00 00 00 |wwwwww..|........|
|00005a20| ff ff 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005a30| 00 00 00 00 ff ff 0f 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005a40| 00 00 ff ff ff ff ff ff | ff ff 0f 00 00 00 00 00 |........|........|
|00005a50| 00 00 00 00 00 00 ff ff | ff ff ff ff ff ff ff 00 |........|........|
|00005a60| 00 00 00 00 00 00 00 00 | 00 00 ff ff ff ff ff ff |........|........|
|00005a70| ff ff ff 0f 00 00 00 00 | 00 00 00 00 00 00 ff ff |........|........|
|00005a80| ff ff ff ff ff ff ff 0f | 00 00 00 00 00 00 00 00 |........|........|
|00005a90| 00 00 ff ff ff ff ff ff | ff ff ff 0f 00 00 00 00 |........|........|
|00005aa0| 00 00 00 00 00 00 ff ff | ff ff ff ff ff ff ff 0f |........|........|
|00005ab0| 00 00 00 00 00 00 00 00 | 00 00 ff ff ff ff ff ff |........|........|
|00005ac0| ff ff ff 0f 00 00 00 00 | 00 00 00 00 00 00 ff ff |........|........|
|00005ad0| ff ff ff ff ff ff ff 0f | 00 00 00 00 00 00 00 00 |........|........|
|00005ae0| 00 00 ff ff ff ff ff ff | ff ff ff 0f f0 ff ff ff |........|........|
|00005af0| ff ff ff 00 00 00 ff ff | ff ff ff ff ff ff ff 0f |........|........|
|00005b00| f0 ff ff ff ff ff ff 00 | 00 00 ff ff ff ff ff ff |........|........|
|00005b10| ff ff ff 0f f0 ff ff ff | ff ff ff 00 00 00 ff ff |........|........|
|00005b20| ff ff ff ff ff f0 ff 0f | f0 ff ff ff ff ff ff 00 |........|........|
|00005b30| 00 00 ff ff ff ff ff ff | ff 00 ff 0f f0 ff ff ff |........|........|
|00005b40| ff ff ff 00 00 00 ff ff | ff ff ff ff ff 00 ff ff |........|........|
|00005b50| ff ff ff ff ff ff ff 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b60| 00 00 f0 ff ff ff ff ff | ff ff ff 00 00 00 00 00 |........|........|
|00005b70| 00 00 00 00 00 00 f0 ff | ff ff ff ff ff ff ff 00 |........|........|
|00005b80| 00 00 ff ff ff ff ff ff | ff 00 ff ff ff ff ff ff |........|........|
|00005b90| ff ff ff 00 00 00 ff ff | ff ff ff ff ff f0 ff 0f |........|........|
|00005ba0| f0 ff ff ff ff ff ff 00 | 00 00 ff ff ff ff ff ff |........|........|
|00005bb0| ff f0 ff 0f f0 ff ff ff | ff ff ff 00 00 00 ff ff |........|........|
|00005bc0| ff ff ff ff ff ff ff 0f | f0 ff ff ff ff ff ff 00 |........|........|
|00005bd0| 00 00 ff ff ff ff ff ff | ff ff ff 0f f0 ff ff ff |........|........|
|00005be0| ff ff ff 00 00 00 ff ff | ff ff ff ff ff ff ff 0f |........|........|
|00005bf0| f0 ff ff ff ff ff ff 00 | 00 00 ff ff ff ff ff ff |........|........|
|00005c00| ff ff ff 0f 00 00 00 00 | 00 00 00 00 00 00 ff ff |........|........|
|00005c10| ff ff ff ff ff ff ff 0f | 00 00 00 00 00 00 00 00 |........|........|
|00005c20| 00 00 ff ff ff ff ff ff | ff ff ff 0f 00 00 00 00 |........|........|
|00005c30| 00 00 00 00 00 00 ff ff | ff ff ff ff ff ff ff 0f |........|........|
|00005c40| 00 00 00 00 00 00 00 00 | 00 00 ff ff ff ff ff ff |........|........|
|00005c50| ff ff ff 0f 00 00 00 00 | 00 00 00 00 00 00 ff ff |........|........|
|00005c60| ff ff ff ff ff ff ff 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c70| 00 00 ff ff ff ff ff ff | ff ff ff 00 00 00 00 00 |........|........|
|00005c80| 00 00 00 00 00 00 ff ff | ff ff ff ff ff ff ff 00 |........|........|
|00005c90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ca0| ff ff 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005cb0| 00 00 00 00 ff 0f 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005cc0| 00 00 46 69 6c 65 44 61 | 74 61 82 47 75 69 64 65 |..FileDa|ta.Guide|
|00005cd0| 00 00 00 00 00 00 7e 11 | 00 00 42 ff ff ff b3 5e |......~.|..B....^|
|00005ce0| c8 d4 03 00 98 fc 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |......__|________|
|00005cf0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00005d00| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00005d10| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00005d20| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00005d30| 5f 5f 5f 5f 5f 0a 0a 4d | 61 6b 65 54 49 46 46 20 |_____..M|akeTIFF |
|00005d40| 32 2e 30 35 20 28 52 49 | 53 43 57 41 52 45 29 20 |2.05 (RI|SCWARE) |
|00005d50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005d60| 20 20 20 20 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d | ----|--------|
|00005d70| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005d80| 2d 2d 2d 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |---. | |
|00005d90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005da0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005db0| 20 20 54 68 69 73 20 70 | 72 6f 67 72 61 6d 20 69 | This p|rogram i|
|00005dc0| 73 20 50 55 42 4c 49 43 | 20 44 4f 4d 41 49 4e 0a |s PUBLIC| DOMAIN.|
|00005dd0| 56 65 72 73 69 6f 6e 20 | 64 61 74 65 20 3a 20 31 |Version |date : 1|
|00005de0| 36 20 44 65 63 20 31 39 | 39 30 20 20 20 20 20 20 |6 Dec 19|90 |
|00005df0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 2d 2d 2d | | ---|
|00005e00| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005e10| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 0a 0a 2d 2d |--------|----..--|
|00005e20| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 0a 2d |--------|------.-|
|00005e30| 20 49 6e 74 72 6f 64 75 | 63 74 69 6f 6e 20 2d 0a | Introdu|ction -.|
|00005e40| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005e50| 0a 0a 4d 61 6b 65 54 49 | 46 46 20 77 69 6c 6c 20 |..MakeTI|FF will |
|00005e60| 63 72 65 61 74 65 20 54 | 49 46 46 20 28 54 61 67 |create T|IFF (Tag|
|00005e70| 20 49 6d 61 67 65 20 46 | 69 6c 65 20 46 6f 72 6d | Image F|ile Form|
|00005e80| 61 74 29 20 66 69 6c 65 | 73 20 66 72 6f 6d 20 6f |at) file|s from o|
|00005e90| 74 68 65 72 0a 67 72 61 | 70 68 69 63 73 20 66 69 |ther.gra|phics fi|
|00005ea0| 6c 65 73 2c 20 77 69 74 | 68 20 6f 70 74 69 6f 6e |les, wit|h option|
|00005eb0| 61 6c 20 63 6f 6d 70 72 | 65 73 73 69 6f 6e 2e 20 |al compr|ession. |
|00005ec0| 43 75 72 72 65 6e 74 6c | 79 20 61 63 63 65 70 74 |Currentl|y accept|
|00005ed0| 65 64 20 69 6e 70 75 74 | 20 69 73 20 3a 0a 0a 2d |ed input| is :..-|
|00005ee0| 20 41 72 63 68 69 6d 65 | 64 65 73 20 73 70 72 69 | Archime|des spri|
|00005ef0| 74 65 20 66 69 6c 65 73 | 20 28 66 69 6c 65 74 79 |te files| (filety|
|00005f00| 70 65 20 26 46 46 39 29 | 0a 2d 20 54 72 61 6e 73 |pe &FF9)|.- Trans|
|00005f10| 6c 61 74 6f 72 20 43 6c | 65 61 72 20 66 69 6c 65 |lator Cl|ear file|
|00005f20| 73 20 28 66 69 6c 65 74 | 79 70 65 20 26 36 39 30 |s (filet|ype &690|
|00005f30| 29 0a 0a 54 49 46 46 20 | 69 73 20 61 20 67 65 6e |)..TIFF |is a gen|
|00005f40| 65 72 61 6c 20 66 69 6c | 65 20 66 6f 72 6d 61 74 |eral fil|e format|
|00005f50| 20 66 6f 72 20 67 72 61 | 70 68 69 63 73 20 28 61 | for gra|phics (a|
|00005f60| 6e 64 20 72 65 6c 61 74 | 65 64 29 20 64 61 74 61 |nd relat|ed) data|
|00005f70| 20 28 64 65 76 69 73 65 | 64 20 62 79 0a 41 6c 64 | (devise|d by.Ald|
|00005f80| 75 73 20 43 6f 72 70 6f | 72 61 74 69 6f 6e 20 61 |us Corpo|ration a|
|00005f90| 6e 64 20 4d 69 63 72 6f | 73 6f 66 74 20 43 6f 72 |nd Micro|soft Cor|
|00005fa0| 70 6f 72 61 74 69 6f 6e | 29 2e 20 49 74 20 69 73 |poration|). It is|
|00005fb0| 20 61 20 66 6f 72 6d 61 | 74 20 74 68 61 74 20 68 | a forma|t that h|
|00005fc0| 61 73 20 62 65 65 6e 0a | 61 64 6f 70 74 65 64 20 |as been.|adopted |
|00005fd0| 62 79 20 73 65 76 65 72 | 61 6c 20 63 6f 6d 70 61 |by sever|al compa|
|00005fe0| 6e 69 65 73 20 61 6e 64 | 20 70 72 6f 67 72 61 6d |nies and| program|
|00005ff0| 73 20 28 61 6e 64 20 6d | 6f 72 65 20 77 69 6c 6c |s (and m|ore will|
|00006000| 20 66 6f 6c 6c 6f 77 20 | 69 6e 20 74 68 65 0a 66 | follow |in the.f|
|00006010| 75 74 75 72 65 29 20 61 | 73 20 74 68 65 20 77 61 |uture) a|s the wa|
|00006020| 79 20 74 6f 20 6f 75 74 | 70 75 74 20 61 6e 64 20 |y to out|put and |
|00006030| 65 78 63 68 61 6e 67 65 | 20 67 72 61 70 68 69 63 |exchange| graphic|
|00006040| 73 20 64 61 74 61 2e 0a | 0a 54 49 46 46 20 72 65 |s data..|.TIFF re|
|00006050| 61 64 65 72 73 20 61 72 | 65 20 61 76 61 69 6c 61 |aders ar|e availa|
|00006060| 62 6c 65 20 6f 6e 20 6d | 61 6e 79 20 64 69 66 66 |ble on m|any diff|
|00006070| 65 72 65 6e 74 20 63 6f | 6d 70 75 74 65 72 20 73 |erent co|mputer s|
|00006080| 79 73 74 65 6d 73 2e 0a | 0a 4f 6e 65 20 73 75 63 |ystems..|.One suc|
|00006090| 68 20 70 72 6f 67 72 61 | 6d 20 66 6f 72 20 74 68 |h progra|m for th|
|000060a0| 65 20 41 72 63 68 69 6d | 65 64 65 73 20 69 73 20 |e Archim|edes is |
|000060b0| 54 72 61 6e 73 6c 61 74 | 6f 72 2c 20 61 6c 73 6f |Translat|or, also|
|000060c0| 20 77 72 69 74 74 65 6e | 20 62 79 20 6d 65 2c 0a | written| by me,.|
|000060d0| 61 76 61 69 6c 61 62 6c | 65 20 66 72 6f 6d 20 73 |availabl|e from s|
|000060e0| 6f 6d 65 20 62 75 6c 6c | 65 74 69 6e 20 62 6f 61 |ome bull|etin boa|
|000060f0| 72 64 73 2c 20 73 65 76 | 65 72 61 6c 20 70 75 62 |rds, sev|eral pub|
|00006100| 6c 69 63 20 64 6f 6d 61 | 69 6e 20 6c 69 62 72 61 |lic doma|in libra|
|00006110| 72 69 65 73 20 61 6e 64 | 20 74 68 65 0a 61 64 64 |ries and| the.add|
|00006120| 72 65 73 73 20 6d 65 6e | 74 69 6f 6e 65 64 20 62 |ress men|tioned b|
|00006130| 65 6c 6f 77 2e 20 54 68 | 69 73 20 77 69 6c 6c 20 |elow. Th|is will |
|00006140| 6e 6f 74 20 6f 6e 6c 79 | 20 63 6f 6e 76 65 72 74 |not only| convert|
|00006150| 20 54 49 46 46 20 66 69 | 6c 65 73 20 74 6f 20 41 | TIFF fi|les to A|
|00006160| 72 63 68 69 6d 65 64 65 | 73 0a 73 70 72 69 74 65 |rchimede|s.sprite|
|00006170| 73 20 62 75 74 20 61 6c | 73 6f 20 47 49 46 2c 20 |s but al|so GIF, |
|00006180| 41 6d 69 67 61 20 49 46 | 46 2c 20 4d 61 63 49 6e |Amiga IF|F, MacIn|
|00006190| 74 6f 73 68 20 4d 61 63 | 50 61 69 6e 74 2c 20 76 |tosh Mac|Paint, v|
|000061a0| 61 72 69 6f 75 73 20 41 | 74 61 72 69 20 66 6f 72 |arious A|tari for|
|000061b0| 6d 61 74 73 2c 0a 73 65 | 76 65 72 61 6c 20 27 6e |mats,.se|veral 'n|
|000061c0| 61 74 69 76 65 27 20 66 | 6f 72 6d 61 74 73 2c 20 |ative' f|ormats, |
|000061d0| 65 74 63 2e 2e 20 49 6e | 20 61 64 64 69 74 69 6f |etc.. In| additio|
|000061e0| 6e 20 74 6f 20 73 70 72 | 69 74 65 73 2c 20 69 74 |n to spr|ites, it|
|000061f0| 20 63 61 6e 20 6f 75 74 | 70 75 74 20 74 68 65 0a | can out|put the.|
|00006200| 27 43 6c 65 61 72 27 20 | 67 72 61 70 68 69 63 73 |'Clear' |graphics|
|00006210| 20 66 69 6c 65 74 79 70 | 65 2c 20 77 68 69 63 68 | filetyp|e, which|
|00006220| 20 70 72 65 73 65 72 76 | 65 73 20 74 68 65 20 66 | preserv|es the f|
|00006230| 75 6c 6c 20 69 6e 70 75 | 74 20 69 6d 61 67 65 20 |ull inpu|t image |
|00006240| 63 6f 6e 74 65 6e 74 73 | 0a 28 69 6e 20 63 6f 6e |contents|.(in con|
|00006250| 74 72 61 73 74 20 74 6f | 20 73 6f 6d 65 20 73 70 |trast to| some sp|
|00006260| 72 69 74 65 73 29 2e 20 | 54 68 75 73 2c 20 75 73 |rites). |Thus, us|
|00006270| 69 6e 67 20 54 72 61 6e | 73 6c 61 74 6f 72 20 61 |ing Tran|slator a|
|00006280| 6e 64 20 4d 61 6b 65 54 | 49 46 46 20 74 6f 67 65 |nd MakeT|IFF toge|
|00006290| 74 68 65 72 2c 0a 61 6c | 6c 20 67 72 61 70 68 69 |ther,.al|l graphi|
|000062a0| 63 73 20 66 6f 72 6d 61 | 74 73 20 61 63 63 65 70 |cs forma|ts accep|
|000062b0| 74 65 64 20 62 79 20 54 | 72 61 6e 73 6c 61 74 6f |ted by T|ranslato|
|000062c0| 72 20 6d 61 79 20 62 65 | 20 63 6f 6e 76 65 72 74 |r may be| convert|
|000062d0| 65 64 20 74 6f 20 61 20 | 54 49 46 46 20 66 69 6c |ed to a |TIFF fil|
|000062e0| 65 0a 77 69 74 68 6f 75 | 74 20 6c 6f 73 73 20 6f |e.withou|t loss o|
|000062f0| 66 20 70 69 63 74 75 72 | 65 20 69 6e 66 6f 72 6d |f pictur|e inform|
|00006300| 61 74 69 6f 6e 2e 0a 0a | 2d 2d 2d 2d 2d 2d 2d 2d |ation...|--------|
|00006310| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 0a 2d 20 54 68 |--------|---.- Th|
|00006320| 65 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 20 2d 0a |e applic|ation -.|
|00006330| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00006340| 2d 2d 2d 0a 0a 4d 61 6b | 65 54 49 46 46 20 69 73 |---..Mak|eTIFF is|
|00006350| 20 61 20 66 75 6c 6c 20 | 52 49 53 43 4f 53 20 6d | a full |RISCOS m|
|00006360| 75 6c 74 69 74 61 73 6b | 69 6e 67 20 61 70 70 6c |ultitask|ing appl|
|00006370| 69 63 61 74 69 6f 6e 2c | 20 61 6e 64 20 77 69 6c |ication,| and wil|
|00006380| 6c 20 69 6e 73 74 61 6c | 6c 20 69 74 73 65 6c 66 |l instal|l itself|
|00006390| 0a 6f 6e 20 74 68 65 20 | 69 63 6f 6e 62 61 72 20 |.on the |iconbar |
|000063a0| 77 68 65 6e 20 79 6f 75 | 20 64 6f 75 62 6c 65 2d |when you| double-|
|000063b0| 63 6c 69 63 6b 20 6f 6e | 20 74 68 65 20 27 21 4d |click on| the '!M|
|000063c0| 61 6b 65 54 49 46 46 27 | 20 61 70 70 6c 69 63 61 |akeTIFF'| applica|
|000063d0| 74 69 6f 6e 2e 0a 0a 54 | 6f 20 6d 61 6b 65 20 61 |tion...T|o make a|
|000063e0| 20 54 49 46 46 20 66 69 | 6c 65 2c 20 73 69 6d 70 | TIFF fi|le, simp|
|000063f0| 6c 79 20 64 72 61 67 20 | 61 20 73 70 72 69 74 65 |ly drag |a sprite|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.