home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1999 July / Macworld (1999-07).dmg / Shareware World / Info / For Developers / Mops 3.4.sea / Mops source / Module source / Instlmod.txt < prev    next >
MacBinary  |  1999-02-15  |  16.6 KB  |  [TEXT/MSET]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: Instlmod.txt

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Swift 3D 3D Graphic (poly/swift3D3DGraphic) ext Unsupported
1% dexvert Boost Text serialization (other/boostTextSerialization) ext Unsupported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Mon Feb 15 12:09:59 1999, modified Mon Feb 15 12:09:59 1999, creator 'MSET', type ASCII, 16506 bytes "Instlmod.txt" , at 0x40fa 381 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[MSET]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0c 49 6e 73 74 6c 6d | 6f 64 2e 74 78 74 00 00 |..Instlm|od.txt..|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|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 54 45 58 54 4d 53 45 | 54 01 00 00 00 00 00 00 |.TEXTMSE|T.......|
|00000050| 00 00 00 00 00 40 7a 00 | 00 01 7d b2 ee 05 67 b2 |.....@z.|..}...g.|
|00000060| ee 05 67 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..g.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 84 29 00 00 |........|.....)..|
|00000080| 5c 20 49 6e 73 74 61 6c | 6c 20 2d 20 4d 6f 70 73 |\ Instal|l - Mops|
|00000090| 20 76 65 72 73 69 6f 6e | 2e 0d 5c 20 4a 75 6c 79 | version|..\ July|
|000000a0| 20 39 30 09 09 53 61 76 | 65 20 6e 75 63 6c 65 75 | 90..Sav|e nucleu|
|000000b0| 73 20 69 6d 70 6c 65 6d | 65 6e 74 65 64 2e 0d 5c |s implem|ented..\|
|000000c0| 20 53 65 70 74 20 39 30 | 09 09 4e 65 63 65 73 73 | Sept 90|..Necess|
|000000d0| 61 72 79 20 6d 6f 64 20 | 66 6f 72 20 6f 75 72 20 |ary mod |for our |
|000000e0| 6e 65 77 20 22 73 74 61 | 72 74 75 70 22 20 43 4f |new "sta|rtup" CO|
|000000f0| 44 45 20 72 65 73 6f 75 | 72 63 65 2e 0d 5c 20 4f |DE resou|rce..\ O|
|00000100| 63 74 20 39 31 09 09 43 | 68 61 6e 67 65 64 20 74 |ct 91..C|hanged t|
|00000110| 6f 20 76 69 65 77 2f 77 | 69 6e 64 6f 77 2b 2e 0d |o view/w|indow+..|
|00000120| 5c 20 4d 61 79 20 39 32 | 09 09 43 68 61 6e 67 65 |\ May 92|..Change|
|00000130| 64 20 76 73 63 72 6f 6c | 6c 20 6f 62 6a 65 63 74 |d vscrol|l object|
|00000140| 73 20 61 63 63 6f 72 64 | 69 6e 67 20 74 6f 20 22 |s accord|ing to "|
|00000150| 6e 65 77 20 77 61 79 22 | 20 66 6f 72 20 63 6f 6e |new way"| for con|
|00000160| 74 72 6f 6c 73 2e 0d 0d | 6e 65 65 64 09 77 69 6e |trols...|need.win|
|00000170| 64 6f 77 2b 0d 0d 6b 6f | 6e 73 74 20 72 65 73 4c |dow+..ko|nst resL|
|00000180| 6f 63 6b 65 64 09 09 63 | 6f 6e 73 74 61 6e 74 09 |ocked..c|onstant.|
|00000190| 4c 4f 43 4b 45 44 0d 6b | 6f 6e 73 74 20 72 65 73 |LOCKED.k|onst res|
|000001a0| 50 75 72 67 65 61 62 6c | 65 09 63 6f 6e 73 74 61 |Purgeabl|e.consta|
|000001b0| 6e 74 09 50 55 52 47 45 | 41 42 4c 45 0d 0d 20 20 |nt.PURGE|ABLE.. |
|000001c0| 20 20 30 09 76 61 6c 75 | 65 09 09 43 55 52 53 54 | 0.valu|e..CURST|
|000001d0| 41 43 4b 0d 20 20 20 20 | 30 09 76 61 6c 75 65 09 |ACK. |0.value.|
|000001e0| 09 43 55 52 44 49 43 54 | 0d 0d 20 20 20 20 30 09 |.CURDICT|.. 0.|
|000001f0| 76 61 6c 75 65 09 09 48 | 45 41 50 41 56 41 49 4c |value..H|EAPAVAIL|
|00000200| 0d 66 61 6c 73 65 09 76 | 61 6c 75 65 09 09 47 4f |.false.v|alue..GO|
|00000210| 54 46 52 45 45 3f 0d 74 | 72 75 65 09 76 61 6c 75 |TFREE?.t|rue.valu|
|00000220| 65 09 09 53 41 56 45 3f | 0d 0d 20 20 20 20 30 09 |e..SAVE?|.. 0.|
|00000230| 76 61 6c 75 65 09 09 51 | 55 49 54 57 4f 52 44 0d |value..Q|UITWORD.|
|00000240| 20 20 20 20 30 09 76 61 | 6c 75 65 09 09 41 42 4f | 0.va|lue..ABO|
|00000250| 52 54 57 4f 52 44 0d 0d | 09 73 74 72 69 6e 67 2b |RTWORD..|.string+|
|00000260| 09 09 24 54 4d 50 0d 0d | 09 69 6e 74 09 09 41 50 |..$TMP..|.int..AP|
|00000270| 52 45 46 4e 55 4d 0d 09 | 76 61 72 09 09 41 50 50 |REFNUM..|var..APP|
|00000280| 41 52 41 4d 0d 0d 32 32 | 09 64 69 61 6c 6f 67 09 |ARAM..22|.dialog.|
|00000290| 49 44 4c 47 0d 0d 0d 3a | 20 4e 4f 47 4f 09 33 20 |IDLG...:| NOGO.3 |
|000002a0| 62 65 65 70 20 20 33 20 | 62 65 65 70 20 20 63 6c |beep 3 |beep cl|
|000002b0| 6f 73 65 3a 20 69 44 6c | 67 20 20 73 65 74 3a 20 |ose: iDl|g set: |
|000002c0| 66 57 69 6e 64 0d 09 63 | 72 20 2e 22 20 52 65 73 |fWind..c|r ." Res|
|000002d0| 20 65 72 72 6f 72 23 20 | 22 20 2e 0d 09 63 72 20 | error# |" ...cr |
|000002e0| 2e 22 20 54 79 70 65 20 | 61 6e 79 20 6b 65 79 20 |." Type |any key |
|000002f0| 74 6f 20 72 65 74 75 72 | 6e 20 74 6f 20 46 69 6e |to retur|n to Fin|
|00000300| 64 65 72 2c 20 68 6f 70 | 65 66 75 6c 6c 79 22 0d |der, hop|efully".|
|00000310| 09 6b 65 79 20 20 62 79 | 65 20 20 3b 0d 0d 3a 20 |.key by|e ;..: |
|00000320| 43 48 4b 09 77 6f 72 64 | 30 20 20 63 61 6c 6c 20 |CHK.word|0 call |
|00000330| 72 65 73 65 72 72 6f 72 | 20 20 69 2d 3e 6c 20 20 |reserror| i->l |
|00000340| 3f 64 75 70 0d 09 49 46 | 20 20 6e 6f 67 6f 20 20 |?dup..IF| nogo |
|00000350| 54 48 45 4e 20 20 3b 0d | 0d 27 20 6e 75 6c 6c 09 |THEN ;.|.' null.|
|00000360| 76 65 63 74 09 54 45 4d | 50 0d 0d 3a 20 4f 4e 45 |vect.TEM|P..: ONE|
|00000370| 52 52 4f 52 09 09 5c 20 | 28 20 65 72 72 43 66 61 |RROR..\ |( errCfa|
|00000380| 20 2d 2d 20 29 0d 09 09 | 5c 20 48 65 72 65 20 77 | -- )...|\ Here w|
|00000390| 65 20 74 65 6d 70 6f 72 | 61 72 69 6c 79 20 73 65 |e tempor|arily se|
|000003a0| 74 20 74 68 65 20 65 72 | 72 6f 72 20 76 65 63 74 |t the er|ror vect|
|000003b0| 6f 72 73 2e 20 20 54 68 | 69 73 20 69 73 20 6e 6f |ors. Th|is is no|
|000003c0| 72 6d 61 6c 6c 79 0d 09 | 09 5c 20 69 6c 6c 65 67 |rmally..|.\ illeg|
|000003d0| 61 6c 20 73 69 6e 63 65 | 20 77 65 27 72 65 20 69 |al since| we're i|
|000003e0| 6e 20 61 20 6d 6f 64 75 | 6c 65 20 61 6e 64 20 74 |n a modu|le and t|
|000003f0| 68 65 20 76 65 63 74 6f | 72 73 20 61 72 65 20 6e |he vecto|rs are n|
|00000400| 6f 74 2e 20 20 42 75 74 | 0d 09 09 5c 20 77 65 27 |ot. But|...\ we'|
|00000410| 72 65 20 73 61 66 65 20 | 68 65 72 65 2c 20 73 6f |re safe |here, so|
|00000420| 20 77 65 20 6b 6c 75 64 | 67 65 20 69 74 2e 0d 09 | we klud|ge it...|
|00000430| 2d 3e 20 74 65 6d 70 09 | 09 5c 20 53 74 6f 72 65 |-> temp.|.\ Store|
|00000440| 20 74 6f 20 61 6e 20 69 | 6e 74 65 72 6e 61 6c 20 | to an i|nternal |
|00000450| 76 65 63 74 2c 20 63 6f | 6e 76 65 72 74 20 74 6f |vect, co|nvert to|
|00000460| 20 72 65 6c 6f 63 0d 09 | 5b 27 5d 20 74 65 6d 70 | reloc..|['] temp|
|00000470| 20 40 20 20 64 75 70 20 | 20 5b 27 5d 20 61 62 6f | @ dup | ['] abo|
|00000480| 72 74 76 65 63 20 21 20 | 20 5b 27 5d 20 64 66 6c |rtvec ! | ['] dfl|
|00000490| 74 2d 64 69 65 20 21 20 | 20 3b 0d 0d 5c 20 43 6c |t-die ! | ;..\ Cl|
|000004a0| 61 73 73 20 52 45 53 2b | 20 61 64 64 73 20 6d 65 |ass RES+| adds me|
|000004b0| 74 68 6f 64 73 20 74 6f | 20 52 65 73 6f 75 72 63 |thods to| Resourc|
|000004c0| 65 20 74 6f 20 61 6c 6c | 6f 77 20 76 61 72 69 6f |e to all|ow vario|
|000004d0| 75 73 20 6d 6f 64 69 66 | 69 63 61 74 69 6f 6e 73 |us modif|ications|
|000004e0| 0d 5c 20 74 6f 20 72 65 | 73 6f 75 72 63 65 73 2e |.\ to re|sources.|
|000004f0| 20 20 57 65 27 6c 6c 20 | 70 75 74 20 6d 6f 72 65 | We'll |put more|
|00000500| 20 69 6e 20 61 73 20 77 | 65 20 6e 65 65 64 20 74 | in as w|e need t|
|00000510| 68 65 6d 2e 0d 0d 3a 63 | 6c 61 73 73 09 52 45 53 |hem...:c|lass.RES|
|00000520| 2b 09 73 75 70 65 72 7b | 20 72 65 73 6f 75 72 63 |+.super{| resourc|
|00000530| 65 20 7d 0d 0d 6f 62 6a | 50 74 72 09 54 45 4d 50 |e }..obj|Ptr.TEMP|
|00000540| 52 45 53 20 20 63 6c 61 | 73 73 5f 69 73 20 20 72 |RES cla|ss_is r|
|00000550| 65 73 2b 0d 0d 3a 6d 20 | 43 48 41 4e 47 45 44 3a |es+..:m |CHANGED:|
|00000560| 09 67 65 74 3a 20 73 65 | 6c 66 20 20 63 61 6c 6c |.get: se|lf call|
|00000570| 20 43 68 61 6e 67 65 64 | 52 65 73 6f 75 72 63 65 | Changed|Resource|
|00000580| 20 20 3b 6d 0d 0d 3a 6d | 20 41 44 44 52 45 53 3a | ;m..:m| ADDRES:|
|00000590| 20 20 7b 20 73 32 35 35 | 20 2d 2d 20 7d 0d 09 67 | { s255| -- }..g|
|000005a0| 65 74 3a 20 73 65 6c 66 | 0d 09 67 65 74 3a 20 72 |et: self|..get: r|
|000005b0| 65 73 54 79 70 65 20 20 | 67 65 74 3a 20 49 44 20 |esType |get: ID |
|000005c0| 20 6d 61 6b 65 69 6e 74 | 0d 09 73 32 35 35 20 20 | makeint|..s255 |
|000005d0| 63 61 6c 6c 20 41 64 64 | 52 65 73 6f 75 72 63 65 |call Add|Resource|
|000005e0| 20 20 63 68 6b 20 20 3b | 6d 0d 0d 3a 6d 20 43 48 | chk ;|m..:m CH|
|000005f0| 41 4e 47 45 54 4f 3a 09 | 5c 20 28 20 72 65 73 20 |ANGETO:.|\ ( res |
|00000600| 2d 2d 20 29 0d 09 2d 3e | 20 74 65 6d 70 52 65 73 |-- )..->| tempRes|
|00000610| 0d 09 67 65 74 3a 20 74 | 65 6d 70 52 65 73 20 20 |..get: t|empRes |
|00000620| 64 75 70 20 20 63 61 6c | 6c 20 44 65 74 61 63 68 |dup cal|l Detach|
|00000630| 52 65 73 6f 75 72 63 65 | 20 20 70 75 74 3a 20 73 |Resource| put: s|
|00000640| 65 6c 66 20 20 3b 6d 0d | 0d 3a 6d 20 53 45 54 41 |elf ;m.|.:m SETA|
|00000650| 54 54 52 53 3a 09 5c 20 | 28 20 6e 20 2d 2d 20 29 |TTRS:.\ |( n -- )|
|00000660| 0d 09 67 65 74 3a 20 73 | 65 6c 66 20 20 73 77 61 |..get: s|elf swa|
|00000670| 70 20 20 6d 61 6b 65 69 | 6e 74 20 20 63 61 6c 6c |p makei|nt call|
|00000680| 20 53 65 74 52 65 73 41 | 74 74 72 73 20 20 63 68 | SetResA|ttrs ch|
|00000690| 6b 0d 09 63 68 61 6e 67 | 65 64 3a 20 73 65 6c 66 |k..chang|ed: self|
|000006a0| 20 20 3b 6d 0d 0d 3b 63 | 6c 61 73 73 0d 0d 09 72 | ;m..;c|lass...r|
|000006b0| 65 73 2b 09 53 52 43 52 | 45 53 0d 09 72 65 73 2b |es+.SRCR|ES..res+|
|000006c0| 09 44 53 54 52 45 53 0d | 0d 3a 20 43 4f 50 59 52 |.DSTRES.|.: COPYR|
|000006d0| 45 53 09 5c 20 28 20 74 | 79 70 65 20 72 65 73 49 |ES.\ ( t|ype resI|
|000006e0| 44 20 2d 2d 20 29 20 20 | 43 6f 70 69 65 73 20 74 |D -- ) |Copies t|
|000006f0| 68 65 20 72 65 73 6f 75 | 72 63 65 20 62 79 20 63 |he resou|rce by c|
|00000700| 6f 70 79 69 6e 67 0d 09 | 09 09 5c 20 20 74 68 65 |opying..|..\ the|
|00000710| 20 68 61 6e 64 6c 65 27 | 73 20 64 61 74 61 20 69 | handle'|s data i|
|00000720| 6e 20 6d 65 6d 6f 72 79 | 2e 20 20 55 73 65 20 74 |n memory|. Use t|
|00000730| 68 69 73 20 6f 6e 65 20 | 66 6f 72 20 72 65 73 6f |his one |for reso|
|00000740| 75 72 63 65 73 0d 09 09 | 09 5c 20 20 63 75 72 72 |urces...|.\ curr|
|00000750| 65 6e 74 6c 79 20 69 6e | 20 75 73 65 2e 0d 09 09 |ently in| use....|
|00000760| 09 0d 09 32 64 75 70 20 | 20 73 65 74 3a 20 73 72 |...2dup | set: sr|
|00000770| 63 52 65 73 20 20 73 65 | 74 3a 20 64 73 74 52 65 |cRes se|t: dstRe|
|00000780| 73 0d 09 67 65 74 6e 65 | 77 3a 20 73 72 63 52 65 |s..getne|w: srcRe|
|00000790| 73 20 20 63 68 6b 20 20 | 73 72 63 52 65 73 20 2d |s chk |srcRes -|
|000007a0| 3e 3a 20 64 73 74 52 65 | 73 0d 09 6e 75 6c 6c 4f |>: dstRe|s..nullO|
|000007b0| 53 73 74 72 20 20 61 64 | 64 52 65 73 3a 20 64 73 |Sstr ad|dRes: ds|
|000007c0| 74 52 65 73 20 20 63 68 | 6b 20 20 3b 0d 0d 0d 3a |tRes ch|k ;...:|
|000007d0| 20 43 48 41 4e 47 45 52 | 45 53 09 5c 20 28 20 74 | CHANGER|ES.\ ( t|
|000007e0| 79 70 65 20 72 65 73 49 | 44 20 2d 2d 20 29 20 20 |ype resI|D -- ) |
|000007f0| 43 6f 70 69 65 73 20 74 | 68 65 20 72 65 73 6f 75 |Copies t|he resou|
|00000800| 72 63 65 20 62 79 20 64 | 65 74 61 63 68 69 6e 67 |rce by d|etaching|
|00000810| 20 69 74 73 0d 09 09 5c | 20 20 68 61 6e 64 6c 65 | its...\| handle|
|00000820| 20 61 6e 64 20 61 74 74 | 61 63 68 69 6e 67 20 69 | and att|aching i|
|00000830| 74 20 74 6f 20 74 68 65 | 20 6e 65 77 20 72 65 73 |t to the| new res|
|00000840| 6f 75 72 63 65 2e 20 20 | 55 73 65 20 74 68 69 73 |ource. |Use this|
|00000850| 0d 09 09 5c 20 20 6f 6e | 65 20 66 6f 72 20 72 65 |...\ on|e for re|
|00000860| 73 6f 75 72 63 65 73 20 | 6e 6f 74 20 69 6e 20 75 |sources |not in u|
|00000870| 73 65 20 2d 20 69 74 20 | 68 61 73 20 6c 65 73 73 |se - it |has less|
|00000880| 20 6f 76 65 72 68 65 61 | 64 2e 0d 09 32 64 75 70 | overhea|d...2dup|
|00000890| 20 20 73 65 74 3a 20 73 | 72 63 52 65 73 20 20 73 | set: s|rcRes s|
|000008a0| 65 74 3a 20 64 73 74 52 | 65 73 0d 09 67 65 74 6e |et: dstR|es..getn|
|000008b0| 65 77 3a 20 73 72 63 52 | 65 73 20 20 63 68 6b 20 |ew: srcR|es chk |
|000008c0| 20 73 72 63 52 65 73 20 | 63 68 61 6e 67 65 54 6f | srcRes |changeTo|
|000008d0| 3a 20 64 73 74 52 65 73 | 0d 09 6e 75 6c 6c 4f 53 |: dstRes|..nullOS|
|000008e0| 73 74 72 20 20 61 64 64 | 52 65 73 3a 20 64 73 74 |str add|Res: dst|
|000008f0| 52 65 73 20 20 63 68 6b | 20 20 3b 0d 0d 3a 20 21 |Res chk| ;..: !|
|00000900| 53 54 41 43 4b 09 63 75 | 72 53 74 61 63 6b 20 2d |STACK.cu|rStack -|
|00000910| 3e 20 73 74 6b 53 70 61 | 63 65 20 20 3b 0d 0d 3a |> stkSpa|ce ;..:|
|00000920| 20 40 48 45 41 50 09 09 | 5c 20 52 65 74 75 72 6e | @HEAP..|\ Return|
|00000930| 73 20 73 74 61 72 74 69 | 6e 67 20 68 65 61 70 20 |s starti|ng heap |
|00000940| 73 69 7a 65 20 66 6f 72 | 20 74 68 69 73 20 6e 75 |size for| this nu|
|00000950| 63 6c 65 75 73 2e 0d 09 | 67 6f 74 46 72 65 65 3f |cleus...|gotFree?|
|00000960| 20 20 4e 49 46 20 20 66 | 72 65 65 20 20 2d 3e 20 | NIF f|ree -> |
|00000970| 68 65 61 70 41 76 61 69 | 6c 20 20 74 72 75 65 20 |heapAvai|l true |
|00000980| 2d 3e 20 67 6f 74 46 72 | 65 65 3f 20 20 54 48 45 |-> gotFr|ee? THE|
|00000990| 4e 0d 09 68 65 61 70 41 | 76 61 69 6c 20 20 3b 0d |N..heapA|vail ;.|
|000009a0| 0d 3a 20 43 55 52 48 45 | 41 50 09 09 5c 20 43 6f |.: CURHE|AP..\ Co|
|000009b0| 6d 70 75 74 65 73 20 61 | 6d 6f 75 6e 74 20 6f 66 |mputes a|mount of|
|000009c0| 20 68 65 61 70 20 61 76 | 61 69 6c 61 62 6c 65 20 | heap av|ailable |
|000009d0| 66 6f 72 20 63 75 72 72 | 65 6e 74 20 63 6f 6e 66 |for curr|ent conf|
|000009e0| 69 67 75 72 61 74 69 6f | 6e 2e 0d 09 40 68 65 61 |iguratio|n...@hea|
|000009f0| 70 20 20 73 74 6b 73 70 | 61 63 65 20 63 75 72 53 |p stksp|ace curS|
|00000a00| 74 61 63 6b 20 2d 20 2b | 20 20 72 6f 6f 6d 20 63 |tack - +| room c|
|00000a10| 75 72 44 69 63 74 20 2d | 20 2b 20 20 3b 0d 0d 3a |urDict -| + ;..:|
|00000a20| 20 53 45 54 4d 45 4d 09 | 09 5c 20 53 65 74 73 20 | SETMEM.|.\ Sets |
|00000a30| 6e 75 63 6c 65 75 73 20 | 73 74 61 63 6b 20 74 6f |nucleus |stack to|
|00000a40| 20 73 65 6c 65 63 74 65 | 64 20 76 61 6c 75 65 73 | selecte|d values|
|00000a50| 0d 09 21 73 74 61 63 6b | 0d 09 63 75 72 44 69 63 |..!stack|..curDic|
|00000a60| 74 20 2d 3e 20 6d 61 78 | 64 69 63 20 20 3b 0d 0d |t -> max|dic ;..|
|00000a70| 3a 20 69 4d 73 67 09 09 | 5c 20 28 20 61 64 64 72 |: iMsg..|\ ( addr|
|00000a80| 31 20 6c 65 6e 31 20 61 | 64 64 72 32 20 6c 65 6e |1 len1 a|ddr2 len|
|00000a90| 32 20 2d 2d 20 29 20 20 | 47 69 76 65 73 20 69 6e |2 -- ) |Gives in|
|00000aa0| 66 6f 72 6d 61 74 6f 72 | 79 20 6d 65 73 73 61 67 |formator|y messag|
|00000ab0| 65 0d 09 22 20 20 22 20 | 22 20 20 22 20 50 61 72 |e.." " |" " Par|
|00000ac0| 61 6d 54 65 78 74 20 64 | 72 61 77 3a 20 69 44 6c |amText d|raw: iDl|
|00000ad0| 67 20 20 3b 0d 0d 3a 20 | 43 68 52 09 09 5c 20 28 |g ;..: |ChR..\ (|
|00000ae0| 20 68 61 6e 64 6c 65 20 | 2d 2d 20 68 61 6e 64 6c | handle |-- handl|
|00000af0| 65 20 29 20 20 4d 61 72 | 6b 73 20 74 68 65 20 72 |e ) Mar|ks the r|
|00000b00| 65 73 6f 75 72 63 65 20 | 66 6f 72 20 75 70 64 61 |esource |for upda|
|00000b10| 74 65 20 74 6f 20 64 69 | 73 6b 0d 09 64 75 70 20 |te to di|sk..dup |
|00000b20| 63 61 6c 6c 20 43 68 61 | 6e 67 65 64 52 65 73 6f |call Cha|ngedReso|
|00000b30| 75 72 63 65 20 20 3b 0d | 0d 6f 62 6a 50 74 72 09 |urce ;.|.objPtr.|
|00000b40| 74 68 65 4d 6f 64 20 20 | 63 6c 61 73 73 5f 69 73 |theMod |class_is|
|00000b50| 20 20 6d 6f 64 75 6c 65 | 0d 68 61 6e 64 6c 65 09 | module|.handle.|
|00000b60| 4d 6f 64 48 64 6c 0d 0d | 3a 20 28 41 44 44 4d 4f |ModHdl..|: (ADDMO|
|00000b70| 44 29 20 20 7b 20 74 68 | 65 43 66 61 20 6e 20 5c |D) { th|eCfa n \|
|00000b80| 20 49 44 20 2d 2d 20 7d | 0d 09 74 68 65 43 66 61 | ID -- }|..theCfa|
|00000b90| 20 6d 6f 64 3f 20 20 4e | 49 46 20 20 64 72 6f 70 | mod? N|IF drop|
|00000ba0| 20 20 45 58 49 54 20 20 | 54 48 45 4e 0d 09 3e 6f | EXIT |THEN..>o|
|00000bb0| 62 6a 20 2d 3e 20 74 68 | 65 4d 6f 64 0d 09 69 6e |bj -> th|eMod..in|
|00000bc0| 73 74 61 6c 6c 3f 3a 20 | 74 68 65 4d 6f 64 20 20 |stall?: |theMod |
|00000bd0| 30 45 58 49 54 09 09 09 | 5c 20 4f 75 74 20 69 66 |0EXIT...|\ Out if|
|00000be0| 20 6e 6f 74 20 74 6f 20 | 69 6e 73 74 61 6c 6c 20 | not to |install |
|00000bf0| 74 68 69 73 20 6d 6f 64 | 0d 09 22 20 6d 6f 64 75 |this mod|.." modu|
|00000c00| 6c 65 3a 22 20 20 74 68 | 65 43 66 61 20 3e 6e 61 |le:" th|eCfa >na|
|00000c10| 6d 65 20 6e 3e 63 6f 75 | 6e 74 20 20 69 4d 73 67 |me n>cou|nt iMsg|
|00000c20| 0d 0d 09 09 62 69 6e 4e | 61 6d 65 3a 20 74 68 65 |....binN|ame: the|
|00000c30| 4d 6f 64 20 20 6e 61 6d | 65 3a 20 66 46 63 62 20 |Mod nam|e: fFcb |
|00000c40| 20 30 20 73 65 74 56 72 | 65 66 3a 20 66 46 63 62 | 0 setVr|ef: fFcb|
|00000c50| 0d 09 09 6f 70 65 6e 52 | 65 61 64 4f 6e 6c 79 3a |...openR|eadOnly:|
|00000c60| 20 66 46 63 62 20 20 3f | 65 72 72 6f 72 20 31 33 | fFcb ?|error 13|
|00000c70| 38 0d 09 09 73 69 7a 65 | 3a 20 66 46 63 62 20 20 |8...size|: fFcb |
|00000c80| 64 75 70 20 20 6e 65 77 | 3a 20 6d 6f 64 48 64 6c |dup new|: modHdl|
|00000c90| 0d 09 09 6c 6f 63 6b 3a | 20 6d 6f 64 48 64 6c 09 |...lock:| modHdl.|
|00000ca0| 09 09 5c 20 4d 61 79 62 | 65 20 77 65 20 6e 65 65 |..\ Mayb|e we nee|
|00000cb0| 64 20 74 68 69 73 0d 09 | 09 70 74 72 3a 20 6d 6f |d this..|.ptr: mo|
|00000cc0| 64 48 64 6c 20 20 73 77 | 61 70 20 20 72 65 61 64 |dHdl sw|ap read|
|00000cd0| 3a 20 66 46 63 62 0d 09 | 09 75 6e 6c 6f 63 6b 3a |: fFcb..|.unlock:|
|00000ce0| 20 6d 6f 64 48 64 6c 09 | 09 5c 20 55 6e 6c 6f 63 | modHdl.|.\ Unloc|
|00000cf0| 6b 20 62 65 66 6f 72 65 | 20 65 72 72 6f 72 20 63 |k before| error c|
|00000d00| 68 65 63 6b 0d 09 09 63 | 6c 6f 73 65 3a 20 66 46 |heck...c|lose: fF|
|00000d10| 63 62 20 20 64 72 6f 70 | 20 20 3f 65 72 72 6f 72 |cb drop| ?error|
|00000d20| 20 31 34 31 0d 0d 5c 09 | 72 65 6c 65 61 73 65 3a | 141..\.|release:|
|00000d30| 20 74 68 65 4d 6f 64 20 | 20 20 6c 6f 61 64 3a 20 | theMod | load: |
|00000d40| 74 68 65 4d 6f 64 0d 09 | 77 6f 72 64 30 20 27 74 |theMod..|word0 't|
|00000d50| 79 70 65 20 43 4f 44 45 | 20 20 63 61 6c 6c 20 55 |ype CODE| call U|
|00000d60| 6e 69 71 75 65 49 44 20 | 20 69 2d 3e 6c 20 20 2d |niqueID | i->l -|
|00000d70| 3e 20 49 44 0d 09 27 74 | 79 70 65 20 43 4f 44 45 |> ID..'t|ype CODE|
|00000d80| 20 20 49 44 20 20 73 65 | 74 3a 20 64 73 74 52 65 | ID se|t: dstRe|
|00000d90| 73 20 20 49 44 20 20 73 | 65 74 52 65 73 49 44 3a |s ID s|etResID:|
|00000da0| 20 74 68 65 4d 6f 64 0d | 09 28 20 68 61 6e 64 6c | theMod.|.( handl|
|00000db0| 65 3a 20 74 68 65 4d 6f | 64 20 29 20 20 67 65 74 |e: theMo|d ) get|
|00000dc0| 3a 20 6d 6f 64 48 64 6c | 20 20 70 75 74 3a 20 64 |: modHdl| put: d|
|00000dd0| 73 74 52 65 73 0d 09 74 | 68 65 43 66 61 20 3e 6e |stRes..t|heCfa >n|
|00000de0| 61 6d 65 20 6e 3e 63 6f | 75 6e 74 20 73 74 72 32 |ame n>co|unt str2|
|00000df0| 35 35 20 20 61 64 64 52 | 65 73 3a 20 64 73 74 52 |55 addR|es: dstR|
|00000e00| 65 73 0d 09 09 09 5c 20 | 4e 4f 54 45 3a 20 77 65 |es....\ |NOTE: we|
|00000e10| 20 64 6f 6e 27 74 20 72 | 65 6c 65 61 73 65 20 6d | don't r|elease m|
|00000e20| 6f 64 48 64 6c 20 73 69 | 6e 63 65 20 69 74 27 73 |odHdl si|nce it's|
|00000e30| 20 74 68 65 0d 09 09 09 | 5c 20 52 65 73 6f 75 72 | the....|\ Resour|
|00000e40| 63 65 20 4d 61 6e 61 67 | 65 72 27 73 20 62 61 62 |ce Manag|er's bab|
|00000e50| 79 20 6e 6f 77 2e 0d 09 | 6c 6f 63 6b 65 64 20 20 |y now...|locked |
|00000e60| 73 65 74 41 74 74 72 73 | 3a 20 64 73 74 52 65 73 |setAttrs|: dstRes|
|00000e70| 20 20 3b 09 09 5c 20 6e | 6f 74 65 20 2d 20 6e 6f | ;..\ n|ote - no|
|00000e80| 74 20 70 75 72 67 65 61 | 62 6c 65 20 61 6e 79 20 |t purgea|ble any |
|00000e90| 6d 6f 72 65 20 2d 20 6e | 6f 74 20 73 61 66 65 0d |more - n|ot safe.|
|00000ea0| 0d 3a 20 41 44 44 4d 4f | 44 53 0d 09 22 20 20 22 |.: ADDMO|DS.." "|
|00000eb0| 20 32 64 75 70 20 32 64 | 75 70 20 32 64 75 70 20 | 2dup 2d|up 2dup |
|00000ec0| 20 70 61 72 61 6d 54 65 | 78 74 0d 09 22 20 49 6e | paramTe|xt.." In|
|00000ed0| 73 74 61 6c 6c 69 6e 67 | 20 5e 30 20 5e 31 22 20 |stalling| ^0 ^1" |
|00000ee0| 32 31 20 70 75 74 54 65 | 78 74 3a 20 69 44 6c 67 |21 putTe|xt: iDlg|
|00000ef0| 0d 09 5b 27 5d 20 28 61 | 64 64 6d 6f 64 29 20 20 |..['] (a|ddmod) |
|00000f00| 30 20 20 74 72 61 76 20 | 20 3b 0d 0d 3a 20 49 4e |0 trav | ;..: IN|
|00000f10| 56 57 4f 52 44 09 09 5c | 20 28 20 69 74 65 6d 23 |VWORD..\| ( item#|
|00000f20| 20 2d 2d 20 29 0d 09 34 | 30 20 62 65 65 70 20 30 | -- )..4|0 beep 0|
|00000f30| 20 24 20 66 66 66 66 20 | 72 6f 74 20 20 73 65 74 | $ ffff |rot set|
|00000f40| 53 65 6c 65 63 74 3a 20 | 69 44 6c 67 20 20 52 65 |Select: |iDlg Re|
|00000f50| 74 75 72 6e 54 6f 4d 6f | 64 61 6c 20 20 3b 0d 0d |turnToMo|dal ;..|
|00000f60| 3a 61 20 4f 4b 09 09 5c | 20 56 61 6c 69 64 61 74 |:a OK..\| Validat|
|00000f70| 65 73 20 71 75 69 74 73 | 20 26 20 61 62 6f 72 74 |es quits| & abort|
|00000f80| 20 77 6f 72 64 73 3b 20 | 69 66 20 62 61 64 20 72 | words; |if bad r|
|00000f90| 65 74 75 72 6e 73 20 74 | 6f 20 6d 6f 64 61 6c 0d |eturns t|o modal.|
|00000fa0| 09 31 30 20 67 65 74 54 | 65 78 74 3a 20 69 44 6c |.10 getT|ext: iDl|
|00000fb0| 67 20 20 73 46 69 6e 64 | 20 20 4e 49 46 20 20 31 |g sFind| NIF 1|
|00000fc0| 30 20 69 6e 76 57 6f 72 | 64 20 20 45 58 49 54 20 |0 invWor|d EXIT |
|00000fd0| 20 54 48 45 4e 0d 09 2d | 3e 20 71 75 69 74 77 6f | THEN..-|> quitwo|
|00000fe0| 72 64 0d 09 31 31 20 67 | 65 74 54 65 78 74 3a 20 |rd..11 g|etText: |
|00000ff0| 69 44 6c 67 20 20 73 46 | 69 6e 64 20 20 4e 49 46 |iDlg sF|ind NIF|
|00001000| 20 20 31 31 20 69 6e 76 | 57 6f 72 64 20 20 45 58 | 11 inv|Word EX|
|00001010| 49 54 20 20 54 48 45 4e | 0d 09 2d 3e 20 61 62 6f |IT THEN|..-> abo|
|00001020| 72 74 77 6f 72 64 0d 09 | 74 72 75 65 20 20 3b 61 |rtword..|true ;a|
|00001030| 0d 0d 3a 61 20 43 41 4e | 43 45 4c 09 66 61 6c 73 |..:a CAN|CEL.fals|
|00001040| 65 20 20 3b 61 0d 0d 78 | 74 73 7b 09 6f 6b 20 63 |e ;a..x|ts{.ok c|
|00001050| 61 6e 63 65 6c 20 6e 75 | 6c 6c 20 6e 75 6c 6c 20 |ancel nu|ll null |
|00001060| 6e 75 6c 6c 20 6e 75 6c | 6c 20 6e 75 6c 6c 20 6e |null nul|l null n|
|00001070| 75 6c 6c 20 6e 75 6c 6c | 20 6e 75 6c 6c 20 6e 75 |ull null| null nu|
|00001080| 6c 6c 0d 09 09 74 6f 67 | 69 74 65 6d 20 74 6f 67 |ll...tog|item tog|
|00001090| 49 74 65 6d 20 74 6f 67 | 49 74 65 6d 20 6e 75 6c |Item tog|Item nul|
|000010a0| 6c 20 6e 75 6c 6c 20 6e | 75 6c 6c 20 6e 75 6c 6c |l null n|ull null|
|000010b0| 20 6e 75 6c 6c 20 6e 75 | 6c 6c 20 6e 75 6c 6c 0d | null nu|ll null.|
|000010c0| 09 09 74 6f 67 69 74 65 | 6d 20 20 7d 0d 09 31 31 |..togite|m }..11|
|000010d0| 31 20 20 69 6e 69 74 3a | 20 69 44 6c 67 20 20 20 |1 init:| iDlg |
|000010e0| 31 20 20 73 65 74 42 6f | 6c 64 3a 20 69 44 6c 67 |1 setBo|ld: iDlg|
|000010f0| 0d 0d 3a 20 47 45 54 52 | 0d 09 67 65 74 5f 61 70 |..: GETR|..get_ap|
|00001100| 70 6c 5f 6e 61 6d 65 20 | 2d 3e 3a 20 24 74 6d 70 |pl_name |->: $tmp|
|00001110| 20 20 61 6c 6c 3a 20 24 | 74 6d 70 20 20 35 20 20 | all: $|tmp 5 |
|00001120| 70 75 74 54 65 78 74 3a | 20 69 44 6c 67 0d 09 67 |putText:| iDlg..g|
|00001130| 65 74 5f 61 70 70 6c 5f | 76 65 72 73 20 2d 3e 3a |et_appl_|vers ->:|
|00001140| 20 24 74 6d 70 20 20 61 | 6c 6c 3a 20 24 74 6d 70 | $tmp a|ll: $tmp|
|00001150| 20 20 34 20 20 70 75 74 | 54 65 78 74 3a 20 69 44 | 4 put|Text: iD|
|00001160| 6c 67 0d 09 67 65 74 5f | 61 70 70 6c 5f 73 69 67 |lg..get_|appl_sig|
|00001170| 20 20 70 61 64 20 21 20 | 20 70 61 64 20 34 20 20 | pad ! | pad 4 |
|00001180| 33 20 20 70 75 74 54 65 | 78 74 3a 20 69 44 6c 67 |3 putTe|xt: iDlg|
|00001190| 20 20 3b 0d 0d 3a 20 44 | 52 4f 50 40 09 09 5c 20 | ;..: D|ROP@..\ |
|000011a0| 28 20 61 64 64 72 20 6c | 65 6e 20 2d 2d 20 61 64 |( addr l|en -- ad|
|000011b0| 64 72 27 20 29 0d 09 09 | 5c 20 46 65 74 63 68 65 |dr' )...|\ Fetche|
|000011c0| 73 20 31 73 74 20 66 6f | 75 72 20 62 79 74 65 73 |s 1st fo|ur bytes|
|000011d0| 20 6f 6e 20 61 6e 20 6f | 64 64 20 62 79 74 65 2c | on an o|dd byte,|
|000011e0| 20 70 61 64 20 77 69 74 | 68 20 62 6c 61 6e 6b 73 | pad wit|h blanks|
|000011f0| 0d 09 3e 72 20 73 70 40 | 20 24 20 32 30 32 30 32 |..>r sp@| $ 20202|
|00001200| 30 32 30 20 72 6f 74 20 | 72 6f 74 20 72 3e 20 34 |020 rot |rot r> 4|
|00001210| 20 6d 69 6e 20 63 6d 6f | 76 65 20 20 3b 0d 0d 3a | min cmo|ve ;..:|
|00001220| 20 53 45 54 46 52 45 46 | 09 09 5c 20 28 20 74 79 | SETFREF|..\ ( ty|
|00001230| 70 65 20 6e 20 2d 2d 20 | 29 0d 09 27 74 79 70 65 |pe n -- |)..'type|
|00001240| 20 46 52 45 46 20 20 73 | 77 61 70 20 20 73 65 74 | FREF s|wap set|
|00001250| 3a 20 73 72 63 52 65 73 | 20 20 67 65 74 4e 65 77 |: srcRes| getNew|
|00001260| 3a 20 73 72 63 52 65 73 | 0d 09 67 65 74 3a 20 73 |: srcRes|..get: s|
|00001270| 72 63 52 65 73 20 20 43 | 68 52 20 20 3e 70 74 72 |rcRes C|hR >ptr|
|00001280| 20 21 20 20 3b 0d 0d 0d | 3a 63 6c 61 73 73 09 53 | ! ;...|:class.S|
|00001290| 45 54 55 50 48 44 52 09 | 73 75 70 65 72 7b 20 6f |ETUPHDR.|super{ o|
|000012a0| 62 6a 65 63 74 20 7d 0d | 09 09 5c 20 41 20 64 75 |bject }.|..\ A du|
|000012b0| 6d 6d 79 20 63 6c 61 73 | 73 20 74 6f 20 6d 61 70 |mmy clas|s to map|
|000012c0| 20 74 68 65 20 69 6e 66 | 6f 20 61 72 65 61 20 61 | the inf|o area a|
|000012d0| 74 20 74 68 65 20 73 74 | 61 72 74 20 6f 66 20 74 |t the st|art of t|
|000012e0| 68 65 0d 09 09 5c 20 20 | 53 65 74 75 70 20 73 65 |he...\ |Setup se|
|000012f0| 67 6d 65 6e 74 0d 72 65 | 63 6f 72 64 0d 7b 09 76 |gment.re|cord.{.v|
|00001300| 61 72 09 09 64 75 6d 6d | 79 0d 09 69 6e 74 09 09 |ar..dumm|y..int..|
|00001310| 26 62 72 61 09 09 5c 20 | 54 68 65 20 6e 61 6d 65 |&bra..\ |The name|
|00001320| 73 20 61 72 65 20 74 68 | 65 20 73 61 6d 65 2c 20 |s are th|e same, |
|00001330| 77 69 74 68 20 26 20 69 | 6e 20 66 72 6f 6e 74 0d |with & i|n front.|
|00001340| 09 76 61 72 09 09 26 6d | 61 78 44 69 63 0d 09 76 |.var..&m|axDic..v|
|00001350| 61 72 09 09 26 6d 69 6e | 48 65 61 70 0d 09 76 61 |ar..&min|Heap..va|
|00001360| 72 09 09 26 64 69 63 53 | 69 7a 65 0d 09 76 61 72 |r..&dicS|ize..var|
|00001370| 09 09 26 53 74 6b 53 70 | 61 63 65 0d 09 76 61 72 |..&StkSp|ace..var|
|00001380| 09 09 26 52 73 74 6b 53 | 70 61 63 65 0d 09 62 6f |..&RstkS|pace..bo|
|00001390| 6f 6c 09 26 69 6e 73 74 | 61 6c 6c 65 64 0d 09 62 |ol.&inst|alled..b|
|000013a0| 79 74 65 09 73 70 61 72 | 65 0d 09 69 6e 74 09 09 |yte.spar|e..int..|
|000013b0| 26 6e 6f 70 0d 7d 0d 0d | 3a 6d 20 53 45 54 55 50 |&nop.}..|:m SETUP|
|000013c0| 3a 20 20 7b 20 69 6e 73 | 74 6c 64 3f 20 2d 2d 20 |: { ins|tld? -- |
|000013d0| 7d 0d 0d 5c 09 24 20 61 | 39 66 66 20 20 09 70 75 |}..\.$ a|9ff .pu|
|000013e0| 74 3a 20 26 6e 6f 70 09 | 09 09 5c 20 49 6e 63 6c |t: &nop.|..\ Incl|
|000013f0| 75 64 65 20 74 6f 20 62 | 72 65 61 6b 70 6f 69 6e |ude to b|reakpoin|
|00001400| 74 20 6f 6e 20 72 75 6e | 0d 0d 09 6d 61 78 44 69 |t on run|...maxDi|
|00001410| 63 09 09 70 75 74 3a 20 | 26 6d 61 78 44 69 63 0d |c..put: |&maxDic.|
|00001420| 09 6d 69 6e 48 65 61 70 | 09 09 70 75 74 3a 20 26 |.minHeap|..put: &|
|00001430| 6d 69 6e 48 65 61 70 0d | 09 73 74 6b 53 70 61 63 |minHeap.|.stkSpac|
|00001440| 65 09 70 75 74 3a 20 26 | 73 74 6b 53 70 61 63 65 |e.put: &|stkSpace|
|00001450| 0d 09 52 73 74 6b 53 70 | 61 63 65 09 70 75 74 3a |..RstkSp|ace.put:|
|00001460| 20 26 52 73 74 6b 53 70 | 61 63 65 0d 09 69 6e 73 | &RstkSp|ace..ins|
|00001470| 74 6c 64 3f 09 09 70 75 | 74 3a 20 26 69 6e 73 74 |tld?..pu|t: &inst|
|00001480| 61 6c 6c 65 64 20 20 3b | 6d 0d 3b 63 6c 61 73 73 |alled ;|m.;class|
|00001490| 0d 0d 3a 20 53 45 54 44 | 49 43 26 48 45 41 50 09 |..: SETD|IC&HEAP.|
|000014a0| 09 5c 20 28 20 69 6e 73 | 74 6c 64 3f 20 2d 2d 20 |.\ ( ins|tld? -- |
|000014b0| 29 0d 09 70 74 72 3a 20 | 64 73 74 52 65 73 20 20 |)..ptr: |dstRes |
|000014c0| 73 65 74 75 70 3a 20 73 | 65 74 75 70 48 64 72 20 |setup: s|etupHdr |
|000014d0| 20 3b 20 09 09 5c 20 46 | 6f 72 63 65 64 20 62 69 | ; ..\ F|orced bi|
|000014e0| 6e 64 20 74 6f 20 70 73 | 65 75 64 6f 2d 6f 62 6a |nd to ps|eudo-obj|
|000014f0| 65 63 74 0d 0d 3a 20 53 | 45 54 41 50 50 4c 53 49 |ect..: S|ETAPPLSI|
|00001500| 5a 45 0d 09 68 65 72 65 | 20 20 6e 70 74 72 3a 20 |ZE..here| nptr: |
|00001510| 73 72 63 52 65 73 20 20 | 2d 09 09 5c 20 4f 66 66 |srcRes |-..\ Off|
|00001520| 73 65 74 20 74 6f 20 48 | 65 72 65 0d 09 63 75 72 |set to H|ere..cur|
|00001530| 44 69 63 74 20 2b 20 20 | 73 65 74 53 69 7a 65 3a |Dict + |setSize:|
|00001540| 20 64 73 74 52 65 73 20 | 20 3b 0d 0d 3a 20 55 4e | dstRes | ;..: UN|
|00001550| 50 41 54 43 48 20 20 7b | 20 5c 20 5e 62 72 20 2d |PATCH {| \ ^br -|
|00001560| 2d 20 7d 0d 09 62 72 73 | 20 2d 3e 20 5e 62 72 0d |- }..brs| -> ^br.|
|00001570| 09 5e 62 72 20 40 09 5b | 27 5d 20 2a 20 20 36 20 |.^br @.[|'] * 6 |
|00001580| 2b 09 21 09 34 20 2b 2b | 3e 20 5e 62 72 09 09 5c |+.!.4 ++|> ^br..\|
|00001590| 20 2a 2a 2a 4e 4f 54 45 | 3a 20 61 64 64 20 74 68 | ***NOTE|: add th|
|000015a0| 65 20 36 20 66 6f 72 20 | 77 6f 72 64 73 0d 09 5e |e 6 for |words..^|
|000015b0| 62 72 20 40 09 5b 27 5d | 20 2f 20 20 36 20 2b 09 |br @.[']| / 6 +.|
|000015c0| 21 09 34 20 2b 2b 3e 20 | 5e 62 72 09 09 5c 20 77 |!.4 ++> |^br..\ w|
|000015d0| 69 74 68 20 22 78 69 6e | 66 6f 22 20 6f 70 74 69 |ith "xin|fo" opti|
|000015e0| 6d 69 7a 61 74 69 6f 6e | 20 69 6e 66 6f 0d 09 5e |mization| info..^|
|000015f0| 62 72 20 40 09 5b 27 5d | 20 6d 6f 64 09 21 09 34 |br @.[']| mod.!.4|
|00001600| 20 2b 2b 3e 20 5e 62 72 | 0d 09 5e 62 72 20 40 09 | ++> ^br|..^br @.|
|00001610| 5b 27 5d 20 2f 6d 6f 64 | 09 21 09 34 20 2b 2b 3e |['] /mod|.!.4 ++>|
|00001620| 20 5e 62 72 0d 09 5e 62 | 72 20 40 09 5b 27 5d 20 | ^br..^b|r @.['] |
|00001630| 75 2f 6d 6f 64 09 21 09 | 34 20 2b 2b 3e 20 5e 62 |u/mod.!.|4 ++> ^b|
|00001640| 72 0d 09 5e 62 72 20 40 | 09 5b 27 5d 20 6d 75 6c |r..^br @|.['] mul|
|00001650| 78 09 21 20 20 3b 0d 0d | 3a 20 41 44 44 43 4f 44 |x.! ;..|: ADDCOD|
|00001660| 45 09 09 5c 20 41 64 64 | 73 20 74 68 65 20 43 4f |E..\ Add|s the CO|
|00001670| 44 45 20 72 65 73 6f 75 | 72 63 65 73 20 74 6f 20 |DE resou|rces to |
|00001680| 61 20 6e 65 77 20 61 70 | 70 6c 69 63 61 74 69 6f |a new ap|plicatio|
|00001690| 6e 2e 0d 0d 09 22 20 64 | 69 63 74 69 6f 6e 61 72 |n...." d|ictionar|
|000016a0| 79 22 20 22 20 20 22 20 | 20 69 4d 73 67 0d 0d 09 |y" " " | iMsg...|
|000016b0| 27 74 79 70 65 20 43 4f | 44 45 20 20 30 20 20 63 |'type CO|DE 0 c|
|000016c0| 6f 70 79 52 65 73 09 09 | 09 5c 20 43 6f 70 79 20 |opyRes..|.\ Copy |
|000016d0| 43 4f 44 45 20 30 20 28 | 4a 75 6d 70 20 74 61 62 |CODE 0 (|Jump tab|
|000016e0| 6c 65 29 0d 09 20 20 6c | 6f 63 6b 65 64 20 20 73 |le).. l|ocked s|
|000016f0| 65 74 41 74 74 72 73 3a | 20 64 73 74 52 65 73 0d |etAttrs:| dstRes.|
|00001700| 09 27 74 79 70 65 20 43 | 4f 44 45 20 20 31 20 20 |.'type C|ODE 1 |
|00001710| 63 68 61 6e 67 65 52 65 | 73 09 09 5c 20 41 6e 64 |changeRe|s..\ And|
|00001720| 20 43 4f 44 45 20 31 20 | 28 53 65 74 75 70 29 0d | CODE 1 |(Setup).|
|00001730| 09 20 20 70 75 72 67 65 | 61 62 6c 65 20 20 73 65 |. purge|able se|
|00001740| 74 41 74 74 72 73 3a 20 | 64 73 74 52 65 73 0d 09 |tAttrs: |dstRes..|
|00001750| 74 72 75 65 20 20 73 65 | 74 44 69 63 26 68 65 61 |true se|tDic&hea|
|00001760| 70 0d 09 0d 5c 20 4e 6f | 77 20 77 65 20 73 65 74 |p...\ No|w we set|
|00001770| 20 61 6c 6c 20 74 68 65 | 20 76 61 72 69 6f 75 73 | all the| various|
|00001780| 20 66 6c 61 67 73 20 61 | 6e 64 20 76 65 63 74 6f | flags a|nd vecto|
|00001790| 72 73 20 61 70 70 72 6f | 70 72 69 61 74 65 6c 79 |rs appro|priately|
|000017a0| 3a 0d 0d 09 75 6e 70 61 | 74 63 68 20 20 6f 6c 64 |:...unpa|tch old|
|000017b0| 56 65 63 73 0d 09 66 61 | 6c 73 65 20 2d 3e 20 69 |Vecs..fa|lse -> i|
|000017c0| 6e 69 74 7a 65 64 3f 20 | 20 74 72 75 65 20 2d 3e |nitzed? | true ->|
|000017d0| 20 69 6e 73 74 6c 64 3f | 0d 09 66 61 6c 73 65 20 | instld?|..false |
|000017e0| 2d 3e 20 4d 52 6f 70 65 | 6e 3f 20 20 66 61 6c 73 |-> MRope|n? fals|
|000017f0| 65 20 2d 3e 20 75 73 65 | 5f 70 61 74 68 73 3f 0d |e -> use|_paths?.|
|00001800| 09 30 20 2d 3e 20 43 50 | 61 64 64 72 0d 09 63 6c |.0 -> CP|addr..cl|
|00001810| 61 73 73 69 6e 69 74 3a | 20 66 57 69 6e 64 20 20 |assinit:| fWind |
|00001820| 63 6c 65 61 72 3a 20 66 | 46 63 62 0d 09 30 20 2d |clear: f|Fcb..0 -|
|00001830| 3e 20 61 63 74 57 20 20 | 5b 27 5d 20 61 70 70 49 |> actW |['] appI|
|00001840| 6e 69 74 20 2d 3e 20 6f | 62 6a 69 6e 69 74 0d 09 |nit -> o|bjinit..|
|00001850| 71 75 69 74 77 6f 72 64 | 20 2d 3e 20 71 75 69 74 |quitword| -> quit|
|00001860| 76 65 63 0d 09 61 62 6f | 72 74 77 6f 72 64 20 64 |vec..abo|rtword d|
|00001870| 75 70 20 2d 3e 20 61 62 | 6f 72 74 76 65 63 20 20 |up -> ab|ortvec |
|00001880| 64 75 70 20 2d 3e 20 64 | 66 6c 74 2d 64 69 65 20 |dup -> d|flt-die |
|00001890| 20 2d 3e 20 73 65 74 46 | 77 69 6e 64 0d 09 09 09 | -> setF|wind....|
|000018a0| 5c 20 43 61 74 63 68 20 | 61 6c 6c 20 74 68 65 20 |\ Catch |all the |
|000018b0| 70 6f 73 73 69 62 69 6c | 69 74 69 65 73 21 0d 09 |possibil|ities!..|
|000018c0| 09 09 5c 20 4e 6f 74 65 | 3a 20 77 65 20 73 74 69 |..\ Note|: we sti|
|000018d0| 6c 6c 20 68 61 76 65 20 | 74 6f 20 50 55 52 47 45 |ll have |to PURGE|
|000018e0| 20 6d 6f 64 75 6c 65 73 | 20 69 6e 20 74 68 65 20 | modules| in the |
|000018f0| 64 69 63 74 69 6f 6e 61 | 72 79 2e 0d 09 09 09 5c |dictiona|ry.....\|
|00001900| 20 57 65 20 6c 65 61 76 | 65 20 74 68 69 73 20 74 | We leav|e this t|
|00001910| 6f 20 74 68 65 20 6c 61 | 73 74 20 6d 6f 6d 65 6e |o the la|st momen|
|00001920| 74 20 61 73 20 73 6f 6d | 65 20 61 72 65 20 73 74 |t as som|e are st|
|00001930| 69 6c 6c 20 69 6e 20 75 | 73 65 2e 0d 09 27 74 79 |ill in u|se...'ty|
|00001940| 70 65 20 43 4f 44 45 20 | 20 32 20 20 63 68 61 6e |pe CODE | 2 chan|
|00001950| 67 65 52 65 73 09 09 5c | 20 43 6f 70 79 20 43 4f |geRes..\| Copy CO|
|00001960| 44 45 20 32 20 28 6d 61 | 69 6e 20 64 69 63 74 69 |DE 2 (ma|in dicti|
|00001970| 6f 6e 61 72 79 29 0d 09 | 6c 6f 63 6b 65 64 20 20 |onary)..|locked |
|00001980| 73 65 74 41 74 74 72 73 | 3a 20 64 73 74 52 65 73 |setAttrs|: dstRes|
|00001990| 0d 09 73 65 74 41 70 70 | 6c 53 69 7a 65 0d 5c 20 |..setApp|lSize.\ |
|000019a0| 4e 6f 77 2c 20 61 72 65 | 20 77 65 20 74 6f 20 69 |Now, are| we to i|
|000019b0| 6e 63 6c 75 64 65 20 48 | 61 6e 64 6c 65 72 73 20 |nclude H|andlers |
|000019c0| 69 6e 20 74 68 65 20 69 | 6e 73 74 61 6c 6c 65 64 |in the i|nstalled|
|000019d0| 20 61 70 70 3f 0d 09 32 | 32 20 67 65 74 69 74 65 | app?..2|2 getite|
|000019e0| 6d 3a 20 69 64 6c 67 20 | 20 30 3c 3e 20 20 2d 3e |m: idlg | 0<> ->|
|000019f0| 20 69 6e 63 6c 48 6e 64 | 6c 72 73 3f 0d 09 69 6e | inclHnd|lrs?..in|
|00001a00| 63 6c 48 6e 64 6c 72 73 | 3f 0d 09 49 46 09 27 74 |clHndlrs|?..IF.'t|
|00001a10| 79 70 65 20 43 4f 44 45 | 20 20 33 20 20 63 68 61 |ype CODE| 3 cha|
|00001a20| 6e 67 65 52 65 73 0d 09 | 09 6c 6f 63 6b 65 64 20 |ngeRes..|.locked |
|00001a30| 20 73 65 74 41 74 74 72 | 73 3a 20 64 73 74 52 65 | setAttr|s: dstRe|
|00001a40| 73 0d 09 54 48 45 4e 0d | 3b 0d 09 0d 0d 3a 20 53 |s..THEN.|;....: S|
|00001a50| 41 56 45 43 4f 44 45 20 | 20 7b 20 5c 20 61 64 64 |AVECODE | { \ add|
|00001a60| 72 20 6c 65 6e 20 2d 2d | 20 7d 09 5c 20 43 6f 70 |r len --| }.\ Cop|
|00001a70| 69 65 73 20 74 68 65 20 | 43 4f 44 45 20 72 65 73 |ies the |CODE res|
|00001a80| 6f 75 72 63 65 73 20 66 | 6f 72 0d 09 09 09 09 09 |ources f|or......|
|00001a90| 09 09 09 5c 20 20 61 20 | 53 61 76 65 64 20 6e 75 |...\ a |Saved nu|
|00001aa0| 63 6c 65 75 73 2e 0d 0d | 09 27 74 79 70 65 20 43 |cleus...|.'type C|
|00001ab0| 4f 44 45 20 20 30 20 20 | 63 6f 70 79 52 65 73 09 |ODE 0 |copyRes.|
|00001ac0| 09 09 5c 20 43 6f 70 79 | 20 43 4f 44 45 20 30 20 |..\ Copy| CODE 0 |
|00001ad0| 28 4a 75 6d 70 20 74 61 | 62 6c 65 29 0d 09 20 20 |(Jump ta|ble).. |
|00001ae0| 6c 6f 63 6b 65 64 20 20 | 73 65 74 41 74 74 72 73 |locked |setAttrs|
|00001af0| 3a 20 64 73 74 52 65 73 | 0d 09 27 74 79 70 65 20 |: dstRes|..'type |
|00001b00| 43 4f 44 45 20 20 33 20 | 20 63 68 61 6e 67 65 52 |CODE 3 | changeR|
|00001b10| 65 73 09 09 5c 20 41 6e | 64 20 43 4f 44 45 20 33 |es..\ An|d CODE 3|
|00001b20| 20 28 48 61 6e 64 6c 65 | 72 73 29 0d 09 27 74 79 | (Handle|rs)..'ty|
|00001b30| 70 65 20 43 4f 44 45 20 | 20 31 20 20 63 68 61 6e |pe CODE | 1 chan|
|00001b40| 67 65 52 65 73 09 09 5c | 20 41 6e 64 20 43 4f 44 |geRes..\| And COD|
|00001b50| 45 20 31 20 28 53 65 74 | 75 70 29 0d 09 20 20 70 |E 1 (Set|up).. p|
|00001b60| 75 72 67 65 61 62 6c 65 | 20 20 73 65 74 41 74 74 |urgeable| setAtt|
|00001b70| 72 73 3a 20 64 73 74 52 | 65 73 0d 09 66 61 6c 73 |rs: dstR|es..fals|
|00001b80| 65 20 20 73 65 74 44 69 | 63 26 68 65 61 70 0d 09 |e setDi|c&heap..|
|00001b90| 0d 5c 20 4c 61 73 74 20 | 62 75 74 20 6e 6f 74 20 |.\ Last |but not |
|00001ba0| 6c 65 61 73 74 2c 20 77 | 65 27 6c 6c 20 63 6f 70 |least, w|e'll cop|
|00001bb0| 79 20 43 4f 44 45 20 32 | 20 28 74 68 65 20 6d 61 |y CODE 2| (the ma|
|00001bc0| 69 6e 20 64 69 63 74 69 | 6f 6e 61 72 79 29 2e 0d |in dicti|onary)..|
|00001bd0| 5c 20 46 69 72 73 74 20 | 77 65 20 73 65 74 20 61 |\ First |we set a|
|00001be0| 6c 6c 20 74 68 65 20 76 | 61 72 69 6f 75 73 20 66 |ll the v|arious f|
|00001bf0| 6c 61 67 73 20 61 6e 64 | 20 76 65 63 74 6f 72 73 |lags and| vectors|
|00001c00| 20 61 70 70 72 6f 70 72 | 69 61 74 65 6c 79 3a 0d | appropr|iately:.|
|00001c10| 0d 09 75 6e 70 61 74 63 | 68 0d 09 66 61 6c 73 65 |..unpatc|h..false|
|00001c20| 20 2d 3e 20 69 6e 69 74 | 7a 65 64 3f 20 20 30 20 | -> init|zed? 0 |
|00001c30| 2d 3e 20 45 78 42 6f 66 | 66 73 20 20 2b 63 75 72 |-> ExBof|fs +cur|
|00001c40| 73 0d 09 66 61 6c 73 65 | 20 2d 3e 20 65 6d 69 74 |s..false| -> emit|
|00001c50| 3f 20 20 66 61 6c 73 65 | 20 2d 3e 20 4d 52 6f 70 |? false| -> MRop|
|00001c60| 65 6e 3f 20 20 66 61 6c | 73 65 20 2d 3e 20 73 61 |en? fal|se -> sa|
|00001c70| 76 69 6e 67 44 69 63 3f | 0d 09 74 72 75 65 20 2d |vingDic?|..true -|
|00001c80| 3e 20 75 73 65 5f 70 61 | 74 68 73 3f 0d 09 74 72 |> use_pa|ths?..tr|
|00001c90| 75 65 20 2d 3e 20 36 38 | 4b 3f 20 20 66 61 6c 73 |ue -> 68|K? fals|
|00001ca0| 65 20 2d 3e 20 50 50 43 | 3f 0d 09 30 20 2d 3e 20 |e -> PPC|?..0 -> |
|00001cb0| 43 50 61 64 64 72 0d 09 | 63 6c 61 73 73 69 6e 69 |CPaddr..|classini|
|00001cc0| 74 3a 20 66 57 69 6e 64 | 20 20 74 72 75 65 20 2d |t: fWind| true -|
|00001cd0| 3e 20 66 57 69 6e 64 3f | 20 20 63 6c 65 61 72 3a |> fWind?| clear:|
|00001ce0| 20 66 46 63 62 0d 09 0d | 5c 20 4e 6f 77 20 77 65 | fFcb...|\ Now we|
|00001cf0| 20 73 65 74 20 61 6c 6c | 20 73 79 73 74 65 6d 20 | set all| system |
|00001d00| 76 65 63 74 6f 72 73 20 | 62 61 63 6b 20 74 6f 20 |vectors |back to |
|00001d10| 74 68 65 69 72 20 64 65 | 66 61 75 6c 74 73 20 28 |their de|faults (|
|00001d20| 62 79 20 73 74 6f 72 69 | 6e 67 20 7a 65 72 6f 0d |by stori|ng zero.|
|00001d30| 5c 20 74 68 65 72 65 29 | 2e 20 20 41 6c 6c 20 73 |\ there)|. All s|
|00001d40| 79 73 74 65 6d 20 76 65 | 63 73 20 69 6e 20 66 69 |ystem ve|cs in fi|
|00001d50| 6c 65 20 4e 75 63 2e 61 | 73 6d 20 61 6e 64 20 4e |le Nuc.a|sm and N|
|00001d60| 75 63 32 2e 61 73 6d 20 | 6d 75 73 74 20 62 65 20 |uc2.asm |must be |
|00001d70| 68 65 72 65 2c 20 73 69 | 6e 63 65 0d 5c 20 61 6e |here, si|nce.\ an|
|00001d80| 79 20 6f 66 20 74 68 65 | 6d 20 63 6f 75 6c 64 20 |y of the|m could |
|00001d90| 68 61 76 65 20 62 65 65 | 6e 20 61 6c 74 65 72 65 |have bee|n altere|
|00001da0| 64 2e 20 20 49 66 20 61 | 6e 79 20 61 72 65 20 61 |d. If a|ny are a|
|00001db0| 64 64 65 64 2c 20 63 6f | 72 72 65 73 70 6f 6e 64 |dded, co|rrespond|
|00001dc0| 69 6e 67 0d 5c 20 63 6f | 64 65 20 4d 55 53 54 20 |ing.\ co|de MUST |
|00001dd0| 42 45 20 50 4c 41 43 45 | 44 20 48 45 52 45 21 21 |BE PLACE|D HERE!!|
|00001de0| 0d 0d 09 30 20 2d 3e 20 | 65 6d 69 74 76 65 63 09 |...0 -> |emitvec.|
|00001df0| 30 20 2d 3e 20 70 65 6d | 69 74 76 65 63 0d 09 30 |0 -> pem|itvec..0|
|00001e00| 20 2d 3e 20 63 72 76 65 | 63 09 09 30 20 2d 3e 20 | -> crve|c..0 -> |
|00001e10| 70 63 72 76 65 63 0d 09 | 30 20 2d 3e 20 74 79 70 |pcrvec..|0 -> typ|
|00001e20| 65 76 65 63 09 30 20 2d | 3e 20 70 74 79 70 65 76 |evec.0 -|> ptypev|
|00001e30| 65 63 0d 09 30 20 2d 3e | 20 73 70 76 65 63 09 09 |ec..0 ->| spvec..|
|00001e40| 30 20 2d 3e 20 70 73 70 | 76 65 63 0d 09 30 20 2d |0 -> psp|vec..0 -|
|00001e50| 3e 20 65 63 68 6f 76 65 | 63 09 30 20 2d 3e 20 68 |> echove|c.0 -> h|
|00001e60| 65 61 64 65 72 09 09 30 | 20 2d 3e 20 6c 6f 67 76 |eader..0| -> logv|
|00001e70| 65 63 0d 0d 09 30 20 2d | 3e 20 75 46 69 6e 64 20 |ec...0 -|> uFind |
|00001e80| 20 30 20 2d 3e 20 65 78 | 74 72 61 46 69 6e 64 0d | 0 -> ex|traFind.|
|00001e90| 09 30 20 2d 3e 20 66 6e | 75 6d 3f 20 20 30 20 2d |.0 -> fn|um? 0 -|
|00001ea0| 3e 20 6e 75 6d 41 63 63 | 75 6d 75 6c 61 74 65 0d |> numAcc|umulate.|
|00001eb0| 09 30 20 2d 3e 20 6b 65 | 79 20 20 30 20 2d 3e 20 |.0 -> ke|y 0 -> |
|00001ec0| 6b 65 79 21 0d 09 30 20 | 2d 3e 20 70 61 75 73 65 |key!..0 |-> pause|
|00001ed0| 09 09 30 20 2d 3e 20 3f | 70 61 75 73 65 09 09 30 |..0 -> ?|pause..0|
|00001ee0| 20 2d 3e 20 67 65 74 53 | 70 61 63 65 0d 09 30 20 | -> getS|pace..0 |
|00001ef0| 2d 3e 20 72 6e 67 45 72 | 72 09 09 30 20 2d 3e 20 |-> rngEr|r..0 -> |
|00001f00| 24 65 72 72 09 09 30 20 | 2d 3e 20 61 72 69 74 68 |$err..0 |-> arith|
|00001f10| 45 72 72 0d 09 30 20 2d | 3e 20 6f 62 6a 69 6e 69 |Err..0 -|> objini|
|00001f20| 74 09 30 20 2d 3e 20 65 | 78 74 72 61 5f 69 6e 69 |t.0 -> e|xtra_ini|
|00001f30| 74 73 0d 09 30 20 2d 3e | 20 61 62 6f 72 74 76 65 |ts..0 ->| abortve|
|00001f40| 63 09 30 20 2d 3e 20 71 | 75 69 74 76 65 63 09 30 |c.0 -> q|uitvec.0|
|00001f50| 20 2d 3e 20 73 65 74 66 | 57 69 6e 64 0d 09 30 20 | -> setf|Wind..0 |
|00001f60| 2d 3e 20 64 66 6c 74 2d | 64 69 65 20 20 20 30 20 |-> dflt-|die 0 |
|00001f70| 2d 3e 20 74 73 74 72 09 | 09 30 20 2d 3e 20 66 72 |-> tstr.|.0 -> fr|
|00001f80| 65 66 69 6c 6c 0d 09 30 | 20 2d 3e 20 6d 6f 64 6c |efill..0| -> modl|
|00001f90| 6f 61 64 09 28 20 30 20 | 2d 3e 20 54 45 69 64 6c |oad.( 0 |-> TEidl|
|00001fa0| 65 20 29 09 09 30 20 2d | 3e 20 63 6f 6d 70 69 6e |e )..0 -|> compin|
|00001fb0| 6c 69 6e 65 0d 09 30 20 | 2d 3e 20 50 50 43 76 65 |line..0 |-> PPCve|
|00001fc0| 63 0d 09 30 20 2d 3e 20 | 6f 70 65 6e 41 70 70 56 |c..0 -> |openAppV|
|00001fd0| 65 63 09 30 20 2d 3e 20 | 6f 70 65 6e 44 6f 63 56 |ec.0 -> |openDocV|
|00001fe0| 65 63 09 30 20 2d 3e 20 | 70 72 69 6e 74 44 6f 63 |ec.0 -> |printDoc|
|00001ff0| 56 65 63 0d 09 30 20 2d | 3e 20 71 75 69 74 41 70 |Vec..0 -|> quitAp|
|00002000| 70 56 65 63 09 30 20 2d | 3e 20 72 65 61 64 31 64 |pVec.0 -|> read1d|
|00002010| 6f 63 56 65 63 0d 09 30 | 20 2d 3e 20 61 63 74 57 |ocVec..0| -> actW|
|00002020| 0d 09 0d 09 27 74 79 70 | 65 20 43 4f 44 45 20 20 |....'typ|e CODE |
|00002030| 32 20 20 43 68 61 6e 67 | 65 52 65 73 09 5c 20 59 |2 Chang|eRes.\ Y|
|00002040| 65 73 2c 20 49 20 6b 6e | 6f 77 20 69 74 27 73 20 |es, I kn|ow it's |
|00002050| 69 6e 20 75 73 65 2c 20 | 62 75 74 20 69 74 27 73 |in use, |but it's|
|00002060| 0d 09 09 09 09 09 09 09 | 09 5c 20 20 4f 4b 20 61 |........|.\ OK a|
|00002070| 73 20 77 65 27 72 65 20 | 67 6f 69 6e 67 20 74 6f |s we're |going to|
|00002080| 20 71 75 69 74 0d 09 09 | 09 09 09 09 09 09 5c 20 | quit...|......\ |
|00002090| 20 73 74 72 61 69 67 68 | 74 20 61 77 61 79 21 0d | straigh|t away!.|
|000020a0| 0d 09 70 75 72 67 65 61 | 62 6c 65 20 20 73 65 74 |..purgea|ble set|
|000020b0| 41 74 74 72 73 3a 20 64 | 73 74 52 65 73 09 5c 20 |Attrs: d|stRes.\ |
|000020c0| 4e 6f 74 65 3a 20 77 65 | 20 64 6f 6e 27 74 20 73 |Note: we| don't s|
|000020d0| 65 74 20 69 74 20 6c 6f | 63 6b 65 64 20 73 69 6e |et it lo|cked sin|
|000020e0| 63 65 0d 09 09 09 09 09 | 09 09 09 5c 20 20 74 68 |ce......|...\ th|
|000020f0| 65 20 53 65 74 75 70 20 | 73 65 67 6d 65 6e 74 20 |e Setup |segment |
|00002100| 77 69 6c 6c 20 72 65 73 | 69 7a 65 20 69 74 0d 09 |will res|ize it..|
|00002110| 09 09 09 09 09 09 09 5c | 20 20 62 65 66 6f 72 65 |.......\| before|
|00002120| 20 6d 6f 76 69 6e 67 20 | 69 74 20 68 69 67 68 2c | moving |it high,|
|00002130| 20 6c 6f 63 6b 69 6e 67 | 20 61 6e 64 0d 09 09 09 | locking| and....|
|00002140| 09 09 09 09 09 5c 20 20 | 63 61 6c 6c 69 6e 67 20 |.....\ |calling |
|00002150| 69 74 2e 0d 0d 5c 20 4e | 6f 77 20 77 65 20 68 61 |it...\ N|ow we ha|
|00002160| 76 65 20 74 6f 20 66 6f | 72 67 65 74 20 62 61 63 |ve to fo|rget bac|
|00002170| 6b 20 74 6f 20 74 68 65 | 20 62 61 72 65 20 6e 75 |k to the| bare nu|
|00002180| 63 6c 65 75 73 2e 20 20 | 54 68 65 20 66 69 72 73 |cleus. |The firs|
|00002190| 74 20 77 6f 72 64 20 61 | 62 6f 76 65 0d 5c 20 69 |t word a|bove.\ i|
|000021a0| 73 20 74 68 65 20 64 69 | 63 74 69 6f 6e 61 72 79 |s the di|ctionary|
|000021b0| 20 6d 61 72 6b 20 66 6f | 72 20 74 68 65 20 66 69 | mark fo|r the fi|
|000021c0| 72 73 74 20 66 69 6c 65 | 2c 20 42 61 73 65 2e 0d |rst file|, Base..|
|000021d0| 0d 09 22 20 62 61 73 65 | 20 22 09 09 09 09 09 5c |.." base| ".....\|
|000021e0| 20 64 69 63 20 6d 61 72 | 6b 20 6e 61 6d 65 20 69 | dic mar|k name i|
|000021f0| 73 20 74 68 65 20 66 69 | 6c 65 20 6e 61 6d 65 20 |s the fi|le name |
|00002200| 66 6f 6c 6c 6f 77 65 64 | 0d 09 09 09 09 09 09 09 |followed|........|
|00002210| 09 5c 20 20 62 79 20 61 | 20 73 70 61 63 65 0d 09 |.\ by a| space..|
|00002220| 73 46 69 6e 64 20 4e 49 | 46 09 09 09 09 09 5c 20 |sFind NI|F.....\ |
|00002230| 52 65 61 6c 6c 79 20 6f | 75 67 68 74 20 74 6f 20 |Really o|ught to |
|00002240| 62 65 20 74 68 65 72 65 | 0d 09 09 64 72 6f 70 20 |be there|...drop |
|00002250| 5b 27 5d 20 65 63 68 6f | 3f 09 09 09 5c 20 49 66 |['] echo|?...\ If|
|00002260| 20 6e 6f 74 2c 20 6a 75 | 73 74 20 75 73 65 20 31 | not, ju|st use 1|
|00002270| 73 74 20 77 6f 72 64 20 | 61 6e 64 20 68 6f 70 65 |st word |and hope|
|00002280| 20 66 6f 72 20 74 68 65 | 20 62 65 73 74 0d 09 54 | for the| best..T|
|00002290| 48 45 4e 0d 09 3e 6c 69 | 6e 6b 20 28 66 6f 72 67 |HEN..>li|nk (forg|
|000022a0| 65 74 29 0d 09 68 65 72 | 65 20 20 6e 70 74 72 3a |et)..her|e nptr:|
|000022b0| 20 73 72 63 52 65 73 20 | 20 2d 09 09 5c 20 4f 66 | srcRes | -..\ Of|
|000022c0| 66 73 65 74 20 74 6f 20 | 48 65 72 65 0d 09 73 65 |fset to |Here..se|
|000022d0| 74 53 69 7a 65 3a 20 64 | 73 74 52 65 73 20 20 3b |tSize: d|stRes ;|
|000022e0| 0d 09 0d 0d 73 63 6f 6e | 09 24 41 4c 51 09 22 61 |....scon|.$ALQ."a|
|000022f0| 6c 65 72 74 25 22 09 26 | 20 25 20 20 26 20 22 20 |lert%".&| % & " |
|00002300| 20 69 6e 73 74 65 61 64 | 0d 0d 3a 20 4e 45 57 5f | instead|..: NEW_|
|00002310| 41 50 50 4c 49 43 41 54 | 49 4f 4e 20 20 7b 20 5c |APPLICAT|ION { \|
|00002320| 20 73 69 67 20 61 64 64 | 72 20 6c 65 6e 20 2d 2d | sig add|r len --|
|00002330| 20 7d 0d 09 09 5c 20 54 | 68 69 73 20 77 6f 72 64 | }...\ T|his word|
|00002340| 20 64 6f 65 73 20 61 6c | 6c 20 74 68 65 20 68 61 | does al|l the ha|
|00002350| 72 64 20 77 6f 72 6b 20 | 6f 66 20 63 72 65 61 74 |rd work |of creat|
|00002360| 69 6e 67 20 74 68 65 0d | 09 09 5c 20 69 6e 73 74 |ing the.|..\ inst|
|00002370| 61 6c 6c 65 64 20 61 70 | 70 6c 69 63 61 74 69 6f |alled ap|plicatio|
|00002380| 6e 20 66 69 6c 65 2e 0d | 09 09 0d 09 5b 27 5d 20 |n file..|....['] |
|00002390| 6e 6f 67 6f 20 20 6f 6e | 45 72 72 6f 72 0d 09 35 |nogo on|Error..5|
|000023a0| 20 67 65 74 54 65 78 74 | 3a 20 69 44 6c 67 20 20 | getText|: iDlg |
|000023b0| 2d 3e 20 6c 65 6e 20 2d | 3e 20 61 64 64 72 0d 09 |-> len -|> addr..|
|000023c0| 61 64 64 72 20 6c 65 6e | 20 20 6e 61 6d 65 3a 20 |addr len| name: |
|000023d0| 66 46 63 62 0d 09 64 65 | 6c 65 74 65 3a 20 66 46 |fFcb..de|lete: fF|
|000023e0| 63 62 20 20 64 72 6f 70 | 09 09 09 09 09 5c 20 44 |cb drop|.....\ D|
|000023f0| 65 6c 65 74 65 20 61 6e | 79 20 64 75 70 6c 69 63 |elete an|y duplic|
|00002400| 61 74 65 20 66 69 6c 65 | 0d 09 61 64 64 72 20 6c |ate file|..addr l|
|00002410| 65 6e 20 73 74 72 32 35 | 35 0d 09 63 61 6c 6c 20 |en str25|5..call |
|00002420| 43 72 65 61 74 65 52 65 | 73 46 69 6c 65 20 20 63 |CreateRe|sFile c|
|00002430| 68 6b 09 09 09 09 5c 20 | 43 72 65 61 74 65 20 6e |hk....\ |Create n|
|00002440| 65 77 20 72 65 73 20 66 | 69 6c 65 20 66 6f 72 20 |ew res f|ile for |
|00002450| 61 70 70 6c 69 63 6e 0d | 09 30 20 20 62 75 66 32 |applicn.|.0 buf2|
|00002460| 35 35 20 20 63 61 6c 6c | 20 4f 70 65 6e 52 65 73 |55 call| OpenRes|
|00002470| 46 69 6c 65 20 20 64 72 | 6f 70 20 20 63 68 6b 0d |File dr|op chk.|
|00002480| 09 33 20 20 67 65 74 54 | 65 78 74 3a 20 69 44 6c |.3 getT|ext: iDl|
|00002490| 67 20 20 64 72 6f 70 40 | 20 2d 3e 20 73 69 67 09 |g drop@| -> sig.|
|000024a0| 09 5c 20 4e 65 77 20 73 | 69 67 0d 09 27 74 79 70 |.\ New s|ig..'typ|
|000024b0| 65 20 41 50 50 4c 20 20 | 73 69 67 20 20 73 65 74 |e APPL |sig set|
|000024c0| 3a 20 66 46 63 62 09 09 | 09 5c 20 53 65 74 20 74 |: fFcb..|.\ Set t|
|000024d0| 79 70 65 20 26 20 73 69 | 67 20 6f 66 20 61 70 70 |ype & si|g of app|
|000024e0| 6c 0d 09 24 20 32 31 20 | 20 66 46 63 62 20 24 20 |l..$ 21 | fFcb $ |
|000024f0| 32 38 20 2b 20 63 21 09 | 09 09 09 5c 20 53 65 74 |28 + c!.|...\ Set|
|00002500| 20 42 75 6e 64 6c 65 20 | 62 69 74 0d 09 73 65 74 | Bundle |bit..set|
|00002510| 46 69 6c 65 49 6e 66 6f | 3a 20 66 46 63 62 0d 09 |FileInfo|: fFcb..|
|00002520| 61 64 64 4d 6f 64 73 09 | 09 09 09 09 09 09 09 5c |addMods.|.......\|
|00002530| 20 43 6f 70 79 20 63 68 | 6f 73 65 6e 20 6d 6f 64 | Copy ch|osen mod|
|00002540| 75 6c 65 73 0d 09 61 64 | 64 43 6f 64 65 09 09 09 |ules..ad|dCode...|
|00002550| 09 09 09 09 09 5c 20 61 | 6e 64 20 43 4f 44 45 20 |.....\ a|nd CODE |
|00002560| 30 2c 20 31 2c 20 32 20 | 61 6e 64 20 6d 61 79 62 |0, 1, 2 |and mayb|
|00002570| 65 20 33 0d 09 5b 27 5d | 20 6e 6f 67 6f 20 20 6f |e 3..[']| nogo o|
|00002580| 6e 45 72 72 6f 72 0d 09 | 31 33 20 67 65 74 69 74 |nError..|13 getit|
|00002590| 65 6d 3a 20 69 44 6c 67 | 0d 09 49 46 09 74 72 75 |em: iDlg|..IF.tru|
|000025a0| 65 20 2d 3e 20 66 57 69 | 6e 64 3f 09 09 09 09 09 |e -> fWi|nd?.....|
|000025b0| 5c 20 66 57 69 6e 64 3f | 20 77 61 6e 74 65 64 20 |\ fWind?| wanted |
|000025c0| 2d 20 63 6f 70 79 20 69 | 74 20 28 57 49 4e 44 20 |- copy i|t (WIND |
|000025d0| 32 35 36 29 0d 09 09 27 | 74 79 70 65 20 57 49 4e |256)...'|type WIN|
|000025e0| 44 20 20 32 35 36 20 20 | 63 6f 70 79 52 65 73 0d |D 256 |copyRes.|
|000025f0| 09 09 31 32 20 67 65 74 | 69 74 65 6d 3a 20 69 44 |..12 get|item: iD|
|00002600| 6c 67 20 20 38 20 3c 3c | 20 20 70 74 72 3a 20 64 |lg 8 <<| ptr: d|
|00002610| 73 74 52 65 73 20 31 30 | 20 2b 20 77 21 0d 09 09 |stRes 10| + w!...|
|00002620| 09 09 09 09 09 09 09 09 | 5c 20 4d 61 72 6b 20 76 |........|\ Mark v|
|00002630| 69 73 69 62 6c 65 20 6f | 72 20 6e 6f 74 0d 09 45 |isible o|r not..E|
|00002640| 4c 53 45 0d 09 09 66 61 | 6c 73 65 20 2d 3e 20 66 |LSE...fa|lse -> f|
|00002650| 57 69 6e 64 3f 0d 09 54 | 48 45 4e 0d 09 27 74 79 |Wind?..T|HEN..'ty|
|00002660| 70 65 20 53 49 5a 45 20 | 20 2d 31 20 20 20 63 6f |pe SIZE | -1 co|
|00002670| 70 79 52 65 73 09 09 09 | 5c 20 43 6f 70 79 20 53 |pyRes...|\ Copy S|
|00002680| 49 5a 45 20 2d 31 0d 09 | 27 74 79 70 65 20 42 4e |IZE -1..|'type BN|
|00002690| 44 4c 20 20 31 32 38 20 | 20 63 6f 70 79 52 65 73 |DL 128 | copyRes|
|000026a0| 09 09 09 5c 20 61 6e 64 | 20 64 6f 6e 27 74 20 64 |...\ and| don't d|
|000026b0| 72 6f 70 20 6f 75 72 20 | 42 4e 44 4c 20 28 31 32 |rop our |BNDL (12|
|000026c0| 38 29 0d 09 73 69 67 20 | 20 70 74 72 3a 20 64 73 |8)..sig | ptr: ds|
|000026d0| 74 52 65 73 20 20 21 09 | 09 09 09 09 5c 20 53 74 |tRes !.|....\ St|
|000026e0| 6f 72 65 20 69 6e 20 6e | 65 77 20 42 4e 44 4c 0d |ore in n|ew BNDL.|
|000026f0| 09 0d 5c 20 4e 6f 77 20 | 73 65 74 20 75 70 20 46 |..\ Now |set up F|
|00002700| 52 45 46 73 3a 0d 0d 09 | 27 74 79 70 65 20 46 52 |REFs:...|'type FR|
|00002710| 45 46 20 20 31 32 38 20 | 20 63 6f 70 79 52 65 73 |EF 128 | copyRes|
|00002720| 09 09 09 5c 20 46 52 45 | 46 20 66 6f 72 20 41 50 |...\ FRE|F for AP|
|00002730| 50 4c 20 2d 20 64 6f 65 | 73 6e 27 74 20 63 68 61 |PL - doe|sn't cha|
|00002740| 6e 67 65 0d 09 31 30 20 | 36 20 44 4f 09 09 09 09 |nge..10 |6 DO....|
|00002750| 09 09 09 09 5c 20 46 52 | 45 46 73 20 31 32 39 20 |....\ FR|EFs 129 |
|00002760| 6f 6e 77 61 72 64 73 0d | 09 09 69 20 67 65 74 54 |onwards.|..i getT|
|00002770| 65 78 74 3a 20 69 44 6c | 67 20 20 64 75 70 0d 09 |ext: iDl|g dup..|
|00002780| 09 4e 49 46 20 20 64 72 | 6f 70 20 20 4c 45 41 56 |.NIF dr|op LEAV|
|00002790| 45 20 20 54 48 45 4e 0d | 09 09 27 74 79 70 65 20 |E THEN.|..'type |
|000027a0| 46 52 45 46 20 20 31 32 | 33 20 69 20 2b 20 20 63 |FREF 12|3 i + c|
|000027b0| 6f 70 79 52 65 73 0d 09 | 09 64 72 6f 70 40 20 20 |opyRes..|.drop@ |
|000027c0| 70 74 72 3a 20 64 73 74 | 52 65 73 20 20 21 0d 09 |ptr: dst|Res !..|
|000027d0| 4c 4f 4f 50 0d 09 0d 5c | 20 4e 6f 77 20 77 65 20 |LOOP...\| Now we |
|000027e0| 63 72 65 61 74 65 20 74 | 68 65 20 6e 65 77 20 76 |create t|he new v|
|000027f0| 65 72 73 69 6f 6e 20 72 | 65 73 6f 75 72 63 65 20 |ersion r|esource |
|00002800| 77 68 69 63 68 20 68 61 | 73 20 61 20 22 74 79 70 |which ha|s a "typ|
|00002810| 65 22 20 74 68 61 74 20 | 69 73 20 74 68 65 0d 5c |e" that |is the.\|
|00002820| 20 73 61 6d 65 20 61 73 | 20 74 68 65 20 73 69 67 | same as| the sig|
|00002830| 2c 20 61 6e 64 20 49 44 | 20 30 2e 0d 0d 09 73 69 |, and ID| 0....si|
|00002840| 67 20 20 30 20 20 73 65 | 74 3a 20 64 73 74 52 65 |g 0 se|t: dstRe|
|00002850| 73 0d 09 34 20 67 65 74 | 54 65 78 74 3a 20 69 44 |s..4 get|Text: iD|
|00002860| 6c 67 20 20 64 75 70 20 | 31 2b 20 61 6c 69 67 6e |lg dup |1+ align|
|00002870| 20 20 6e 65 77 3a 20 64 | 73 74 52 65 73 0d 09 73 | new: d|stRes..s|
|00002880| 74 72 32 35 35 20 20 70 | 74 72 3a 20 64 73 74 52 |tr255 p|tr: dstR|
|00002890| 65 73 20 20 6f 76 65 72 | 20 20 63 40 20 31 2b 20 |es over| c@ 1+ |
|000028a0| 63 4d 6f 76 65 0d 09 6e | 75 6c 6c 4f 53 73 74 72 |cMove..n|ullOSstr|
|000028b0| 20 20 61 64 64 52 65 73 | 3a 20 64 73 74 52 65 73 | addRes|: dstRes|
|000028c0| 0d 09 0d 5c 20 4e 6f 77 | 20 63 6f 70 79 20 74 68 |...\ Now| copy th|
|000028d0| 65 20 41 6c 65 72 74 22 | 20 73 74 75 66 66 20 69 |e Alert"| stuff i|
|000028e0| 66 20 77 65 20 6e 65 65 | 64 20 69 74 0d 0d 09 24 |f we nee|d it...$|
|000028f0| 61 6c 71 20 73 66 69 6e | 64 20 6e 69 70 0d 09 49 |alq sfin|d nip..I|
|00002900| 46 09 27 74 79 70 65 20 | 41 4c 52 54 20 20 39 30 |F.'type |ALRT 90|
|00002910| 30 20 20 63 6f 70 79 52 | 65 73 0d 09 09 27 74 79 |0 copyR|es...'ty|
|00002920| 70 65 20 44 49 54 4c 20 | 20 39 30 30 20 20 63 6f |pe DITL | 900 co|
|00002930| 70 79 52 65 73 0d 09 54 | 48 45 4e 20 20 3b 0d 09 |pyRes..T|HEN ;..|
|00002940| 0d 0d 3a 20 44 4f 49 4e | 53 54 41 4c 4c 0d 09 6f |..: DOIN|STALL..o|
|00002950| 70 65 6e 4d 52 20 20 20 | 67 65 74 6e 65 77 3a 20 |penMR |getnew: |
|00002960| 69 44 6c 67 20 20 20 67 | 65 74 52 0d 09 32 33 20 |iDlg g|etR..23 |
|00002970| 68 69 64 65 49 74 65 6d | 3a 20 69 44 6c 67 09 09 |hideItem|: iDlg..|
|00002980| 09 09 5c 20 6e 6f 20 73 | 68 61 72 65 64 20 6c 69 |..\ no s|hared li|
|00002990| 62 72 61 72 69 65 73 20 | 69 6e 20 36 38 6b 20 4d |braries |in 68k M|
|000029a0| 6f 70 73 0d 09 22 20 67 | 6f 22 09 20 31 30 20 70 |ops.." g|o". 10 p|
|000029b0| 75 74 54 65 78 74 3a 20 | 69 44 6c 67 0d 09 22 20 |utText: |iDlg.." |
|000029c0| 63 72 61 73 68 22 20 31 | 31 20 70 75 74 54 65 78 |crash" 1|1 putTex|
|000029d0| 74 3a 20 69 44 6c 67 0d | 09 30 20 24 20 66 66 66 |t: iDlg.|.0 $ fff|
|000029e0| 66 20 33 20 73 65 74 53 | 65 6c 65 63 74 3a 20 69 |f 3 setS|elect: i|
|000029f0| 44 6c 67 0d 09 6d 6f 64 | 61 6c 3a 20 69 44 6c 67 |Dlg..mod|al: iDlg|
|00002a00| 0d 09 49 46 09 6e 65 77 | 5f 61 70 70 6c 69 63 61 |..IF.new|_applica|
|00002a10| 74 69 6f 6e 20 20 54 48 | 45 4e 0d 09 63 6c 6f 73 |tion TH|EN..clos|
|00002a20| 65 3a 20 69 44 6c 67 0d | 09 6b 6c 75 64 67 65 3a |e: iDlg.|.kludge:|
|00002a30| 20 69 6e 73 74 6c 4d 6f | 64 20 20 6b 6c 75 64 67 | instlMo|d kludg|
|00002a40| 65 3a 20 70 61 74 68 73 | 6d 6f 64 0d 09 70 75 72 |e: paths|mod..pur|
|00002a50| 67 65 09 09 09 09 09 09 | 09 5c 20 44 69 63 20 69 |ge......|.\ Dic i|
|00002a60| 6d 61 67 65 20 6d 75 73 | 74 20 68 61 76 65 20 6e |mage mus|t have n|
|00002a70| 6f 20 6d 6f 64 75 6c 65 | 73 20 6c 6f 61 64 65 64 |o module|s loaded|
|00002a80| 0d 09 62 79 65 20 20 3b | 0d 0d 0d 3a 20 53 41 56 |..bye ;|...: SAV|
|00002a90| 45 4e 55 43 20 20 7b 20 | 5c 20 61 64 64 72 20 6c |ENUC { |\ addr l|
|00002aa0| 65 6e 20 2d 2d 20 7d 09 | 09 09 5c 20 53 61 76 65 |en -- }.|..\ Save|
|00002ab0| 73 20 61 20 6e 65 77 20 | 4d 6f 70 73 20 6e 75 63 |s a new |Mops nuc|
|00002ac0| 6c 65 75 73 2e 0d 09 22 | 20 4d 6f 70 73 2e 6e 65 |leus..."| Mops.ne|
|00002ad0| 77 22 20 20 2d 3e 20 6c | 65 6e 20 2d 3e 20 61 64 |w" -> l|en -> ad|
|00002ae0| 64 72 0d 09 61 64 64 72 | 20 6c 65 6e 20 20 6e 61 |dr..addr| len na|
|00002af0| 6d 65 3a 20 66 46 63 62 | 0d 09 63 72 65 61 74 65 |me: fFcb|..create|
|00002b00| 3a 20 66 46 63 62 20 20 | 3f 65 72 72 6f 72 20 31 |: fFcb |?error 1|
|00002b10| 36 39 0d 09 61 64 64 72 | 20 6c 65 6e 20 20 73 74 |69..addr| len st|
|00002b20| 72 32 35 35 09 09 09 09 | 09 5c 20 43 72 65 61 74 |r255....|.\ Creat|
|00002b30| 65 20 72 65 73 20 66 69 | 6c 65 20 66 6f 72 20 6e |e res fi|le for n|
|00002b40| 65 77 20 6e 75 63 0d 09 | 63 61 6c 6c 20 43 72 65 |ew nuc..|call Cre|
|00002b50| 61 74 65 52 65 73 46 69 | 6c 65 0d 09 77 6f 72 64 |ateResFi|le..word|
|00002b60| 30 20 20 63 61 6c 6c 20 | 72 65 73 65 72 72 6f 72 |0 call |reserror|
|00002b70| 20 20 69 2d 3e 6c 20 20 | 3f 65 72 72 6f 72 20 31 | i->l |?error 1|
|00002b80| 36 39 0d 09 5b 27 5d 20 | 6e 6f 67 6f 20 20 6f 6e |69..['] |nogo on|
|00002b90| 45 72 72 6f 72 0d 09 30 | 20 20 62 75 66 32 35 35 |Error..0| buf255|
|00002ba0| 20 20 63 61 6c 6c 20 4f | 70 65 6e 52 65 73 46 69 | call O|penResFi|
|00002bb0| 6c 65 20 20 64 72 6f 70 | 20 20 63 68 6b 0d 09 27 |le drop| chk..'|
|00002bc0| 74 79 70 65 20 41 50 50 | 4c 20 20 27 74 79 70 65 |type APP|L 'type|
|00002bd0| 20 4d 6f 70 73 20 20 73 | 65 74 3a 20 66 46 63 62 | Mops s|et: fFcb|
|00002be0| 09 5c 20 53 65 74 20 74 | 79 70 65 20 26 20 73 69 |.\ Set t|ype & si|
|00002bf0| 67 20 6f 66 20 61 70 70 | 6c 0d 09 24 20 32 31 20 |g of app|l..$ 21 |
|00002c00| 20 66 46 63 62 20 24 20 | 32 38 20 2b 20 63 21 09 | fFcb $ |28 + c!.|
|00002c10| 09 09 09 5c 20 53 65 74 | 20 42 75 6e 64 6c 65 20 |...\ Set| Bundle |
|00002c20| 62 69 74 0d 09 73 65 74 | 46 69 6c 65 49 6e 66 6f |bit..set|FileInfo|
|00002c30| 3a 20 66 46 63 62 0d 09 | 27 74 79 70 65 20 57 49 |: fFcb..|'type WI|
|00002c40| 4e 44 20 20 32 35 36 20 | 20 63 6f 70 79 52 65 73 |ND 256 | copyRes|
|00002c50| 09 09 09 5c 20 43 6f 70 | 79 20 66 57 69 6e 64 20 |...\ Cop|y fWind |
|00002c60| 28 57 49 4e 44 20 32 35 | 36 29 0d 09 27 74 79 70 |(WIND 25|6)..'typ|
|00002c70| 65 20 42 4e 44 4c 20 20 | 31 32 38 20 20 63 6f 70 |e BNDL |128 cop|
|00002c80| 79 52 65 73 09 09 09 5c | 20 41 6e 64 20 64 6f 6e |yRes...\| And don|
|00002c90| 27 74 20 64 72 6f 70 20 | 6f 75 72 20 42 4e 44 4c |'t drop |our BNDL|
|00002ca0| 20 28 31 32 38 29 0d 09 | 31 33 32 20 31 32 38 20 | (128)..|132 128 |
|00002cb0| 64 6f 0d 09 09 27 74 79 | 70 65 20 49 43 4e 23 20 |do...'ty|pe ICN# |
|00002cc0| 20 69 20 20 63 6f 70 79 | 52 65 73 09 09 09 5c 20 | i copy|Res...\ |
|00002cd0| 43 6f 70 79 20 49 43 4e | 23 20 61 6e 64 20 69 63 |Copy ICN|# and ic|
|00002ce0| 6c 38 20 72 65 73 6f 75 | 72 63 65 73 0d 09 09 27 |l8 resou|rces...'|
|00002cf0| 74 79 70 65 20 69 63 6c | 38 20 20 69 20 20 63 6f |type icl|8 i co|
|00002d00| 70 79 52 65 73 0d 09 6c | 6f 6f 70 0d 09 27 74 79 |pyRes..l|oop..'ty|
|00002d10| 70 65 20 69 63 73 38 20 | 20 31 32 38 20 20 63 6f |pe ics8 | 128 co|
|00002d20| 70 79 52 65 73 09 09 09 | 5c 20 41 6e 64 20 77 65 |pyRes...|\ And we|
|00002d30| 20 68 61 76 65 20 6f 6e | 65 20 69 63 73 38 20 72 | have on|e ics8 r|
|00002d40| 65 73 6f 75 72 63 65 20 | 74 6f 6f 0d 09 31 33 32 |esource |too..132|
|00002d50| 20 31 32 38 20 64 6f 0d | 09 09 27 74 79 70 65 20 | 128 do.|..'type |
|00002d60| 46 52 45 46 20 20 69 20 | 20 63 6f 70 79 52 65 73 |FREF i | copyRes|
|00002d70| 09 09 09 5c 20 43 6f 70 | 79 20 46 52 45 46 73 0d |...\ Cop|y FREFs.|
|00002d80| 09 6c 6f 6f 70 0d 0d 09 | 27 74 79 70 65 20 53 49 |.loop...|'type SI|
|00002d90| 5a 45 20 20 2d 31 20 20 | 63 6f 70 79 52 65 73 09 |ZE -1 |copyRes.|
|00002da0| 09 09 09 5c 20 41 6e 64 | 20 53 49 5a 45 20 2d 31 |...\ And| SIZE -1|
|00002db0| 0d 09 27 74 79 70 65 20 | 41 4c 52 54 20 39 30 30 |..'type |ALRT 900|
|00002dc0| 20 20 63 6f 70 79 52 65 | 73 09 09 09 09 5c 20 41 | copyRe|s....\ A|
|00002dd0| 6e 64 20 41 4c 52 54 20 | 61 6e 64 20 44 49 54 4c |nd ALRT |and DITL|
|00002de0| 20 66 6f 72 20 61 6c 65 | 72 74 22 0d 09 27 74 79 | for ale|rt"..'ty|
|00002df0| 70 65 20 44 49 54 4c 20 | 39 30 30 20 20 63 6f 70 |pe DITL |900 cop|
|00002e00| 79 52 65 73 0d 09 0d 5c | 20 4e 6f 77 20 77 65 20 |yRes...\| Now we |
|00002e10| 63 72 65 61 74 65 20 74 | 68 65 20 6e 65 77 20 76 |create t|he new v|
|00002e20| 65 72 73 69 6f 6e 20 72 | 65 73 6f 75 72 63 65 20 |ersion r|esource |
|00002e30| 77 68 6f 73 65 20 74 65 | 78 74 20 77 65 20 67 65 |whose te|xt we ge|
|00002e40| 74 20 66 72 6f 6d 20 53 | 54 52 20 35 30 2e 0d 0d |t from S|TR 50...|
|00002e50| 09 27 74 79 70 65 20 53 | 54 52 20 20 35 30 20 20 |.'type S|TR 50 |
|00002e60| 73 65 74 3a 20 73 72 63 | 52 65 73 20 20 67 65 74 |set: src|Res get|
|00002e70| 4e 65 77 3a 20 73 72 63 | 52 65 73 0d 09 70 74 72 |New: src|Res..ptr|
|00002e80| 3a 20 73 72 63 52 65 73 | 20 20 73 69 7a 65 3a 20 |: srcRes| size: |
|00002e90| 73 72 63 52 65 73 20 20 | 70 75 74 3a 20 24 74 6d |srcRes |put: $tm|
|00002ea0| 70 0d 09 27 74 79 70 65 | 20 4d 6f 70 73 20 20 30 |p..'type| Mops 0|
|00002eb0| 20 20 73 65 74 3a 20 64 | 73 74 52 65 73 0d 09 6c | set: d|stRes..l|
|00002ec0| 65 6e 3a 20 24 74 6d 70 | 20 20 64 75 70 20 61 6c |en: $tmp| dup al|
|00002ed0| 69 67 6e 20 20 6e 65 77 | 3a 20 64 73 74 52 65 73 |ign new|: dstRes|
|00002ee0| 0d 5c 09 67 65 74 3a 20 | 24 74 6d 70 20 20 73 74 |.\.get: |$tmp st|
|00002ef0| 72 32 35 35 20 20 70 74 | 72 3a 20 64 73 74 52 65 |r255 pt|r: dstRe|
|00002f00| 73 20 20 6f 76 65 72 20 | 20 63 40 20 31 2b 20 63 |s over | c@ 1+ c|
|00002f10| 4d 6f 76 65 0d 09 70 74 | 72 3a 20 24 74 6d 70 20 |Move..pt|r: $tmp |
|00002f20| 20 70 74 72 3a 20 64 73 | 74 52 65 73 20 20 6c 65 | ptr: ds|tRes le|
|00002f30| 6e 3a 20 24 74 6d 70 20 | 20 63 6d 6f 76 65 0d 09 |n: $tmp | cmove..|
|00002f40| 72 65 6c 65 61 73 65 3a | 20 24 74 6d 70 0d 09 6e |release:| $tmp..n|
|00002f50| 75 6c 6c 4f 53 73 74 72 | 20 20 61 64 64 52 65 73 |ullOSstr| addRes|
|00002f60| 3a 20 64 73 74 52 65 73 | 0d 09 73 61 76 65 43 6f |: dstRes|..saveCo|
|00002f70| 64 65 09 09 09 09 09 09 | 09 5c 20 41 64 64 20 63 |de......|.\ Add c|
|00002f80| 6f 64 65 20 72 65 73 6f | 75 72 63 65 73 0d 09 62 |ode reso|urces..b|
|00002f90| 79 65 20 20 3b 09 09 09 | 09 09 09 09 09 5c 20 54 |ye ;...|.....\ T|
|00002fa0| 68 61 74 27 73 20 61 6c | 6c 2c 20 66 6f 6c 6b 73 |hat's al|l, folks|
|00002fb0| 0d 0d 0d 5c 09 09 09 3d | 3d 3d 3d 3d 3d 3d 3d 3d |...\...=|========|
|00002fc0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00002fd0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00002fe0| 3d 3d 3d 3d 3d 3d 0d 5c | 09 09 09 09 09 09 49 6e |======.\|......In|
|00002ff0| 69 74 69 61 6c 20 49 4e | 53 54 41 4c 4c 20 64 69 |itial IN|STALL di|
|00003000| 61 6c 6f 67 0d 5c 09 09 | 09 3d 3d 3d 3d 3d 3d 3d |alog.\..|.=======|
|00003010| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00003020| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00003030| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 0d 0d 74 72 75 65 09 |========|=..true.|
|00003040| 76 61 6c 75 65 09 49 43 | 55 52 53 0d 66 61 6c 73 |value.IC|URS.fals|
|00003050| 65 09 76 61 6c 75 65 09 | 43 41 4e 43 45 4c 4c 45 |e.value.|CANCELLE|
|00003060| 44 3f 0d 0d 5c 20 73 63 | 72 6f 6c 6c 20 62 61 72 |D?..\ sc|roll bar|
|00003070| 73 20 66 6f 72 20 53 74 | 61 63 6b 20 61 6e 64 20 |s for St|ack and |
|00003080| 44 69 63 74 69 6f 6e 61 | 72 79 20 68 65 61 64 72 |Dictiona|ry headr|
|00003090| 6f 6f 6d 0d 0d 76 53 63 | 72 6f 6c 6c 09 56 53 31 |oom..vSc|roll.VS1|
|000030a0| 09 09 31 38 30 20 31 35 | 20 34 38 20 20 69 6e 69 |..180 15| 48 ini|
|000030b0| 74 3a 20 76 73 31 0d 76 | 53 63 72 6f 6c 6c 09 56 |t: vs1.v|Scroll.V|
|000030c0| 53 32 09 09 31 38 30 20 | 38 35 20 34 38 20 20 69 |S2..180 |85 48 i|
|000030d0| 6e 69 74 3a 20 76 73 32 | 0d 0d 62 75 74 74 6f 6e |nit: vs2|..button|
|000030e0| 09 53 41 56 45 42 54 4e | 09 09 32 33 38 20 32 30 |.SAVEBTN|..238 20|
|000030f0| 20 22 20 53 61 76 65 22 | 09 09 69 6e 69 74 3a 20 | " Save"|..init: |
|00003100| 73 61 76 65 42 74 6e 0d | 62 75 74 74 6f 6e 09 49 |saveBtn.|button.I|
|00003110| 4e 53 54 42 54 4e 09 09 | 32 33 36 20 34 35 20 22 |NSTBTN..|236 45 "|
|00003120| 20 49 6e 73 74 61 6c 6c | 22 09 69 6e 69 74 3a 20 | Install|".init: |
|00003130| 69 6e 73 74 42 74 6e 0d | 62 75 74 74 6f 6e 09 43 |instBtn.|button.C|
|00003140| 41 4e 42 54 4e 09 09 32 | 33 36 20 37 30 20 22 20 |ANBTN..2|36 70 " |
|00003150| 43 61 6e 63 65 6c 22 09 | 69 6e 69 74 3a 20 63 61 |Cancel".|init: ca|
|00003160| 6e 42 74 6e 0d 62 75 74 | 74 6f 6e 09 48 45 41 50 |nBtn.but|ton.HEAP|
|00003170| 42 54 4e 09 09 31 35 30 | 20 31 34 35 20 22 20 4d |BTN..150| 145 " M|
|00003180| 61 78 20 48 65 61 70 22 | 09 69 6e 69 74 3a 20 68 |ax Heap"|.init: h|
|00003190| 65 61 70 42 74 6e 0d 0d | 72 61 64 69 6f 42 75 74 |eapBtn..|radioBut|
|000031a0| 74 6f 6e 09 6d 78 53 74 | 09 31 39 37 20 31 34 20 |ton.mxSt|.197 14 |
|000031b0| 20 22 20 2b 2b 22 20 20 | 20 69 6e 69 74 3a 20 6d | " ++" | init: m|
|000031c0| 78 53 74 0d 72 61 64 69 | 6f 42 75 74 74 6f 6e 09 |xSt.radi|oButton.|
|000031d0| 6d 69 53 74 09 31 39 37 | 20 34 36 20 09 22 20 2d |miSt.197| 46 ." -|
|000031e0| 2d 22 09 69 6e 69 74 3a | 20 6d 69 53 74 0d 72 61 |-".init:| miSt.ra|
|000031f0| 64 69 6f 42 75 74 74 6f | 6e 20 6d 78 44 69 09 31 |dioButto|n mxDi.1|
|00003200| 39 37 20 38 34 20 09 22 | 20 2b 2b 22 09 69 6e 69 |97 84 ."| ++".ini|
|00003210| 74 3a 20 6d 78 44 69 0d | 72 61 64 69 6f 42 75 74 |t: mxDi.|radioBut|
|00003220| 74 6f 6e 20 6d 69 44 69 | 09 31 39 37 20 31 31 36 |ton miDi|.197 116|
|00003230| 20 22 20 2d 2d 22 09 69 | 6e 69 74 3a 20 6d 69 44 | " --".i|nit: miD|
|00003240| 69 0d 0d 0d 5c 20 52 65 | 63 74 61 6e 67 6c 65 73 |i...\ Re|ctangles|
|00003250| 20 66 6f 72 20 66 6f 72 | 6d 61 74 74 69 6e 67 20 | for for|matting |
|00003260| 73 63 72 65 65 6e 2e 20 | 20 54 68 65 73 65 20 70 |screen. | These p|
|00003270| 72 6f 62 61 62 6c 79 20 | 73 68 6f 75 6c 64 20 62 |robably |should b|
|00003280| 65 20 72 65 77 72 69 74 | 74 65 6e 20 61 73 0d 5c |e rewrit|ten as.\|
|00003290| 20 63 68 69 6c 64 20 76 | 69 65 77 73 2c 20 72 61 | child v|iews, ra|
|000032a0| 74 68 65 72 20 74 68 61 | 6e 20 6a 75 73 74 20 64 |ther tha|n just d|
|000032b0| 72 61 77 6e 20 64 69 72 | 65 63 74 6c 79 20 69 6e |rawn dir|ectly in|
|000032c0| 20 74 68 65 20 77 69 6e | 64 6f 77 2c 20 62 75 74 | the win|dow, but|
|000032d0| 20 74 68 69 73 20 69 73 | 0d 5c 20 6e 6f 77 20 22 | this is|.\ now "|
|000032e0| 6c 65 67 61 63 79 20 63 | 6f 64 65 22 21 0d 0d 72 |legacy c|ode"!..r|
|000032f0| 65 63 74 20 73 74 52 65 | 63 74 09 09 32 30 20 32 |ect stRe|ct..20 2|
|00003300| 39 20 31 37 30 20 34 39 | 09 70 75 74 3a 20 73 74 |9 170 49|.put: st|
|00003310| 52 65 63 74 09 09 5c 20 | 73 74 61 63 6b 20 68 65 |Rect..\ |stack he|
|00003320| 61 64 72 6f 6f 6d 0d 72 | 65 63 74 20 68 70 52 65 |adroom.r|ect hpRe|
|00003330| 63 74 09 09 32 30 20 36 | 34 20 31 37 30 20 38 34 |ct..20 6|4 170 84|
|00003340| 09 70 75 74 3a 20 68 70 | 52 65 63 74 09 09 5c 20 |.put: hp|Rect..\ |
|00003350| 68 65 61 70 20 73 74 61 | 72 74 20 73 69 7a 65 0d |heap sta|rt size.|
|00003360| 72 65 63 74 20 64 69 52 | 65 63 74 09 09 32 30 20 |rect diR|ect..20 |
|00003370| 39 39 20 31 37 30 20 31 | 31 39 09 70 75 74 3a 20 |99 170 1|19.put: |
|00003380| 64 69 52 65 63 74 09 09 | 5c 20 44 69 63 74 69 6f |diRect..|\ Dictio|
|00003390| 6e 61 72 79 20 68 65 61 | 64 72 6f 6f 6d 0d 09 0d |nary hea|droom...|
|000033a0| 72 65 63 74 20 77 52 65 | 63 74 09 09 31 30 30 20 |rect wRe|ct..100 |
|000033b0| 34 30 20 34 30 30 20 32 | 31 30 09 70 75 74 3a 20 |40 400 2|10.put: |
|000033c0| 77 52 65 63 74 0d 0d 0d | 5c 20 67 65 74 20 63 75 |wRect...|\ get cu|
|000033d0| 72 72 65 6e 74 20 6c 69 | 6d 69 74 73 20 66 6f 72 |rrent li|mits for|
|000033e0| 20 73 74 61 63 6b 20 61 | 6e 64 20 64 69 63 74 20 | stack a|nd dict |
|000033f0| 62 61 73 65 64 20 6f 6e | 20 6d 69 6e 48 65 61 70 |based on| minHeap|
|00003400| 0d 0d 3a 20 4d 41 58 53 | 54 41 43 4b 20 20 63 75 |..: MAXS|TACK cu|
|00003410| 72 53 74 61 63 6b 20 63 | 75 72 48 65 61 70 20 6d |rStack c|urHeap m|
|00003420| 69 6e 48 65 61 70 20 2d | 20 2b 20 20 3b 0d 3a 20 |inHeap -| + ;.: |
|00003430| 4d 41 58 44 49 43 54 20 | 20 20 63 75 72 44 69 63 |MAXDICT | curDic|
|00003440| 74 20 20 63 75 72 48 65 | 61 70 20 6d 69 6e 48 65 |t curHe|ap minHe|
|00003450| 61 70 20 2d 20 2b 20 20 | 3b 0d 0d 32 30 30 30 30 |ap - + |;..20000|
|00003460| 09 76 61 6c 75 65 09 4d | 49 4e 53 54 41 43 4b 0d |.value.M|INSTACK.|
|00003470| 20 20 31 32 38 09 76 61 | 6c 75 65 09 4d 49 4e 44 | 128.va|lue.MIND|
|00003480| 49 43 54 0d 0d 3a 20 2e | 56 41 4c 20 20 7b 20 6e |ICT..: .|VAL { n|
|00003490| 20 74 68 65 52 65 63 74 | 20 2d 2d 20 7d 09 5c 20 | theRect| -- }.\ |
|000034a0| 70 72 69 6e 74 20 6e 75 | 6d 62 65 72 20 69 6e 20 |print nu|mber in |
|000034b0| 72 65 63 74 0d 09 6e 6f | 43 6c 69 70 0d 09 74 68 |rect..no|Clip..th|
|000034c0| 65 52 65 63 74 20 2d 3e | 3a 20 74 65 6d 70 52 65 |eRect ->|: tempRe|
|000034d0| 63 74 0d 09 34 20 34 20 | 69 6e 73 65 74 3a 20 74 |ct..4 4 |inset: t|
|000034e0| 65 6d 70 52 65 63 74 20 | 31 30 30 20 70 75 74 54 |empRect |100 putT|
|000034f0| 6f 70 58 3a 20 74 65 6d | 70 52 65 63 74 20 63 6c |opX: tem|pRect cl|
|00003500| 65 61 72 3a 20 74 65 6d | 70 52 65 63 74 0d 09 31 |ear: tem|pRect..1|
|00003510| 30 34 20 67 65 74 62 6f | 74 79 3a 20 74 65 6d 70 |04 getbo|ty: temp|
|00003520| 52 65 63 74 20 32 2d 20 | 67 6f 74 6f 78 79 20 6e |Rect 2- |gotoxy n|
|00003530| 20 37 20 20 2e 72 20 20 | 3b 0d 0d 3a 20 2e 56 53 | 7 .r |;..: .VS|
|00003540| 31 09 63 75 72 53 74 61 | 63 6b 20 20 61 64 64 72 |1.curSta|ck addr|
|00003550| 3a 20 73 74 52 65 63 74 | 20 2e 76 61 6c 20 63 75 |: stRect| .val cu|
|00003560| 72 48 65 61 70 20 20 61 | 64 64 72 3a 20 68 70 52 |rHeap a|ddr: hpR|
|00003570| 65 63 74 20 2e 76 61 6c | 20 20 3b 0d 3a 20 2e 56 |ect .val| ;.: .V|
|00003580| 53 32 09 63 75 72 44 69 | 63 74 20 20 20 61 64 64 |S2.curDi|ct add|
|00003590| 72 3a 20 64 69 52 65 63 | 74 20 2e 76 61 6c 20 63 |r: diRec|t .val c|
|000035a0| 75 72 48 65 61 70 20 20 | 61 64 64 72 3a 20 68 70 |urHeap |addr: hp|
|000035b0| 52 65 63 74 20 2e 76 61 | 6c 20 20 3b 0d 0d 0d 5c |Rect .va|l ;...\|
|000035c0| 20 44 65 66 69 6e 65 20 | 74 68 65 20 49 6e 73 74 | Define |the Inst|
|000035d0| 61 6c 6c 20 75 74 69 6c | 69 74 79 20 77 69 6e 64 |all util|ity wind|
|000035e0| 6f 77 0d 0d 77 69 6e 64 | 6f 77 2b 09 09 49 57 49 |ow..wind|ow+..IWI|
|000035f0| 4e 44 0d 76 69 65 77 09 | 09 49 56 49 45 57 09 09 |ND.view.|.IVIEW..|
|00003600| 09 09 5c 20 54 68 69 73 | 20 77 69 6c 6c 20 62 65 |..\ This| will be|
|00003610| 20 74 68 65 20 63 6f 6e | 74 56 69 65 77 20 66 6f | the con|tView fo|
|00003620| 72 20 49 57 49 4e 44 0d | 0d 0d 3a 61 20 20 44 52 |r IWIND.|..:a DR|
|00003630| 41 57 49 56 49 45 57 0d | 09 64 72 61 77 3a 20 73 |AWIVIEW.|.draw: s|
|00003640| 74 52 65 63 74 20 64 72 | 61 77 3a 20 68 70 52 65 |tRect dr|aw: hpRe|
|00003650| 63 74 20 64 72 61 77 3a | 20 64 69 52 65 63 74 0d |ct draw:| diRect.|
|00003660| 09 32 20 74 6d 6f 64 65 | 20 30 20 74 66 6f 6e 74 |.2 tmode| 0 tfont|
|00003670| 20 31 32 20 74 73 69 7a | 65 0d 09 32 34 20 34 33 | 12 tsiz|e..24 43|
|00003680| 20 67 6f 74 6f 78 79 20 | 2e 22 20 53 74 61 63 6b | gotoxy |." Stack|
|00003690| 3a 22 0d 09 32 34 20 37 | 38 20 67 6f 74 6f 78 79 |:"..24 7|8 gotoxy|
|000036a0| 20 2e 22 20 48 65 61 70 | 3a 22 0d 09 32 34 20 31 | ." Heap|:"..24 1|
|000036b0| 31 33 20 67 6f 74 6f 78 | 79 20 2e 22 20 44 69 63 |13 gotox|y ." Dic|
|000036c0| 74 69 6f 6e 61 72 79 3a | 22 20 20 2e 76 73 31 20 |tionary:|" .vs1 |
|000036d0| 2e 76 73 32 0d 3b 61 0d | 0d 5c 20 43 46 41 53 7b |.vs2.;a.|.\ CFAS{|
|000036e0| 20 6e 75 6c 6c 20 6e 75 | 6c 6c 20 64 72 61 77 49 | null nu|ll drawI|
|000036f0| 77 69 6e 64 20 6e 75 6c | 6c 20 7d 20 20 61 63 74 |wind nul|l } act|
|00003700| 69 6f 6e 73 3a 20 69 57 | 69 6e 64 0d 0d 27 20 64 |ions: iW|ind..' d|
|00003710| 72 61 77 49 56 69 65 77 | 20 20 73 65 74 44 72 61 |rawIView| setDra|
|00003720| 77 3a 20 69 56 69 65 77 | 0d 0d 0d 5c 20 43 72 65 |w: iView|...\ Cre|
|00003730| 61 74 65 20 6e 65 77 20 | 77 69 6e 64 6f 77 2c 20 |ate new |window, |
|00003740| 63 6f 6e 74 72 6f 6c 73 | 0d 0d 5c 20 20 22 3a 61 |controls|..\ ":a|
|00003750| 22 2c 20 65 6c 73 65 20 | 46 72 6f 6e 74 45 6e 64 |", else |FrontEnd|
|00003760| 20 6d 65 6e 75 20 69 74 | 65 6d 23 20 69 73 20 64 | menu it|em# is d|
|00003770| 72 6f 70 70 65 64 20 6f | 6e 20 73 74 61 63 6b 20 |ropped o|n stack |
|00003780| 2d 20 46 65 62 39 36 20 | 42 4c 42 0d 5c 20 3a 20 |- Feb96 |BLB.\ : |
|00003790| 49 4e 53 54 41 4c 4c 20 | 20 20 20 20 20 20 20 20 |INSTALL | |
|000037a0| 20 20 20 20 5c 20 46 65 | 62 39 36 20 42 4c 42 0d | \ Fe|b96 BLB.|
|000037b0| 3a 61 20 49 4e 53 54 41 | 4c 4c 57 49 4e 44 20 20 |:a INSTA|LLWIND |
|000037c0| 20 20 20 20 20 20 20 20 | 5c 20 46 65 62 39 36 20 | |\ Feb96 |
|000037d0| 42 4c 42 0d 20 20 20 20 | 72 65 6c 65 61 73 65 3a |BLB. |release:|
|000037e0| 20 63 61 6c 6c 73 4d 6f | 64 20 20 20 20 20 20 20 | callsMo|d |
|000037f0| 20 20 20 20 20 20 20 20 | 5c 20 74 68 69 73 20 77 | |\ this w|
|00003800| 69 6c 6c 20 67 75 61 72 | 61 6e 74 65 65 20 75 73 |ill guar|antee us|
|00003810| 20 35 30 30 4b 21 0d 20 | 20 20 20 76 73 31 20 20 | 500K!. | vs1 |
|00003820| 61 64 64 56 69 65 77 3a | 20 69 56 69 65 77 20 20 |addView:| iView |
|00003830| 20 76 73 32 20 20 61 64 | 64 56 69 65 77 3a 20 69 | vs2 ad|dView: i|
|00003840| 56 69 65 77 0d 20 20 20 | 20 6d 78 53 74 20 61 64 |View. | mxSt ad|
|00003850| 64 56 69 65 77 3a 20 69 | 56 69 65 77 20 20 6d 69 |dView: i|View mi|
|00003860| 53 74 20 61 64 64 56 69 | 65 77 3a 20 69 56 69 65 |St addVi|ew: iVie|
|00003870| 77 0d 20 20 20 20 6d 78 | 44 69 20 61 64 64 56 69 |w. mx|Di addVi|
|00003880| 65 77 3a 20 69 56 69 65 | 77 20 20 6d 69 44 69 20 |ew: iVie|w miDi |
|00003890| 61 64 64 56 69 65 77 3a | 20 69 56 69 65 77 0d 20 |addView:| iView. |
|000038a0| 20 20 20 73 61 76 65 42 | 74 6e 20 61 64 64 56 69 | saveB|tn addVi|
|000038b0| 65 77 3a 20 69 56 69 65 | 77 0d 20 20 20 20 69 6e |ew: iVie|w. in|
|000038c0| 73 74 42 74 6e 20 61 64 | 64 56 69 65 77 3a 20 69 |stBtn ad|dView: i|
|000038d0| 56 69 65 77 0d 20 20 20 | 20 63 61 6e 42 74 6e 20 |View. | canBtn |
|000038e0| 20 61 64 64 56 69 65 77 | 3a 20 69 56 69 65 77 0d | addView|: iView.|
|000038f0| 20 20 20 20 68 65 61 70 | 42 74 6e 20 61 64 64 56 | heap|Btn addV|
|00003900| 69 65 77 3a 20 69 56 69 | 65 77 0d 20 20 20 20 0d |iew: iVi|ew. .|
|00003910| 20 20 20 20 77 52 65 63 | 74 20 22 20 20 22 20 64 | wRec|t " " d|
|00003920| 6c 67 57 69 6e 64 20 74 | 72 75 65 20 66 61 6c 73 |lgWind t|rue fals|
|00003930| 65 20 20 69 56 69 65 77 | 20 20 6e 65 77 3a 20 69 |e iView| new: i|
|00003940| 57 69 6e 64 0d 20 20 20 | 20 32 30 30 30 20 33 32 |Wind. | 2000 32|
|00003950| 30 30 30 20 70 75 74 52 | 61 6e 67 65 3a 20 76 73 |000 putR|ange: vs|
|00003960| 31 20 20 30 20 38 30 30 | 30 20 70 75 74 52 61 6e |1 0 800|0 putRan|
|00003970| 67 65 3a 20 76 73 32 0d | 20 20 20 20 34 30 30 30 |ge: vs2.| 4000|
|00003980| 20 64 75 70 20 70 75 74 | 3a 20 76 73 31 20 20 70 | dup put|: vs1 p|
|00003990| 75 74 3a 20 76 73 32 0d | 20 20 20 20 73 74 6b 73 |ut: vs2.| stks|
|000039a0| 70 61 63 65 20 2d 3e 20 | 63 75 72 53 74 61 63 6b |pace -> |curStack|
|000039b0| 20 20 64 69 63 73 69 7a | 65 20 2d 3e 20 63 75 72 | dicsiz|e -> cur|
|000039c0| 44 69 63 74 0d 20 20 20 | 20 6d 69 6e 53 74 61 63 |Dict. | minStac|
|000039d0| 6b 20 2d 3e 20 63 75 72 | 53 74 61 63 6b 20 6d 69 |k -> cur|Stack mi|
|000039e0| 6e 44 69 63 74 20 2d 3e | 20 63 75 72 44 69 63 74 |nDict ->| curDict|
|000039f0| 0d 20 20 20 20 2d 63 75 | 72 73 20 20 20 61 72 72 |. -cu|rs arr|
|00003a00| 6f 77 43 75 72 73 20 20 | 64 72 61 77 3a 20 69 57 |owCurs |draw: iW|
|00003a10| 69 6e 64 0d 0d 20 20 20 | 20 66 61 6c 73 65 20 2d |ind.. | false -|
|00003a20| 3e 20 63 61 6e 63 65 6c | 6c 65 64 3f 0d 5c 20 20 |> cancel|led?.\ |
|00003a30| 20 42 45 47 49 4e 20 20 | 6b 65 79 20 64 72 6f 70 | BEGIN |key drop|
|00003a40| 20 20 63 61 6e 63 65 6c | 6c 65 64 3f 20 20 55 4e | cancel|led? UN|
|00003a50| 54 49 4c 20 20 3b 20 20 | 20 5c 20 32 37 46 65 62 |TIL ; | \ 27Feb|
|00003a60| 39 34 20 44 42 48 0d 5c | 09 45 76 65 6e 74 4c 6f |94 DBH.\|.EventLo|
|00003a70| 6f 70 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |op | |
|00003a80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003a90| 20 5c 20 32 37 46 65 62 | 39 34 20 44 42 48 20 5c | \ 27Feb|94 DBH \|
|00003aa0| 20 46 65 62 39 36 20 42 | 4c 42 0d 20 20 20 20 42 | Feb96 B|LB. B|
|00003ab0| 45 47 49 4e 20 73 65 6c | 65 63 74 3a 20 69 57 69 |EGIN sel|ect: iWi|
|00003ac0| 6e 64 20 6e 65 78 74 3a | 20 66 65 76 65 6e 74 20 |nd next:| fevent |
|00003ad0| 20 20 20 5c 20 62 65 68 | 61 76 65 73 20 6d 6f 72 | \ beh|aves mor|
|00003ae0| 65 20 6c 69 6b 65 20 61 | 20 64 69 61 6c 6f 67 0d |e like a| dialog.|
|00003af0| 20 20 20 20 63 61 6e 63 | 65 6c 6c 65 64 3f 20 49 | canc|elled? I|
|00003b00| 46 20 45 58 49 54 20 54 | 48 45 4e 20 20 20 20 20 |F EXIT T|HEN |
|00003b10| 20 20 20 20 20 20 20 20 | 5c 20 28 77 68 69 63 68 | |\ (which|
|00003b20| 20 77 6f 75 6c 64 20 62 | 65 20 62 65 74 74 65 72 | would b|e better|
|00003b30| 2c 20 62 75 74 0d 20 20 | 20 20 41 47 41 49 4e 20 |, but. | AGAIN |
|00003b40| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003b50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 5c 20 | | \ |
|00003b60| 56 73 63 72 6f 6c 6c 20 | 72 65 73 69 73 74 73 20 |Vscroll |resists |
|00003b70| 62 65 69 6e 67 20 70 6c | 61 63 65 64 0d 3b 61 20 |being pl|aced.;a |
|00003b80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003b90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003ba0| 20 20 20 20 20 5c 20 69 | 6e 20 61 20 44 4c 4f 47 | \ i|n a DLOG|
|00003bb0| 29 20 2d 20 46 65 62 39 | 36 20 42 4c 42 0d 0d 0d |) - Feb9|6 BLB...|
|00003bc0| 3a 20 73 74 44 6e 09 63 | 75 72 53 74 61 63 6b 20 |: stDn.c|urStack |
|00003bd0| 38 20 2d 20 20 6d 69 6e | 53 74 61 63 6b 20 6d 61 |8 - min|Stack ma|
|00003be0| 78 20 2d 3e 20 63 75 72 | 53 74 61 63 6b 20 20 2e |x -> cur|Stack .|
|00003bf0| 76 73 31 20 20 3b 0d 3a | 20 73 74 55 70 09 63 75 |vs1 ;.:| stUp.cu|
|00003c00| 72 53 74 61 63 6b 20 38 | 20 2b 20 20 6d 61 78 53 |rStack 8| + maxS|
|00003c10| 74 61 63 6b 20 6d 69 6e | 20 2d 3e 20 63 75 72 53 |tack min| -> curS|
|00003c20| 74 61 63 6b 20 20 2e 76 | 73 31 20 20 3b 0d 0d 3a |tack .v|s1 ;..:|
|00003c30| 20 64 69 44 6e 09 63 75 | 72 44 69 63 74 20 33 32 | diDn.cu|rDict 32|
|00003c40| 20 2d 20 20 6d 69 6e 44 | 69 63 74 20 6d 61 78 20 | - minD|ict max |
|00003c50| 2d 3e 20 63 75 72 44 69 | 63 74 20 20 2e 76 73 32 |-> curDi|ct .vs2|
|00003c60| 20 20 3b 0d 3a 20 64 69 | 55 70 09 63 75 72 44 69 | ;.: di|Up.curDi|
|00003c70| 63 74 20 33 32 20 2b 20 | 20 6d 61 78 44 69 63 74 |ct 32 + | maxDict|
|00003c80| 20 6d 69 6e 20 2d 3e 20 | 63 75 72 44 69 63 74 20 | min -> |curDict |
|00003c90| 20 2e 76 73 32 20 20 3b | 0d 0d 58 54 53 7b 20 20 | .vs2 ;|..XTS{ |
|00003ca0| 73 74 55 70 20 73 74 44 | 6e 20 6e 75 6c 6c 20 6e |stUp stD|n null n|
|00003cb0| 75 6c 6c 20 6e 75 6c 6c | 20 20 7d 20 20 61 63 74 |ull null| } act|
|00003cc0| 69 6f 6e 73 3a 20 76 73 | 31 0d 58 54 53 7b 20 20 |ions: vs|1.XTS{ |
|00003cd0| 64 69 55 70 20 64 69 44 | 6e 20 6e 75 6c 6c 20 6e |diUp diD|n null n|
|00003ce0| 75 6c 6c 20 6e 75 6c 6c | 20 20 7d 20 20 61 63 74 |ull null| } act|
|00003cf0| 69 6f 6e 73 3a 20 76 73 | 32 0d 0d 0d 3a 20 43 4f |ions: vs|2...: CO|
|00003d00| 4e 46 49 47 09 09 63 6c | 6f 73 65 3a 20 69 57 69 |NFIG..cl|ose: iWi|
|00003d10| 6e 64 20 20 73 65 74 4d | 65 6d 20 20 73 61 76 65 |nd setM|em save|
|00003d20| 4e 75 63 20 20 3b 0d 3a | 20 57 49 4e 53 54 41 4c |Nuc ;.:| WINSTAL|
|00003d30| 4c 09 09 63 6c 6f 73 65 | 3a 20 69 57 69 6e 64 20 |L..close|: iWind |
|00003d40| 20 73 65 74 4d 65 6d 20 | 20 64 6f 49 6e 73 74 61 | setMem | doInsta|
|00003d50| 6c 6c 20 20 3b 0d 5c 20 | 3a 20 43 41 4e 43 45 4c |ll ;.\ |: CANCEL|
|00003d60| 20 20 20 20 63 6c 6f 73 | 65 3a 20 69 57 69 6e 64 | clos|e: iWind|
|00003d70| 20 64 72 6f 70 3a 20 69 | 6e 73 74 6c 6d 6f 64 20 | drop: i|nstlmod |
|00003d80| 20 69 63 75 72 73 20 2d | 3e 20 63 75 72 73 20 5c | icurs -|> curs \|
|00003d90| 20 46 65 62 39 36 20 42 | 4c 42 0d 5c 20 28 61 20 | Feb96 B|LB.\ (a |
|00003da0| 32 6e 64 20 68 69 74 20 | 77 6f 75 6c 64 20 63 72 |2nd hit |would cr|
|00003db0| 61 73 68 20 4d 6f 70 73 | 29 0d 3a 20 43 41 4e 43 |ash Mops|).: CANC|
|00003dc0| 45 4c 09 63 6c 6f 73 65 | 3a 20 69 57 69 6e 64 20 |EL.close|: iWind |
|00003dd0| 20 72 65 6c 65 61 73 65 | 3a 20 69 6e 73 74 6c 6d | release|: instlm|
|00003de0| 6f 64 20 20 69 63 75 72 | 73 20 2d 3e 20 63 75 72 |od icur|s -> cur|
|00003df0| 73 20 5c 20 46 65 62 39 | 36 20 42 4c 42 0d 09 09 |s \ Feb9|6 BLB...|
|00003e00| 09 74 72 75 65 20 2d 3e | 20 63 61 6e 63 65 6c 6c |.true ->| cancell|
|00003e10| 65 64 3f 20 20 3b 0d 0d | 3a 20 44 4f 4d 58 53 54 |ed? ;..|: DOMXST|
|00003e20| 09 09 63 75 72 53 74 61 | 63 6b 20 34 30 39 36 20 |..curSta|ck 4096 |
|00003e30| 2b 20 6d 61 78 53 74 61 | 63 6b 20 6d 69 6e 20 2d |+ maxSta|ck min -|
|00003e40| 3e 20 63 75 72 53 74 61 | 63 6b 20 2e 76 73 31 20 |> curSta|ck .vs1 |
|00003e50| 20 3b 0d 3a 20 44 4f 4d | 49 53 54 09 09 63 75 72 | ;.: DOM|IST..cur|
|00003e60| 53 74 61 63 6b 20 34 30 | 39 36 20 2d 20 6d 69 6e |Stack 40|96 - min|
|00003e70| 53 74 61 63 6b 20 6d 61 | 78 20 2d 3e 20 63 75 72 |Stack ma|x -> cur|
|00003e80| 53 74 61 63 6b 20 2e 76 | 73 31 20 20 3b 0d 3a 20 |Stack .v|s1 ;.: |
|00003e90| 44 4f 4d 58 44 49 09 09 | 63 75 72 44 69 63 74 20 |DOMXDI..|curDict |
|00003ea0| 31 36 33 38 34 20 2b 20 | 6d 61 78 44 69 63 74 20 |16384 + |maxDict |
|00003eb0| 6d 69 6e 20 2d 3e 20 63 | 75 72 44 69 63 74 20 2e |min -> c|urDict .|
|00003ec0| 76 73 32 20 20 3b 0d 3a | 20 44 4f 4d 49 44 49 09 |vs2 ;.:| DOMIDI.|
|00003ed0| 09 63 75 72 44 69 63 74 | 20 31 36 33 38 34 20 2d |.curDict| 16384 -|
|00003ee0| 20 6d 69 6e 44 69 63 74 | 20 6d 61 78 20 2d 3e 20 | minDict| max -> |
|00003ef0| 63 75 72 44 69 63 74 20 | 2e 76 73 32 20 20 3b 0d |curDict |.vs2 ;.|
|00003f00| 3a 20 44 4f 4d 58 48 50 | 09 09 6d 69 6e 53 74 61 |: DOMXHP|..minSta|
|00003f10| 63 6b 20 2d 3e 20 63 75 | 72 53 74 61 63 6b 20 2e |ck -> cu|rStack .|
|00003f20| 76 73 31 20 20 6d 69 6e | 44 69 63 74 20 2d 3e 20 |vs1 min|Dict -> |
|00003f30| 63 75 72 44 69 63 74 20 | 2e 76 73 32 20 20 3b 0d |curDict |.vs2 ;.|
|00003f40| 0d 27 20 63 6f 6e 66 69 | 67 20 20 20 73 65 74 43 |.' confi|g setC|
|00003f50| 6c 69 63 6b 3a 20 73 61 | 76 65 42 74 6e 0d 27 20 |lick: sa|veBtn.' |
|00003f60| 77 49 6e 73 74 61 6c 6c | 20 73 65 74 43 6c 69 63 |wInstall| setClic|
|00003f70| 6b 3a 20 69 6e 73 74 42 | 74 6e 0d 27 20 63 61 6e |k: instB|tn.' can|
|00003f80| 63 65 6c 20 20 20 73 65 | 74 43 6c 69 63 6b 3a 20 |cel se|tClick: |
|00003f90| 63 61 6e 42 74 6e 0d 27 | 20 64 6f 4d 78 53 74 20 |canBtn.'| doMxSt |
|00003fa0| 20 20 73 65 74 43 6c 69 | 63 6b 3a 20 6d 78 53 74 | setCli|ck: mxSt|
|00003fb0| 0d 27 20 64 6f 4d 69 53 | 74 20 20 20 73 65 74 43 |.' doMiS|t setC|
|00003fc0| 6c 69 63 6b 3a 20 6d 69 | 53 74 0d 27 20 64 6f 4d |lick: mi|St.' doM|
|00003fd0| 78 44 69 20 20 20 73 65 | 74 43 6c 69 63 6b 3a 20 |xDi se|tClick: |
|00003fe0| 6d 78 44 49 0d 27 20 64 | 6f 4d 69 44 69 20 20 20 |mxDI.' d|oMiDi |
|00003ff0| 73 65 74 43 6c 69 63 6b | 3a 20 6d 69 44 69 0d 27 |setClick|: miDi.'|
|00004000| 20 64 6f 4d 78 48 70 20 | 20 20 73 65 74 43 6c 69 | doMxHp | setCli|
|00004010| 63 6b 3a 20 68 65 61 70 | 42 74 6e 0d 0d 65 6e 64 |ck: heap|Btn..end|
|00004020| 6c 6f 61 64 09 09 09 09 | 09 5c 20 2a 2a 2a 0d 0d |load....|.\ ***..|
|00004030| 5c 20 74 65 73 74 69 6e | 67 0d 0d 74 72 75 65 20 |\ testin|g..true |
|00004040| 20 73 65 74 69 6e 73 74 | 61 6c 6c 3a 20 74 65 73 | setinst|all: tes|
|00004050| 74 6d 6f 64 0d 63 6f 6d | 70 69 6c 65 3a 20 74 65 |tmod.com|pile: te|
|00004060| 73 74 6d 6f 64 0d 0d 32 | 30 30 30 30 20 61 6c 6c |stmod..2|0000 all|
|00004070| 6f 74 0d 0d 3a 20 67 6f | 0d 09 31 30 20 30 20 44 |ot..: go|..10 0 D|
|00004080| 4f 20 20 2e 22 20 68 65 | 6c 6c 6f 20 74 68 65 72 |O ." he|llo ther|
|00004090| 65 21 21 22 20 20 63 72 | 20 20 4c 4f 4f 50 0d 09 |e!!" cr| LOOP..|
|000040a0| 62 62 20 20 2e 6d 6f 64 | 73 0d 09 35 30 30 30 30 |bb .mod|s..50000|
|000040b0| 30 20 30 20 44 4f 20 4c | 4f 4f 50 0d 09 62 79 65 |0 0 DO L|OOP..bye|
|000040c0| 20 20 3b 0d 0d 3a 20 63 | 72 61 73 68 09 63 72 20 | ;..: c|rash.cr |
|000040d0| 63 72 20 2e 22 20 4f 68 | 20 6e 6f 21 21 21 22 0d |cr ." Oh| no!!!".|
|000040e0| 09 35 30 30 30 30 30 20 | 30 20 44 4f 20 4c 4f 4f |.500000 |0 DO LOO|
|000040f0| 50 20 20 62 79 65 20 20 | 3b 0d 00 00 00 00 00 00 |P bye |;.......|
|00004100| 00 00 01 00 00 00 01 42 | 00 00 00 42 00 00 00 3b |.......B|...B...;|
|00004110| 00 00 00 00 01 00 a7 46 | 9c 59 52 4d 7f 1c 7f 1f |.......F|.YRM....|
|00004120| 7f 1f 00 05 7f 20 7f 1f | 7f 1e 7f 1d 7e e1 00 00 |..... ..|....~...|
|00004130| 0c 49 6e 73 74 6c 6d 6f | 64 2e 74 78 74 6f 02 00 |.Instlmo|d.txto..|
|00004140| 00 00 50 61 72 74 53 49 | 54 21 00 00 00 00 00 00 |..PartSI|T!......|
|00004150| 00 00 50 61 72 74 53 49 | 54 21 00 00 00 00 00 00 |..PartSI|T!......|
|00004160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004170| 00 00 b3 66 c2 72 00 00 | 00 00 00 00 01 7d 00 00 |...f.r..|.....}..|
|00004180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000041a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000041b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000041c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000041d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000041e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000041f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004200| 00 00 00 3e 00 00 00 00 | 00 00 2f 60 00 00 00 00 |...>....|../`....|
|00004210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 02 16 |........|........|
|00004230| 00 00 02 16 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004240| 00 00 00 00 01 00 00 00 | 01 42 00 00 00 42 00 00 |........|.B...B..|
|00004250| 00 3b 02 42 4a b8 2a 9a | 00 00 00 1c 00 32 00 00 |.;.BJ.*.|.....2..|
|00004260| 4d 49 46 4f 00 00 00 0a | 00 80 00 00 00 00 00 00 |MIFO....|........|
|00004270| 02 42 4e dc 08 4d 69 73 | 63 49 6e 66 6f 00 00 00 |.BN..Mis|cInfo...|
+--------+-------------------------+-------------------------+--------+--------+