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 |
10%
| dexvert
| Raw Partition (archive/rawPartition)
| 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%
| disktype
| FAT16 file system (hints score 0 of 5) Unusual sector size 2048 bytes Volume size 50 MiB (52428800 bytes, 6400 clusters of 8 KiB)
| default (weak)
| |
100%
| detectItEasy
| Archive: ArcFS
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 41 72 63 68 69 76 65 00 | a8 03 00 00 08 04 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 6e 65 6d 6f 73 | 79 6e 65 00 ff ff ff ff |.!Mnemos|yne.....|
|00000070| 44 fd ff ff 76 eb 55 86 | 30 00 00 00 ff ff ff ff |D...v.U.|0.......|
|00000080| 84 03 00 80 82 21 42 6f | 6f 74 00 00 00 00 00 00 |.....!Bo|ot......|
|00000090| a4 00 00 00 43 eb ff ff | a8 8f f0 16 33 00 34 32 |....C...|....3.42|
|000000a0| a4 00 00 00 24 00 00 00 | 82 21 48 65 6c 70 00 00 |....$...|.!Help..|
|000000b0| 00 00 00 00 8a 14 00 00 | 43 ff ff ff a8 8f f0 16 |........|C.......|
|000000c0| 33 00 cf 22 8a 14 00 00 | ec 00 00 00 82 21 4d 61 |3.."....|.....!Ma|
|000000d0| 6b 65 00 00 00 00 00 00 | ff ff ff ff 44 fd ff ff |ke......|....D...|
|000000e0| 5a ec 55 86 30 00 00 00 | ff ff ff ff 68 01 00 80 |Z.U.0...|....h...|
|000000f0| 82 21 42 6f 6f 74 00 00 | 00 00 00 00 68 00 00 00 |.!Boot..|....h...|
|00000100| 43 eb ff ff a8 8f f0 16 | 33 00 7c 5a 68 00 00 00 |C.......|3.|Zh...|
|00000110| 9a 15 00 00 82 21 48 65 | 6c 70 00 00 00 00 00 00 |.....!He|lp......|
|00000120| ae 00 00 00 43 ff ff ff | 70 90 f0 16 33 00 63 74 |....C...|p...3.ct|
|00000130| ae 00 00 00 26 16 00 00 | 82 21 52 75 6e 00 00 00 |....&...|.!Run...|
|00000140| 00 00 00 00 e0 00 00 00 | 43 eb ff ff 70 90 f0 16 |........|C...p...|
|00000150| 33 00 8c b9 e0 00 00 00 | f8 16 00 00 82 21 53 70 |3.......|.....!Sp|
|00000160| 72 69 74 65 73 00 00 00 | 60 01 00 00 43 f9 ff ff |rites...|`...C...|
|00000170| 70 90 f0 16 33 00 9e 89 | 60 01 00 00 fc 17 00 00 |p...3...|`.......|
|00000180| 82 64 6f 73 32 61 72 63 | 00 00 00 00 7f 0a 00 00 |.dos2arc|........|
|00000190| 43 f8 ff ff 70 90 f0 16 | 33 00 15 95 7f 0a 00 00 |C...p...|3.......|
|000001a0| 80 19 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 1c 02 00 00 | 82 21 52 75 6e 00 04 00 |........|.!Run...|
|000001d0| 00 00 00 00 c1 00 00 00 | 43 eb ff ff 70 90 f0 16 |........|C...p...|
|000001e0| 33 00 ca c3 c1 00 00 00 | 23 24 00 00 82 21 53 70 |3.......|#$...!Sp|
|000001f0| 72 69 74 65 73 00 00 00 | e4 03 00 00 43 f9 ff ff |rites...|....C...|
|00000200| 70 90 f0 16 33 00 e5 79 | e4 03 00 00 08 25 00 00 |p...3..y|.....%..|
|00000210| 82 21 57 69 6d 70 4d 61 | 6e 00 00 00 1a 16 00 00 |.!WimpMa|n.......|
|00000220| 43 fb ff ff 70 90 f0 16 | 33 00 cb 51 1a 16 00 00 |C...p...|3..Q....|
|00000230| 10 29 00 00 82 31 4c 00 | c3 00 04 00 00 00 00 00 |.)...1L.|........|
|00000240| ff ff ff ff 44 fd ff ff | d9 ee 55 86 30 00 00 00 |....D...|..U.0...|
|00000250| ff ff ff ff 40 02 00 80 | 82 4d 4e 45 4d 41 4c 59 |....@...|.MNEMALY|
|00000260| 53 45 00 00 c4 03 00 00 | 43 ff ff ff 70 90 f0 16 |SE......|C...p...|
|00000270| 33 00 e4 5e c4 03 00 00 | 4e 3f 00 00 00 00 00 00 |3..^....|N?......|
|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 1c 02 00 00 |........|........|
|000002a0| 82 33 4c 00 c3 00 04 00 | 00 00 00 00 ff ff ff ff |.3L.....|........|
|000002b0| 44 fd ff ff 6d ef 55 86 | 30 00 00 00 ff ff ff ff |D...m.U.|0.......|
|000002c0| ac 02 00 80 82 4d 4e 45 | 4d 4f 53 59 4e 45 00 00 |.....MNE|MOSYNE..|
|000002d0| 86 18 00 00 43 ff ff ff | 38 91 f0 16 33 00 00 6c |....C...|8...3..l|
|000002e0| 86 18 00 00 36 43 00 00 | 00 00 00 00 00 00 00 00 |....6C..|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 1c 02 00 00 82 43 00 00 |........|.....C..|
|00000310| c3 00 04 00 00 00 00 00 | ff ff ff ff 44 fd ff ff |........|....D...|
|00000320| 1d f0 55 86 30 00 00 00 | ff ff ff ff 60 03 00 80 |..U.0...|....`...|
|00000330| 82 44 55 4d 50 53 59 4d | 53 00 00 00 d9 00 00 00 |.DUMPSYM|S.......|
|00000340| 43 ff ff ff 38 91 f0 16 | 33 00 76 e0 d9 00 00 00 |C...8...|3.v.....|
|00000350| e0 5b 00 00 82 4d 4e 45 | 4d 41 4c 59 53 00 00 00 |.[...MNE|MALYS...|
|00000360| 01 28 00 00 43 ff ff ff | 38 91 f0 16 33 00 0b 05 |.(..C...|8...3...|
|00000370| 01 28 00 00 dd 5c 00 00 | 82 6d 6e 65 6d 6f 73 79 |.(...\..|.mnemosy|
|00000380| 6e 00 00 00 d9 b3 00 00 | 43 ff ff ff 38 91 f0 16 |n.......|C...8...|
|00000390| 33 00 e9 fc d9 b3 00 00 | 02 85 00 00 00 00 00 00 |3.......|........|
|000003a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 1c 02 00 00 |........|........|
|000003c0| 00 00 00 00 c3 00 04 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003e0| 14 b8 24 02 00 00 00 00 | 00 00 00 00 00 00 00 00 |..$.....|........|
|000003f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000400| 00 00 00 00 1c 02 00 00 | 46 69 6c 65 44 61 74 61 |........|FileData|
|00000410| 82 21 42 6f 6f 74 00 00 | 00 00 00 00 a4 00 00 00 |.!Boot..|........|
|00000420| 43 eb ff ff a8 8f f0 16 | 03 00 34 32 7c 20 3e 20 |C.......|..42| > |
|00000430| 21 4d 6e 65 6d 6f 73 79 | 6e 65 2e 21 52 75 6e 0a |!Mnemosy|ne.!Run.|
|00000440| 7c 0a 7c 20 54 61 73 6b | 20 64 65 73 63 72 69 70 ||.| Task| descrip|
|00000450| 74 69 6f 6e 20 66 69 6c | 65 20 66 6f 72 20 21 53 |tion fil|e for !S|
|00000460| 74 61 72 0a 7c 0a 49 63 | 6f 6e 53 70 72 69 74 65 |tar.|.Ic|onSprite|
|00000470| 73 20 3c 4f 62 65 79 24 | 44 69 72 3e 2e 21 53 70 |s <Obey$|Dir>.!Sp|
|00000480| 72 69 74 65 73 0a 2a 53 | 65 74 20 6d 6e 65 6d 24 |rites.*S|et mnem$|
|00000490| 44 69 72 20 3c 4f 62 65 | 79 24 44 69 72 3e 0a 2a |Dir <Obe|y$Dir>.*|
|000004a0| 53 65 74 20 41 6c 69 61 | 73 24 6d 6e 65 6d 6f 73 |Set Alia|s$mnemos|
|000004b0| 79 6e 65 20 2a 2f 3c 6d | 6e 65 6d 24 64 69 72 3e |yne */<m|nem$dir>|
|000004c0| 2e 21 52 75 6e 69 6d 61 | 67 65 20 25 25 2a 30 0a |.!Runima|ge %%*0.|
|000004d0| 46 69 6c 65 44 61 74 61 | 82 21 48 65 6c 70 00 00 |FileData|.!Help..|
|000004e0| 00 00 00 00 8a 14 00 00 | 43 ff ff ff a8 8f f0 16 |........|C.......|
|000004f0| 03 00 cf 22 0a 20 20 20 | 20 20 20 20 20 54 68 69 |...". | Thi|
|00000500| 73 20 69 73 20 61 20 73 | 65 74 20 6f 66 20 74 6f |s is a s|et of to|
|00000510| 6f 6c 73 20 64 65 73 69 | 67 6e 65 64 20 74 6f 20 |ols desi|gned to |
|00000520| 68 65 6c 70 20 66 69 6e | 64 20 6d 65 6d 6f 72 79 |help fin|d memory|
|00000530| 20 6c 65 61 6b 73 20 69 | 6e 0a 70 72 6f 67 72 61 | leaks i|n.progra|
|00000540| 6d 73 2c 20 61 6e 64 20 | 74 6f 20 6c 6f 63 61 74 |ms, and |to locat|
|00000550| 65 20 6d 65 6d 6f 72 79 | 2d 68 6f 67 67 69 6e 67 |e memory|-hogging|
|00000560| 20 66 75 6e 63 74 69 6f | 6e 73 2e 20 49 74 27 73 | functio|ns. It's|
|00000570| 20 69 6d 70 6c 65 6d 65 | 6e 74 65 64 20 61 73 0a | impleme|nted as.|
|00000580| 61 20 77 72 61 70 70 65 | 72 20 6c 69 62 72 61 72 |a wrappe|r librar|
|00000590| 79 20 74 68 61 74 20 67 | 6f 65 73 20 61 72 6f 75 |y that g|oes arou|
|000005a0| 6e 64 20 6d 61 6c 6c 6f | 63 2f 66 72 65 65 2f 65 |nd mallo|c/free/e|
|000005b0| 74 63 2c 20 61 6e 64 20 | 61 6e 20 69 6e 63 6c 75 |tc, and |an inclu|
|000005c0| 64 65 20 66 69 6c 65 0a | 74 68 61 74 20 22 69 6e |de file.|that "in|
|000005d0| 74 65 72 63 65 70 74 73 | 22 20 63 61 6c 6c 73 20 |tercepts|" calls |
|000005e0| 74 6f 20 6d 61 6c 6c 6f | 63 2f 66 72 65 65 2f 65 |to mallo|c/free/e|
|000005f0| 74 63 20 61 6e 64 20 6d | 61 6b 65 73 20 74 68 65 |tc and m|akes the|
|00000600| 6d 20 63 61 6c 6c 20 74 | 68 65 0a 77 72 61 70 70 |m call t|he.wrapp|
|00000610| 65 72 73 2e 20 54 68 75 | 73 2c 20 79 6f 75 20 63 |ers. Thu|s, you c|
|00000620| 61 6e 20 67 65 74 20 65 | 78 74 65 6e 73 69 76 65 |an get e|xtensive|
|00000630| 20 6d 65 6d 6f 72 79 20 | 70 72 6f 66 69 6c 69 6e | memory |profilin|
|00000640| 67 20 61 6e 64 20 6c 65 | 61 6b 0a 64 65 74 65 63 |g and le|ak.detec|
|00000650| 74 69 6f 6e 20 62 79 20 | 6a 75 73 74 20 61 64 64 |tion by |just add|
|00000660| 69 6e 67 20 6f 6e 65 20 | 23 69 6e 63 6c 75 64 65 |ing one |#include|
|00000670| 20 64 69 72 65 63 74 69 | 76 65 20 61 74 20 74 68 | directi|ve at th|
|00000680| 65 20 74 6f 70 20 6f 66 | 20 79 6f 75 72 0a 66 69 |e top of| your.fi|
|00000690| 6c 65 20 61 6e 64 20 72 | 65 63 6f 6d 70 69 6c 69 |le and r|ecompili|
|000006a0| 6e 67 2f 6c 69 6e 6b 69 | 6e 67 2e 0a 0a 20 20 20 |ng/linki|ng... |
|000006b0| 20 20 20 20 20 55 6e 6c | 69 6b 65 20 73 6f 6d 65 | Unl|ike some|
|000006c0| 20 73 69 6d 69 6c 61 72 | 20 74 6f 6f 6c 73 20 49 | similar| tools I|
|000006d0| 27 76 65 20 73 65 65 6e | 20 69 6e 20 74 68 65 20 |'ve seen| in the |
|000006e0| 70 61 73 74 2c 20 74 68 | 69 73 20 6d 61 6b 65 73 |past, th|is makes|
|000006f0| 0a 73 75 72 65 20 74 68 | 61 74 20 69 74 20 6b 65 |.sure th|at it ke|
|00000700| 65 70 73 20 69 74 73 20 | 6f 6e 2d 64 69 73 6b 20 |eps its |on-disk |
|00000710| 64 61 74 61 20 63 75 72 | 72 65 6e 74 2c 20 73 6f |data cur|rent, so|
|00000720| 20 74 68 61 74 20 69 66 | 20 74 68 65 20 70 72 6f | that if| the pro|
|00000730| 67 72 61 6d 0a 69 73 20 | 63 72 61 73 68 65 64 20 |gram.is |crashed |
|00000740| 6f 72 20 69 6e 74 65 72 | 72 75 70 74 65 64 2c 20 |or inter|rupted, |
|00000750| 74 68 65 20 72 65 73 75 | 6c 74 73 20 73 74 69 6c |the resu|lts stil|
|00000760| 6c 20 68 61 76 65 20 73 | 6f 6d 65 20 76 61 6c 69 |l have s|ome vali|
|00000770| 64 69 74 79 2e 20 54 68 | 65 0a 6f 6e 2d 64 69 73 |dity. Th|e.on-dis|
|00000780| 6b 20 64 61 74 61 20 69 | 73 20 61 73 20 63 6f 6d |k data i|s as com|
|00000790| 70 61 63 74 65 64 20 61 | 73 20 49 20 63 6f 75 6c |pacted a|s I coul|
|000007a0| 64 20 6d 61 6b 65 20 69 | 74 2c 20 74 6f 20 67 69 |d make i|t, to gi|
|000007b0| 76 65 20 61 20 63 68 61 | 6e 63 65 20 6f 66 0a 74 |ve a cha|nce of.t|
|000007c0| 68 69 73 20 62 65 69 6e | 67 20 75 73 65 61 62 6c |his bein|g useabl|
|000007d0| 65 20 69 6e 20 64 65 62 | 75 67 67 69 6e 67 20 62 |e in deb|ugging b|
|000007e0| 69 67 20 6d 65 6d 6f 72 | 79 20 70 69 67 73 2e 20 |ig memor|y pigs. |
|000007f0| 49 74 20 61 64 64 73 20 | 73 6f 6d 65 20 63 6f 73 |It adds |some cos|
|00000800| 74 0a 69 6e 20 70 65 72 | 66 6f 72 6d 61 6e 63 65 |t.in per|formance|
|00000810| 20 61 6e 64 20 6d 65 6d | 6f 72 79 20 73 69 7a 65 | and mem|ory size|
|00000820| 20 28 73 69 6e 63 65 20 | 69 74 20 6b 65 65 70 73 | (since |it keeps|
|00000830| 20 69 74 73 20 6f 77 6e | 20 69 6e 2d 6d 65 6d 6f | its own| in-memo|
|00000840| 72 79 0a 73 79 6d 62 6f | 6c 20 74 61 62 6c 65 73 |ry.symbo|l tables|
|00000850| 29 20 62 75 74 20 73 69 | 6e 63 65 20 69 74 27 73 |) but si|nce it's|
|00000860| 20 6f 6e 6c 79 20 61 20 | 64 65 62 75 67 67 69 6e | only a |debuggin|
|00000870| 67 20 74 6f 6f 6c 2c 20 | 49 20 74 68 69 6e 6b 20 |g tool, |I think |
|00000880| 74 68 65 0a 63 6f 73 74 | 20 69 73 20 77 6f 72 74 |the.cost| is wort|
|00000890| 68 20 74 68 65 20 62 65 | 6e 65 66 69 74 2e 20 54 |h the be|nefit. T|
|000008a0| 68 69 73 20 6c 69 62 72 | 61 72 79 20 63 61 6e 20 |his libr|ary can |
|000008b0| 61 6c 73 6f 20 62 65 20 | 75 73 65 64 20 74 6f 20 |also be |used to |
|000008c0| 74 72 61 63 6b 0a 6f 6e | 6c 79 20 61 6c 6c 6f 63 |track.on|ly alloc|
|000008d0| 61 74 69 6f 6e 73 20 69 | 6e 20 61 20 73 69 6e 67 |ations i|n a sing|
|000008e0| 6c 65 20 6d 6f 64 75 6c | 65 2c 20 6f 72 20 73 65 |le modul|e, or se|
|000008f0| 74 20 6f 66 20 6d 6f 64 | 75 6c 65 73 2c 20 61 6e |t of mod|ules, an|
|00000900| 64 20 64 6f 65 73 6e 27 | 74 0a 69 6e 74 65 72 66 |d doesn'|t.interf|
|00000910| 65 72 65 20 77 69 74 68 | 20 63 61 6c 6c 73 20 74 |ere with| calls t|
|00000920| 6f 20 74 68 65 20 22 72 | 65 61 6c 22 20 6d 61 6c |o the "r|eal" mal|
|00000930| 6c 6f 63 28 29 20 74 68 | 61 74 20 61 72 65 20 6d |loc() th|at are m|
|00000940| 61 64 65 20 69 6e 20 6f | 74 68 65 72 0a 6c 69 62 |ade in o|ther.lib|
|00000950| 72 61 72 79 20 72 6f 75 | 74 69 6e 65 73 2e 0a 0a |rary rou|tines...|
|00000960| 20 20 20 20 20 20 20 20 | 45 76 65 72 79 20 65 66 | |Every ef|
|00000970| 66 6f 72 74 20 68 61 73 | 20 62 65 65 6e 20 6d 61 |fort has| been ma|
|00000980| 64 65 20 74 6f 20 65 6e | 73 75 72 65 20 74 68 61 |de to en|sure tha|
|00000990| 74 20 74 68 65 20 63 6f | 64 65 20 69 73 0a 70 6f |t the co|de is.po|
|000009a0| 72 74 61 62 6c 65 20 61 | 6e 64 20 77 6f 6e 27 74 |rtable a|nd won't|
|000009b0| 20 69 6e 74 65 72 66 65 | 72 65 20 77 69 74 68 20 | interfe|re with |
|000009c0| 72 75 6e 6e 69 6e 67 20 | 63 6f 64 65 20 2d 20 69 |running |code - i|
|000009d0| 74 20 73 68 6f 75 6c 64 | 20 6a 75 73 74 0a 70 6c |t should| just.pl|
|000009e0| 75 67 20 69 6e 20 6f 72 | 20 6f 75 74 2e 20 54 68 |ug in or| out. Th|
|000009f0| 65 20 62 69 67 67 65 73 | 74 20 68 69 6e 64 72 61 |e bigges|t hindra|
|00000a00| 6e 63 65 73 20 61 72 65 | 20 66 6f 72 77 61 72 64 |nces are| forward|
|00000a10| 20 64 65 63 6c 61 72 61 | 74 69 6f 6e 73 20 6f 66 | declara|tions of|
|00000a20| 0a 6d 61 6c 6c 6f 63 28 | 29 20 5b 77 68 69 63 68 |.malloc(|) [which|
|00000a30| 20 74 68 65 20 70 72 65 | 70 72 6f 63 65 73 73 6f | the pre|processo|
|00000a40| 72 20 67 6c 65 65 66 75 | 6c 6c 79 20 74 75 72 6e |r gleefu|lly turn|
|00000a50| 73 20 69 6e 74 6f 20 73 | 79 6e 74 61 78 20 65 72 |s into s|yntax er|
|00000a60| 72 6f 72 73 0a 66 6f 72 | 20 79 6f 75 5d 20 61 6e |rors.for| you] an|
|00000a70| 64 20 73 74 72 75 63 74 | 75 72 65 20 65 6c 65 6d |d struct|ure elem|
|00000a80| 65 6e 74 73 20 6e 61 6d | 65 64 20 22 66 72 65 65 |ents nam|ed "free|
|00000a90| 22 2e 20 54 68 65 20 63 | 6f 64 65 20 68 61 73 20 |". The c|ode has |
|00000aa0| 62 65 65 6e 0a 74 65 73 | 74 65 64 20 75 6e 64 65 |been.tes|ted unde|
|00000ab0| 72 20 55 6c 74 72 69 78 | 20 6f 6e 20 44 45 43 20 |r Ultrix| on DEC |
|00000ac0| 52 69 73 63 20 61 6e 64 | 20 56 41 58 20 73 79 73 |Risc and| VAX sys|
|00000ad0| 74 65 6d 73 2c 20 61 6e | 64 20 75 6e 64 65 72 20 |tems, an|d under |
|00000ae0| 53 75 6e 4f 53 0a 6f 6e | 20 61 20 4d 6f 74 6f 72 |SunOS.on| a Motor|
|00000af0| 6f 6c 61 20 70 6c 61 74 | 66 6f 72 6d 2e 20 20 50 |ola plat|form. P|
|00000b00| 6c 65 61 73 65 20 73 65 | 6e 64 20 70 61 74 63 68 |lease se|nd patch|
|00000b10| 65 73 2c 20 73 75 67 67 | 65 73 74 69 6f 6e 73 2c |es, sugg|estions,|
|00000b20| 20 65 74 63 2c 0a 74 6f | 20 74 68 65 20 61 75 74 | etc,.to| the aut|
|00000b30| 68 6f 72 2c 20 77 68 6f | 20 77 69 6c 6c 20 70 72 |hor, who| will pr|
|00000b40| 6f 62 61 62 6c 79 20 6e | 6f 74 20 68 61 76 65 20 |obably n|ot have |
|00000b50| 74 69 6d 65 20 74 6f 20 | 64 6f 20 61 6e 79 74 68 |time to |do anyth|
|00000b60| 69 6e 67 20 77 69 74 68 | 0a 74 68 65 6d 2e 0a 0a |ing with|.them...|
|00000b70| 43 6f 6d 70 69 6c 69 6e | 67 20 61 6e 64 20 62 75 |Compilin|g and bu|
|00000b80| 69 6c 64 69 6e 67 3a 0a | 20 20 20 20 20 20 20 20 |ilding:.| |
|00000b90| 59 6f 75 20 6d 61 79 20 | 77 69 73 68 20 74 6f 20 |You may |wish to |
|00000ba0| 65 64 69 74 20 74 68 65 | 20 4d 61 6b 65 66 69 6c |edit the| Makefil|
|00000bb0| 65 20 61 6e 64 20 67 6c | 61 6e 63 65 20 61 74 20 |e and gl|ance at |
|00000bc0| 6d 6e 65 6d 63 6f 6e 66 | 2e 68 2c 0a 74 68 65 6e |mnemconf|.h,.then|
|00000bd0| 20 73 69 6d 70 6c 79 20 | 74 79 70 65 20 22 6d 61 | simply |type "ma|
|00000be0| 6b 65 22 2e 20 22 6d 61 | 6b 65 20 6d 74 65 73 74 |ke". "ma|ke mtest|
|00000bf0| 22 20 77 69 6c 6c 20 62 | 75 69 6c 64 20 61 20 73 |" will b|uild a s|
|00000c00| 69 6d 70 6c 65 20 74 65 | 73 74 20 70 72 6f 67 72 |imple te|st progr|
|00000c10| 61 6d 0a 74 68 61 74 20 | 77 69 6c 6c 20 67 69 76 |am.that |will giv|
|00000c20| 65 20 79 6f 75 20 61 6e | 20 69 64 65 61 20 6f 66 |e you an| idea of|
|00000c30| 20 68 6f 77 20 74 68 69 | 6e 67 73 20 77 6f 72 6b | how thi|ngs work|
|00000c40| 2e 20 22 6d 61 6b 65 20 | 72 75 6e 6d 74 65 73 74 |. "make |runmtest|
|00000c50| 22 20 77 69 6c 6c 0a 72 | 75 6e 20 74 68 65 20 74 |" will.r|un the t|
|00000c60| 65 73 74 20 61 6e 64 20 | 64 6f 20 61 6e 61 6c 79 |est and |do analy|
|00000c70| 73 69 73 20 6f 6e 20 69 | 74 2e 0a 0a 4d 61 72 63 |sis on i|t...Marc|
|00000c80| 75 73 20 4a 2e 20 52 61 | 6e 75 6d 0a 6d 6a 72 40 |us J. Ra|num.mjr@|
|00000c90| 64 65 63 75 61 63 2e 64 | 65 63 2e 63 6f 6d 0a 0a |decuac.d|ec.com..|
|00000ca0| 3d 3d 3d 3d 3d 0a 0a 54 | 68 69 73 20 63 6f 70 79 |=====..T|his copy|
|00000cb0| 20 77 68 69 63 68 20 79 | 6f 75 20 68 61 76 65 20 | which y|ou have |
|00000cc0| 77 61 73 20 68 61 63 6b | 65 64 20 62 79 20 47 72 |was hack|ed by Gr|
|00000cd0| 61 68 61 6d 20 54 6f 61 | 6c 20 3c 67 74 6f 61 6c |aham Toa|l <gtoal|
|00000ce0| 40 65 64 2e 61 63 2e 75 | 6b 3e 0a 70 72 69 6d 61 |@ed.ac.u|k>.prima|
|00000cf0| 72 69 6c 79 20 66 6f 72 | 20 74 68 65 20 61 72 63 |rily for| the arc|
|00000d00| 68 69 6d 65 64 65 73 2c | 20 61 6c 74 68 6f 75 67 |himedes,| althoug|
|00000d10| 68 20 49 20 68 61 76 65 | 20 61 6c 73 6f 20 6d 61 |h I have| also ma|
|00000d20| 64 65 20 69 74 20 44 4f | 53 20 70 6f 72 74 61 62 |de it DO|S portab|
|00000d30| 6c 65 2e 0a 0a 49 66 20 | 63 6f 6d 70 69 6c 69 6e |le...If |compilin|
|00000d40| 67 20 6f 6e 20 74 68 65 | 20 41 72 63 68 69 6d 65 |g on the| Archime|
|00000d50| 64 65 73 2c 20 79 6f 75 | 20 77 69 6c 6c 20 67 65 |des, you| will ge|
|00000d60| 74 20 65 78 74 65 6e 73 | 69 6f 6e 73 20 77 68 69 |t extens|ions whi|
|00000d70| 63 68 20 74 68 65 0a 6e | 6f 72 6d 61 6c 20 70 61 |ch the.n|ormal pa|
|00000d80| 63 6b 61 67 65 20 64 6f | 65 73 6e 27 74 20 6f 66 |ckage do|esn't of|
|00000d90| 66 65 72 2e 0a 0a 54 68 | 65 20 66 69 72 73 74 20 |fer...Th|e first |
|00000da0| 69 73 20 74 68 61 74 20 | 2a 61 6c 6c 2a 20 79 6f |is that |*all* yo|
|00000db0| 75 20 68 61 76 65 20 74 | 6f 20 64 6f 20 74 6f 20 |u have t|o do to |
|00000dc0| 79 6f 75 72 20 73 6f 75 | 72 63 65 20 69 73 0a 0a |your sou|rce is..|
|00000dd0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000de0| 20 20 23 69 6e 63 6c 75 | 64 65 20 3c 6d 6e 65 6d | #inclu|de <mnem|
|00000df0| 6f 73 79 6e 2e 68 3e 0a | 0a 61 74 20 74 68 65 20 |osyn.h>.|.at the |
|00000e00| 74 6f 70 20 61 66 74 65 | 72 20 74 68 65 20 73 79 |top afte|r the sy|
|00000e10| 73 74 65 6d 20 69 6e 63 | 6c 75 64 65 20 66 69 6c |stem inc|lude fil|
|00000e20| 65 73 2e 20 20 59 6f 75 | 20 64 6f 6e 27 74 20 68 |es. You| don't h|
|00000e30| 61 76 65 20 74 6f 20 63 | 61 6c 6c 20 61 0a 70 72 |ave to c|all a.pr|
|00000e40| 6f 63 65 64 75 72 65 20 | 74 6f 20 73 61 76 65 20 |ocedure |to save |
|00000e50| 74 68 65 20 73 79 6d 62 | 6f 6c 20 74 61 62 6c 65 |the symb|ol table|
|00000e60| 2c 20 62 65 63 61 75 73 | 65 20 49 20 75 73 65 20 |, becaus|e I use |
|00000e70| 74 68 65 20 41 6e 73 69 | 20 61 74 65 78 69 74 28 |the Ansi| atexit(|
|00000e80| 29 20 66 75 6e 63 74 69 | 6f 6e 0a 74 6f 20 64 6f |) functi|on.to do|
|00000e90| 20 74 68 61 74 20 66 6f | 72 20 79 6f 75 2e 0a 0a | that fo|r you...|
|00000ea0| 54 68 65 20 6d 6f 73 74 | 20 75 73 65 66 75 6c 20 |The most| useful |
|00000eb0| 61 64 64 69 74 69 6f 6e | 73 20 68 6f 77 65 76 65 |addition|s howeve|
|00000ec0| 72 20 61 72 65 20 27 74 | 6f 6d 62 73 74 6f 6e 65 |r are 't|ombstone|
|00000ed0| 73 27 20 2d 2d 20 6d 61 | 72 6b 65 72 73 20 61 74 |s' -- ma|rkers at|
|00000ee0| 20 65 61 63 68 20 65 6e | 64 20 6f 66 0a 65 76 65 | each en|d of.eve|
|00000ef0| 72 79 20 61 72 72 61 79 | 20 77 68 69 63 68 20 63 |ry array| which c|
|00000f00| 61 6e 20 62 65 20 63 68 | 65 63 6b 65 64 20 70 65 |an be ch|ecked pe|
|00000f10| 72 69 6f 64 69 63 61 6c | 6c 79 3b 20 74 68 65 73 |riodical|ly; thes|
|00000f20| 65 20 68 65 6c 70 20 64 | 65 74 65 63 74 20 65 72 |e help d|etect er|
|00000f30| 72 6f 72 73 0a 63 61 75 | 73 65 64 20 62 79 20 77 |rors.cau|sed by w|
|00000f40| 72 69 74 69 6e 67 20 70 | 61 73 74 20 74 68 65 20 |riting p|ast the |
|00000f50| 65 6e 64 20 6f 66 20 61 | 72 72 61 79 73 2e 20 20 |end of a|rrays. |
|00000f60| 54 68 65 79 20 64 6f 6e | 27 74 20 64 65 74 65 63 |They don|'t detec|
|00000f70| 74 20 67 72 6f 73 73 20 | 65 72 72 6f 72 73 3b 0a |t gross |errors;.|
|00000f80| 6a 75 73 74 20 74 68 65 | 20 6d 6f 72 65 20 63 6f |just the| more co|
|00000f90| 6d 6d 6f 6e 20 6f 66 66 | 2d 62 79 2d 6f 6e 65 20 |mmon off|-by-one |
|00000fa0| 65 72 72 6f 72 20 77 68 | 65 72 65 20 74 68 65 20 |error wh|ere the |
|00000fb0| 76 65 72 79 20 6e 65 78 | 74 20 6c 6f 63 61 74 69 |very nex|t locati|
|00000fc0| 6f 6e 20 68 61 73 20 62 | 65 65 6e 0a 61 63 63 65 |on has b|een.acce|
|00000fd0| 73 73 65 64 20 62 79 20 | 61 63 63 69 64 65 6e 74 |ssed by |accident|
|00000fe0| 2e 20 20 28 65 67 20 63 | 68 61 72 20 2a 61 20 3d |. (eg c|har *a =|
|00000ff0| 20 6d 61 6c 6c 6f 63 28 | 31 30 29 3b 20 61 5b 31 | malloc(|10); a[1|
|00001000| 30 5d 20 3d 20 30 3b 29 | 0a 0a 41 6c 73 6f 2c 20 |0] = 0;)|..Also, |
|00001010| 74 68 69 73 20 74 6f 6d | 62 73 74 6f 6e 65 20 63 |this tom|bstone c|
|00001020| 68 65 63 6b 69 6e 67 20 | 69 73 20 6e 6f 72 6d 61 |hecking |is norma|
|00001030| 6c 6c 79 20 64 6f 6e 65 | 20 61 75 74 6f 6d 61 74 |lly done| automat|
|00001040| 69 63 61 6c 6c 79 20 66 | 6f 72 20 2a 61 6c 6c 2a |ically f|or *all*|
|00001050| 20 61 72 65 61 73 0a 79 | 6f 75 20 68 61 76 65 20 | areas.y|ou have |
|00001060| 61 6c 6c 6f 63 61 74 65 | 64 20 28 65 76 65 6e 20 |allocate|d (even |
|00001070| 6f 6e 65 73 20 79 6f 75 | 27 76 65 20 6c 6f 73 74 |ones you|'ve lost|
|00001080| 20 61 6c 6c 20 70 6f 69 | 6e 74 65 72 73 20 74 6f | all poi|nters to|
|00001090| 20 3a 2d 29 29 2c 20 72 | 61 74 68 65 72 20 74 68 | :-)), r|ather th|
|000010a0| 61 6e 0a 6a 75 73 74 20 | 74 68 65 20 6f 6e 65 20 |an.just |the one |
|000010b0| 79 6f 75 20 61 72 65 20 | 63 75 72 72 65 6e 74 6c |you are |currentl|
|000010c0| 79 20 66 72 65 65 69 6e | 67 20 6f 72 20 72 65 61 |y freein|g or rea|
|000010d0| 6c 6c 6f 63 69 6e 67 2e | 20 20 54 68 69 73 20 68 |llocing.| This h|
|000010e0| 65 6c 70 73 20 79 6f 75 | 20 66 69 6e 64 0a 74 68 |elps you| find.th|
|000010f0| 65 73 65 20 65 72 72 6f | 72 73 20 6d 75 63 68 20 |ese erro|rs much |
|00001100| 65 61 72 6c 69 65 72 20 | 74 68 61 6e 20 79 6f 75 |earlier |than you|
|00001110| 20 77 6f 75 6c 64 20 6e | 6f 72 6d 61 6c 6c 79 2e | would n|ormally.|
|00001120| 0a 0a 4d 6f 73 74 20 6f | 66 20 74 68 65 20 6f 74 |..Most o|f the ot|
|00001130| 68 65 72 20 74 68 69 6e | 67 73 20 49 27 76 65 20 |her thin|gs I've |
|00001140| 61 64 64 65 64 20 68 61 | 76 65 20 74 6f 20 64 6f |added ha|ve to do|
|00001150| 20 77 69 74 68 20 69 6d | 70 72 6f 76 65 64 20 64 | with im|proved d|
|00001160| 69 61 67 6e 6f 73 74 69 | 63 73 3b 20 6f 6e 0a 74 |iagnosti|cs; on.t|
|00001170| 68 65 20 41 72 63 68 69 | 6d 65 64 65 73 20 49 20 |he Archi|medes I |
|00001180| 63 61 6e 20 74 65 6c 6c | 20 77 68 65 74 68 65 72 |can tell| whether|
|00001190| 20 61 20 76 61 72 69 61 | 62 6c 65 20 69 73 20 69 | a varia|ble is i|
|000011a0| 6e 20 74 68 65 20 68 65 | 61 70 2c 20 6f 72 20 73 |n the he|ap, or s|
|000011b0| 6f 6d 65 77 68 65 72 65 | 20 69 6e 0a 63 6f 64 65 |omewhere| in.code|
|000011c0| 2f 63 6f 6e 73 74 61 6e | 74 20 73 70 61 63 65 2e |/constan|t space.|
|000011d0| 0a 0a 54 68 65 20 64 69 | 61 67 73 20 61 6c 73 6f |..The di|ags also|
|000011e0| 20 69 6e 63 6c 75 64 65 | 20 74 68 65 20 6e 61 6d | include| the nam|
|000011f0| 65 20 6f 66 20 74 68 65 | 20 70 72 6f 63 65 64 75 |e of the| procedu|
|00001200| 72 65 20 77 68 69 63 68 | 20 63 61 6c 6c 65 64 20 |re which| called |
|00001210| 6d 61 6c 6c 6f 63 20 2d | 2d 20 74 68 69 73 0a 72 |malloc -|- this.r|
|00001220| 65 6c 69 65 73 20 6f 6e | 20 70 6f 6b 69 6e 67 20 |elies on| poking |
|00001230| 61 72 6f 75 6e 64 20 69 | 6e 20 74 68 65 20 6f 62 |around i|n the ob|
|00001240| 6a 65 63 74 20 66 69 6c | 65 2c 20 73 6f 20 63 61 |ject fil|e, so ca|
|00001250| 6e 20 62 65 20 64 69 73 | 61 62 6c 65 64 20 69 66 |n be dis|abled if|
|00001260| 20 6e 65 65 64 20 62 65 | 2e 0a 59 6f 75 20 68 61 | need be|..You ha|
|00001270| 76 65 20 74 6f 20 63 6f | 6d 70 69 6c 65 20 2d 67 |ve to co|mpile -g|
|00001280| 66 20 74 6f 20 6d 61 6b | 65 20 73 75 72 65 20 73 |f to mak|e sure s|
|00001290| 75 69 74 61 62 6c 65 20 | 69 6e 66 6f 20 69 73 20 |uitable |info is |
|000012a0| 73 74 6f 72 65 64 20 69 | 6e 20 79 6f 75 72 20 6f |stored i|n your o|
|000012b0| 62 6a 65 63 74 2e 0a 28 | 69 66 20 79 6f 75 20 64 |bject..(|if you d|
|000012c0| 6f 6e 27 74 2c 20 73 6f | 6d 65 20 6f 66 20 74 68 |on't, so|me of th|
|000012d0| 65 20 6e 61 6d 65 73 20 | 6d 61 79 20 62 65 20 77 |e names |may be w|
|000012e0| 72 6f 6e 67 20 64 75 65 | 20 74 6f 20 74 68 65 20 |rong due| to the |
|000012f0| 63 6f 6d 70 69 6c 65 72 | 20 6f 70 74 69 6d 69 73 |compiler| optimis|
|00001300| 69 6e 67 0a 63 6f 64 65 | 20 61 6e 64 20 6d 6f 76 |ing.code| and mov|
|00001310| 69 6e 67 20 69 74 20 61 | 72 6f 75 6e 64 2e 20 20 |ing it a|round. |
|00001320| 49 66 20 79 6f 75 20 64 | 6f 6e 27 74 20 77 61 6e |If you d|on't wan|
|00001330| 74 20 74 6f 20 75 73 65 | 20 2d 67 66 2c 20 6d 61 |t to use| -gf, ma|
|00001340| 6b 65 20 73 75 72 65 20 | 6d 6e 65 6d 6f 73 79 6e |ke sure |mnemosyn|
|00001350| 0a 68 61 73 20 62 65 65 | 6e 20 63 6f 6d 70 69 6c |.has bee|n compil|
|00001360| 65 64 20 2a 77 69 74 68 | 6f 75 74 2a 20 2d 44 43 |ed *with|out* -DC|
|00001370| 41 4c 4c 45 52 29 0a 0a | 49 27 76 65 20 75 73 65 |ALLER)..|I've use|
|00001380| 64 20 74 68 65 20 41 6e | 73 69 20 73 74 72 69 6e |d the An|si strin|
|00001390| 67 69 7a 69 6e 67 20 6f | 70 65 72 61 74 6f 72 20 |gizing o|perator |
|000013a0| 74 6f 20 70 61 73 73 20 | 74 68 65 20 6e 61 6d 65 |to pass |the name|
|000013b0| 20 6f 66 20 74 68 65 20 | 76 61 72 69 61 62 6c 65 | of the |variable|
|000013c0| 20 69 6e 0a 74 6f 20 66 | 72 65 65 28 29 20 61 6e | in.to f|ree() an|
|000013d0| 64 20 72 65 61 6c 6c 6f | 63 28 29 2e 0a 0a 49 66 |d reallo|c()...If|
|000013e0| 20 79 6f 75 20 73 74 65 | 70 20 61 20 70 6f 69 6e | you ste|p a poin|
|000013f0| 74 65 72 20 70 61 73 74 | 20 74 68 65 20 76 61 6c |ter past| the val|
|00001400| 75 65 20 72 65 74 75 72 | 6e 65 64 20 62 79 20 6d |ue retur|ned by m|
|00001410| 61 6c 6c 6f 63 20 28 65 | 67 20 61 63 63 69 64 65 |alloc (e|g accide|
|00001420| 6e 74 61 6c 6c 79 0a 68 | 61 76 69 6e 67 20 6d 6f |ntally.h|aving mo|
|00001430| 76 65 64 20 61 20 73 74 | 72 69 6e 67 20 70 61 73 |ved a st|ring pas|
|00001440| 74 20 73 6f 6d 65 20 70 | 72 65 66 69 78 2c 20 74 |t some p|refix, t|
|00001450| 68 65 6e 20 64 65 63 69 | 64 65 64 20 74 6f 20 66 |hen deci|ded to f|
|00001460| 72 65 65 20 74 68 65 20 | 73 74 72 69 6e 67 29 20 |ree the |string) |
|00001470| 77 65 0a 63 61 6e 20 66 | 69 6e 64 20 6f 75 74 20 |we.can f|ind out |
|00001480| 77 68 69 63 68 20 6d 61 | 6c 6c 6f 63 20 61 72 65 |which ma|lloc are|
|00001490| 61 20 79 6f 75 20 77 65 | 72 65 20 69 6e 20 61 6e |a you we|re in an|
|000014a0| 64 20 74 65 6c 6c 20 79 | 6f 75 20 77 68 65 72 65 |d tell y|ou where|
|000014b0| 20 69 74 20 77 61 73 0a | 61 6c 6c 6f 63 61 74 65 | it was.|allocate|
|000014c0| 64 2e 0a 0a 0a 54 68 65 | 73 65 20 61 64 64 69 74 |d....The|se addit|
|000014d0| 69 6f 6e 73 20 61 72 65 | 20 76 65 72 79 20 6d 75 |ions are| very mu|
|000014e0| 63 68 20 2a 68 61 63 6b | 73 2a 20 74 6f 20 4d 61 |ch *hack|s* to Ma|
|000014f0| 72 63 75 73 20 52 61 6e | 75 6d 27 73 20 65 78 63 |rcus Ran|um's exc|
|00001500| 65 6c 6c 65 6e 74 20 63 | 6f 64 65 3b 20 61 6c 6c |ellent c|ode; all|
|00001510| 0a 62 75 67 73 20 69 6e | 74 72 6f 64 75 63 65 64 |.bugs in|troduced|
|00001520| 20 61 72 65 20 64 6f 77 | 6e 20 74 6f 20 6d 65 3b | are dow|n to me;|
|00001530| 20 61 6c 6c 20 63 72 65 | 64 69 74 20 66 6f 72 20 | all cre|dit for |
|00001540| 74 68 65 20 6f 72 69 67 | 69 6e 61 6c 20 65 78 63 |the orig|inal exc|
|00001550| 65 6c 6c 65 6e 74 20 64 | 65 73 69 67 6e 0a 69 73 |ellent d|esign.is|
|00001560| 20 64 6f 77 6e 20 74 6f | 20 4d 61 72 63 75 73 2e | down to| Marcus.|
|00001570| 20 20 49 74 20 77 61 73 | 20 73 6f 20 65 61 73 79 | It was| so easy|
|00001580| 20 74 6f 20 70 6f 72 74 | 20 74 6f 20 62 6f 74 68 | to port| to both|
|00001590| 20 74 68 65 20 41 72 63 | 68 69 6d 65 64 65 73 20 | the Arc|himedes |
|000015a0| 61 6e 64 20 44 6f 73 3b | 0a 70 6f 72 74 61 62 6c |and Dos;|.portabl|
|000015b0| 65 20 63 6f 64 65 20 69 | 73 20 6e 6f 72 6d 61 6c |e code i|s normal|
|000015c0| 6c 79 20 74 68 65 20 65 | 78 63 65 70 74 69 6f 6e |ly the e|xception|
|000015d0| 20 6f 6e 20 75 73 65 6e | 65 74 2e 20 20 49 27 76 | on usen|et. I'v|
|000015e0| 65 20 74 72 69 65 64 20 | 74 6f 20 6d 61 69 6e 74 |e tried |to maint|
|000015f0| 61 69 6e 0a 74 68 61 74 | 20 6f 72 69 67 69 6e 61 |ain.that| origina|
|00001600| 6c 20 70 6f 72 74 61 62 | 69 6c 69 74 79 20 61 73 |l portab|ility as|
|00001610| 20 62 65 73 74 20 61 73 | 20 49 20 63 61 6e 2c 20 | best as| I can, |
|00001620| 73 6f 20 6d 6f 73 74 20 | 6f 66 20 74 68 65 73 65 |so most |of these|
|00001630| 20 65 78 74 65 6e 73 69 | 6f 6e 73 20 63 61 6e 0a | extensi|ons can.|
|00001640| 62 65 20 69 66 64 65 66 | 27 64 20 6f 75 74 20 69 |be ifdef|'d out i|
|00001650| 66 20 74 68 65 79 20 63 | 61 75 73 65 20 70 72 6f |f they c|ause pro|
|00001660| 62 6c 65 6d 73 2e 0a 0a | 54 68 61 6e 6b 73 20 61 |blems...|Thanks a|
|00001670| 67 61 69 6e 20 74 6f 20 | 4d 61 72 63 75 73 20 52 |gain to |Marcus R|
|00001680| 61 6e 75 6d 2e 20 20 41 | 6e 20 65 78 63 65 6c 6c |anum. A|n excell|
|00001690| 65 6e 74 20 70 69 65 63 | 65 20 6f 66 20 77 6f 72 |ent piec|e of wor|
|000016a0| 6b 2e 20 20 53 61 76 65 | 64 20 6d 65 20 77 65 65 |k. Save|d me wee|
|000016b0| 6b 73 0a 6f 66 20 64 65 | 62 75 67 67 69 6e 67 2e |ks.of de|bugging.|
|000016c0| 0a 0a 47 72 61 68 61 6d | 20 54 6f 61 6c 2c 20 31 |..Graham| Toal, 1|
|000016d0| 38 2f 30 34 2f 39 31 0a | 67 74 6f 61 6c 40 65 64 |8/04/91.|gtoal@ed|
|000016e0| 2e 61 63 2e 75 6b 0a 0a | 50 53 20 62 65 63 61 75 |.ac.uk..|PS becau|
|000016f0| 73 65 20 63 6f 64 65 20 | 65 72 72 6f 72 73 20 73 |se code |errors s|
|00001700| 6f 6d 65 74 69 6d 65 73 | 20 63 61 75 73 65 20 6d |ometimes| cause m|
|00001710| 6e 65 6d 6f 73 79 6e 65 | 27 73 20 69 6e 74 65 72 |nemosyne|'s inter|
|00001720| 6e 61 6c 20 73 74 72 75 | 63 74 75 72 65 73 20 74 |nal stru|ctures t|
|00001730| 6f 0a 62 65 63 6f 6d 65 | 20 63 6f 72 72 75 70 74 |o.become| corrupt|
|00001740| 2c 20 77 69 74 68 20 74 | 68 65 20 72 65 73 75 6c |, with t|he resul|
|00001750| 74 20 74 68 61 74 20 49 | 20 63 61 6e 27 74 20 66 |t that I| can't f|
|00001760| 69 6e 64 20 74 68 65 20 | 69 6e 66 6f 72 6d 61 74 |ind the |informat|
|00001770| 69 6f 6e 20 61 62 6f 75 | 74 20 73 6f 6d 65 0a 6d |ion abou|t some.m|
|00001780| 61 6c 6c 6f 63 2c 20 49 | 27 76 65 20 61 64 64 65 |alloc, I|'ve adde|
|00001790| 64 20 61 20 70 61 72 61 | 6d 65 74 65 72 20 74 6f |d a para|meter to|
|000017a0| 20 74 68 65 20 6d 6e 65 | 6d 61 6c 79 73 65 20 70 | the mne|malyse p|
|000017b0| 72 6f 67 72 61 6d 20 77 | 68 69 63 68 20 70 72 69 |rogram w|hich pri|
|000017c0| 6e 74 73 20 6f 75 74 20 | 61 0a 73 69 6e 67 6c 65 |nts out |a.single|
|000017d0| 20 65 6e 74 72 79 20 66 | 72 6f 6d 20 74 68 65 20 | entry f|rom the |
|000017e0| 6d 6e 65 6d 2e 64 61 74 | 20 66 69 6c 65 2e 20 20 |mnem.dat| file. |
|000017f0| 55 73 65 20 74 68 69 73 | 20 69 66 20 79 6f 75 20 |Use this| if you |
|00001800| 67 65 74 20 61 20 6d 65 | 73 73 61 67 65 20 73 75 |get a me|ssage su|
|00001810| 63 68 20 61 73 0a 22 28 | 73 65 65 20 6d 61 70 20 |ch as."(|see map |
|00001820| 65 6e 74 72 79 20 31 30 | 20 69 6e 20 6d 6e 65 6d |entry 10| in mnem|
|00001830| 2e 64 61 74 29 22 0a 0a | 4f 6e 20 74 68 65 20 41 |.dat)"..|On the A|
|00001840| 72 63 68 69 6d 65 64 65 | 73 2c 20 6d 6e 65 6d 61 |rchimede|s, mnema|
|00001850| 6c 79 73 65 20 69 73 20 | 70 72 6f 76 69 64 65 64 |lyse is |provided|
|00001860| 20 6f 6e 20 61 6e 20 69 | 63 6f 6e 20 28 21 4d 6e | on an i|con (!Mn|
|00001870| 65 6d 6f 29 20 28 6f 6e | 74 6f 20 77 68 69 63 68 |emo) (on|to which|
|00001880| 20 79 6f 75 0a 6e 6f 72 | 6d 61 6c 6c 79 20 64 72 | you.nor|mally dr|
|00001890| 6f 70 20 6d 6e 65 6d 2e | 64 61 74 29 2e 20 20 54 |op mnem.|dat). T|
|000018a0| 6f 20 75 73 65 20 74 68 | 69 73 20 65 78 74 65 6e |o use th|is exten|
|000018b0| 73 69 6f 6e 2c 20 6d 65 | 6e 75 20 6f 6e 20 74 68 |sion, me|nu on th|
|000018c0| 65 20 69 63 6f 6e 20 61 | 6e 64 20 73 65 6c 65 63 |e icon a|nd selec|
|000018d0| 74 0a 22 53 65 74 20 4f | 70 74 69 6f 6e 73 22 2e |t."Set O|ptions".|
|000018e0| 20 43 68 61 6e 67 65 20 | 22 6d 6e 65 6d 6f 73 79 | Change |"mnemosy|
|000018f0| 6e 65 20 22 20 74 6f 20 | 22 6d 6e 65 6d 6f 73 79 |ne " to |"mnemosy|
|00001900| 6e 65 20 31 30 22 2c 20 | 70 72 65 73 73 20 72 65 |ne 10", |press re|
|00001910| 74 75 72 6e 2c 20 74 68 | 65 6e 0a 64 72 6f 70 20 |turn, th|en.drop |
|00001920| 6d 6e 65 6d 2d 64 61 74 | 20 6f 6e 20 69 74 20 61 |mnem-dat| on it a|
|00001930| 73 20 6e 6f 72 6d 61 6c | 2e 0a 0a 50 50 53 20 59 |s normal|...PPS Y|
|00001940| 6f 75 27 6c 6c 20 6e 65 | 65 64 20 50 4d 6f 6f 72 |ou'll ne|ed PMoor|
|00001950| 65 27 73 20 3c 75 74 69 | 6c 73 3e 20 6c 69 62 72 |e's <uti|ls> libr|
|00001960| 61 72 79 2e 20 20 49 27 | 6c 6c 20 69 6e 63 6c 75 |ary. I'|ll inclu|
|00001970| 64 65 20 6d 79 20 63 6f | 70 79 2e 2e 2e 0a 46 69 |de my co|py....Fi|
|00001980| 6c 65 44 61 74 61 82 21 | 42 6f 6f 74 00 00 00 00 |leData.!|Boot....|
|00001990| 00 00 68 00 00 00 43 eb | ff ff a8 8f f0 16 03 00 |..h...C.|........|
|000019a0| 7c 5a 7c 20 42 6f 6f 74 | 20 66 69 6c 65 20 66 6f ||Z| Boot| file fo|
|000019b0| 72 20 4d 61 6b 65 20 56 | 65 72 73 69 6f 6e 20 31 |r Make V|ersion 1|
|000019c0| 2e 30 30 20 28 31 31 20 | 4f 63 74 20 31 39 39 30 |.00 (11 |Oct 1990|
|000019d0| 29 0a 53 65 74 20 4d 61 | 6b 65 24 44 69 72 20 3c |).Set Ma|ke$Dir <|
|000019e0| 4f 62 65 79 24 44 69 72 | 3e 0a 49 63 6f 6e 53 70 |Obey$Dir|>.IconSp|
|000019f0| 72 69 74 65 73 20 3c 4f | 62 65 79 24 44 69 72 3e |rites <O|bey$Dir>|
|00001a00| 2e 21 53 70 72 69 74 65 | 73 0a 46 69 6c 65 44 61 |.!Sprite|s.FileDa|
|00001a10| 74 61 82 21 48 65 6c 70 | 00 00 00 00 00 00 ae 00 |ta.!Help|........|
|00001a20| 00 00 43 ff ff ff 70 90 | f0 16 03 00 63 74 0a 0a |..C...p.|....ct..|
|00001a30| 0a 0a 0a 20 20 20 20 44 | 6f 75 62 6c 65 2d 63 6c |... D|ouble-cl|
|00001a40| 69 63 6b 20 6f 6e 20 74 | 68 69 73 20 69 63 6f 6e |ick on t|his icon|
|00001a50| 20 74 6f 20 62 75 69 6c | 64 20 49 6e 66 6f 72 6d | to buil|d Inform|
|00001a60| 61 74 27 73 0a 20 20 20 | 20 20 20 20 20 20 20 20 |at's. | |
|00001a70| 20 20 20 20 20 20 20 20 | 43 44 2d 52 6f 6d 20 73 | |CD-Rom s|
|00001a80| 79 73 74 65 6d 2e 0a 0a | 0a 0a 0a 0a 28 4e 6f 74 |ystem...|....(Not|
|00001a90| 65 3a 20 74 68 65 20 6d | 61 6b 65 20 75 74 69 6c |e: the m|ake util|
|00001aa0| 69 74 79 20 63 68 61 6e | 67 65 73 0a 20 20 20 20 |ity chan|ges. |
|00001ab0| 20 20 20 79 6f 75 72 20 | 63 75 72 72 65 6e 74 20 | your |current |
|00001ac0| 64 69 72 65 63 74 6f 72 | 79 20 74 6f 20 24 2e 69 |director|y to $.i|
|00001ad0| 6e 66 6f 72 6d 61 74 2e | 64 78 32 29 46 69 6c 65 |nformat.|dx2)File|
|00001ae0| 44 61 74 61 82 21 52 75 | 6e 00 00 00 00 00 00 00 |Data.!Ru|n.......|
|00001af0| e0 00 00 00 43 eb ff ff | 70 90 f0 16 03 00 8c b9 |....C...|p.......|
|00001b00| 7c 20 52 75 6e 20 66 69 | 6c 65 20 66 6f 72 20 4d || Run fi|le for M|
|00001b10| 61 6b 65 20 56 65 72 73 | 69 6f 6e 20 31 2e 30 30 |ake Vers|ion 1.00|
|00001b20| 20 28 31 31 20 4f 63 74 | 20 31 39 39 30 29 0a 57 | (11 Oct| 1990).W|
|00001b30| 69 6d 70 53 6c 6f 74 20 | 2d 6d 69 6e 20 31 30 32 |impSlot |-min 102|
|00001b40| 34 4b 20 2d 6d 61 78 20 | 34 30 39 36 4b 0a 49 63 |4K -max |4096K.Ic|
|00001b50| 6f 6e 53 70 72 69 74 65 | 73 20 3c 4f 62 65 79 24 |onSprite|s <Obey$|
|00001b60| 44 69 72 3e 2e 21 53 70 | 72 69 74 65 73 0a 44 69 |Dir>.!Sp|rites.Di|
|00001b70| 72 20 3c 4f 62 65 79 24 | 44 69 72 3e 2e 5e 0a 65 |r <Obey$|Dir>.^.e|
|00001b80| 63 68 6f 20 73 74 61 72 | 74 65 64 0a 53 70 6f 6f |cho star|ted.Spoo|
|00001b90| 6c 20 4d 41 4b 45 4c 4f | 47 0a 74 69 6d 65 0a 61 |l MAKELO|G.time.a|
|00001ba0| 6d 75 20 2d 66 20 6d 61 | 6b 65 66 69 6c 65 0a 74 |mu -f ma|kefile.t|
|00001bb0| 69 6d 65 0a 53 70 6f 6f | 6c 0a 64 6f 73 32 61 72 |ime.Spoo|l.dos2ar|
|00001bc0| 63 20 6d 61 6b 65 6c 6f | 67 0a 73 65 74 74 79 70 |c makelo|g.settyp|
|00001bd0| 65 20 6d 61 6b 65 6c 6f | 67 20 74 65 78 74 0a 0a |e makelo|g text..|
|00001be0| 46 69 6c 65 44 61 74 61 | 82 21 53 70 72 69 74 65 |FileData|.!Sprite|
|00001bf0| 73 00 00 00 60 01 00 00 | 43 f9 ff ff 70 90 f0 16 |s...`...|C...p...|
|00001c00| 03 00 9e 89 01 00 00 00 | 10 00 00 00 64 01 00 00 |........|....d...|
|00001c10| 54 01 00 00 21 6d 61 6b | 65 00 00 00 00 00 00 00 |T...!mak|e.......|
|00001c20| 01 00 00 00 22 00 00 00 | 00 00 00 00 02 00 00 00 |...."...|........|
|00001c30| 3c 00 00 00 3c 00 00 00 | 17 00 00 00 10 f0 f0 f0 |<...<...|........|
|00001c40| 10 f0 f0 f0 10 00 00 00 | 10 00 00 00 ff ff ff ff |........|........|
|00001c50| 07 00 00 00 01 00 00 00 | ac aa aa aa 19 03 18 00 |........|........|
|00001c60| 04 00 00 00 19 03 18 00 | ac aa aa aa b9 03 18 00 |........|........|
|00001c70| 04 00 00 00 b9 03 18 00 | ac aa aa aa f9 f3 98 f1 |........|........|
|00001c80| 04 00 00 00 f9 f3 98 f1 | ac aa aa aa 59 83 d9 98 |........|....Y...|
|00001c90| 05 00 00 00 59 83 d9 98 | ad aa aa aa 59 f3 79 f8 |....Y...|....Y.y.|
|00001ca0| 05 00 00 00 59 f3 79 f8 | ad aa aa aa 19 9b d9 18 |....Y.y.|........|
|00001cb0| 04 00 00 00 19 9b d9 18 | ac aa aa aa 19 f3 99 f1 |........|........|
|00001cc0| 04 00 00 00 19 f3 99 f1 | ac aa aa aa 01 00 00 00 |........|........|
|00001cd0| 04 00 00 00 01 00 00 00 | ac aa aa aa 01 00 00 00 |........|........|
|00001ce0| 04 00 00 00 01 00 00 00 | ac aa aa aa 01 00 00 00 |........|........|
|00001cf0| 04 00 00 00 01 00 00 00 | ac aa aa aa 01 00 00 00 |........|........|
|00001d00| 04 00 00 00 01 00 00 00 | ac aa aa aa 01 00 00 00 |........|........|
|00001d10| 04 00 00 00 01 00 00 00 | ac aa aa aa 01 00 00 00 |........|........|
|00001d20| 04 00 00 00 01 00 00 00 | ac aa aa aa 01 00 00 00 |........|........|
|00001d30| 04 00 00 00 01 00 00 00 | ac aa aa aa 01 00 00 00 |........|........|
|00001d40| 04 00 00 00 01 00 00 00 | ac aa aa aa 01 00 00 00 |........|........|
|00001d50| 04 00 00 00 01 00 00 00 | ac aa aa aa ff ff ff ff |........|........|
|00001d60| 07 00 00 00 46 69 6c 65 | 44 61 74 61 82 64 6f 73 |....File|Data.dos|
|00001d70| 32 61 72 63 00 00 00 00 | 7f 0a 00 00 43 f8 ff ff |2arc....|....C...|
|00001d80| 70 90 f0 16 03 00 15 95 | 05 02 00 eb 00 00 00 fb |p.......|........|
|00001d90| 00 00 00 fb c2 00 00 eb | 11 00 00 ef ac 08 00 00 |........|........|
|00001da0| 64 0e 00 00 00 00 00 00 | 00 00 00 00 02 00 00 00 |d.......|........|
|00001db0| 00 80 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001dc0| 00 00 00 00 00 00 00 00 | ff b3 ce e3 08 b0 8b e2 |........|........|
|00001dd0| 0f 00 9b e8 00 00 53 e3 | 0e f0 b0 d1 14 b0 4b e2 |......S.|......K.|
|00001de0| 00 b0 8b e0 01 b0 8b e0 | 00 00 a0 e3 00 10 a0 e3 |........|........|
|00001df0| 00 20 a0 e3 00 40 a0 e3 | 17 00 ab e8 10 30 53 e2 |. ...@..|.....0S.|
|00001e00| fc ff ff ca 0e f0 b0 e1 | e8 01 00 ea 39 da 99 f7 |........|....9...|
|00001e10| 1a 99 d0 8a 99 8f 8e 99 | 71 75 99 90 80 99 e9 9a |........|qu......|
|00001e20| 99 9b a2 99 81 ed 99 a1 | 77 99 86 eb 99 7a c7 99 |........|w....z..|
|00001e30| 83 ee 99 23 aa 99 2d a7 | 99 ec 7a 99 a4 83 99 29 |...#..-.|..z....)|
|00001e40| 26 99 7d 2f 99 ea 79 99 | 8c bc 99 7b 24 99 e4 9f |&.}/..y.|...{$...|
|00001e50| 99 e8 ac 99 5a dc 99 37 | 65 99 05 1d 99 5e 5d 99 |....Z..7|e....^].|
|00001e60| 07 90 5f 16 99 62 48 99 | 44 51 99 58 4c 99 45 5c |.._..bH.|DQ.XL.E\|
|00001e70| 99 35 61 99 4b 41 99 7a | 06 99 78 e7 99 7f e6 99 |.5a.KA.z|..x.....|
|00001e80| 9d 7c 99 7c e2 99 d2 e5 | 99 55 68 99 63 56 99 19 |.|.|....|.Uh.cV..|
|00001e90| 3d 99 57 09 8a f7 99 8e | cf 99 70 76 99 82 80 99 |=.W.....|..pv....|
|00001ea0| 2e a5 99 80 bb 99 e1 9e | 99 a0 77 99 ab e0 99 d7 |........|..w.....|
|00001eb0| e3 99 5b 67 99 30 31 99 | 32 49 99 59 64 99 4f 3f |..[g.01.|2I.Yd.O?|
|00001ec0| 99 18 52 99 4c 43 99 33 | 47 99 50 3a 99 4d 4a 99 |..R.LC.3|G.P:.MJ.|
|00001ed0| 02 38 99 d5 b0 99 f0 c8 | 99 74 93 99 ab 6f 99 04 |.8......|.t...o..|
|00001ee0| d1 99 bf d6 99 72 ba 99 | b9 ae 99 95 ce 99 d4 c1 |.....r..|........|
|00001ef0| 99 be df 99 28 a3 99 ce | cb 99 ca de 99 db c0 99 |....(...|........|
|00001f00| 12 14 99 f3 09 99 c2 7e | 99 af b2 99 9c b3 99 a6 |.......~|........|
|00001f10| c6 99 2a 22 99 85 84 99 | 53 f5 99 a8 85 99 6b 6a |..*"....|S.....kj|
|00001f20| 99 6d 6c 99 b7 96 99 91 | 8d 99 3b 3e 99 1e f2 99 |.ml.....|..;>....|
|00001f30| 3c 60 99 69 42 99 40 66 | 99 1f 1b 99 3c 60 99 69 |<`.iB.@f|....<`.i|
|00001f40| 42 99 36 34 99 1c 46 99 | 88 ce 99 af ef 99 a9 b3 |B.64..F.|........|
|00001f50| 99 2b 20 99 25 2c 99 ad | 27 99 4e f4 99 b5 b6 99 |.+ .%,..|'.N.....|
|00001f60| b8 89 99 bd 94 99 c3 73 | 99 c5 99 99 21 a6 99 84 |.......s|....!...|
|00001f70| 2a 99 f6 8b 99 85 54 99 | 6e a8 99 c9 92 99 80 d3 |*.....T.|n.......|
|00001f80| 99 d9 98 99 f1 ce 99 dd | cd 99 97 cc 99 b4 87 99 |........|........|
|00001f90| a6 c4 99 2a 22 99 00 d8 | 99 0e 0d 99 15 13 99 0e |...*"...|........|
|00001fa0| 01 99 15 12 99 f8 17 99 | 12 08 99 17 13 99 13 90 |........|........|
|00001fb0| b1 17 99 b1 b1 99 b1 b1 | 99 b1 b1 99 b1 b1 99 b1 |........|........|
|00001fc0| b1 99 b1 b1 99 b1 b1 99 | b1 b1 99 b1 b1 99 b1 b1 |........|........|
|00001fd0| 99 b1 b1 99 b1 b1 99 b1 | b1 99 b1 b1 99 b1 b1 99 |........|........|
|00001fe0| b1 b1 99 b1 b1 99 b1 b1 | 99 b1 b1 99 b1 b1 99 b1 |........|........|
|00001ff0| b1 99 b1 b1 99 b1 b1 99 | b1 b1 99 b1 b1 99 b1 b1 |........|........|
|00002000| 99 b1 b1 99 b1 b1 99 b1 | b1 99 b1 b1 99 b1 b1 99 |........|........|
|00002010| b1 b1 99 b1 b1 99 b1 b1 | 99 b1 b1 99 b1 b1 99 b1 |........|........|
|00002020| b1 99 b1 b1 99 b1 b1 99 | b1 b1 99 b1 b1 99 b1 b1 |........|........|
|00002030| 99 b1 b1 99 b1 b1 99 b1 | b1 99 b1 b1 99 b1 b1 99 |........|........|
|00002040| b1 b1 99 b1 b1 99 b1 b1 | 99 b1 b1 99 b1 b1 99 b1 |........|........|
|00002050| b1 99 b1 b1 99 b1 b1 99 | b1 b1 99 b1 b1 99 b1 b1 |........|........|
|00002060| 99 b1 b1 99 b1 b1 99 b1 | b1 99 b1 b1 99 b1 b1 99 |........|........|
|00002070| b1 b1 99 b1 b1 99 b1 b1 | 99 b1 b1 99 b1 b1 99 b1 |........|........|
|00002080| b1 99 b1 b1 99 b1 b1 99 | b1 b1 99 b1 b1 99 b1 b1 |........|........|
|00002090| 99 b1 b1 99 b1 b1 99 b1 | b1 99 b1 b1 99 b1 b1 99 |........|........|
|000020a0| b1 b1 99 b1 b1 99 b1 b1 | 99 b1 b1 99 b1 b1 99 b1 |........|........|
|000020b0| b1 99 b1 b1 99 b1 b1 99 | b1 b1 99 b1 b1 99 b1 b1 |........|........|
|000020c0| 99 b1 b1 99 b1 b1 99 b1 | b1 99 b1 b1 99 b1 b1 99 |........|........|
|000020d0| b1 b1 99 b1 b1 99 b1 b1 | 99 b1 b1 99 b1 b1 99 b1 |........|........|
|000020e0| b1 99 b1 b1 99 b1 b1 99 | b1 b1 99 b1 b1 99 b1 b1 |........|........|
|000020f0| 99 b1 b1 99 b1 b1 99 b1 | b1 99 b1 b1 99 b1 b1 99 |........|........|
|00002100| b1 b1 99 b1 b1 99 b1 b1 | 99 03 b1 99 0c 08 99 0b |........|........|
|00002110| 0a 99 0e 90 10 0f 99 11 | 09 00 00 00 00 00 00 00 |........|........|
|00002120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000021a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000021b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000021c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000021d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000021e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000021f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000022a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000022b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000022c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000022d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000022e0| 00 00 00 00 00 0c 01 12 | 28 25 3e 65 ed ae 0e 58 |........|(%>e...X|
|000022f0| 7a 0e 5d 74 5c c8 12 5c | 58 5d d0 5c c0 0e 0e 0e |z.]t\..\|X].\....|
|00002300| 5e cc 32 5d 15 5e 07 5c | 54 66 f4 b7 5c d5 e7 12 |^.2].^.\|Tf..\...|
|00002310| ea cd c3 1b ae 23 f3 af | fd 0e b8 13 f9 bd 1c a1 |.....#..|........|
|00002320| 01 00 7b 21 20 03 92 f5 | 5f 00 00 2b 96 5f 06 00 |..{! ...|_..+._..|
|00002330| bf ff ff 00 00 19 30 45 | 05 00 01 e0 5a 01 00 07 |......0E|....Z...|
|00002340| 20 e3 00 b9 f4 cf 00 0d | 00 11 01 00 f3 5f f6 00 | .......|....._..|
|00002350| 00 f0 e0 08 01 6b f4 00 | 22 af 60 04 23 00 6d 01 |.....k..|".`.#.m.|
|00002360| 00 01 00 b8 4d 53 05 bb | 2c d1 bb b0 4e af 00 05 |....MS..|,...N...|
|00002370| b1 00 f5 ae 4d f8 70 02 | 00 f6 f7 fb 0c 00 04 ff |....M.p.|........|
|00002380| f4 00 00 db 02 0e 04 00 | 1d ff ac 0e 00 9f 91 6e |........|.......n|
|00002390| 01 00 65 64 91 00 00 bb | e1 5d 00 00 5f ca e2 0e |..ed....|.].._...|
|000023a0| 00 ef 1b bf 0e fd b2 3f | 00 0d b4 f1 00 b6 f3 4b |.......?|.......K|
|000023b0| 00 42 f9 b6 00 14 ff b4 | fb 00 4f 05 ae 00 f3 03 |.B......|..O.....|
|000023c0| 0e 00 03 00 bb 00 f9 f1 | f4 b5 ff b6 ae 0a 52 af |........|......R.|
|000023d0| 00 fc 00 09 06 aa 00 00 | 88 0b 9d 02 00 6e e4 62 |........|.....n.b|
|000023e0| 00 f5 04 ff 6f ae bc 54 | a9 00 92 df 88 00 00 c3 |....o..T|........|
|000023f0| ff ff 00 00 57 74 65 02 | bc 50 b9 00 fd 33 f5 00 |....Wte.|.P...3..|
|00002400| 6f 05 00 ae f4 f9 00 b7 | 52 fc b2 ae fe af 47 bc |o.......|R.....G.|
|00002410| 00 0d 45 f9 00 6a b9 b5 | 22 01 00 04 f3 ec 01 bb |..E..j..|".......|
|00002420| cd fd 68 52 00 fe ad b5 | 00 f2 04 48 00 02 fd b6 |..hR....|...H....|
|00002430| 00 fd aa 08 b2 2a 07 00 | 19 fa fc 04 af 0f f2 00 |.....*..|........|
|00002440| 8e de 2d 28 00 59 cf ee | 00 00 a7 20 11 01 00 5e |..-(.Y..|... ...^|
|00002450| d0 5f 06 00 67 ff ff 10 | 3f 5c f2 5c 59 00 bc fe |._..g...|?\.\Y...|
|00002460| 7f 25 b0 00 20 00 03 e0 | d3 00 b4 06 00 af 00 00 |.%.. ...|........|
|00002470| f0 fa ff 04 0f 6b f8 6b | fc 0d 7b fc 6c 00 01 6b |.....k.k|..{.l..k|
|00002480| ff 61 46 5e c0 63 fa 6c | 0c 6b f4 16 8c 01 bd f9 |.aF^.c.l|.k......|
|00002490| a7 00 7a 98 5f 00 df ba | 1c b9 ca 92 af 41 1f 68 |..z._...|.....A.h|
|000024a0| bc b1 01 39 de 12 6b b2 | ed df b3 0b b0 ae f8 ef |...9..k.|........|
|000024b0| b0 30 00 1a 26 1e 6a af | 0c 3f 6b a9 0d 11 0c 1f |.0..&.j.|.?k.....|
|000024c0| 01 00 db e0 c0 00 14 b1 | f7 ff af ff ff 17 62 f4 |........|......b.|
|000024d0| b0 ff f8 c5 01 00 dd ff | ff 01 0f 6b fb 8b ff 7c |........|...k...||
|000024e0| 01 ae ff 8f ed 00 40 7c | 00 ae 00 70 00 00 70 a1 |......@||...p..p.|
|000024f0| 00 b7 00 f0 b1 00 f0 ba | 00 b0 d1 00 50 00 18 02 |........|....P...|
|00002500| 5a 00 b2 a0 ee 00 54 ff | 75 00 b5 f4 1f b0 24 e0 |Z.....T.|u.....$.|
|00002510| 2a 6b c4 2e 5d 84 7b 0c | 8b 8c 5c 64 5c f4 7a e8 |*k..].{.|..\d\.z.|
|00002520| 00 7e 80 f5 01 00 7a 00 | 03 01 d3 80 3e ee 00 40 |.~....z.|....>..@|
|00002530| 01 dd ff 81 9a 00 ae 73 | 98 5d 7e db 7f ce 5d 80 |.......s|.]~...].|
|00002540| de 90 57 b2 86 fe 00 fc | ff 6e 00 1d 11 29 13 54 |..W.....|.n...).T|
|00002550| 34 00 2d ff ff 00 5c 79 | 2c 4d 3f 0d 24 18 1e 14 |4.-...\y|,M?.$...|
|00002560| 1b 0c 18 2e 0d 0d 0d 01 | 10 00 72 dd ff 00 7c 71 |........|..r...|q|
|00002570| 5c 5c 00 56 00 00 03 af | e5 ff 18 b6 63 06 01 00 |\\.V....|....c...|
|00002580| 86 f9 f5 0f 00 f7 ff ff | 00 00 00 00 90 16 00 00 |........|........|
|00002590| d9 04 00 00 a7 02 00 00 | f9 00 00 00 00 00 00 00 |........|........|
|000025a0| a3 00 00 00 fb 04 a0 e3 | 3f 13 ce e3 04 00 01 e5 |........|?.......|
|000025b0| 2c 00 4f e2 00 3f 90 e8 | 0a a0 40 e0 09 90 4a e0 |,.O..?..|..@...J.|
|000025c0| 08 80 89 e0 89 6f 8f e2 | 08 00 56 e1 08 60 a0 b1 |.....o..|..V..`..|
|000025d0| 0c 10 8b e0 01 71 86 e0 | 0a 50 a0 e1 00 40 a0 e3 |.....q..|.P...@..|
|000025e0| 06 20 a0 e1 00 30 e0 e3 | 01 b0 5b e2 29 00 00 ba |. ...0..|..[.)...|
|000025f0| 01 10 d5 e4 0a 00 51 e2 | 13 00 00 aa 00 00 51 e3 |......Q.|......Q.|
|00002600| 0a 00 00 1a 01 00 d5 e4 | 01 10 d5 e4 01 04 80 e1 |........|........|
|00002610| 01 10 d5 e4 01 08 80 e1 | 00 00 54 e3 01 10 d5 04 |........|..T.....|
|00002620| 01 0c 80 01 00 30 83 e0 | 04 30 86 e4 ed ff ff ea |.....0..|.0......|
|00002630| 01 b0 4b e0 01 b0 8b e2 | 01 30 83 e2 04 30 86 e4 |..K.....|.0...0..|
|00002640| 01 10 51 e2 fb ff ff ca | e6 ff ff ea 5c 00 51 e3 |..Q.....|....\.Q.|
|00002650| 00 30 83 b0 04 30 86 b4 | e2 ff ff ba ae 00 51 e2 |.0...0..|......Q.|
|00002660| 06 00 00 ba 01 10 d5 e4 | 00 08 81 e1 01 10 d5 e4 |........|........|
|00002670| 01 04 80 e1 00 30 83 e0 | 04 30 86 e4 d9 ff ff ea |.....0..|.0......|
|00002680| 5c 00 51 e2 01 10 d5 e4 | 00 04 81 e1 00 30 83 e0 |\.Q.....|.....0..|
|00002690| 04 30 86 e4 d3 ff ff ea | 00 00 54 e3 04 00 00 1a |.0......|..T.....|
|000026a0| 0c b0 a0 e1 02 c0 a0 e1 | 06 20 a0 e1 01 40 a0 e3 |........|. ...@..|
|000026b0| ca ff ff ea 02 b0 a0 e1 | 18 50 8f e2 4d 6f 8f e2 |........|.P..Mo..|
|000026c0| 07 40 a0 e1 0f 00 b5 e8 | 0f 00 a7 e8 06 00 55 e1 |.@......|......U.|
|000026d0| fb ff ff ba 04 f0 a0 e1 | 0d 90 89 e0 04 80 48 e2 |........|......H.|
|000026e0| 09 00 5a e1 35 00 00 da | 01 60 7a e5 0f 30 06 e2 |..Z.5...|.`z..0..|
|000026f0| 09 00 53 e2 03 00 00 ba | 01 10 7a e5 00 04 81 e1 |..S.....|..z.....|
|00002700| 00 41 9c e7 10 00 00 ea | 02 00 53 e2 05 00 00 ba |.A......|..S.....|
|00002710| 01 10 7a e5 00 04 81 e1 | 00 01 9b e7 01 10 7a e5 |..z.....|......z.|
|00002720| 00 44 81 e1 08 00 00 ea | 03 40 b0 e1 06 00 00 0a |.D......|.@......|
|00002730| 01 00 7a e5 01 10 7a e5 | 01 04 80 e1 01 10 7a e5 |..z...z.|......z.|
|00002740| 01 08 80 e1 01 10 7a e5 | 01 4c 80 e1 26 32 a0 e1 |......z.|.L..&2..|
|00002750| 09 00 53 e2 04 00 00 ba | 01 10 7a e5 00 04 81 e1 |..S.....|..z.....|
|00002760| 00 51 9c e7 30 00 28 e9 | dc ff ff ea 02 00 53 e2 |.Q..0.(.|......S.|
|00002770| 06 00 00 ba 01 10 7a e5 | 00 04 81 e1 00 01 9b e7 |......z.|........|
|00002780| 01 10 7a e5 00 54 81 e1 | 30 00 28 e9 d3 ff ff ea |..z..T..|0.(.....|
|00002790| 03 50 b0 e1 30 00 28 09 | d0 ff ff 0a 01 00 7a e5 |.P..0.(.|......z.|
|000027a0| 01 10 7a e5 01 04 80 e1 | 01 10 7a e5 01 08 80 e1 |..z.....|..z.....|
|000027b0| 01 10 7a e5 01 5c 80 e1 | 30 00 28 e9 c7 ff ff ea |..z..\..|0.(.....|
|000027c0| 00 00 5d e3 07 00 00 da | 0d 60 49 e0 07 90 a0 e1 |..].....|.`I.....|
|000027d0| 0d a0 89 e0 0f 00 b6 e8 | 0f 00 a7 e8 10 d0 5d e2 |........|......].|
|000027e0| fb ff ff ca bd ff ff ea | 7c 80 48 e2 08 f0 a0 e1 |........||.H.....|
|000027f0| 72 63 63 20 33 2e 35 30 | 0a 20 20 20 20 20 20 20 |rcc 3.50|. |
|00002800| 20 20 20 20 20 20 20 46 | 69 6c 65 44 61 74 61 82 | F|ileData.|
|00002810| 21 52 75 6e 00 04 00 00 | 00 00 00 c1 00 00 00 43 |!Run....|.......C|
|00002820| eb ff ff 70 90 f0 16 03 | 00 ca c3 7c 20 3e 20 21 |...p....|...| > !|
|00002830| 4d 6e 65 6d 6f 73 79 6e | 65 2e 21 52 75 6e 0a 7c |Mnemosyn|e.!Run.||
|00002840| 0a 7c 20 54 61 73 6b 20 | 64 65 73 63 72 69 70 74 |.| Task |descript|
|00002850| 69 6f 6e 20 66 69 6c 65 | 20 66 6f 72 20 21 53 74 |ion file| for !St|
|00002860| 61 72 0a 7c 0a 49 63 6f | 6e 53 70 72 69 74 65 73 |ar.|.Ico|nSprites|
|00002870| 20 3c 4f 62 65 79 24 44 | 69 72 3e 2e 21 53 70 72 | <Obey$D|ir>.!Spr|
|00002880| 69 74 65 73 0a 2a 53 65 | 74 20 6d 6e 65 6d 24 44 |ites.*Se|t mnem$D|
|00002890| 69 72 20 3c 4f 62 65 79 | 24 44 69 72 3e 0a 2a 53 |ir <Obey|$Dir>.*S|
|000028a0| 65 74 20 41 6c 69 61 73 | 24 6d 6e 65 6d 6f 73 79 |et Alias|$mnemosy|
|000028b0| 6e 65 20 2a 2f 3c 6d 6e | 65 6d 24 64 69 72 3e 2e |ne */<mn|em$dir>.|
|000028c0| 21 52 75 6e 69 6d 61 67 | 65 20 25 25 2a 30 0a 2a |!Runimag|e %%*0.*|
|000028d0| 72 75 6e 20 3c 6f 62 65 | 79 24 64 69 72 3e 2e 21 |run <obe|y$dir>.!|
|000028e0| 57 69 6d 70 4d 61 6e 20 | 25 2a 30 0a 46 69 6c 65 |WimpMan |%*0.File|
|000028f0| 44 61 74 61 82 21 53 70 | 72 69 74 65 73 00 00 00 |Data.!Sp|rites...|
|00002900| e4 03 00 00 43 f9 ff ff | 70 90 f0 16 03 00 e5 79 |....C...|p......y|
|00002910| 02 00 00 00 10 00 00 00 | e8 03 00 00 d4 02 00 00 |........|........|
|00002920| 21 6d 6e 65 6d 6f 73 79 | 6e 65 00 00 04 00 00 00 |!mnemosy|ne......|
|00002930| 10 00 00 00 00 00 00 00 | 07 00 00 00 2c 00 00 00 |........|....,...|
|00002940| 80 01 00 00 0c 00 00 00 | 00 20 00 95 be be 7b 00 |........|. ....{.|
|00002950| 40 33 07 00 34 73 00 02 | 00 00 00 00 70 20 50 e9 |@3..4s..|....p P.|
|00002960| eb eb bb 07 34 33 07 00 | 34 33 07 02 07 00 00 00 |....43..|43......|
|00002970| 00 20 50 e9 be be be 27 | 34 33 43 44 33 33 07 02 |. P....'|43CD33..|
|00002980| 00 00 00 00 70 20 50 e9 | eb eb bb 07 00 34 33 33 |....p P.|.....433|
|00002990| 33 07 00 02 07 00 00 00 | 00 20 50 e9 be be be 37 |3.......|. P....7|
|000029a0| 02 00 24 32 07 40 02 02 | 00 00 00 00 70 20 00 95 |..$2.@..|....p ..|
|000029b0| ee eb 7b 00 00 00 24 32 | 07 00 00 02 07 00 00 00 |..{...$2|........|
|000029c0| 00 20 00 95 be be 7b 01 | 22 02 24 32 07 31 01 02 |. ....{.|".$2.1..|
|000029d0| 00 00 00 00 70 20 00 50 | e9 bb 07 00 00 00 24 32 |....p .P|......$2|
|000029e0| 07 00 00 02 06 00 00 00 | 00 20 30 30 31 25 10 20 |........|. 001%. |
|000029f0| 21 00 24 32 17 31 00 02 | 00 00 00 00 70 20 00 00 |!.$2.1..|....p ..|
|00002a00| 30 05 00 00 00 00 24 32 | 07 00 00 02 07 00 00 00 |0.....$2|........|
|00002a10| 00 20 20 13 31 25 10 32 | 01 01 24 32 17 32 00 02 |. .1%.2|..$2.2..|
|00002a20| 00 00 00 00 70 20 10 22 | 32 05 00 00 00 00 24 32 |....p ."|2.....$2|
|00002a30| 07 00 00 02 07 00 00 00 | 00 20 03 00 30 05 22 00 |........|. ..0.".|
|00002a40| 01 10 24 32 07 10 01 02 | 00 00 00 00 10 03 00 07 |..$2....|........|
|00002a50| 30 05 00 20 00 34 33 33 | 33 07 00 02 31 00 00 00 |0.. .433|3...1...|
|00002a60| 03 00 00 07 34 43 00 00 | 34 33 43 44 33 33 17 32 |....4C..|43CD33.2|
|00002a70| 00 00 00 00 00 00 07 ee | 43 34 00 00 34 33 07 00 |........|C4..43..|
|00002a80| 34 33 05 00 00 00 00 00 | 00 e0 ee ee 42 24 00 00 |43......|....B$..|
|00002a90| 40 33 07 00 34 53 00 00 | 00 00 00 00 ff ff ff ff |@3..4S..|........|
|00002aa0| ff ff ff ff ff ff ff ff | ff ff ff ff ff 00 00 00 |........|........|
|00002ab0| ff ff ff ff ff ff ff ff | ff ff ff ff ff ff ff ff |........|........|
|00002ac0| ff 00 00 00 ff ff ff ff | ff ff ff ff ff ff ff ff |........|........|
|00002ad0| ff ff ff ff ff 00 00 00 | ff ff ff ff ff ff ff ff |........|........|
|00002ae0| ff ff ff ff ff ff ff ff | ff 00 00 00 ff ff ff ff |........|........|
|00002af0| ff ff ff ff ff ff ff ff | ff ff ff ff ff 00 00 00 |........|........|
|00002b00| ff ff ff ff ff ff ff ff | ff ff ff ff ff ff ff ff |........|........|
|00002b10| ff 00 00 00 ff ff ff ff | ff ff ff ff ff ff ff ff |........|........|
|00002b20| ff ff ff ff ff 00 00 00 | ff ff ff ff ff ff ff ff |........|........|
|00002b30| ff ff ff ff ff ff ff ff | ff 00 00 00 ff ff ff ff |........|........|
|00002b40| ff ff ff ff ff ff ff ff | ff ff ff ff ff 00 00 00 |........|........|
|00002b50| ff ff ff ff ff ff ff ff | ff ff ff ff ff ff ff ff |........|........|
|00002b60| ff 00 00 00 ff ff ff ff | ff ff ff ff ff ff ff ff |........|........|
|00002b70| ff ff ff ff ff 00 00 00 | ff ff ff ff ff ff ff ff |........|........|
|00002b80| ff ff ff ff ff ff ff ff | ff 00 00 00 ff ff 0f 00 |........|........|
|00002b90| f0 0f ff ff ff ff ff ff | ff ff ff ff ff 00 00 00 |........|........|
|00002ba0| ff 0f 00 00 f0 0f 00 f0 | ff ff ff ff ff ff ff ff |........|........|
|00002bb0| ff 00 00 00 0f 00 00 00 | ff ff 00 00 ff ff ff ff |........|........|
|00002bc0| ff ff ff ff 00 00 00 00 | 00 00 00 00 ff ff 00 00 |........|........|
|00002bd0| ff ff 0f 00 ff ff 0f 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002be0| f0 0f 00 00 f0 ff 0f 00 | ff ff 00 00 00 00 00 00 |........|........|
|00002bf0| 04 01 00 00 73 6d 21 6d | 6e 65 6d 6f 73 79 6e 65 |....sm!m|nemosyne|
|00002c00| 02 00 00 00 08 00 00 00 | 00 00 00 00 03 00 00 00 |........|........|
|00002c10| 2c 00 00 00 98 00 00 00 | 0c 00 00 00 00 00 00 00 |,.......|........|
|00002c20| 00 00 00 00 00 00 00 00 | 02 ee 0e 30 03 30 03 03 |........|...0.0..|
|00002c30| 00 00 00 00 02 ee 0e 30 | 33 33 03 00 00 00 00 00 |.......0|33......|
|00002c40| 02 ee 0e 00 20 03 00 03 | 00 00 00 00 02 ee 0e 00 |.... ...|........|
|00002c50| 20 03 00 00 00 00 00 00 | 02 30 00 00 20 03 00 03 | .......|.0.. ...|
|00002c60| 00 00 00 00 12 32 00 00 | 20 03 00 00 00 00 00 00 |.....2..| .......|
|00002c70| 00 30 00 32 33 33 03 30 | 00 00 00 00 00 40 03 30 |.0.233.0|.....@.0|
|00002c80| 03 30 03 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.0......|........|
|00002c90| f0 ff ff ff ff ff ff ff | ff ff ff ff f0 ff ff ff |........|........|
|00002ca0| ff ff ff ff ff ff ff ff | f0 ff ff ff ff ff ff ff |........|........|
|00002cb0| ff ff ff ff f0 ff ff ff | ff ff ff ff ff ff ff ff |........|........|
|00002cc0| f0 ff ff ff ff ff ff ff | ff ff ff ff f0 ff ff ff |........|........|
|00002cd0| ff ff 00 f0 ff ff ff ff | f0 ff ff ff 00 f0 00 ff |........|........|
|00002ce0| ff ff ff ff f0 ff ff ff | 00 f0 0f f0 0f f0 0f 00 |........|........|
|00002cf0| f0 ff ff ff 46 69 6c 65 | 44 61 74 61 82 21 57 69 |....File|Data.!Wi|
|00002d00| 6d 70 4d 61 6e 00 00 00 | 1a 16 00 00 43 fb ff ff |mpMan...|....C...|
|00002d10| 70 90 f0 16 03 00 cb 51 | 0d 00 0a 1b f4 20 3e 20 |p......Q|..... > |
|00002d20| 21 4d 6e 65 6d 6f 73 79 | 6e 65 2e 21 57 69 6d 70 |!Mnemosy|ne.!Wimp|
|00002d30| 4d 61 6e 0d 00 14 1b 45 | 78 65 63 43 6f 6d 6d 24 |Man....E|xecComm$|
|00002d40| 3d 22 52 65 64 6f 20 6c | 61 73 74 20 20 22 0d 00 |="Redo l|ast "..|
|00002d50| 1e 1b 4f 70 74 43 6f 6d | 6d 24 3d 20 22 53 65 74 |..OptCom|m$= "Set|
|00002d60| 20 6f 70 74 69 6f 6e 73 | 22 0d 00 28 73 43 6f 6d | options|"..(sCom|
|00002d70| 6d 61 6e 64 24 3d 22 6d | 6e 65 6d 6f 73 79 6e 65 |mand$="m|nemosyne|
|00002d80| 20 22 3a 20 54 61 73 6b | 24 3d 22 4d 6e 65 6d 6f | ": Task|$="Mnemo|
|00002d90| 73 79 6e 65 22 3a 20 4d | 65 6e 75 24 3d 22 4d 6e |syne": M|enu$="Mn|
|00002da0| 65 6d 6f 73 79 6e 65 20 | 63 6f 6d 6d 61 6e 64 20 |emosyne |command |
|00002db0| 6c 69 6e 65 22 3a 20 49 | 63 6f 6e 24 3d 22 53 21 |line": I|con$="S!|
|00002dc0| 6d 6e 65 6d 6f 73 79 6e | 65 22 3a 49 63 6f 6e 4e |mnemosyn|e":IconN|
|00002dd0| 61 6d 65 24 3d 22 4d 6e | 65 6d 6f 22 0d 00 32 0c |ame$="Mn|emo"..2.|
|00002de0| 4c 61 73 74 24 3d 22 22 | 0d 00 3c 14 f4 20 46 6f |Last$=""|..<.. Fo|
|00002df0| 72 20 41 33 31 30 2c 20 | 74 72 79 3a 0d 00 46 8b |r A310, |try:..F.|
|00002e00| f4 20 43 6f 6d 6d 61 6e | 64 24 3d 22 63 6f 6d 6d |. Comman|d$="comm|
|00002e10| 6f 6e 74 65 78 20 5c 70 | 61 67 65 6e 6f 3d 31 5c |ontex \p|ageno=1\|
|00002e20| 72 65 6c 61 78 5c 69 6e | 70 75 74 20 22 3a 52 45 |relax\in|put ":RE|
|00002e30| 4d 20 54 61 73 6b 24 3d | 22 54 65 58 20 6d 61 6e |M Task$=|"TeX man|
|00002e40| 22 3a 52 45 4d 20 4d 65 | 6e 75 24 3d 22 54 65 58 |":REM Me|nu$="TeX|
|00002e50| 20 63 6f 6d 6d 61 6e 64 | 20 6c 69 6e 65 22 3a 52 | command| line":R|
|00002e60| 45 4d 20 49 63 6f 6e 24 | 3d 22 53 21 74 65 78 22 |EM Icon$|="S!tex"|
|00002e70| 3a 52 45 4d 20 49 63 6f | 6e 4e 61 6d 65 24 3d 22 |:REM Ico|nName$="|
|00002e80| 54 65 58 33 31 30 22 0d | 00 50 1c c8 99 20 22 4f |TeX310".|.P... "O|
|00002e90| 53 5f 47 65 74 45 6e 76 | 22 20 b8 20 70 61 72 61 |S_GetEnv|" . para|
|00002ea0| 6d 73 24 0d 00 5a 67 de | 20 62 75 66 66 65 72 73 |ms$..Zg.| buffers|
|00002eb0| 25 20 32 35 35 2c 76 61 | 6c 69 64 62 75 66 66 65 |% 255,va|lidbuffe|
|00002ec0| 72 25 20 33 32 2c 71 25 | 20 32 35 35 2c 74 61 73 |r% 32,q%| 255,tas|
|00002ed0| 6b 69 64 25 20 34 2c 6d | 65 6e 75 25 20 32 35 35 |kid% 4,m|enu% 255|
|00002ee0| 2c 69 63 6f 6e 73 25 28 | 39 29 2c 74 65 78 74 62 |,icons%(|9),textb|
|00002ef0| 75 66 66 65 72 25 20 36 | 34 30 2c 63 6f 6d 6d 62 |uffer% 6|40,commb|
|00002f00| 75 66 66 65 72 25 20 36 | 34 30 0d 00 64 0d e0 3d |uffer% 6|40..d..=|
|00002f10| e0 2b 26 31 30 30 30 0d | 00 6e 0f 69 63 6f 6e 73 |.+&1000.|.n.icons|
|00002f20| 25 28 29 3d 2d 31 0d 00 | 78 0d 6e 69 63 6f 6e 73 |%()=-1..|x.nicons|
|00002f30| 25 3d 30 0d 00 82 17 24 | 76 61 6c 69 64 62 75 66 |%=0....$|validbuf|
|00002f40| 66 65 72 25 3d 49 63 6f | 6e 24 0d 00 8c 04 0d 00 |fer%=Ico|n$......|
|00002f50| 96 13 24 74 61 73 6b 69 | 64 25 3d 22 54 41 53 4b |..$taski|d%="TASK|
|00002f60| 22 0d 00 a0 5a c8 99 20 | 22 57 69 6d 70 5f 49 6e |"...Z.. |"Wimp_In|
|00002f70| 69 74 69 61 6c 69 73 65 | 22 2c 32 30 30 2c 21 74 |itialise|",200,!t|
|00002f80| 61 73 6b 69 64 25 2c 54 | 61 73 6b 24 20 b8 20 2c |askid%,T|ask$ . ,|
|00002f90| 6f 75 72 68 61 6e 64 6c | 65 25 3a f4 20 54 69 74 |ourhandl|e%:. Tit|
|00002fa0| 6c 65 20 66 6f 72 20 74 | 61 73 6b 20 6d 61 6e 61 |le for t|ask mana|
|00002fb0| 67 65 72 20 64 69 73 70 | 6c 61 79 0d 00 aa 11 ee |ger disp|lay.....|
|00002fc0| 20 85 20 f2 65 72 72 6f | 72 62 6f 78 0d 00 b4 1a | . .erro|rbox....|
|00002fd0| 70 25 3d a7 70 61 72 61 | 6d 73 24 2c 22 20 2d 71 |p%=.para|ms$," -q|
|00002fe0| 75 69 74 20 22 29 0d 00 | be 0a e7 20 70 25 20 8c |uit ")..|... p% .|
|00002ff0| 0d 00 c8 23 70 61 72 61 | 6d 73 24 3d c1 70 61 72 |...#para|ms$=.par|
|00003000| 61 6d 73 24 2c 70 25 2b | a9 22 20 2d 71 75 69 74 |ams$,p%+|." -quit|
|00003010| 20 22 29 0d 00 d2 2a c8 | 95 20 97 28 70 61 72 61 | ")...*.|. .(para|
|00003020| 6d 73 24 29 3d 33 32 20 | 70 61 72 61 6d 73 24 3d |ms$)=32 |params$=|
|00003030| c1 70 61 72 61 6d 73 24 | 2c 32 29 3a ce 0d 00 dc |.params$|,2):....|
|00003040| 18 e7 20 97 28 70 61 72 | 61 6d 73 24 29 3d 97 22 |.. .(par|ams$)=."|
|00003050| 22 22 22 20 8c 0d 00 e6 | 28 70 61 72 61 6d 73 24 |""" ....|(params$|
|00003060| 3d c1 70 61 72 61 6d 73 | 24 2c a7 70 61 72 61 6d |=.params|$,.param|
|00003070| 73 24 2c 22 22 22 22 2c | 32 29 2b 31 29 0d 00 f0 |s$,"""",|2)+1)...|
|00003080| 05 cc 0d 00 fa 25 70 61 | 72 61 6d 73 24 3d c1 70 |.....%pa|rams$=.p|
|00003090| 61 72 61 6d 73 24 2c a7 | 70 61 72 61 6d 73 24 2c |arams$,.|params$,|
|000030a0| 22 20 22 29 2b 31 29 0d | 01 04 05 cd 0d 01 0e 20 |" ")+1).|....... |
|000030b0| c8 95 20 70 61 72 61 6d | 73 24 3c 3e 22 22 20 80 |.. param|s$<>"" .|
|000030c0| 20 6e 69 63 6f 6e 73 25 | 3c 3e 31 30 0d 01 18 2a | nicons%|<>10...*|
|000030d0| c8 95 20 97 28 70 61 72 | 61 6d 73 24 29 3d 33 32 |.. .(par|ams$)=32|
|000030e0| 20 70 61 72 61 6d 73 24 | 3d c1 70 61 72 61 6d 73 | params$|=.params|
|000030f0| 24 2c 32 29 3a ce 0d 01 | 22 13 e7 20 70 61 72 61 |$,2):...|".. para|
|00003100| 6d 73 24 3c 3e 22 22 20 | 8c 0d 01 2c 18 e7 20 97 |ms$<>"" |...,.. .|
|00003110| 28 70 61 72 61 6d 73 24 | 29 3d 97 22 22 22 22 20 |(params$|)=."""" |
|00003120| 8c 0d 01 36 17 70 25 3d | a7 70 61 72 61 6d 73 24 |...6.p%=|.params$|
|00003130| 2c 22 22 22 22 2c 32 29 | 0d 01 40 19 63 6f 6d 24 |,"""",2)|..@.com$|
|00003140| 3d c1 70 61 72 61 6d 73 | 24 2c 32 2c 70 25 2d 32 |=.params|$,2,p%-2|
|00003150| 29 0d 01 4a 1a 70 61 72 | 61 6d 73 24 3d c1 70 61 |)..J.par|ams$=.pa|
|00003160| 72 61 6d 73 24 2c 70 25 | 2b 31 29 0d 01 54 05 cc |rams$,p%|+1)..T..|
|00003170| 0d 01 5e 18 70 25 3d a7 | 70 61 72 61 6d 73 24 2b |..^.p%=.|params$+|
|00003180| 22 20 22 2c 22 20 22 29 | 0d 01 68 17 63 6f 6d 24 |" "," ")|..h.com$|
|00003190| 3d c0 70 61 72 61 6d 73 | 24 2c 70 25 2d 31 29 0d |=.params|$,p%-1).|
|000031a0| 01 72 1a 70 61 72 61 6d | 73 24 3d c1 70 61 72 61 |.r.param|s$=.para|
|000031b0| 6d 73 24 2c 70 25 2b 31 | 29 0d 01 7c 05 cd 0d 01 |ms$,p%+1|)..|....|
|000031c0| 86 15 f2 6e 65 77 69 63 | 6f 6e 28 71 25 2c 63 6f |...newic|on(q%,co|
|000031d0| 6d 24 29 0d 01 90 05 cd | 0d 01 9a 05 ce 0d 01 a4 |m$).....|........|
|000031e0| 05 cc 0d 01 ae 49 f2 6e | 65 77 69 63 6f 6e 28 71 |.....I.n|ewicon(q|
|000031f0| 25 2c 43 6f 6d 6d 61 6e | 64 24 29 3a f4 20 54 68 |%,Comman|d$):. Th|
|00003200| 69 73 20 69 73 20 77 68 | 61 74 20 79 6f 75 20 67 |is is wh|at you g|
|00003210| 65 74 20 69 66 20 79 6f | 75 20 42 41 53 49 43 20 |et if yo|u BASIC |
|00003220| 3c 74 68 69 73 20 66 69 | 6c 65 3e 0d 01 b8 05 cd |<this fi|le>.....|
|00003230| 0d 01 c2 04 0d 01 cc 36 | e7 20 6e 69 63 6f 6e 73 |.......6|. nicons|
|00003240| 25 3d 30 20 f2 6e 65 77 | 69 63 6f 6e 28 71 25 2c |%=0 .new|icon(q%,|
|00003250| 43 6f 6d 6d 61 6e 64 24 | 29 3a f4 20 53 74 61 72 |Command$|):. Star|
|00003260| 74 2d 75 70 20 74 69 74 | 6c 65 0d 01 d6 04 0d 01 |t-up tit|le......|
|00003270| e0 05 f5 0d 01 ea 3f c8 | 99 20 22 57 69 6d 70 5f |......?.|. "Wimp_|
|00003280| 50 6f 6c 6c 22 2c ac 28 | 28 33 3c 3c 31 37 29 84 |Poll",.(|(3<<17).|
|00003290| 28 31 3c 3c 39 29 84 28 | 31 3c 3c 38 29 84 28 31 |(1<<9).(|1<<8).(1|
|000032a0| 3c 3c 36 29 29 2c 71 25 | 20 b8 20 72 65 61 73 6f |<<6)),q%| . reaso|
|000032b0| 6e 25 0d 01 f4 10 c8 8e | 20 72 65 61 73 6f 6e 25 |n%......| reason%|
|000032c0| 20 ca 0d 01 fe 18 c9 20 | 36 3a f2 6d 6f 75 73 65 | ...... |6:.mouse|
|000032d0| 62 75 74 74 6f 6e 28 71 | 25 29 0d 02 08 17 c9 20 |button(q|%)..... |
|000032e0| 39 3a f2 6d 65 6e 75 73 | 65 6c 65 63 74 28 71 25 |9:.menus|elect(q%|
|000032f0| 29 0d 02 12 18 c9 20 31 | 37 2c 31 38 3a f2 6d 65 |)..... 1|7,18:.me|
|00003300| 73 73 61 67 65 28 71 25 | 29 0d 02 1c 05 cb 0d 02 |ssage(q%|).......|
|00003310| 26 06 fd 30 0d 02 30 04 | 0d 02 3a 11 dd f2 6d 65 |&..0..0.|..:...me|
|00003320| 73 73 61 67 65 28 71 25 | 29 0d 02 44 0e c8 8e 20 |ssage(q%|)..D... |
|00003330| 71 25 21 31 36 20 ca 0d | 02 4e 0c c9 20 30 3a f2 |q%!16 ..|.N.. 0:.|
|00003340| 65 6e 64 0d 02 58 0d c9 | 20 33 3a f2 74 61 73 6b |end..X..| 3:.task|
|00003350| 0d 02 62 05 cb 0d 02 6c | 05 e1 0d 02 76 04 0d 02 |..b....l|....v...|
|00003360| 80 0a dd f2 74 61 73 6b | 0d 02 8a 0d ea 20 70 25 |....task|..... p%|
|00003370| 2c 67 6f 74 25 0d 02 94 | 10 e7 20 71 25 21 32 30 |,got%...|.. q%!20|
|00003380| 3d 2d 32 20 8c 0d 02 9e | 0b 67 6f 74 25 3d 2d 31 |=-2 ....|.got%=-1|
|00003390| 0d 02 a8 16 c8 95 20 70 | 25 3c 31 30 20 80 20 67 |...... p|%<10 . g|
|000033a0| 6f 74 25 3d 2d 31 0d 02 | b2 1e e7 20 69 63 6f 6e |ot%=-1..|... icon|
|000033b0| 73 25 28 70 25 29 3d 71 | 25 21 32 34 20 67 6f 74 |s%(p%)=q|%!24 got|
|000033c0| 25 3d 70 25 0d 02 bc 09 | 70 25 2b 3d 31 0d 02 c6 |%=p%....|p%+=1...|
|000033d0| 05 ce 0d 02 d0 10 e7 20 | 67 6f 74 25 3c 3e 2d 31 |....... |got%<>-1|
|000033e0| 20 8c 0d 02 da 22 f2 72 | 75 6e 6d 6f 72 69 61 28 | ....".r|unmoria(|
|000033f0| a4 67 65 74 73 74 72 28 | 71 25 2b 34 34 29 2c 67 |.getstr(|q%+44),g|
|00003400| 6f 74 25 29 0d 02 e4 05 | cd 0d 02 ee 05 cd 0d 02 |ot%)....|........|
|00003410| f8 05 e1 0d 03 02 1b dd | f2 72 75 6e 6d 6f 72 69 |........|.runmori|
|00003420| 61 28 50 61 72 61 6d 24 | 2c 67 6f 74 25 29 0d 03 |a(Param$|,got%)..|
|00003430| 0c 07 ea 20 53 0d 03 16 | 13 de 20 53 20 a9 28 50 |... S...|.. S .(P|
|00003440| 61 72 61 6d 24 29 2b 31 | 0d 03 20 10 4c 61 73 74 |aram$)+1|.. .Last|
|00003450| 24 3d 50 61 72 61 6d 24 | 0d 03 2a 0d 24 53 3d 50 |$=Param$|..*.$S=P|
|00003460| 61 72 61 6d 24 0d 03 34 | 0b 49 3d a9 28 24 53 29 |aram$..4|.I=.($S)|
|00003470| 0d 03 3e 20 49 3d 49 2d | 31 3a e7 20 53 3f 49 20 |..> I=I-|1:. S?I |
|00003480| 3c 3e 20 97 28 22 2e 22 | 29 20 e5 20 8d 54 7e 43 |<> .("."|) . .T~C|
|00003490| 0d 03 48 0a 53 3f 49 3d | 31 33 0d 03 52 24 20 20 |..H.S?I=|13..R$ |
|000034a0| ff 28 22 2a 53 65 74 20 | 49 6e 64 65 6e 74 53 6f |.("*Set |IndentSo|
|000034b0| 75 72 63 65 20 22 2b 24 | 53 2b 22 2e 22 29 0d 03 |urce "+$|S+".")..|
|000034c0| 54 13 20 20 ff 28 22 2a | 64 69 72 20 22 2b 24 53 |T. .("*|dir "+$S|
|000034d0| 29 0d 03 5c 2f 20 20 50 | 61 72 61 6d 24 3d 22 3c |)..\/ P|aram$="<|
|000034e0| 49 6e 64 65 6e 74 53 6f | 75 72 63 65 3e 22 2b a4 |IndentSo|urce>"+.|
|000034f0| 66 69 6c 65 6e 61 6d 65 | 28 50 61 72 61 6d 24 29 |filename|(Param$)|
|00003500| 0d 03 5d 3f 20 20 50 61 | 72 61 6d 24 3d 22 22 3a |..]? Pa|ram$="":|
|00003510| f4 20 4e 6f 20 70 61 72 | 61 6d 20 6e 65 65 64 65 |. No par|am neede|
|00003520| 64 20 66 6f 72 20 6d 6e | 65 6d 6f 73 79 6e 65 20 |d for mn|emosyne |
|00003530| 2d 20 6a 75 73 74 20 74 | 68 65 20 64 69 72 2e 0d |- just t|he dir..|
|00003540| 03 66 55 20 20 c8 99 20 | 22 4f 53 5f 53 75 62 73 |.fU .. |"OS_Subs|
|00003550| 74 69 74 75 74 65 41 72 | 67 73 22 2c 50 61 72 61 |tituteAr|gs",Para|
|00003560| 6d 24 2c 62 75 66 66 65 | 72 73 25 2c 32 35 35 2c |m$,buffe|rs%,255,|
|00003570| 24 28 63 6f 6d 6d 62 75 | 66 66 65 72 25 29 2b 22 |$(commbu|ffer%)+"|
|00003580| 20 22 2c a9 24 28 63 6f | 6d 6d 62 75 66 66 65 72 | ",.$(co|mmbuffer|
|00003590| 25 29 2b 31 0d 03 70 29 | 20 20 c8 99 20 22 57 69 |%)+1..p)| .. "Wi|
|000035a0| 6d 70 5f 53 6c 6f 74 53 | 69 7a 65 22 2c 2d 31 2c |mp_SlotS|ize",-1,|
|000035b0| 2d 31 20 b8 20 72 30 2c | 72 31 2c 72 32 0d 03 7a |-1 . r0,|r1,r2..z|
|000035c0| 25 20 20 c8 99 20 22 57 | 69 6d 70 5f 53 6c 6f 74 |% .. "W|imp_Slot|
|000035d0| 53 69 7a 65 22 2c 2d 31 | 2c 31 35 33 36 2a 31 30 |Size",-1|,1536*10|
|000035e0| 32 34 0d 03 84 23 20 20 | c8 99 20 22 58 57 69 6d |24...# |.. "XWim|
|000035f0| 70 5f 53 74 61 72 74 54 | 61 73 6b 22 2c 62 75 66 |p_StartT|ask",buf|
|00003600| 66 65 72 73 25 0d 03 8e | 42 20 20 c8 99 20 22 58 |fers%...|B .. "X|
|00003610| 57 69 6d 70 5f 53 6c 6f | 74 53 69 7a 65 22 2c 2d |Wimp_Slo|tSize",-|
|00003620| 31 2c 72 31 3a 20 f4 20 | 50 75 74 20 62 61 63 6b |1,r1: . |Put back|
|00003630| 20 68 6f 77 20 69 74 20 | 77 61 73 20 69 66 20 70 | how it |was if p|
|00003640| 6f 73 73 69 62 6c 65 0d | 03 9d 0f 20 20 ff 28 22 |ossible.|... .("|
|00003650| 62 61 63 6b 22 29 0d 03 | a2 05 e1 0d 03 ac 05 20 |back")..|....... |
|00003660| 0d 03 b6 04 0d 03 c0 14 | dd f2 6e 65 77 69 63 6f |........|..newico|
|00003670| 6e 28 71 25 2c 61 24 29 | 0d 03 ca 08 ea 20 6e 25 |n(q%,a$)|..... n%|
|00003680| 0d 03 d4 3c e7 20 61 24 | 3d 22 22 20 61 24 3d 22 |...<. a$|="" a$="|
|00003690| 43 6c 6f 6e 65 64 22 3a | f4 20 54 68 69 73 20 6f |Cloned":|. This o|
|000036a0| 6e 65 20 6e 65 76 65 72 | 20 63 61 6c 6c 65 64 20 |ne never| called |
|000036b0| 49 20 73 75 73 70 65 63 | 74 2e 2e 2e 0d 03 de 1d |I suspec|t.......|
|000036c0| c8 95 20 69 63 6f 6e 73 | 25 28 6e 25 29 3c 3e 2d |.. icons|%(n%)<>-|
|000036d0| 31 20 6e 25 2b 3d 31 3a | ce 0d 03 e8 4f 24 28 74 |1 n%+=1:|....O$(t|
|000036e0| 65 78 74 62 75 66 66 65 | 72 25 29 3d a4 6d 61 73 |extbuffe|r%)=.mas|
|000036f0| 73 61 67 65 28 61 24 29 | 3a f4 20 54 68 69 73 20 |sage(a$)|:. This |
|00003700| 69 73 20 77 68 61 74 20 | 69 73 20 69 6e 20 74 68 |is what |is in th|
|00003710| 65 20 69 6e 69 74 69 61 | 6c 20 74 79 70 65 2d 69 |e initia|l type-i|
|00003720| 6e 20 77 69 6e 64 6f 77 | 0d 03 f2 3b 24 28 63 6f |n window|...;$(co|
|00003730| 6d 6d 62 75 66 66 65 72 | 25 29 3d 61 24 3a f4 20 |mmbuffer|%)=a$:. |
|00003740| 77 61 73 20 6d 61 73 73 | 61 67 65 64 20 68 65 72 |was mass|aged her|
|00003750| 65 2e 2e 2e 20 6e 6f 77 | 20 64 6f 6e 65 20 62 65 |e... now| done be|
|00003760| 6c 6f 77 0d 03 fc 0b 71 | 25 21 30 3d 2d 31 0d 04 |low....q|%!0=-1..|
|00003770| 06 0a 71 25 21 34 3d 30 | 0d 04 10 0c 71 25 21 38 |..q%!4=0|....q%!8|
|00003780| 3d 2d 31 36 0d 04 1a 0d | 71 25 21 31 32 3d 31 32 |=-16....|q%!12=12|
|00003790| 38 0d 04 24 0c 71 25 21 | 31 36 3d 38 38 0d 04 2e |8..$.q%!|16=88...|
|000037a0| 46 71 25 21 32 30 3d 28 | 31 20 3c 3c 20 32 38 29 |Fq%!20=(|1 << 28)|
|000037b0| 84 28 37 20 3c 3c 20 32 | 34 29 84 28 33 20 3c 3c |.(7 << 2|4).(3 <<|
|000037c0| 20 31 32 29 84 28 31 20 | 3c 3c 20 38 29 84 28 31 | 12).(1 |<< 8).(1|
|000037d0| 20 3c 3c 20 35 29 84 28 | 31 20 3c 3c 20 33 29 84 | << 5).(|1 << 3).|
|000037e0| 28 33 29 0d 04 38 6b 71 | 25 21 32 34 3d 74 65 78 |(3)..8kq|%!24=tex|
|000037f0| 74 62 75 66 66 65 72 25 | 3a f4 20 49 66 20 75 73 |tbuffer%|:. If us|
|00003800| 65 20 74 65 78 74 62 75 | 66 66 65 72 20 68 65 72 |e textbu|ffer her|
|00003810| 65 2c 20 64 6f 6e 27 74 | 20 67 65 74 20 31 73 74 |e, don't| get 1st|
|00003820| 20 63 6f 72 72 65 63 74 | 20 6f 63 63 75 72 61 6e | correct| occuran|
|00003830| 63 65 20 6f 66 20 6e 61 | 6d 65 20 61 66 74 65 72 |ce of na|me after|
|00003840| 20 74 79 70 69 6e 67 20 | 69 74 20 69 6e 2e 0d 04 | typing |it in...|
|00003850| 42 2b f4 42 55 47 20 73 | 77 61 70 70 65 64 20 62 |B+.BUG s|wapped b|
|00003860| 75 66 66 73 20 69 6e 20 | 39 35 30 2c 20 6d 61 73 |uffs in |950, mas|
|00003870| 73 61 67 65 64 20 38 37 | 30 0d 04 4c 16 71 25 21 |saged 87|0..L.q%!|
|00003880| 32 38 3d 76 61 6c 69 64 | 62 75 66 66 65 72 25 0d |28=valid|buffer%.|
|00003890| 04 56 0c 71 25 21 33 32 | 3d 36 34 0d 04 60 29 c8 |.V.q%!32|=64..`).|
|000038a0| 99 20 22 57 69 6d 70 5f | 43 72 65 61 74 65 49 63 |. "Wimp_|CreateIc|
|000038b0| 6f 6e 22 2c 2c 71 25 20 | b8 20 69 63 6f 6e 73 25 |on",,q% |. icons%|
|000038c0| 28 6e 25 29 0d 04 6a 4d | f4 24 28 63 6f 6d 6d 62 |(n%)..jM|.$(commb|
|000038d0| 75 66 66 65 72 25 29 3d | 46 4e 6d 61 73 73 61 67 |uffer%)=|FNmassag|
|000038e0| 65 28 61 24 29 3a 52 45 | 4d 20 54 68 69 73 20 69 |e(a$):RE|M This i|
|000038f0| 73 20 77 68 61 74 20 69 | 73 20 6f 6e 20 74 68 65 |s what i|s on the|
|00003900| 20 69 6e 69 74 69 61 6c | 20 43 4c 49 20 49 63 6f | initial| CLI Ico|
|00003910| 6e 0d 04 74 3c 71 25 21 | 32 34 3d 63 6f 6d 6d 62 |n..t<q%!|24=commb|
|00003920| 75 66 66 65 72 25 3a f4 | 20 54 45 53 54 49 4e 47 |uffer%:.| TESTING|
|00003930| 20 42 55 47 3a 20 63 68 | 61 6e 67 65 64 20 66 72 | BUG: ch|anged fr|
|00003940| 6f 6d 20 63 6f 6d 6d 2d | 3e 74 65 78 74 0d 04 7e |om comm-|>text..~|
|00003950| 0e 6e 69 63 6f 6e 73 25 | 2b 3d 31 0d 04 88 05 e1 |.nicons%|+=1.....|
|00003960| 0d 04 92 04 0d 04 9c 10 | dd a4 67 65 74 73 74 72 |........|..getstr|
|00003970| 28 61 25 29 0d 04 a6 08 | ea 20 61 24 0d 04 b0 1b |(a%)....|. a$....|
|00003980| c8 95 20 3f 61 25 20 61 | 24 2b 3d bd 3f 61 25 3a |.. ?a% a|$+=.?a%:|
|00003990| 61 25 2b 3d 31 3a ce 0d | 04 ba 07 3d 61 24 0d 04 |a%+=1:..|...=a$..|
|000039a0| c4 04 0d 04 ce 0f dd 20 | f2 65 72 72 6f 72 62 6f |....... |.errorbo|
|000039b0| 78 0d 04 d8 19 c8 99 20 | 22 57 69 6d 70 5f 44 72 |x...... |"Wimp_Dr|
|000039c0| 61 67 42 6f 78 22 2c 2c | 2d 31 0d 04 e2 32 21 62 |agBox",,|-1...2!b|
|000039d0| 75 66 66 65 72 73 25 3d | 9f 3a 24 28 62 75 66 66 |uffers%=|.:$(buff|
|000039e0| 65 72 73 25 2b 34 29 3d | f6 24 2b 22 20 61 74 20 |ers%+4)=|.$+" at |
|000039f0| 6c 69 6e 65 20 22 2b c3 | 9e 2b bd 30 0d 04 ec 2a |line "+.|.+.0...*|
|00003a00| c8 99 20 22 57 69 6d 70 | 5f 52 65 70 6f 72 74 45 |.. "Wimp|_ReportE|
|00003a10| 72 72 6f 72 22 2c 62 75 | 66 66 65 72 73 25 2c 31 |rror",bu|ffers%,1|
|00003a20| 2c 54 61 73 6b 24 0d 04 | f6 08 f2 65 6e 64 0d 05 |,Task$..|...end..|
|00003a30| 00 05 e1 0d 05 0a 04 0d | 05 14 0e dd f2 6d 61 6b |........|.....mak|
|00003a40| 65 6d 65 6e 75 0d 05 1e | 36 24 6d 65 6e 75 25 3d |emenu...|6$menu%=|
|00003a50| 4d 65 6e 75 24 3a f4 20 | 54 69 74 6c 65 20 61 74 |Menu$:. |Title at|
|00003a60| 20 74 6f 70 20 6f 66 20 | 6d 65 6e 75 20 77 68 65 | top of |menu whe|
|00003a70| 6e 20 63 61 6c 6c 65 64 | 20 75 70 0d 05 28 0e 6d |n called| up..(.m|
|00003a80| 65 6e 75 25 3f 31 32 3d | 37 0d 05 32 0e 6d 65 6e |enu%?12=|7..2.men|
|00003a90| 75 25 3f 31 33 3d 32 0d | 05 3c 0e 6d 65 6e 75 25 |u%?13=2.|.<.menu%|
|00003aa0| 3f 31 34 3d 37 0d 05 46 | 0e 6d 65 6e 75 25 3f 31 |?14=7..F|.menu%?1|
|00003ab0| 35 3d 30 0d 05 50 10 6d | 65 6e 75 25 21 31 36 3d |5=0..P.m|enu%!16=|
|00003ac0| 31 38 38 0d 05 5a 0f 6d | 65 6e 75 25 21 32 30 3d |188..Z.m|enu%!20=|
|00003ad0| 34 30 0d 05 64 0e 6d 65 | 6e 75 25 21 32 34 3d 30 |40..d.me|nu%!24=0|
|00003ae0| 0d 05 6e 0f 6d 25 3d 6d | 65 6e 75 25 2b 32 38 0d |..n.m%=m|enu%+28.|
|00003af0| 05 78 0a 6d 25 21 30 3d | 30 0d 05 82 0b 6d 25 21 |.x.m%!0=|0....m%!|
|00003b00| 34 3d 2d 31 0d 05 8c 28 | 6d 25 21 38 3d 28 37 3c |4=-1...(|m%!8=(7<|
|00003b10| 3c 32 34 29 84 28 2d 28 | 6e 69 63 6f 6e 73 25 3d |<24).(-(|nicons%=|
|00003b20| 31 30 29 3c 3c 32 32 29 | 84 28 31 29 0d 05 96 16 |10)<<22)|.(1)....|
|00003b30| 24 28 6d 25 2b 31 32 29 | 3d 45 78 65 63 43 6f 6d |$(m%+12)|=ExecCom|
|00003b40| 6d 24 0d 05 a0 0a 6d 25 | 2b 3d 32 34 0d 05 aa 0a |m$....m%|+=24....|
|00003b50| 6d 25 21 30 3d 30 0d 05 | b4 0e 6d 25 21 34 3d 6d |m%!0=0..|..m%!4=m|
|00003b60| 25 2b 34 38 0d 05 be 14 | 6d 25 21 38 3d 28 37 3c |%+48....|m%!8=(7<|
|00003b70| 3c 32 34 29 84 28 31 29 | 0d 05 c8 15 24 28 6d 25 |<24).(1)|....$(m%|
|00003b80| 2b 31 32 29 3d 4f 70 74 | 43 6f 6d 6d 24 0d 05 d2 |+12)=Opt|Comm$...|
|00003b90| 0a 6d 25 2b 3d 32 34 0d | 05 dc 0c 6d 25 21 30 3d |.m%+=24.|...m%!0=|
|00003ba0| 26 38 30 0d 05 e6 0b 6d | 25 21 34 3d 2d 31 0d 05 |&80....m|%!4=-1..|
|00003bb0| f0 14 6d 25 21 38 3d 28 | 37 3c 3c 32 34 29 84 28 |..m%!8=(|7<<24).(|
|00003bc0| 31 29 0d 05 fa 1a 24 28 | 6d 25 2b 31 32 29 3d 22 |1)....$(|m%+12)="|
|00003bd0| 51 75 69 74 20 20 20 20 | 20 20 20 22 0d 06 04 0a |Quit | "....|
|00003be0| 6d 25 2b 3d 32 34 0d 06 | 0e 11 24 6d 25 3d 22 43 |m%+=24..|..$m%="C|
|00003bf0| 6f 6d 6d 61 6e 64 22 0d | 06 18 0b 6d 25 3f 31 32 |ommand".|...m%?12|
|00003c00| 3d 37 0d 06 22 0b 6d 25 | 3f 31 33 3d 32 0d 06 2c |=7..".m%|?13=2..,|
|00003c10| 0b 6d 25 3f 31 34 3d 37 | 0d 06 36 0b 6d 25 3f 31 |.m%?14=7|..6.m%?1|
|00003c20| 35 3d 30 0d 06 40 0d 6d | 25 21 31 36 3d 31 36 30 |5=0..@.m|%!16=160|
|00003c30| 0d 06 4a 0c 6d 25 21 32 | 30 3d 34 30 0d 06 54 0b |..J.m%!2|0=40..T.|
|00003c40| 6d 25 21 32 34 3d 30 0d | 06 5e 0a 6d 25 2b 3d 32 |m%!24=0.|.^.m%+=2|
|00003c50| 38 0d 06 68 0c 6d 25 21 | 30 3d 26 38 34 0d 06 72 |8..h.m%!|0=&84..r|
|00003c60| 0b 6d 25 21 34 3d 2d 31 | 0d 06 7c 1b 6d 25 21 38 |.m%!4=-1|..|.m%!8|
|00003c70| 3d 28 37 3c 3c 32 34 29 | 84 28 31 3c 3c 38 29 84 |=(7<<24)|.(1<<8).|
|00003c80| 28 31 29 0d 06 86 12 6d | 25 21 31 32 3d 62 75 66 |(1)....m|%!12=buf|
|00003c90| 66 65 72 73 25 0d 06 90 | 0c 6d 25 21 31 36 3d 2d |fers%...|.m%!16=-|
|00003ca0| 31 0d 06 9a 0c 6d 25 21 | 32 30 3d 36 34 0d 06 a4 |1....m%!|20=64...|
|00003cb0| 40 24 62 75 66 66 65 72 | 73 25 3d 24 28 63 6f 6d |@$buffer|s%=$(com|
|00003cc0| 6d 62 75 66 66 65 72 25 | 29 3a f4 20 42 55 47 20 |mbuffer%|):. BUG |
|00003cd0| 75 73 65 20 77 68 69 63 | 68 3f 20 3c 74 65 73 74 |use whic|h? <test|
|00003ce0| 65 64 20 6f 74 68 65 72 | 20 6f 6e 65 3e 0d 06 ae |ed other| one>...|
|00003cf0| 05 e1 0d 06 b8 04 0d 06 | c2 15 dd f2 6d 6f 75 73 |........|....mous|
|00003d00| 65 62 75 74 74 6f 6e 28 | 71 25 29 0d 06 cc 0d ea |ebutton(|q%).....|
|00003d10| 20 70 25 2c 67 6f 74 25 | 0d 06 d6 0b 67 6f 74 25 | p%,got%|....got%|
|00003d20| 3d 2d 31 0d 06 e0 10 e7 | 20 71 25 21 31 32 3d 2d |=-1.....| q%!12=-|
|00003d30| 32 20 8c 0d 06 ea 16 c8 | 95 20 70 25 3c 31 30 20 |2 ......|. p%<10 |
|00003d40| 80 20 67 6f 74 25 3d 2d | 31 0d 06 f4 1e e7 20 69 |. got%=-|1..... i|
|00003d50| 63 6f 6e 73 25 28 70 25 | 29 3d 71 25 21 31 36 20 |cons%(p%|)=q%!16 |
|00003d60| 67 6f 74 25 3d 70 25 0d | 06 fe 09 70 25 2b 3d 31 |got%=p%.|...p%+=1|
|00003d70| 0d 07 08 05 ce 0d 07 12 | 10 e7 20 67 6f 74 25 3c |........|.. got%<|
|00003d80| 3e 2d 31 20 8c 0d 07 1c | 0d c8 8e 20 71 25 21 38 |>-1 ....|... q%!8|
|00003d90| 20 ca 0d 07 26 16 c9 20 | 32 3a 6d 65 6e 75 69 63 | ...&.. |2:menuic|
|00003da0| 6f 6e 25 3d 67 6f 74 25 | 0d 07 30 0d f2 6d 61 6b |on%=got%|..0..mak|
|00003db0| 65 6d 65 6e 75 0d 07 3a | 2d c8 99 20 22 57 69 6d |emenu..:|-.. "Wim|
|00003dc0| 70 5f 43 72 65 61 74 65 | 4d 65 6e 75 22 2c 2c 6d |p_Create|Menu",,m|
|00003dd0| 65 6e 75 25 2c 28 71 25 | 21 30 29 2d 36 34 2c 32 |enu%,(q%|!0)-64,2|
|00003de0| 31 36 0d 07 44 20 c9 20 | 31 2c 34 3a 20 f2 72 75 |16..D . |1,4: .ru|
|00003df0| 6e 6d 6f 72 69 61 28 4c | 61 73 74 24 2c 67 6f 74 |nmoria(L|ast$,got|
|00003e00| 25 29 0d 07 4e 05 cb 0d | 07 58 05 cd 0d 07 62 05 |%)..N...|.X....b.|
|00003e10| cd 0d 07 6c 05 e1 0d 07 | 76 05 20 0d 07 80 1f dd |...l....|v. .....|
|00003e20| a4 6d 61 73 73 61 67 65 | 28 4e 61 6d 65 24 29 3a |.massage|(Name$):|
|00003e30| 3d 49 63 6f 6e 4e 61 6d | 65 24 0d 07 8a 2f ea 20 |=IconNam|e$.../. |
|00003e40| 53 20 20 20 20 20 20 20 | 20 20 3a f4 20 57 68 65 |S | :. Whe|
|00003e50| 72 65 20 64 6f 65 73 20 | 6e 61 6d 65 20 67 65 74 |re does |name get|
|00003e60| 20 63 68 61 6e 67 65 64 | 3f 0d 07 94 12 de 20 53 | changed|?..... S|
|00003e70| 20 a9 28 4e 61 6d 65 24 | 29 2b 31 0d 07 9e 0c 24 | .(Name$|)+1....$|
|00003e80| 53 3d 4e 61 6d 65 24 0d | 07 a8 0b ea 20 49 3a 49 |S=Name$.|.... I:I|
|00003e90| 3d 53 0d 07 b2 2c c8 95 | 20 28 28 3f 49 20 3c 3e |=S...,..| ((?I <>|
|00003ea0| 20 33 32 29 20 80 20 28 | 3f 49 20 3c 3e 20 31 33 | 32) . (|?I <> 13|
|00003eb0| 29 29 3a 20 20 49 3d 49 | 2b 31 3a 20 20 ce 0d 07 |)): I=I|+1: ...|
|00003ec0| bc 0d 3f 49 3d 31 33 3a | 3d 24 53 0d 07 c6 04 0d |..?I=13:|=$S.....|
|00003ed0| 07 d0 14 dd f2 6d 65 6e | 75 73 65 6c 65 63 74 28 |.....men|uselect(|
|00003ee0| 71 25 29 0d 07 da 0d c8 | 8e 20 71 25 21 30 20 ca |q%).....|. q%!0 .|
|00003ef0| 0d 07 e4 44 c9 20 30 3a | f2 72 75 6e 6d 6f 72 69 |...D. 0:|.runmori|
|00003f00| 61 28 4c 61 73 74 24 2c | 31 29 3a 20 f4 20 41 73 |a(Last$,|1): . As|
|00003f10| 73 75 6d 65 20 31 73 74 | 20 63 6f 70 79 20 6f 66 |sume 1st| copy of|
|00003f20| 20 69 63 6f 6e 3f 3f 3f | 20 42 55 47 20 31 20 6f | icon???| BUG 1 o|
|00003f30| 72 20 30 3f 0d 07 ee 51 | c9 20 31 3a 24 28 74 65 |r 0?...Q|. 1:$(te|
|00003f40| 78 74 62 75 66 66 65 72 | 25 29 3d 24 28 62 75 66 |xtbuffer|%)=$(buf|
|00003f50| 66 65 72 73 25 29 3a f4 | 20 54 68 69 73 20 69 73 |fers%):.| This is|
|00003f60| 20 77 68 61 74 20 69 73 | 20 70 75 74 20 75 70 20 | what is| put up |
|00003f70| 69 6e 20 74 68 65 20 74 | 79 70 65 2d 69 6e 20 77 |in the t|ype-in w|
|00003f80| 69 6e 64 6f 77 0d 07 f8 | 99 24 28 74 65 78 74 62 |indow...|.$(textb|
|00003f90| 75 66 66 65 72 25 29 3d | a4 6d 61 73 73 61 67 65 |uffer%)=|.massage|
|00003fa0| 28 24 28 62 75 66 66 65 | 72 73 25 29 29 3a f4 20 |($(buffe|rs%)):. |
|00003fb0| 54 68 69 73 20 69 73 20 | 77 68 61 74 20 69 73 20 |This is |what is |
|00003fc0| 70 75 74 20 75 70 20 61 | 66 74 65 72 20 63 68 61 |put up a|fter cha|
|00003fd0| 6e 67 69 6e 67 20 74 68 | 65 20 63 6f 6d 6d 61 6e |nging th|e comman|
|00003fe0| 64 2c 20 62 75 74 20 61 | 66 74 65 72 20 65 78 65 |d, but a|fter exe|
|00003ff0| 63 75 74 69 6f 6e 20 74 | 68 65 20 64 69 73 70 6c |cution t|he displ|
|00004000| 61 79 20 73 68 6f 77 73 | 20 74 68 65 20 61 63 74 |ay shows| the act|
|00004010| 75 61 6c 20 63 6f 6d 6d | 61 6e 64 20 3a 28 0d 08 |ual comm|and :(..|
|00004020| 02 39 f4 20 42 55 47 20 | 54 48 45 20 41 42 4f 56 |.9. BUG |THE ABOV|
|00004030| 45 20 4c 4f 4f 4b 53 20 | 44 41 46 54 21 21 21 20 |E LOOKS |DAFT!!! |
|00004040| 20 20 28 77 68 65 6e 20 | 69 74 20 77 61 73 20 63 | (when |it was c|
|00004050| 6f 6d 6d 2e 2e 2e 29 0d | 08 0c 4c 71 25 21 30 3d |omm...).|..Lq%!0=|
|00004060| 2d 32 3a 71 25 21 34 3d | 69 63 6f 6e 73 25 28 6d |-2:q%!4=|icons%(m|
|00004070| 65 6e 75 69 63 6f 6e 25 | 29 3a 71 25 21 38 3d 30 |enuicon%|):q%!8=0|
|00004080| 3a 71 25 21 31 32 3d 30 | 3a c8 99 20 22 57 69 6d |:q%!12=0|:.. "Wim|
|00004090| 70 5f 53 65 74 49 63 6f | 6e 53 74 61 74 65 22 2c |p_SetIco|nState",|
|000040a0| 2c 71 25 0d 08 16 50 24 | 28 63 6f 6d 6d 62 75 66 |,q%...P$|(commbuf|
|000040b0| 66 65 72 25 29 3d 24 28 | 62 75 66 66 65 72 73 25 |fer%)=$(|buffers%|
|000040c0| 29 3a f4 20 54 68 69 73 | 20 69 73 20 74 68 65 20 |):. This| is the |
|000040d0| 73 74 72 69 6e 67 20 74 | 68 61 74 20 61 63 74 75 |string t|hat actu|
|000040e0| 61 6c 6c 79 20 67 65 74 | 73 20 65 78 65 63 75 74 |ally get|s execut|
|000040f0| 65 64 21 0d 08 20 28 24 | 28 74 65 78 74 62 75 66 |ed!.. ($|(textbuf|
|00004100| 66 65 72 25 29 3d a4 6d | 61 73 73 61 67 65 28 24 |fer%)=.m|assage($|
|00004110| 28 62 75 66 66 65 72 73 | 25 29 29 0d 08 2a 4d f4 |(buffers|%))..*M.|
|00004120| 20 54 48 45 20 4c 49 4e | 45 20 41 42 4f 56 45 20 | THE LIN|E ABOVE |
|00004130| 53 45 54 53 20 43 4f 4d | 4d 41 4e 44 20 46 52 4f |SETS COM|MAND FRO|
|00004140| 4d 20 54 59 50 45 2d 49 | 4e 20 53 54 52 49 4e 47 |M TYPE-I|N STRING|
|00004150| 20 2d 20 57 48 41 54 20 | 41 42 4f 55 54 20 4d 41 | - WHAT |ABOUT MA|
|00004160| 53 53 41 47 45 20 42 55 | 0d 08 34 0b f2 72 65 6d |SSAGE BU|..4..rem|
|00004170| 65 6e 75 0d 08 3e 3f c9 | 20 32 3a 71 25 21 30 3d |enu..>?.| 2:q%!0=|
|00004180| 2d 32 3a 71 25 21 34 3d | 69 63 6f 6e 73 25 28 6d |-2:q%!4=|icons%(m|
|00004190| 65 6e 75 69 63 6f 6e 25 | 29 3a c8 99 20 22 57 69 |enuicon%|):.. "Wi|
|000041a0| 6d 70 5f 44 65 6c 65 74 | 65 49 63 6f 6e 22 2c 2c |mp_Delet|eIcon",,|
|000041b0| 71 25 0d 08 48 18 69 63 | 6f 6e 73 25 28 6d 65 6e |q%..H.ic|ons%(men|
|000041c0| 75 69 63 6f 6e 25 29 3d | 2d 31 0d 08 52 0e 6e 69 |uicon%)=|-1..R.ni|
|000041d0| 63 6f 6e 73 25 2d 3d 31 | 0d 08 5c 14 e7 20 6e 69 |cons%-=1|..\.. ni|
|000041e0| 63 6f 6e 73 25 3d 30 20 | f2 65 6e 64 0d 08 66 05 |cons%=0 |.end..f.|
|000041f0| cb 0d 08 70 05 e1 0d 08 | 7a 04 0d 08 84 0c dd f2 |...p....|z.......|
|00004200| 72 65 6d 65 6e 75 0d 08 | 8e 20 c8 99 20 22 57 69 |remenu..|. .. "Wi|
|00004210| 6d 70 5f 47 65 74 50 6f | 69 6e 74 65 72 49 6e 66 |mp_GetPo|interInf|
|00004220| 6f 22 2c 2c 71 25 0d 08 | 98 3c e7 20 71 25 21 38 |o",,q%..|.<. q%!8|
|00004230| 3d 31 20 f2 6d 61 6b 65 | 6d 65 6e 75 3a c8 99 20 |=1 .make|menu:.. |
|00004240| 22 57 69 6d 70 5f 43 72 | 65 61 74 65 4d 65 6e 75 |"Wimp_Cr|eateMenu|
|00004250| 22 2c 2c 6d 65 6e 75 25 | 2c 71 25 21 30 2c 71 25 |",,menu%|,q%!0,q%|
|00004260| 21 34 0d 08 a2 05 e1 0d | 08 ac 04 0d 08 b6 09 dd |!4......|........|
|00004270| f2 65 6e 64 0d 08 c0 2c | c8 99 22 57 69 6d 70 5f |.end...,|.."Wimp_|
|00004280| 43 6c 6f 73 65 44 6f 77 | 6e 22 2c 6f 75 72 68 61 |CloseDow|n",ourha|
|00004290| 6e 64 6c 65 25 2c 21 74 | 61 73 6b 69 64 25 3a e0 |ndle%,!t|askid%:.|
|000042a0| 0d 08 ca 05 e1 0d 08 d4 | 05 20 0d 08 de 12 dd a4 |........|. ......|
|000042b0| 66 69 6c 65 6e 61 6d 65 | 28 46 24 29 0d 08 e8 07 |filename|(F$)....|
|000042c0| ea 20 46 0d 08 f2 0f de | 20 46 20 a9 28 46 24 29 |. F.....| F .(F$)|
|000042d0| 2b 31 0d 08 fc 09 24 46 | 3d 46 24 0d 09 06 0b ea |+1....$F|=F$.....|
|000042e0| 20 53 3a 53 3d 46 0d 09 | 10 1b c8 95 20 28 3f 53 | S:S=F..|.... (?S|
|000042f0| 20 3c 3e 20 31 33 29 3a | 20 53 3d 53 2b 31 3a 20 | <> 13):| S=S+1: |
|00004300| ce 0d 09 1a 1f c8 95 20 | 28 3f 53 20 3c 3e 20 97 |....... |(?S <> .|
|00004310| 28 22 2e 22 29 29 3a 20 | 53 3d 53 2d 31 3a 20 ce |(".")): |S=S-1: .|
|00004320| 0d 09 24 09 53 3d 53 2b | 31 0d 09 2e 07 3d 24 53 |..$.S=S+|1....=$S|
|00004330| 0d ff 46 69 6c 65 44 61 | 74 61 82 4d 4e 45 4d 41 |..FileDa|ta.MNEMA|
|00004340| 4c 59 53 45 00 00 c4 03 | 00 00 43 ff ff ff 70 90 |LYSE....|..C...p.|
|00004350| f0 16 03 00 e4 5e 2e 5c | 22 20 24 48 65 61 64 65 |.....^.\|" $Heade|
|00004360| 72 3a 20 6d 6e 65 6d 61 | 6c 79 73 65 2e 31 6c 20 |r: mnema|lyse.1l |
|00004370| 31 2e 31 20 39 30 2f 31 | 32 2f 32 38 20 6d 6a 72 |1.1 90/1|2/28 mjr|
|00004380| 20 52 65 6c 20 24 0a 2e | 54 48 20 6d 6e 65 6d 61 | Rel $..|TH mnema|
|00004390| 6c 79 73 65 20 31 0a 2e | 53 48 20 4e 61 6d 65 0a |lyse 1..|SH Name.|
|000043a0| 6d 6e 65 6d 61 6c 79 73 | 65 20 5c 2d 20 61 6e 61 |mnemalys|e \- ana|
|000043b0| 6c 79 73 65 20 64 79 6e | 61 6d 69 63 20 6d 65 6d |lyse dyn|amic mem|
|000043c0| 6f 72 79 20 61 6c 6c 6f | 63 61 74 69 6f 6e 20 73 |ory allo|cation s|
|000043d0| 74 61 74 69 73 74 69 63 | 73 0a 2e 53 48 20 53 79 |tatistic|s..SH Sy|
|000043e0| 6e 74 61 78 0a 2e 42 20 | 6d 6e 65 6d 61 6c 79 73 |ntax..B |mnemalys|
|000043f0| 65 0a 2e 49 50 0a 54 68 | 65 0a 2e 49 20 6d 6e 65 |e..IP.Th|e..I mne|
|00004400| 6d 61 6c 79 73 65 0a 70 | 72 6f 67 72 61 6d 20 69 |malyse.p|rogram i|
|00004410| 6e 74 65 72 70 72 65 74 | 73 20 6d 6e 65 6d 6f 73 |nterpret|s mnemos|
|00004420| 79 6e 65 20 70 6f 69 6e | 74 65 72 20 61 6e 64 20 |yne poin|ter and |
|00004430| 73 79 6d 62 6f 6c 20 64 | 61 74 61 62 61 73 65 73 |symbol d|atabases|
|00004440| 20 61 6e 64 20 70 72 69 | 6e 74 73 0a 73 74 61 74 | and pri|nts.stat|
|00004450| 69 73 74 69 63 73 20 61 | 62 6f 75 74 20 64 79 6e |istics a|bout dyn|
|00004460| 61 6d 69 63 61 6c 6c 79 | 20 61 6c 6c 6f 63 61 74 |amically| allocat|
|00004470| 65 64 20 64 61 74 61 20 | 74 68 61 74 20 77 61 73 |ed data |that was|
|00004480| 20 6e 6f 74 20 66 72 65 | 65 64 2e 20 54 68 65 0a | not fre|ed. The.|
|00004490| 70 72 6f 67 72 61 6d 20 | 65 78 70 65 63 74 73 20 |program |expects |
|000044a0| 74 6f 20 66 69 6e 64 20 | 74 68 65 20 66 69 6c 65 |to find |the file|
|000044b0| 73 0a 2e 49 20 22 6d 6e | 65 6d 2e 73 79 6d 73 22 |s..I "mn|em.syms"|
|000044c0| 0a 61 6e 64 0a 2e 49 20 | 22 6d 6e 65 6d 2e 64 61 |.and..I |"mnem.da|
|000044d0| 74 22 0a 69 6e 20 74 68 | 65 20 63 75 72 72 65 6e |t".in th|e curren|
|000044e0| 74 20 77 6f 72 6b 69 6e | 67 20 64 69 72 65 63 74 |t workin|g direct|
|000044f0| 6f 72 79 2e 20 54 68 65 | 72 65 20 61 72 65 20 6e |ory. The|re are n|
|00004500| 6f 20 6f 70 74 69 6f 6e | 73 20 61 6e 64 20 74 68 |o option|s and th|
|00004510| 65 20 6f 75 74 70 75 74 | 0a 69 73 20 73 65 6c 66 |e output|.is self|
|00004520| 2d 65 78 70 6c 61 6e 61 | 74 6f 72 79 3a 0a 2e 45 |-explana|tory:..E|
|00004530| 58 0a 68 75 73 73 61 72 | 2d 3e 20 6d 6e 65 6d 61 |X.hussar|-> mnema|
|00004540| 6c 79 73 65 0a 39 32 32 | 20 62 79 74 65 73 20 6d |lyse.922| bytes m|
|00004550| 69 73 73 69 6e 67 20 6d | 74 65 73 74 2e 63 20 6c |issing m|test.c l|
|00004560| 69 6e 65 3a 31 39 0a 31 | 32 33 20 62 79 74 65 73 |ine:19.1|23 bytes|
|00004570| 20 6d 69 73 73 69 6e 67 | 20 6d 74 65 73 74 2e 63 | missing| mtest.c|
|00004580| 20 6c 69 6e 65 3a 32 30 | 0a 31 20 62 79 74 65 73 | line:20|.1 bytes|
|00004590| 20 6d 69 73 73 69 6e 67 | 20 6d 74 65 73 74 2e 63 | missing| mtest.c|
|000045a0| 20 6c 69 6e 65 3a 32 37 | 0a 32 20 62 79 74 65 73 | line:27|.2 bytes|
|000045b0| 20 6d 69 73 73 69 6e 67 | 20 6d 74 65 73 74 2e 63 | missing| mtest.c|
|000045c0| 20 6c 69 6e 65 3a 32 37 | 0a 33 20 62 79 74 65 73 | line:27|.3 bytes|
|000045d0| 20 6d 69 73 73 69 6e 67 | 20 6d 74 65 73 74 2e 63 | missing| mtest.c|
|000045e0| 20 6c 69 6e 65 3a 32 37 | 0a 34 20 62 79 74 65 73 | line:27|.4 bytes|
|000045f0| 20 6d 69 73 73 69 6e 67 | 20 6d 74 65 73 74 2e 63 | missing| mtest.c|
|00004600| 20 6c 69 6e 65 3a 32 37 | 0a 35 20 62 79 74 65 73 | line:27|.5 bytes|
|00004610| 20 6d 69 73 73 69 6e 67 | 20 6d 74 65 73 74 2e 63 | missing| mtest.c|
|00004620| 20 6c 69 6e 65 3a 32 37 | 0a 36 20 62 79 74 65 73 | line:27|.6 bytes|
|00004630| 20 6d 69 73 73 69 6e 67 | 20 6d 74 65 73 74 2e 63 | missing| mtest.c|
|00004640| 20 6c 69 6e 65 3a 32 37 | 0a 39 20 70 6f 69 6e 74 | line:27|.9 point|
|00004650| 65 72 73 2c 20 38 20 6c | 6f 73 74 20 74 6f 74 61 |ers, 8 l|ost tota|
|00004660| 6c 6c 69 6e 67 20 31 30 | 36 36 20 62 79 74 65 73 |lling 10|66 bytes|
|00004670| 0a 2e 45 45 0a 2e 53 48 | 20 46 69 6c 65 73 0a 2e |..EE..SH| Files..|
|00004680| 44 54 0a 6d 6e 65 6d 2e | 73 79 6d 73 09 09 53 6f |DT.mnem.|syms..So|
|00004690| 75 72 63 65 20 63 6f 64 | 65 20 6c 69 6e 65 20 6e |urce cod|e line n|
|000046a0| 75 6d 62 65 72 20 6d 61 | 70 0a 2e 62 72 0a 6d 6e |umber ma|p..br.mn|
|000046b0| 65 6d 2e 64 61 74 09 09 | 50 6f 69 6e 74 65 72 20 |em.dat..|Pointer |
|000046c0| 61 6c 6c 6f 63 61 74 69 | 6f 6e 20 6d 61 70 0a 2e |allocati|on map..|
|000046d0| 53 48 20 53 65 65 20 41 | 6c 73 6f 0a 6d 6e 65 6d |SH See A|lso.mnem|
|000046e0| 6f 73 79 6e 65 28 33 6c | 29 0a 2e 53 48 20 41 75 |osyne(3l|)..SH Au|
|000046f0| 74 68 6f 72 0a 4d 61 72 | 63 75 73 20 4a 2e 20 52 |thor.Mar|cus J. R|
|00004700| 61 6e 75 6d 20 28 6d 6a | 72 40 64 65 63 75 61 63 |anum (mj|r@decuac|
|00004710| 2e 64 65 63 2e 63 6f 6d | 29 0a 46 69 6c 65 44 61 |.dec.com|).FileDa|
|00004720| 74 61 82 4d 4e 45 4d 4f | 53 59 4e 45 00 00 86 18 |ta.MNEMO|SYNE....|
|00004730| 00 00 43 ff ff ff 38 91 | f0 16 03 00 00 6c 2e 5c |..C...8.|.....l.\|
|00004740| 22 20 24 48 65 61 64 65 | 72 3a 20 6d 6e 65 6d 6f |" $Heade|r: mnemo|
|00004750| 73 79 6e 65 2e 33 6c 20 | 31 2e 31 20 39 30 2f 31 |syne.3l |1.1 90/1|
|00004760| 32 2f 32 38 20 6d 6a 72 | 20 52 65 6c 20 24 0a 2e |2/28 mjr| Rel $..|
|00004770| 54 48 20 6d 6e 65 6d 6f | 73 79 6e 65 20 33 6c 0a |TH mnemo|syne 3l.|
|00004780| 2e 53 48 20 4e 61 6d 65 | 0a 6d 6e 65 6d 6f 73 79 |.SH Name|.mnemosy|
|00004790| 6e 65 3a 20 6d 6e 65 6d | 5f 6d 61 6c 6c 6f 63 20 |ne: mnem|_malloc |
|000047a0| 6d 6e 65 6d 5f 66 72 65 | 65 2c 20 6d 6e 65 6d 5f |mnem_fre|e, mnem_|
|000047b0| 72 65 61 6c 6c 6f 63 2c | 20 6d 6e 65 6d 5f 63 61 |realloc,| mnem_ca|
|000047c0| 6c 6c 6f 63 20 5c 2d 20 | 6d 65 6d 6f 72 79 20 61 |lloc \- |memory a|
|000047d0| 6c 6c 6f 63 61 74 6f 72 | 0a 77 69 74 68 20 61 6c |llocator|.with al|
|000047e0| 6c 6f 63 61 74 69 6f 6e | 20 74 72 61 63 69 6e 67 |location| tracing|
|000047f0| 20 61 6e 64 20 73 74 61 | 74 69 73 74 69 63 73 0a | and sta|tistics.|
|00004800| 2e 53 48 20 53 79 6e 74 | 61 78 0a 2e 73 70 0a 23 |.SH Synt|ax..sp.#|
|00004810| 69 6e 63 6c 75 64 65 20 | 22 6d 6e 65 6d 6f 73 79 |include |"mnemosy|
|00004820| 6e 65 2e 68 22 0a 2e 6e | 66 0a 2e 42 20 6d 61 6c |ne.h"..n|f..B mal|
|00004830| 6c 5f 74 20 6d 6e 65 6d | 5f 6d 61 6c 6c 6f 63 28 |l_t mnem|_malloc(|
|00004840| 73 69 7a 65 2c 20 6c 61 | 62 2c 20 6c 69 6e 29 0a |size, la|b, lin).|
|00004850| 2e 42 20 75 6e 73 69 67 | 6e 65 64 20 73 69 7a 65 |.B unsig|ned size|
|00004860| 3b 0a 2e 42 20 63 68 61 | 72 09 2a 6c 61 62 3b 0a |;..B cha|r.*lab;.|
|00004870| 2e 42 20 69 6e 74 09 6c | 69 6e 3b 0a 2e 50 50 0a |.B int.l|in;..PP.|
|00004880| 2e 42 20 6d 6e 65 6d 5f | 66 72 65 65 28 70 74 72 |.B mnem_|free(ptr|
|00004890| 2c 20 6c 61 62 2c 20 6c | 69 6e 29 0a 2e 42 20 6d |, lab, l|in)..B m|
|000048a0| 61 6c 6c 5f 74 20 70 74 | 72 3b 0a 2e 42 20 63 68 |all_t pt|r;..B ch|
|000048b0| 61 72 09 2a 6c 61 62 3b | 0a 2e 42 20 69 6e 74 09 |ar.*lab;|..B int.|
|000048c0| 6c 69 6e 3b 0a 2e 50 50 | 0a 2e 42 20 6d 61 6c 6c |lin;..PP|..B mall|
|000048d0| 5f 74 20 6d 6e 65 6d 5f | 72 65 61 6c 6c 6f 63 28 |_t mnem_|realloc(|
|000048e0| 70 74 72 2c 20 73 69 7a | 65 2c 20 6c 61 62 2c 20 |ptr, siz|e, lab, |
|000048f0| 6c 69 6e 29 0a 2e 42 20 | 6d 61 6c 6c 5f 74 20 70 |lin)..B |mall_t p|
|00004900| 74 72 3b 0a 2e 42 20 75 | 6e 73 69 67 6e 65 64 20 |tr;..B u|nsigned |
|00004910| 73 69 7a 65 3b 0a 2e 42 | 20 63 68 61 72 09 2a 6c |size;..B| char.*l|
|00004920| 61 62 3b 0a 2e 42 20 69 | 6e 74 09 6c 69 6e 3b 0a |ab;..B i|nt.lin;.|
|00004930| 2e 50 50 0a 2e 42 20 6d | 61 6c 6c 5f 74 20 6d 6e |.PP..B m|all_t mn|
|00004940| 65 6d 5f 63 61 6c 6c 6f | 63 28 6e 65 6c 65 6d 2c |em_callo|c(nelem,|
|00004950| 20 65 6c 73 69 7a 65 2c | 20 6c 61 62 2c 20 6c 69 | elsize,| lab, li|
|00004960| 6e 29 0a 2e 42 20 75 6e | 73 69 67 6e 65 64 20 6e |n)..B un|signed n|
|00004970| 65 6c 65 6d 2c 20 65 6c | 73 69 7a 65 3b 0a 2e 42 |elem, el|size;..B|
|00004980| 20 63 68 61 72 09 2a 6c | 61 62 3b 0a 2e 42 20 69 | char.*l|ab;..B i|
|00004990| 6e 74 09 6c 69 6e 3b 0a | 2e 66 69 0a 2e 53 48 20 |nt.lin;.|.fi..SH |
|000049a0| 44 65 73 63 72 69 70 74 | 69 6f 6e 0a 54 68 65 0a |Descript|ion.The.|
|000049b0| 2e 49 20 6d 6e 65 6d 6f | 73 79 6e 65 0a 6c 69 62 |.I mnemo|syne.lib|
|000049c0| 72 61 72 79 20 61 63 74 | 73 20 61 73 20 61 20 22 |rary act|s as a "|
|000049d0| 77 72 61 70 70 65 72 22 | 20 61 72 6f 75 6e 64 20 |wrapper"| around |
|000049e0| 74 68 65 0a 2e 49 20 6d | 61 6c 6c 6f 63 0a 66 61 |the..I m|alloc.fa|
|000049f0| 6d 69 6c 79 20 6f 66 20 | 6d 65 6d 6f 72 79 20 61 |mily of |memory a|
|00004a00| 6c 6c 6f 63 61 74 69 6f | 6e 20 72 6f 75 74 69 6e |llocatio|n routin|
|00004a10| 65 73 2c 20 61 6e 64 20 | 67 61 74 68 65 72 73 20 |es, and |gathers |
|00004a20| 73 74 61 74 69 73 74 69 | 63 73 20 61 62 6f 75 74 |statisti|cs about|
|00004a30| 0a 77 68 65 72 65 20 61 | 6c 6c 6f 63 61 74 69 6f |.where a|llocatio|
|00004a40| 6e 73 20 6f 63 63 75 72 | 20 69 6e 20 73 6f 75 72 |ns occur| in sour|
|00004a50| 63 65 20 63 6f 64 65 20 | 66 6f 72 20 6c 61 74 65 |ce code |for late|
|00004a60| 72 20 61 6e 61 6c 79 73 | 69 73 2e 20 54 68 65 20 |r analys|is. The |
|00004a70| 69 6e 63 6c 75 64 65 0a | 66 69 6c 65 0a 2e 49 20 |include.|file..I |
|00004a80| 6d 6e 65 6d 6f 73 79 6e | 65 2e 68 0a 63 6f 6e 74 |mnemosyn|e.h.cont|
|00004a90| 61 69 6e 73 20 43 2d 70 | 72 65 70 72 6f 63 65 73 |ains C-p|reproces|
|00004aa0| 73 6f 72 20 64 69 72 65 | 63 74 69 76 65 73 20 74 |sor dire|ctives t|
|00004ab0| 68 61 74 20 22 69 6e 74 | 65 72 63 65 70 74 22 20 |hat "int|ercept" |
|00004ac0| 63 61 6c 6c 73 20 74 6f | 0a 2e 49 20 6d 61 6c 6c |calls to|..I mall|
|00004ad0| 6f 63 0a 61 6e 64 20 72 | 65 64 69 72 65 63 74 20 |oc.and r|edirect |
|00004ae0| 74 68 65 6d 20 74 6f 20 | 74 68 65 20 65 71 75 69 |them to |the equi|
|00004af0| 76 61 6c 65 6e 74 0a 2e | 49 20 6d 6e 65 6d 6f 73 |valent..|I mnemos|
|00004b00| 79 6e 65 0a 66 75 6e 63 | 74 69 6f 6e 2e 20 41 73 |yne.func|tion. As|
|00004b10| 20 70 61 72 74 20 6f 66 | 20 74 68 69 73 20 70 72 | part of| this pr|
|00004b20| 6f 63 65 73 73 2c 20 61 | 64 64 69 74 69 6f 6e 61 |ocess, a|dditiona|
|00004b30| 6c 20 64 61 74 61 20 69 | 73 20 70 61 73 73 65 64 |l data i|s passed|
|00004b40| 20 74 68 65 0a 2e 49 20 | 6d 6e 65 6d 6f 73 79 6e | the..I |mnemosyn|
|00004b50| 65 0a 66 75 6e 63 74 69 | 6f 6e 2c 20 6e 61 6d 65 |e.functi|on, name|
|00004b60| 6c 79 20 74 68 65 20 6c | 69 6e 65 20 6e 75 6d 62 |ly the l|ine numb|
|00004b70| 65 72 20 77 68 65 72 65 | 20 74 68 65 20 61 6c 6c |er where| the all|
|00004b80| 6f 63 61 74 69 6f 6e 20 | 6f 63 63 75 72 72 65 64 |ocation |occurred|
|00004b90| 2c 0a 61 6e 64 20 74 68 | 65 20 66 69 6c 65 20 69 |,.and th|e file i|
|00004ba0| 6e 20 77 68 69 63 68 20 | 69 74 20 6f 63 63 75 72 |n which |it occur|
|00004bb0| 72 65 64 2e 20 41 20 74 | 79 70 69 63 61 6c 20 61 |red. A t|ypical a|
|00004bc0| 70 70 6c 69 63 61 74 69 | 6f 6e 20 77 69 6c 6c 20 |pplicati|on will |
|00004bd0| 6e 65 76 65 72 0a 61 70 | 70 65 61 72 20 74 6f 20 |never.ap|pear to |
|00004be0| 64 69 72 65 63 74 6c 79 | 20 63 61 6c 6c 20 74 68 |directly| call th|
|00004bf0| 65 0a 2e 49 20 6d 6e 65 | 6d 6f 73 79 6e 65 0a 66 |e..I mne|mosyne.f|
|00004c00| 75 6e 63 74 69 6f 6e 73 | 2c 20 62 75 74 20 77 69 |unctions|, but wi|
|00004c10| 6c 6c 20 73 69 6d 70 6c | 79 20 6d 61 6b 65 20 63 |ll simpl|y make c|
|00004c20| 61 6c 6c 73 20 74 6f 20 | 22 6d 61 6c 6c 6f 63 22 |alls to |"malloc"|
|00004c30| 20 77 68 69 63 68 20 61 | 72 65 0a 69 6e 74 65 72 | which a|re.inter|
|00004c40| 63 65 70 74 65 64 2e 20 | 54 68 69 73 20 61 70 70 |cepted. |This app|
|00004c50| 72 6f 61 63 68 20 68 61 | 73 20 74 68 65 20 61 64 |roach ha|s the ad|
|00004c60| 76 61 6e 74 61 67 65 20 | 6f 66 20 73 69 6d 70 6c |vantage |of simpl|
|00004c70| 69 63 69 74 79 20 61 6e | 64 0a 70 6f 72 74 61 62 |icity an|d.portab|
|00004c80| 69 6c 69 74 79 2c 20 77 | 69 74 68 20 74 68 65 20 |ility, w|ith the |
|00004c90| 64 69 73 61 64 76 61 6e | 74 61 67 65 20 74 68 61 |disadvan|tage tha|
|00004ca0| 74 20 69 74 20 69 73 20 | 69 6e 63 61 70 61 62 6c |t it is |incapabl|
|00004cb0| 65 20 6f 66 0a 63 68 65 | 63 6b 69 6e 67 20 64 79 |e of.che|cking dy|
|00004cc0| 6e 61 6d 69 63 20 6d 65 | 6d 6f 72 79 20 75 73 65 |namic me|mory use|
|00004cd0| 20 6f 66 20 6c 69 62 72 | 61 72 79 20 72 6f 75 74 | of libr|ary rout|
|00004ce0| 69 6e 65 73 20 74 68 61 | 74 20 63 61 6e 6e 6f 74 |ines tha|t cannot|
|00004cf0| 0a 62 65 20 72 65 63 6f | 6d 70 69 6c 65 64 20 77 |.be reco|mpiled w|
|00004d00| 69 74 68 20 74 68 65 20 | 22 69 6e 74 65 72 63 65 |ith the |"interce|
|00004d10| 70 74 65 64 22 20 72 6f | 75 74 69 6e 65 73 2e 0a |pted" ro|utines..|
|00004d20| 2e 50 50 0a 2e 49 20 6d | 6e 65 6d 6f 73 79 6e 65 |.PP..I m|nemosyne|
|00004d30| 0a 69 73 20 69 6e 74 65 | 6e 64 65 64 20 61 73 20 |.is inte|nded as |
|00004d40| 61 20 74 6f 6f 6c 20 66 | 6f 72 20 68 65 6c 70 69 |a tool f|or helpi|
|00004d50| 6e 67 20 74 6f 20 6c 6f | 63 61 74 65 20 6d 65 6d |ng to lo|cate mem|
|00004d60| 6f 72 79 20 6c 65 61 6b | 73 20 61 6e 64 0a 6d 65 |ory leak|s and.me|
|00004d70| 6d 6f 72 79 2d 70 72 6f | 66 6c 69 67 61 74 65 20 |mory-pro|fligate |
|00004d80| 72 6f 75 74 69 6e 65 73 | 20 77 69 74 68 20 61 20 |routines| with a |
|00004d90| 6d 69 6e 69 6d 61 6c 20 | 61 6d 6f 75 6e 74 20 6f |minimal |amount o|
|00004da0| 66 20 64 69 73 74 75 72 | 62 61 6e 63 65 20 74 6f |f distur|bance to|
|00004db0| 0a 73 6f 75 72 63 65 20 | 63 6f 64 65 2e 20 41 73 |.source |code. As|
|00004dc0| 20 73 75 63 68 20 69 74 | 20 63 61 6e 20 62 65 20 | such it| can be |
|00004dd0| 66 6f 6f 6c 65 64 2c 20 | 62 75 74 20 69 74 20 73 |fooled, |but it s|
|00004de0| 74 69 6c 6c 20 6f 66 66 | 65 72 73 20 61 0a 67 72 |till off|ers a.gr|
|00004df0| 65 61 74 20 64 65 61 6c | 20 6f 66 20 66 6c 65 78 |eat deal| of flex|
|00004e00| 69 62 69 6c 69 74 79 20 | 66 6f 72 20 69 74 73 20 |ibility |for its |
|00004e10| 70 75 72 70 6f 73 65 2e | 0a 2e 53 48 20 22 48 6f |purpose.|..SH "Ho|
|00004e20| 77 20 69 74 20 57 6f 72 | 6b 73 22 0a 2e 50 50 0a |w it Wor|ks"..PP.|
|00004e30| 57 68 65 6e 65 76 65 72 | 20 61 20 64 61 74 61 20 |Whenever| a data |
|00004e40| 70 6f 69 6e 74 65 72 20 | 69 73 20 61 6c 6c 6f 63 |pointer |is alloc|
|00004e50| 61 74 65 64 20 6f 72 20 | 66 72 65 65 64 20 74 68 |ated or |freed th|
|00004e60| 72 6f 75 67 68 20 74 68 | 65 0a 77 72 61 70 70 65 |rough th|e.wrappe|
|00004e70| 72 20 72 6f 75 74 69 6e | 65 73 2c 20 74 68 65 20 |r routin|es, the |
|00004e80| 6c 61 62 65 6c 20 28 74 | 68 65 20 6e 61 6d 65 20 |label (t|he name |
|00004e90| 6f 66 20 74 68 65 20 73 | 6f 75 72 63 65 20 63 6f |of the s|ource co|
|00004ea0| 64 65 20 66 69 6c 65 29 | 0a 61 6e 64 20 6c 69 6e |de file)|.and lin|
|00004eb0| 65 20 6e 75 6d 62 65 72 | 20 61 74 20 77 68 69 63 |e number| at whic|
|00004ec0| 68 20 74 68 65 20 61 63 | 74 69 6f 6e 20 6f 63 63 |h the ac|tion occ|
|00004ed0| 75 72 72 65 64 20 61 72 | 65 20 73 65 61 72 63 68 |urred ar|e search|
|00004ee0| 65 64 20 66 6f 72 0a 61 | 6e 64 20 70 6f 73 73 69 |ed for.a|nd possi|
|00004ef0| 62 6c 79 20 61 64 64 65 | 64 20 74 6f 20 61 6e 20 |bly adde|d to an |
|00004f00| 69 6e 74 65 72 6e 61 6c | 20 73 79 6d 62 6f 6c 20 |internal| symbol |
|00004f10| 74 61 62 6c 65 2e 20 54 | 68 65 20 73 79 6d 62 6f |table. T|he symbo|
|00004f20| 6c 0a 74 61 62 6c 65 20 | 69 73 20 61 6c 73 6f 20 |l.table |is also |
|00004f30| 77 72 69 74 74 65 6e 20 | 74 6f 20 61 20 66 69 6c |written |to a fil|
|00004f40| 65 20 6e 61 6d 65 64 0a | 2e 49 20 6d 6e 65 6d 2e |e named.|.I mnem.|
|00004f50| 73 79 6d 73 0a 77 68 69 | 63 68 20 69 73 20 61 6e |syms.whi|ch is an|
|00004f60| 20 61 73 63 69 69 20 6c | 69 73 74 20 6f 66 20 61 | ascii l|ist of a|
|00004f70| 63 74 69 76 65 20 70 6f | 69 6e 74 73 20 69 6e 20 |ctive po|ints in |
|00004f80| 74 68 65 20 73 6f 75 72 | 63 65 20 63 6f 64 65 2e |the sour|ce code.|
|00004f90| 0a 45 61 63 68 20 61 63 | 74 69 76 65 20 70 6f 69 |.Each ac|tive poi|
|00004fa0| 6e 74 65 72 20 69 6e 20 | 6d 65 6d 6f 72 79 20 28 |nter in |memory (|
|00004fb0| 72 65 74 75 72 6e 65 64 | 20 66 72 6f 6d 0a 2e 49 |returned| from..I|
|00004fc0| 20 6d 61 6c 6c 6f 63 2c | 0a 2e 49 20 72 65 61 6c | malloc,|..I real|
|00004fd0| 6c 6f 63 2c 0a 6f 72 0a | 2e 49 20 63 61 6c 6c 6f |loc,.or.|.I callo|
|00004fe0| 63 2c 0a 69 73 20 61 73 | 73 6f 63 69 61 74 65 64 |c,.is as|sociated|
|00004ff0| 20 77 69 74 68 20 74 68 | 65 20 73 79 6d 62 6f 6c | with th|e symbol|
|00005000| 20 77 68 65 72 65 20 69 | 74 73 20 61 6c 6c 6f 63 | where i|ts alloc|
|00005010| 61 74 69 6f 6e 20 6f 63 | 63 75 72 72 65 64 2c 0a |ation oc|curred,.|
|00005020| 61 6e 64 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 20 |and info|rmation |
|00005030| 61 62 6f 75 74 20 69 74 | 73 20 73 69 7a 65 20 69 |about it|s size i|
|00005040| 73 20 73 74 6f 72 65 64 | 20 69 6e 20 61 20 70 61 |s stored| in a pa|
|00005050| 63 6b 65 64 20 62 69 6e | 61 72 79 0a 64 61 74 61 |cked bin|ary.data|
|00005060| 62 61 73 65 20 69 6e 20 | 61 20 66 69 6c 65 20 6e |base in |a file n|
|00005070| 61 6d 65 64 0a 2e 49 20 | 6d 6e 65 6d 2e 64 61 74 |amed..I |mnem.dat|
|00005080| 2e 0a 54 68 65 20 70 6f | 69 6e 74 65 72 20 6d 61 |..The po|inter ma|
|00005090| 70 20 69 73 20 75 70 64 | 61 74 65 64 20 65 76 65 |p is upd|ated eve|
|000050a0| 72 79 20 74 69 6d 65 20 | 61 20 70 6f 69 6e 74 65 |ry time |a pointe|
|000050b0| 72 20 69 73 20 61 6c 6c | 6f 63 61 74 65 64 0a 6f |r is all|ocated.o|
|000050c0| 72 20 64 65 61 6c 6c 6f | 63 61 74 65 64 2c 20 77 |r deallo|cated, w|
|000050d0| 68 69 63 68 20 69 73 20 | 61 20 70 65 72 66 6f 6d |hich is |a perfom|
|000050e0| 61 6e 63 65 20 6c 6f 73 | 73 2c 20 62 75 74 20 65 |ance los|s, but e|
|000050f0| 6e 73 75 72 65 73 20 74 | 68 61 74 0a 74 68 65 20 |nsures t|hat.the |
|00005100| 70 6f 69 6e 74 65 72 20 | 6d 61 70 20 69 73 20 63 |pointer |map is c|
|00005110| 75 72 72 65 6e 74 20 69 | 6e 20 63 61 73 65 20 74 |urrent i|n case t|
|00005120| 68 65 20 70 72 6f 67 72 | 61 6d 20 69 73 20 74 65 |he progr|am is te|
|00005130| 72 6d 69 6e 61 74 65 64 | 0a 75 6e 65 78 70 65 63 |rminated|.unexpec|
|00005140| 74 65 64 6c 79 2e 20 49 | 74 20 69 73 20 74 68 65 |tedly. I|t is the|
|00005150| 73 65 20 74 77 6f 20 66 | 69 6c 65 73 20 74 68 61 |se two f|iles tha|
|00005160| 74 0a 2e 49 20 6d 6e 65 | 6d 61 6c 79 73 65 0a 72 |t..I mne|malyse.r|
|00005170| 65 61 64 73 20 74 6f 20 | 64 65 74 65 72 6d 69 6e |eads to |determin|
|00005180| 65 20 77 68 61 74 20 61 | 6c 6c 6f 63 61 74 65 64 |e what a|llocated|
|00005190| 20 70 6f 69 6e 74 65 72 | 73 20 77 65 72 65 20 6e | pointer|s were n|
|000051a0| 65 76 65 72 20 64 65 61 | 6c 6c 6f 63 61 74 65 64 |ever dea|llocated|
|000051b0| 0a 70 72 6f 70 65 72 6c | 79 2e 0a 2e 50 50 0a 57 |.properl|y...PP.W|
|000051c0| 68 65 6e 65 76 65 72 20 | 61 20 70 6f 69 6e 74 65 |henever |a pointe|
|000051d0| 72 20 69 73 20 61 6c 6c | 6f 63 61 74 65 64 2c 20 |r is all|ocated, |
|000051e0| 74 68 65 20 73 79 6d 62 | 6f 6c 20 74 61 62 6c 65 |the symb|ol table|
|000051f0| 20 65 6e 74 72 79 20 66 | 6f 72 0a 74 68 65 20 6c | entry f|or.the l|
|00005200| 69 6e 65 20 6f 66 20 63 | 6f 64 65 20 70 65 72 66 |ine of c|ode perf|
|00005210| 6f 72 6d 69 6e 67 20 74 | 68 65 20 61 6c 6c 6f 63 |orming t|he alloc|
|00005220| 61 74 69 6f 6e 20 69 73 | 20 75 70 64 61 74 65 64 |ation is| updated|
|00005230| 20 77 69 74 68 0a 73 6f | 6d 65 20 70 6f 73 73 69 | with.so|me possi|
|00005240| 62 6c 79 20 75 73 65 66 | 75 6c 20 73 74 61 74 69 |bly usef|ul stati|
|00005250| 73 74 69 63 73 20 61 62 | 6f 75 74 20 74 68 65 20 |stics ab|out the |
|00005260| 6e 75 6d 62 65 72 20 6f | 66 20 61 6c 6c 6f 63 61 |number o|f alloca|
|00005270| 74 69 6f 6e 73 0a 74 68 | 61 74 20 6f 63 63 75 72 |tions.th|at occur|
|00005280| 72 65 64 20 61 74 20 74 | 68 61 74 20 70 6f 69 6e |red at t|hat poin|
|00005290| 74 20 69 6e 20 74 68 65 | 20 63 6f 64 65 2c 20 61 |t in the| code, a|
|000052a0| 76 65 72 61 67 65 20 73 | 69 7a 65 2c 20 65 74 63 |verage s|ize, etc|
|000052b0| 2e 0a 54 68 69 73 20 69 | 6e 66 6f 72 6d 61 74 69 |..This i|nformati|
|000052c0| 6f 6e 20 63 61 6e 20 62 | 65 20 64 75 6d 70 65 64 |on can b|e dumped|
|000052d0| 20 74 6f 20 74 68 65 0a | 2e 49 20 6d 6e 65 6d 2e | to the.|.I mnem.|
|000052e0| 73 79 6d 73 0a 66 69 6c | 65 20 77 69 74 68 20 61 |syms.fil|e with a|
|000052f0| 20 63 61 6c 6c 20 74 6f | 0a 2e 49 20 6d 6e 65 6d | call to|..I mnem|
|00005300| 5f 77 72 69 74 65 73 74 | 61 74 73 28 29 0a 6f 74 |_writest|ats().ot|
|00005310| 68 65 72 77 69 73 65 20 | 74 68 65 20 69 6e 66 6f |herwise |the info|
|00005320| 72 6d 61 74 69 6f 6e 20 | 69 73 20 6e 6f 74 20 69 |rmation |is not i|
|00005330| 6e 63 6c 75 64 65 64 20 | 69 6e 20 74 68 65 20 73 |ncluded |in the s|
|00005340| 79 6d 62 6f 6c 20 66 69 | 6c 65 2e 0a 41 6e 20 65 |ymbol fi|le..An e|
|00005350| 78 61 6d 70 6c 65 20 6f | 66 20 74 68 65 20 73 79 |xample o|f the sy|
|00005360| 6d 62 6f 6c 20 73 74 61 | 74 69 73 74 69 63 73 20 |mbol sta|tistics |
|00005370| 72 65 73 65 6d 62 6c 65 | 73 3a 0a 2e 45 58 0a 23 |resemble|s:..EX.#|
|00005380| 74 6f 74 61 6c 20 61 6c | 6c 6f 63 61 74 69 6f 6e |total al|location|
|00005390| 73 3a 39 0a 23 74 6f 74 | 61 6c 20 72 65 2d 61 6c |s:9.#tot|al re-al|
|000053a0| 6c 6f 63 61 74 69 6f 6e | 73 3a 30 0a 23 74 6f 74 |location|s:0.#tot|
|000053b0| 61 6c 20 66 72 65 65 73 | 3a 31 0a 23 62 61 64 2f |al frees|:1.#bad/|
|000053c0| 64 75 70 20 66 72 65 65 | 73 3a 32 0a 23 74 6f 74 |dup free|s:2.#tot|
|000053d0| 61 6c 20 61 6c 6c 6f 63 | 61 74 65 64 20 6e 65 76 |al alloc|ated nev|
|000053e0| 65 72 20 66 72 65 65 64 | 3a 31 30 36 36 0a 23 61 |er freed|:1066.#a|
|000053f0| 76 65 72 61 67 65 20 73 | 69 7a 65 20 6f 66 20 61 |verage s|ize of a|
|00005400| 6c 6c 6f 63 61 74 69 6f | 6e 73 3a 31 31 39 2e 32 |llocatio|ns:119.2|
|00005410| 0a 23 6d 61 70 23 20 20 | 20 63 61 6c 6c 73 20 20 |.#map# | calls |
|00005420| 20 61 76 65 20 20 20 20 | 20 6c 69 6e 65 23 20 20 | ave | line# |
|00005430| 20 66 69 6c 65 0a 30 20 | 20 20 20 20 20 20 31 20 | file.0 | 1 |
|00005440| 20 20 20 20 20 20 39 32 | 32 2e 30 20 20 20 31 39 | 92|2.0 19|
|00005450| 20 20 20 20 20 20 6d 74 | 65 73 74 2e 63 0a 31 20 | mt|est.c.1 |
|00005460| 20 20 20 20 20 20 31 20 | 20 20 20 20 20 20 31 32 | 1 | 12|
|00005470| 33 2e 30 20 20 20 32 30 | 20 20 20 20 20 20 6d 74 |3.0 20| mt|
|00005480| 65 73 74 2e 63 0a 32 20 | 20 20 20 20 20 20 37 20 |est.c.2 | 7 |
|00005490| 20 20 20 20 20 20 34 2e | 30 20 20 20 20 20 32 37 | 4.|0 27|
|000054a0| 20 20 20 20 20 20 6d 74 | 65 73 74 2e 63 0a 2e 45 | mt|est.c..E|
|000054b0| 45 0a 2e 50 50 0a 54 68 | 65 20 69 6e 74 65 72 6e |E..PP.Th|e intern|
|000054c0| 61 6c 20 73 79 6d 62 6f | 6c 20 74 61 62 6c 65 20 |al symbo|l table |
|000054d0| 6d 61 6e 61 67 65 6d 65 | 6e 74 20 72 6f 75 74 69 |manageme|nt routi|
|000054e0| 6e 65 73 20 61 6e 64 20 | 70 6f 69 6e 74 65 72 20 |nes and |pointer |
|000054f0| 6d 61 70 0a 6d 61 6e 61 | 67 65 6d 65 6e 74 20 72 |map.mana|gement r|
|00005500| 6f 75 74 69 6e 65 73 20 | 77 69 6c 6c 20 63 61 75 |outines |will cau|
|00005510| 73 65 20 61 20 70 72 6f | 67 72 61 6d 20 75 73 69 |se a pro|gram usi|
|00005520| 6e 67 20 74 68 65 73 65 | 20 66 75 6e 63 74 69 6f |ng these| functio|
|00005530| 6e 73 0a 74 6f 20 62 6f | 74 68 20 63 6f 6e 73 75 |ns.to bo|th consu|
|00005540| 6d 65 20 6d 6f 72 65 20 | 6d 65 6d 6f 72 79 20 61 |me more |memory a|
|00005550| 6e 64 20 72 75 6e 20 6c | 6f 6e 67 65 72 2c 20 62 |nd run l|onger, b|
|00005560| 75 74 20 74 68 69 73 20 | 73 68 6f 75 6c 64 20 6e |ut this |should n|
|00005570| 6f 74 0a 70 6f 73 65 20 | 61 20 70 72 6f 62 6c 65 |ot.pose |a proble|
|00005580| 6d 2c 20 73 69 6e 63 65 | 0a 2e 49 20 6d 6e 65 6d |m, since|..I mnem|
|00005590| 6f 73 79 6e 65 0a 69 73 | 20 61 20 64 65 62 75 67 |osyne.is| a debug|
|000055a0| 67 69 6e 67 20 61 69 64 | 2c 20 6e 6f 74 20 61 20 |ging aid|, not a |
|000055b0| 72 75 6e 74 69 6d 65 20 | 73 75 70 70 6f 72 74 20 |runtime |support |
|000055c0| 6c 69 62 72 61 72 79 2e | 0a 2e 53 48 20 22 4d 6e |library.|..SH "Mn|
|000055d0| 65 6d 6f 73 79 6e 65 20 | 66 75 6e 63 74 69 6f 6e |emosyne |function|
|000055e0| 73 22 0a 2e 50 50 0a 53 | 6f 6d 65 20 66 75 6e 63 |s"..PP.S|ome func|
|000055f0| 74 69 6f 6e 73 20 61 72 | 65 20 70 72 6f 76 69 64 |tions ar|e provid|
|00005600| 65 64 20 74 6f 20 61 6c | 6c 6f 77 20 6d 61 6e 69 |ed to al|low mani|
|00005610| 70 75 6c 61 74 69 6f 6e | 20 6f 66 20 74 68 65 20 |pulation| of the |
|00005620| 72 65 63 6f 72 64 65 72 | 0a 61 6e 64 20 73 74 61 |recorder|.and sta|
|00005630| 74 69 73 74 69 63 73 3a | 0a 2e 50 50 0a 2e 42 20 |tistics:|..PP..B |
|00005640| 22 69 6e 74 20 6d 6e 65 | 6d 5f 72 65 63 6f 72 64 |"int mne|m_record|
|00005650| 69 6e 67 28 29 22 0a 2e | 62 72 0a 54 68 69 73 20 |ing()"..|br.This |
|00005660| 66 75 6e 63 74 69 6f 6e | 20 72 65 74 75 72 6e 73 |function| returns|
|00005670| 20 6e 6f 6e 7a 65 72 6f | 20 69 66 20 74 68 65 20 | nonzero| if the |
|00005680| 6d 65 6d 6f 72 79 2d 61 | 6c 6c 6f 63 61 74 69 6f |memory-a|llocatio|
|00005690| 6e 20 72 65 63 6f 72 64 | 65 72 0a 69 73 20 72 75 |n record|er.is ru|
|000056a0| 6e 6e 69 6e 67 2e 0a 2e | 50 50 0a 2e 42 20 22 69 |nning...|PP..B "i|
|000056b0| 6e 74 20 6d 6e 65 6d 5f | 73 65 74 72 65 63 6f 72 |nt mnem_|setrecor|
|000056c0| 64 69 6e 67 28 76 61 6c | 75 65 29 22 0a 2e 42 20 |ding(val|ue)"..B |
|000056d0| 22 69 6e 74 20 76 61 6c | 75 65 3b 22 0a 2e 62 72 |"int val|ue;"..br|
|000056e0| 0a 49 66 20 74 68 65 20 | 76 61 6c 75 65 20 70 72 |.If the |value pr|
|000056f0| 6f 76 69 64 65 64 20 69 | 73 20 6e 6f 6e 7a 65 72 |ovided i|s nonzer|
|00005700| 6f 2c 20 74 68 65 20 72 | 65 63 6f 72 64 65 72 20 |o, the r|ecorder |
|00005710| 69 73 20 74 75 72 6e 65 | 64 20 6f 6e 2e 20 49 66 |is turne|d on. If|
|00005720| 20 69 74 0a 69 73 20 7a | 65 72 6f 2c 20 74 68 65 | it.is z|ero, the|
|00005730| 20 72 65 63 6f 72 64 65 | 72 20 69 73 20 74 75 72 | recorde|r is tur|
|00005740| 6e 65 64 20 6f 66 66 2e | 0a 2e 50 50 0a 2e 42 20 |ned off.|..PP..B |
|00005750| 22 76 6f 69 64 20 6d 6e | 65 6d 5f 73 65 74 6c 6f |"void mn|em_setlo|
|00005760| 67 28 66 70 29 22 0a 2e | 42 20 22 46 49 4c 45 20 |g(fp)"..|B "FILE |
|00005770| 2a 66 70 3b 22 0a 2e 62 | 72 0a 53 65 74 73 20 74 |*fp;"..b|r.Sets t|
|00005780| 68 65 20 72 75 6e 74 69 | 6d 65 20 65 72 72 6f 72 |he runti|me error|
|00005790| 20 6c 6f 67 20 66 69 6c | 65 20 70 6f 69 6e 74 65 | log fil|e pointe|
|000057a0| 72 20 74 6f 20 74 68 65 | 20 73 70 65 63 69 66 69 |r to the| specifi|
|000057b0| 65 64 20 6f 6e 65 2e 20 | 54 68 65 0a 64 65 66 61 |ed one. |The.defa|
|000057c0| 75 6c 74 20 69 73 20 74 | 68 65 20 73 74 61 6e 64 |ult is t|he stand|
|000057d0| 61 72 64 20 65 72 72 6f | 72 2e 20 49 66 20 61 20 |ard erro|r. If a |
|000057e0| 6e 75 6c 6c 20 70 6f 69 | 6e 74 65 72 20 69 73 20 |null poi|nter is |
|000057f0| 67 69 76 65 6e 2c 20 72 | 75 6e 74 69 6d 65 0a 77 |given, r|untime.w|
|00005800| 61 72 6e 69 6e 67 20 6d | 65 73 73 61 67 65 73 20 |arning m|essages |
|00005810| 61 72 65 20 64 69 73 63 | 61 72 64 65 64 2e 20 0a |are disc|arded. .|
|00005820| 2e 50 50 0a 2e 42 20 22 | 69 6e 74 20 6d 6e 65 6d |.PP..B "|int mnem|
|00005830| 5f 77 72 69 74 65 73 74 | 61 74 73 28 29 22 0a 2e |_writest|ats()"..|
|00005840| 62 72 0a 43 61 75 73 65 | 73 20 74 68 65 0a 2e 49 |br.Cause|s the..I|
|00005850| 20 6d 6e 65 6d 2e 73 79 | 6d 73 0a 66 69 6c 65 20 | mnem.sy|ms.file |
|00005860| 74 6f 20 62 65 20 72 65 | 2d 77 72 69 74 74 65 6e |to be re|-written|
|00005870| 20 77 69 74 68 20 65 78 | 74 65 6e 64 65 64 20 61 | with ex|tended a|
|00005880| 6e 64 20 75 70 64 61 74 | 65 64 20 73 74 61 74 69 |nd updat|ed stati|
|00005890| 73 74 69 63 73 20 69 6e | 66 6f 72 6d 61 74 69 6f |stics in|formatio|
|000058a0| 6e 2e 0a 54 68 69 73 20 | 69 73 20 6e 6f 74 20 6e |n..This |is not n|
|000058b0| 65 63 65 73 73 61 72 79 | 20 66 6f 72 20 74 68 65 |ecessary| for the|
|000058c0| 20 6d 65 6d 6f 72 79 2d | 6c 65 61 6b 20 61 6e 61 | memory-|leak ana|
|000058d0| 6c 79 73 65 72 0a 2e 49 | 20 6d 6e 65 6d 61 6c 79 |lyser..I| mnemaly|
|000058e0| 73 65 0a 74 6f 20 66 75 | 6e 63 74 69 6f 6e 2c 20 |se.to fu|nction, |
|000058f0| 62 75 74 20 69 74 20 70 | 72 6f 76 69 64 65 73 20 |but it p|rovides |
|00005900| 75 70 2d 74 6f 2d 64 61 | 74 65 20 69 6e 66 6f 72 |up-to-da|te infor|
|00005910| 6d 61 74 69 6f 6e 20 61 | 62 6f 75 74 20 6e 75 6d |mation a|bout num|
|00005920| 62 65 72 20 6f 66 0a 61 | 6c 6c 6f 63 61 74 69 6f |ber of.a|llocatio|
|00005930| 6e 20 63 61 6c 6c 73 20 | 6d 61 64 65 2c 20 73 69 |n calls |made, si|
|00005940| 7a 65 73 2c 20 65 74 63 | 2e 20 54 68 65 20 66 75 |zes, etc|. The fu|
|00005950| 6e 63 74 69 6f 6e 20 72 | 65 74 75 72 6e 73 20 6e |nction r|eturns n|
|00005960| 6f 6e 7a 65 72 6f 20 69 | 6e 0a 74 68 65 20 65 76 |onzero i|n.the ev|
|00005970| 65 6e 74 20 6f 66 20 61 | 6e 20 65 72 72 6f 72 2e |ent of a|n error.|
|00005980| 0a 2e 50 50 0a 2e 53 48 | 20 44 69 61 67 6e 6f 73 |..PP..SH| Diagnos|
|00005990| 74 69 63 73 0a 54 68 65 | 0a 2e 49 20 6d 6e 65 6d |tics.The|..I mnem|
|000059a0| 6f 73 79 6e 65 0a 66 75 | 6e 63 74 69 6f 6e 73 20 |osyne.fu|nctions |
|000059b0| 72 65 74 75 72 6e 20 77 | 68 61 74 20 74 68 65 69 |return w|hat thei|
|000059c0| 72 20 63 6f 75 6e 74 65 | 72 70 61 72 74 20 69 6e |r counte|rpart in|
|000059d0| 20 74 68 65 0a 2e 49 20 | 6d 61 6c 6c 6f 63 0a 6c | the..I |malloc.l|
|000059e0| 69 62 72 61 72 79 20 72 | 65 74 75 72 6e 2e 0a 2e |ibrary r|eturn...|
|000059f0| 50 50 0a 41 64 64 69 74 | 69 6f 6e 61 6c 20 64 69 |PP.Addit|ional di|
|00005a00| 61 67 6e 6f 73 74 69 63 | 73 20 66 6f 72 20 64 65 |agnostic|s for de|
|00005a10| 74 65 63 74 65 64 20 65 | 78 63 65 70 74 69 6f 6e |tected e|xception|
|00005a20| 73 20 6d 61 79 20 62 65 | 20 77 72 69 74 74 65 6e |s may be| written|
|00005a30| 20 74 6f 0a 74 68 65 20 | 6c 6f 67 20 66 69 6c 65 | to.the |log file|
|00005a40| 20 61 73 20 74 68 65 79 | 20 6f 63 63 75 72 2e 20 | as they| occur. |
|00005a50| 53 75 63 68 20 65 78 63 | 65 70 74 69 6f 6e 73 20 |Such exc|eptions |
|00005a60| 69 6e 63 6c 75 64 65 20 | 72 65 2d 66 72 65 65 69 |include |re-freei|
|00005a70| 6e 67 20 61 6e 0a 61 6c | 72 65 61 64 79 20 66 72 |ng an.al|ready fr|
|00005a80| 65 65 64 20 70 6f 69 6e | 74 65 72 2c 20 61 20 63 |eed poin|ter, a c|
|00005a90| 61 6c 6c 20 74 6f 0a 2e | 49 20 6d 61 6c 6c 6f 63 |all to..|I malloc|
|00005aa0| 0a 72 65 74 75 72 6e 69 | 6e 67 20 61 20 6e 75 6c |.returni|ng a nul|
|00005ab0| 6c 20 70 6f 69 6e 74 65 | 72 2c 20 61 6e 64 20 61 |l pointe|r, and a|
|00005ac0| 74 74 65 6d 70 74 73 20 | 74 6f 20 66 72 65 65 20 |ttempts |to free |
|00005ad0| 64 61 74 61 20 74 68 61 | 74 20 77 61 73 20 6e 6f |data tha|t was no|
|00005ae0| 74 0a 6b 6e 6f 77 6e 20 | 74 6f 20 62 65 20 61 6c |t.known |to be al|
|00005af0| 6c 6f 63 61 74 65 64 2e | 20 46 6f 72 20 65 78 61 |located.| For exa|
|00005b00| 6d 70 6c 65 3a 0a 2e 45 | 58 0a 6d 61 6c 6c 6f 63 |mple:..E|X.malloc|
|00005b10| 20 72 65 74 75 72 6e 65 | 64 20 6e 75 6c 6c 20 70 | returne|d null p|
|00005b20| 6f 69 6e 74 65 72 20 61 | 74 20 22 6d 74 65 73 74 |ointer a|t "mtest|
|00005b30| 2e 63 22 20 6c 69 6e 65 | 3a 32 33 20 73 69 7a 65 |.c" line|:23 size|
|00005b40| 3a 2d 39 0a 70 6f 69 6e | 74 65 72 20 66 72 65 65 |:-9.poin|ter free|
|00005b50| 64 20 74 68 61 74 20 77 | 61 73 20 6e 65 76 65 72 |d that w|as never|
|00005b60| 20 61 6c 6c 6f 63 61 74 | 65 64 20 22 6d 74 65 73 | allocat|ed "mtes|
|00005b70| 74 2e 63 22 20 6c 69 6e | 65 3a 33 30 0a 70 6f 69 |t.c" lin|e:30.poi|
|00005b80| 6e 74 65 72 20 72 65 2d | 66 72 65 65 64 20 77 68 |nter re-|freed wh|
|00005b90| 65 6e 20 61 6c 72 65 61 | 64 79 20 66 72 65 65 20 |en alrea|dy free |
|00005ba0| 22 6d 74 65 73 74 2e 63 | 22 20 6c 69 6e 65 3a 33 |"mtest.c|" line:3|
|00005bb0| 34 20 6c 61 73 74 20 61 | 6c 6c 6f 63 61 74 65 64 |4 last a|llocated|
|00005bc0| 3a 0a 22 6d 74 65 73 74 | 2e 63 22 20 6c 69 6e 65 |:."mtest|.c" line|
|00005bd0| 3a 32 37 0a 2e 45 45 0a | 2e 50 50 0a 57 68 65 6e |:27..EE.|.PP.When|
|00005be0| 65 76 65 72 20 61 6e 20 | 69 6e 74 65 72 6e 61 6c |ever an |internal|
|00005bf0| 20 65 72 72 6f 72 20 6f | 63 63 75 72 72 73 2c 20 | error o|ccurrs, |
|00005c00| 72 65 63 6f 72 64 69 6e | 67 20 69 73 20 74 75 72 |recordin|g is tur|
|00005c10| 6e 65 64 20 6f 66 66 2e | 20 54 68 69 73 0a 77 69 |ned off.| This.wi|
|00005c20| 6c 6c 20 74 68 72 6f 77 | 20 73 6f 6d 65 20 73 74 |ll throw| some st|
|00005c30| 61 74 69 73 74 69 63 73 | 20 69 6e 74 6f 20 64 6f |atistics| into do|
|00005c40| 75 62 74 2e 0a 2e 53 48 | 20 52 65 73 74 72 69 63 |ubt...SH| Restric|
|00005c50| 74 69 6f 6e 73 0a 2e 50 | 50 0a 4c 69 62 72 61 72 |tions..P|P.Librar|
|00005c60| 79 20 72 6f 75 74 69 6e | 65 73 20 74 68 61 74 20 |y routin|es that |
|00005c70| 72 65 74 75 72 6e 20 61 | 6c 6c 6f 63 61 74 65 64 |return a|llocated|
|00005c80| 20 64 61 74 61 20 74 6f | 20 75 73 65 72 20 70 72 | data to| user pr|
|00005c90| 6f 67 72 61 6d 73 0a 28 | 73 75 63 68 20 61 73 0a |ograms.(|such as.|
|00005ca0| 2e 49 20 73 63 61 6e 64 | 69 72 28 33 29 0a 77 69 |.I scand|ir(3).wi|
|00005cb0| 6c 6c 20 63 61 75 73 65 | 20 77 61 72 6e 69 6e 67 |ll cause| warning|
|00005cc0| 73 20 61 6e 64 20 74 72 | 6f 75 62 6c 65 20 77 68 |s and tr|ouble wh|
|00005cd0| 65 6e 20 61 74 74 65 6d | 70 74 73 20 61 72 65 20 |en attem|pts are |
|00005ce0| 6d 61 64 65 20 74 6f 20 | 66 72 65 65 20 74 68 65 |made to |free the|
|00005cf0| 0a 64 61 74 61 20 74 68 | 72 6f 75 67 68 20 74 68 |.data th|rough th|
|00005d00| 65 20 22 77 72 61 70 70 | 65 72 22 20 72 6f 75 74 |e "wrapp|er" rout|
|00005d10| 69 6e 65 2e 20 49 66 20 | 73 6f 6d 65 6f 6e 65 20 |ine. If |someone |
|00005d20| 77 61 6e 74 73 20 74 6f | 20 68 61 63 6b 20 75 70 |wants to| hack up|
|00005d30| 20 61 0a 76 65 72 73 69 | 6f 6e 20 6f 66 20 74 68 | a.versi|on of th|
|00005d40| 65 0a 2e 49 20 6d 61 6c | 6c 6f 63 0a 6c 69 62 72 |e..I mal|loc.libr|
|00005d50| 61 72 79 20 74 68 61 74 | 20 77 69 6c 6c 20 63 6f |ary that| will co|
|00005d60| 6f 70 65 72 61 74 65 20 | 77 69 74 68 0a 2e 49 20 |operate |with..I |
|00005d70| 6d 6e 65 6d 6f 73 79 6e | 65 2c 0a 66 65 65 6c 20 |mnemosyn|e,.feel |
|00005d80| 66 72 65 65 20 74 6f 2e | 0a 2e 50 50 0a 4f 6e 65 |free to.|..PP.One|
|00005d90| 20 70 72 6f 62 6c 65 6d | 20 77 69 74 68 20 75 73 | problem| with us|
|00005da0| 69 6e 67 20 74 68 65 20 | 63 2d 70 72 65 70 72 6f |ing the |c-prepro|
|00005db0| 63 65 73 73 6f 72 20 74 | 6f 20 22 69 6e 74 65 72 |cessor t|o "inter|
|00005dc0| 63 65 70 74 22 20 66 72 | 65 65 28 29 20 61 6e 64 |cept" fr|ee() and|
|00005dd0| 0a 6d 61 6c 6c 6f 63 28 | 29 20 63 61 6c 6c 73 20 |.malloc(|) calls |
|00005de0| 69 73 20 74 68 61 74 20 | 66 6f 72 77 61 72 64 20 |is that |forward |
|00005df0| 64 65 63 6c 61 72 61 74 | 69 6f 6e 73 20 6f 66 20 |declarat|ions of |
|00005e00| 74 68 65 73 65 20 69 6e | 20 79 6f 75 72 20 73 6f |these in| your so|
|00005e10| 75 72 63 65 0a 63 6f 64 | 65 20 77 69 6c 6c 20 63 |urce.cod|e will c|
|00005e20| 61 75 73 65 20 73 79 6e | 74 61 78 20 65 72 72 6f |ause syn|tax erro|
|00005e30| 72 73 2e 20 54 68 69 73 | 20 69 73 20 75 6e 61 76 |rs. This| is unav|
|00005e40| 6f 69 64 61 62 6c 65 2e | 20 41 64 64 69 74 69 6f |oidable.| Additio|
|00005e50| 6e 61 6c 6c 79 2c 0a 70 | 72 6f 62 6c 65 6d 73 20 |nally,.p|roblems |
|00005e60| 6d 61 79 20 72 65 73 75 | 6c 74 20 69 66 20 73 74 |may resu|lt if st|
|00005e70| 72 75 63 74 75 72 65 20 | 65 6c 65 6d 65 6e 74 73 |ructure |elements|
|00005e80| 20 61 72 65 20 6e 61 6d | 65 64 20 22 66 72 65 65 | are nam|ed "free|
|00005e90| 22 20 6f 72 20 22 6d 61 | 6c 6c 6f 63 22 2c 0a 77 |" or "ma|lloc",.w|
|00005ea0| 68 69 63 68 20 69 73 20 | 70 65 72 66 65 63 74 6c |hich is |perfectl|
|00005eb0| 79 20 76 61 6c 69 64 20 | 43 2c 20 62 75 74 20 74 |y valid |C, but t|
|00005ec0| 68 65 20 70 72 65 70 72 | 6f 63 65 73 73 6f 72 20 |he prepr|ocessor |
|00005ed0| 63 61 6e 27 74 20 63 6f | 70 65 2e 20 41 0a 66 72 |can't co|pe. A.fr|
|00005ee0| 6f 6e 74 65 6e 64 20 6c | 69 6b 65 20 43 2b 2b 27 |ontend l|ike C++'|
|00005ef0| 73 0a 2e 49 20 63 66 72 | 6f 6e 74 0a 63 61 6e 20 |s..I cfr|ont.can |
|00005f00| 62 65 20 75 73 65 64 2c | 20 69 66 20 73 75 63 68 |be used,| if such|
|00005f10| 20 69 73 20 61 76 61 69 | 6c 61 62 6c 65 2e 0a 2e | is avai|lable...|
|00005f20| 53 48 20 46 69 6c 65 73 | 0a 2e 44 54 0a 6d 6e 65 |SH Files|..DT.mne|
|00005f30| 6d 2e 73 79 6d 73 09 09 | 53 6f 75 72 63 65 20 63 |m.syms..|Source c|
|00005f40| 6f 64 65 20 6c 69 6e 65 | 20 6e 75 6d 62 65 72 20 |ode line| number |
|00005f50| 6d 61 70 0a 2e 62 72 0a | 6d 6e 65 6d 2e 64 61 74 |map..br.|mnem.dat|
|00005f60| 09 09 50 6f 69 6e 74 65 | 72 20 61 6c 6c 6f 63 61 |..Pointe|r alloca|
|00005f70| 74 69 6f 6e 20 6d 61 70 | 0a 2e 53 48 20 53 65 65 |tion map|..SH See|
|00005f80| 20 41 6c 73 6f 0a 6d 6e | 65 6d 61 6c 79 73 65 28 | Also.mn|emalyse(|
|00005f90| 31 6c 29 0a 2e 53 48 20 | 41 75 74 68 6f 72 0a 4d |1l)..SH |Author.M|
|00005fa0| 61 72 63 75 73 20 4a 2e | 20 52 61 6e 75 6d 20 28 |arcus J.| Ranum (|
|00005fb0| 6d 6a 72 40 64 65 63 75 | 61 63 2e 64 65 63 2e 63 |mjr@decu|ac.dec.c|
|00005fc0| 6f 6d 29 0a 46 69 6c 65 | 44 61 74 61 82 44 55 4d |om).File|Data.DUM|
|00005fd0| 50 53 59 4d 53 00 00 00 | d9 00 00 00 43 ff ff ff |PSYMS...|....C...|
|00005fe0| 38 91 f0 16 03 00 76 e0 | 23 69 66 20 64 65 66 69 |8.....v.|#if defi|
|00005ff0| 6e 65 64 28 5f 5f 53 54 | 44 43 5f 5f 29 20 7c 7c |ned(__ST|DC__) |||
|00006000| 20 64 65 66 69 6e 65 64 | 28 5f 5f 5a 54 43 5f 5f | defined|(__ZTC__|
|00006010| 29 20 2f 2a 20 54 68 69 | 73 20 2a 69 73 2a 20 74 |) /* Thi|s *is* t|
|00006020| 68 65 20 63 6f 72 72 65 | 63 74 20 74 65 73 74 2e |he corre|ct test.|
|00006030| 2e 2e 20 2a 2f 0a 65 78 | 74 65 72 6e 20 69 6e 74 |.. */.ex|tern int|
|00006040| 20 6d 6e 65 6d 5f 77 72 | 69 74 65 73 74 61 74 73 | mnem_wr|itestats|
|00006050| 5f 5f 46 76 28 29 3b 0a | 76 6f 69 64 20 64 75 6d |__Fv();.|void dum|
|00006060| 70 73 79 6d 73 28 76 6f | 69 64 29 0a 2f 2a 20 43 |psyms(vo|id)./* C|
|00006070| 61 6c 6c 65 64 20 6f 6e | 20 65 78 69 74 20 69 6e |alled on| exit in|
|00006080| 20 41 4e 53 49 20 73 79 | 73 74 65 6d 73 20 2a 2f | ANSI sy|stems */|
|00006090| 0a 7b 0a 20 20 20 20 20 | 20 28 76 6f 69 64 29 20 |.{. | (void) |
|000060a0| 6d 6e 65 6d 5f 77 72 69 | 74 65 73 74 61 74 73 5f |mnem_wri|testats_|
|000060b0| 5f 46 76 28 29 3b 0a 7d | 0a 0a 23 65 6e 64 69 66 |_Fv();.}|..#endif|
|000060c0| 0a 46 69 6c 65 44 61 74 | 61 82 4d 4e 45 4d 41 4c |.FileDat|a.MNEMAL|
|000060d0| 59 53 00 00 00 01 28 00 | 00 43 ff ff ff 38 91 f0 |YS....(.|.C...8..|
|000060e0| 16 03 00 0b 05 2f 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |...../**|********|
|000060f0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00006100| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00006110| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00006120| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 0a 20 |********|******. |
|00006130| 2a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |* | |
|00006140| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00006150| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00006160| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00006170| 20 20 20 20 20 20 20 2a | 0a 20 2a 20 20 20 20 20 | *|. * |
|00006180| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00006190| 20 43 6f 70 79 72 69 67 | 68 74 20 28 63 29 20 31 | Copyrig|ht (c) 1|
|000061a0| 39 38 35 20 62 79 20 20 | 20 20 20 20 20 20 20 20 |985 by | |
|000061b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000061c0| 20 2a 0a 20 2a 20 20 20 | 20 20 20 20 20 20 20 20 | *. * | |
|000061d0| 20 20 20 44 69 67 69 74 | 61 6c 20 45 71 75 69 70 | Digit|al Equip|
|000061e0| 6d 65 6e 74 20 43 6f 72 | 70 6f 72 61 74 69 6f 6e |ment Cor|poration|
|000061f0| 2c 20 4d 61 79 6e 61 72 | 64 2c 20 4d 41 20 20 20 |, Maynar|d, MA |
|00006200| 20 20 20 20 20 20 20 20 | 20 20 20 2a 0a 20 2a 20 | | *. * |
|00006210| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00006220| 20 20 20 20 20 41 6c 6c | 20 72 69 67 68 74 73 20 | All| rights |
|00006230| 72 65 73 65 72 76 65 64 | 2e 20 20 20 20 20 20 20 |reserved|. |
|00006240| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00006250| 20 20 20 20 20 2a 0a 20 | 2a 20 20 20 20 20 20 20 | *. |* |
|00006260| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00006270| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00006280| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00006290| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 2a | | *|
|000062a0| 0a 20 2a 20 20 20 54 68 | 65 20 69 6e 66 6f 72 6d |. * Th|e inform|
|000062b0| 61 74 69 6f 6e 20 69 6e | 20 74 68 69 73 20 73 6f |ation in| this so|
|000062c0| 66 74 77 61 72 65 20 69 | 73 20 73 75 62 6a 65 63 |ftware i|s subjec|
|000062d0| 74 20 74 6f 20 63 68 61 | 6e 67 65 20 20 77 69 74 |t to cha|nge wit|
|000062e0| 68 6f 75 74 20 20 20 20 | 20 2a 0a 20 2a 20 20 20 |hout | *. * |
|000062f0| 6e 6f 74 69 63 65 20 20 | 61 6e 64 20 73 68 6f 75 |notice |and shou|
|00006300| 6c 64 20 6e 6f 74 20 62 | 65 20 63 6f 6e 73 74 72 |ld not b|e constr|
|00006310| 75 65 64 20 61 73 20 61 | 20 63 6f 6d 6d 69 74 6d |ued as a| commitm|
|00006320| 65 6e 74 20 62 79 20 44 | 69 67 69 74 61 6c 20 20 |ent by D|igital |
|00006330| 20 20 20 2a 0a 20 2a 20 | 20 20 45 71 75 69 70 6d | *. * | Equipm|
|00006340| 65 6e 74 20 43 6f 72 70 | 6f 72 61 74 69 6f 6e 2e |ent Corp|oration.|
|00006350| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00006360| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00006370| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 2a 0a 20 | | *. |
|00006380| 2a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |* | |
|00006390| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000063a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000063b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000063c0| 20 20 20 20 20 20 20 2a | 0a 20 2a 20 20 20 44 69 | *|. * Di|
|000063d0| 67 69 74 61 6c 20 61 73 | 73 75 6d 65 73 20 6e 6f |gital as|sumes no|
|000063e0| 20 72 65 73 70 6f 6e 73 | 69 62 69 6c 69 74 79 20 | respons|ibility |
|000063f0| 66 6f 72 20 74 68 65 20 | 75 73 65 20 20 6f 72 20 |for the |use or |
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.