home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 1 / ARM_CLUB_CD.iso / contents / apps / files / a / fsvars / SFSVars < prev   
Unknown  |  1989-07-17  |  27.1 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert Truevision Targa Graphic (image/tga) magic Supported
100% file data default
100% xdgMime image/x-tga default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 0d 00 0a 1d f4 20 3e 26 | 2e 4d 2f 43 6f 64 65 2e |..... >&|.M/Code.|
|00000010| 53 6f 75 72 63 65 2e 46 | 53 56 61 72 73 0d 00 14 |Source.F|SVars...|
|00000020| 04 0d 00 1e 21 f4 20 46 | 69 6c 65 53 77 69 74 63 |....!. F|ileSwitc|
|00000030| 68 20 56 61 72 69 61 62 | 6c 65 73 20 4d 6f 64 75 |h Variab|les Modu|
|00000040| 6c 65 0d 00 28 21 f4 20 | 56 65 72 73 69 6f 6e 20 |le..(!. |Version |
|00000050| 31 2e 32 31 20 31 37 74 | 68 20 4a 75 6c 79 20 31 |1.21 17t|h July 1|
|00000060| 39 38 39 0d 00 32 1a f4 | 20 28 43 29 20 4d 61 72 |989..2..| (C) Mar|
|00000070| 74 79 6e 20 53 2e 20 4c | 6f 76 65 6c 6c 0d 00 3c |tyn S. L|ovell..<|
|00000080| 04 0d 00 46 15 f4 20 56 | 65 72 73 69 6f 6e 20 48 |...F.. V|ersion H|
|00000090| 69 73 74 6f 72 79 0d 00 | 50 1f f4 20 56 65 72 73 |istory..|P.. Vers|
|000000a0| 69 6f 6e 20 30 2e 30 31 | 20 31 73 74 20 4d 61 79 |ion 0.01| 1st May|
|000000b0| 20 31 39 38 39 0d 00 5a | 20 f4 20 20 20 46 53 24 | 1989..Z| . FS$|
|000000c0| 50 61 74 68 20 61 6e 64 | 20 46 53 24 44 69 72 20 |Path and| FS$Dir |
|000000d0| 73 68 65 6c 6c 0d 00 64 | 1b f4 20 20 20 48 69 74 |shell..d|.. Hit|
|000000e0| 20 70 72 6f 62 6c 65 6d | 20 77 69 74 68 20 4f 53 | problem| with OS|
|000000f0| 0d 00 6e 1f f4 20 56 65 | 72 73 69 6f 6e 20 30 2e |..n.. Ve|rsion 0.|
|00000100| 34 30 20 32 6e 64 20 4d | 61 79 20 31 39 38 39 0d |40 2nd M|ay 1989.|
|00000110| 00 78 1f f4 20 20 20 57 | 72 6f 74 65 20 72 65 63 |.x.. W|rote rec|
|00000120| 75 72 73 69 76 65 20 73 | 65 63 74 69 6f 6e 0d 00 |ursive s|ection..|
|00000130| 82 1f f4 20 56 65 72 73 | 69 6f 6e 20 30 2e 37 30 |... Vers|ion 0.70|
|00000140| 20 33 72 64 20 4d 61 79 | 20 31 39 38 39 0d 00 8c | 3rd May| 1989...|
|00000150| 1f f4 20 20 20 46 75 6c | 6c 79 20 66 75 6e 63 74 |.. Ful|ly funct|
|00000160| 69 6f 6e 61 6c 20 65 78 | 63 65 70 74 0d 00 96 1c |ional ex|cept....|
|00000170| f4 20 20 20 50 72 6f 62 | 6c 65 6d 20 77 69 74 68 |. Prob|lem with|
|00000180| 20 46 53 24 50 61 74 68 | 0d 00 a0 1f f4 20 56 65 | FS$Path|..... Ve|
|00000190| 72 73 69 6f 6e 20 30 2e | 38 30 20 34 74 68 20 4d |rsion 0.|80 4th M|
|000001a0| 61 79 20 31 39 38 39 0d | 00 aa 18 f4 20 20 20 4f |ay 1989.|.... O|
|000001b0| 53 20 42 75 67 20 64 69 | 61 67 6e 6f 73 65 64 0d |S Bug di|agnosed.|
|000001c0| 00 b4 21 f4 20 56 65 72 | 73 69 6f 6e 20 30 2e 39 |..!. Ver|sion 0.9|
|000001d0| 30 20 31 38 74 68 20 4a | 75 6e 65 20 31 39 38 39 |0 18th J|une 1989|
|000001e0| 0d 00 be 3f f4 20 20 20 | 4f 53 20 42 75 67 20 73 |...?. |OS Bug s|
|000001f0| 6f 6c 75 74 69 6f 6e 20 | 75 73 65 64 2e 20 54 68 |olution |used. Th|
|00000200| 61 6e 6b 73 20 74 6f 20 | 50 68 69 6c 69 70 20 43 |anks to |Philip C|
|00000210| 6f 6c 6d 65 72 20 61 74 | 20 41 63 6f 72 6e 2e 0d |olmer at| Acorn..|
|00000220| 00 c8 21 f4 20 56 65 72 | 73 69 6f 6e 20 31 2e 30 |..!. Ver|sion 1.0|
|00000230| 30 20 32 31 73 74 20 4a | 75 6e 65 20 31 39 38 39 |0 21st J|une 1989|
|00000240| 0d 00 d2 2c f4 20 20 20 | 41 64 64 65 64 20 46 53 |...,. |Added FS|
|00000250| 24 4e 61 6d 65 20 3b 20 | 64 69 73 61 62 6c 65 64 |$Name ; |disabled|
|00000260| 20 74 65 6d 70 6f 72 61 | 72 69 6c 79 0d 00 dc 1f | tempora|rily....|
|00000270| f4 20 20 20 53 6f 6c 76 | 65 64 20 22 55 6e 73 65 |. Solv|ed "Unse|
|00000280| 74 22 20 70 72 6f 62 6c | 65 6d 73 0d 00 e6 2a f4 |t" probl|ems...*.|
|00000290| 20 20 20 46 53 24 44 69 | 72 2c 20 46 53 24 4e 61 | FS$Di|r, FS$Na|
|000002a0| 6d 65 20 73 65 65 6d 20 | 74 6f 20 77 6f 72 6b 20 |me seem |to work |
|000002b0| 66 75 6c 6c 79 0d 00 f0 | 21 f4 20 56 65 72 73 69 |fully...|!. Versi|
|000002c0| 6f 6e 20 31 2e 31 30 20 | 32 31 73 74 20 4a 75 6e |on 1.10 |21st Jun|
|000002d0| 65 20 31 39 38 39 0d 00 | fa 19 f4 20 20 20 46 53 |e 1989..|... FS|
|000002e0| 24 4e 61 6d 65 20 72 65 | 65 6e 61 62 6c 65 64 0d |$Name re|enabled.|
|000002f0| 01 04 3b f4 20 20 20 52 | 33 3d 30 20 69 6e 20 66 |..;. R|3=0 in f|
|00000300| 69 6e 61 6c 69 73 65 20 | 6e 6f 77 3b 20 6e 6f 20 |inalise |now; no |
|00000310| 6d 6f 72 65 20 74 68 69 | 73 20 76 61 72 20 75 6e |more thi|s var un|
|00000320| 6b 6e 6f 77 6e 20 65 72 | 72 73 0d 01 0e 15 f4 20 |known er|rs..... |
|00000330| 20 20 46 53 24 4e 61 6d | 65 20 77 6f 72 6b 73 0d | FS$Nam|e works.|
|00000340| 01 18 27 f4 20 20 20 50 | 72 6f 62 6c 65 6d 20 77 |..'. P|roblem w|
|00000350| 69 74 68 20 50 61 74 68 | 20 75 6e 64 65 72 20 64 |ith Path| under d|
|00000360| 65 73 6b 74 6f 70 0d 01 | 22 21 f4 20 56 65 72 73 |esktop..|"!. Vers|
|00000370| 69 6f 6e 20 31 2e 31 31 | 20 32 31 73 74 20 4a 75 |ion 1.11| 21st Ju|
|00000380| 6e 65 20 31 39 38 39 0d | 01 2c 33 f4 20 20 20 52 |ne 1989.|.,3. R|
|00000390| 65 77 72 6f 74 65 20 50 | 75 73 68 2f 50 75 6c 6c |ewrote P|ush/Pull|
|000003a0| 20 74 6f 20 63 6f 72 72 | 65 63 74 20 73 69 6c 6c | to corr|ect sill|
|000003b0| 79 20 6d 61 74 68 20 62 | 75 67 0d 01 36 21 f4 20 |y math b|ug..6!. |
|000003c0| 56 65 72 73 69 6f 6e 20 | 31 2e 31 35 20 32 31 73 |Version |1.15 21s|
|000003d0| 74 20 4a 75 6e 65 20 31 | 39 38 39 0d 01 40 46 f4 |t June 1|989..@F.|
|000003e0| 20 20 20 52 65 61 64 44 | 69 72 46 6c 61 67 20 72 | ReadD|irFlag r|
|000003f0| 65 6d 6f 76 65 64 3a 20 | 63 61 6e 27 74 20 68 61 |emoved: |can't ha|
|00000400| 6e 64 6c 65 20 6e 6f 64 | 69 72 20 73 6f 20 6e 65 |ndle nod|ir so ne|
|00000410| 65 64 20 74 6f 20 72 65 | 61 64 20 61 6c 77 61 79 |ed to re|ad alway|
|00000420| 73 0d 01 4a 15 f4 20 20 | 20 41 64 64 65 64 20 46 |s..J.. | Added F|
|00000430| 53 24 44 69 73 63 0d 01 | 54 18 f4 20 20 20 52 65 |S$Disc..|T.. Re|
|00000440| 73 65 74 73 20 74 69 64 | 69 65 64 20 75 70 0d 01 |sets tid|ied up..|
|00000450| 5e 30 f4 20 20 20 49 6e | 69 74 69 61 6c 69 73 65 |^0. In|itialise|
|00000460| 20 65 72 72 6f 72 73 20 | 64 65 61 6c 74 20 77 69 | errors |dealt wi|
|00000470| 74 68 20 67 72 61 63 65 | 66 75 6c 6c 79 2e 0d 01 |th grace|fully...|
|00000480| 68 21 f4 20 56 65 72 73 | 69 6f 6e 20 31 2e 32 30 |h!. Vers|ion 1.20|
|00000490| 20 32 32 6e 64 20 4a 75 | 6e 65 20 31 39 38 39 0d | 22nd Ju|ne 1989.|
|000004a0| 01 72 30 f4 20 20 20 54 | 69 64 69 65 64 20 75 70 |.r0. T|idied up|
|000004b0| 20 65 72 72 6f 72 20 68 | 61 6e 64 6c 69 6e 67 20 | error h|andling |
|000004c0| 69 6e 20 72 65 61 64 20 | 65 6e 74 72 69 65 73 0d |in read |entries.|
|000004d0| 01 7c 15 f4 20 20 20 46 | 53 24 46 75 6c 6c 20 61 |.|.. F|S$Full a|
|000004e0| 64 64 65 64 0d 01 7d 22 | f4 20 20 20 52 65 6f 72 |dded..}"|. Reor|
|000004f0| 67 61 6e 69 73 65 64 20 | 72 6f 75 74 69 6e 65 20 |ganised |routine |
|00000500| 6f 72 64 65 72 73 0d 01 | 7e 21 f4 20 56 65 72 73 |orders..|~!. Vers|
|00000510| 69 6f 6e 20 31 2e 32 31 | 20 31 37 74 68 20 4a 75 |ion 1.21| 17th Ju|
|00000520| 6c 79 20 31 39 38 39 0d | 01 7f 30 f4 20 20 20 42 |ly 1989.|..0. B|
|00000530| 75 67 20 69 6e 20 47 65 | 74 4c 69 62 50 61 74 68 |ug in Ge|tLibPath|
|00000540| 20 72 65 6d 6f 76 65 64 | 3a 20 70 73 64 20 70 72 | removed|: psd pr|
|00000550| 65 73 65 72 76 65 64 0d | 01 86 04 0d 01 90 23 f4 |eserved.|......#.|
|00000560| 20 54 68 69 73 20 70 72 | 6f 76 69 64 65 73 20 66 | This pr|ovides f|
|00000570| 69 76 65 20 76 61 72 69 | 61 62 6c 65 73 3a 0d 01 |ive vari|ables:..|
|00000580| 9a 44 f4 20 46 53 24 44 | 69 72 20 69 73 20 74 68 |.D. FS$D|ir is th|
|00000590| 65 20 63 75 72 72 65 6e | 74 20 64 69 72 63 74 6f |e curren|t dircto|
|000005a0| 72 79 20 6e 61 6d 65 20 | 20 20 20 20 20 20 20 20 |ry name | |
|000005b0| 20 20 20 20 20 20 28 63 | 61 6e 20 62 65 20 73 65 | (c|an be se|
|000005c0| 74 29 0d 01 a4 31 f4 20 | 46 53 24 50 61 74 68 20 |t)...1. |FS$Path |
|000005d0| 69 73 20 74 68 65 20 63 | 75 72 72 65 6e 74 20 66 |is the c|urrent f|
|000005e0| 75 6c 6c 20 70 61 74 68 | 6e 61 6d 65 20 66 72 6f |ull path|name fro|
|000005f0| 6d 20 24 0d 01 ae 44 f4 | 20 46 53 24 4e 61 6d 65 |m $...D.| FS$Name|
|00000600| 20 69 73 20 74 68 65 20 | 6e 61 6d 65 20 6f 66 20 | is the |name of |
|00000610| 74 68 65 20 63 75 72 72 | 65 6e 74 20 46 69 6c 69 |the curr|ent Fili|
|00000620| 6e 67 20 53 79 73 74 65 | 6d 20 20 28 63 61 6e 20 |ng Syste|m (can |
|00000630| 62 65 20 73 65 74 29 0d | 01 b8 26 f4 20 46 53 24 |be set).|..&. FS$|
|00000640| 44 69 73 63 20 69 73 20 | 74 68 65 20 63 75 72 72 |Disc is |the curr|
|00000650| 65 6e 74 20 64 69 73 63 | 20 6e 61 6d 65 0d 01 c2 |ent disc| name...|
|00000660| 41 f4 20 3c 46 53 24 4e | 61 6d 65 3e 3a 3a 3c 46 |A. <FS$N|ame>::<F|
|00000670| 53 24 44 69 73 63 3e 2e | 3c 46 53 24 50 61 74 68 |S$Disc>.|<FS$Path|
|00000680| 3e 20 69 73 20 3c 46 53 | 24 46 75 6c 6c 3e 2c 20 |> is <FS|$Full>, |
|00000690| 74 68 65 20 66 75 6c 6c | 20 70 61 74 68 2e 0d 01 |the full| path...|
|000006a0| cc 04 0d 01 d6 46 f4 20 | 54 68 65 20 74 72 6f 75 |.....F. |The trou|
|000006b0| 62 6c 65 20 77 69 74 68 | 20 74 68 65 20 41 72 74 |ble with| the Art|
|000006c0| 68 75 72 20 4f 53 20 69 | 73 20 74 68 61 74 20 74 |hur OS i|s that t|
|000006d0| 68 65 72 65 20 61 72 65 | 20 67 61 70 69 6e 67 20 |here are| gaping |
|000006e0| 68 6f 6c 65 73 20 69 6e | 0d 01 e0 47 f4 20 69 74 |holes in|...G. it|
|000006f0| 73 20 73 75 70 70 6f 72 | 74 20 66 6f 72 20 63 61 |s suppor|t for ca|
|00000700| 6c 6c 73 2e 20 54 68 65 | 72 65 20 69 73 2c 20 66 |lls. The|re is, f|
|00000710| 6f 72 20 69 6e 73 74 61 | 6e 63 65 2c 20 6e 6f 20 |or insta|nce, no |
|00000720| 63 61 6c 6c 20 74 6f 20 | 67 65 74 20 74 68 65 0d |call to |get the.|
|00000730| 01 ea 43 f4 20 6e 61 6d | 65 20 6f 66 20 61 20 64 |..C. nam|e of a d|
|00000740| 69 72 65 63 74 6f 72 79 | 20 65 78 63 65 70 74 20 |irectory| except |
|00000750| 74 68 65 20 6f 6e 65 20 | 79 6f 75 27 72 65 20 69 |the one |you're i|
|00000760| 6e 20 61 6e 64 20 74 68 | 65 20 6c 69 62 72 61 72 |n and th|e librar|
|00000770| 79 2e 0d 01 f4 49 f4 20 | 54 68 69 73 20 77 6f 75 |y....I. |This wou|
|00000780| 6c 64 20 62 65 20 6f 6b | 61 79 20 69 66 20 79 6f |ld be ok|ay if yo|
|00000790| 75 20 63 6f 75 6c 64 20 | 6a 75 73 74 20 77 61 6c |u could |just wal|
|000007a0| 6b 20 75 70 20 74 68 65 | 20 74 72 65 65 20 61 6e |k up the| tree an|
|000007b0| 64 20 74 68 65 6e 20 64 | 6f 77 6e 0d 01 fe 48 f4 |d then d|own...H.|
|000007c0| 20 69 74 20 61 67 61 69 | 6e 2e 20 59 6f 75 20 63 | it agai|n. You c|
|000007d0| 61 6e 27 74 20 2d 20 79 | 6f 75 20 6c 6f 73 65 20 |an't - y|ou lose |
|000007e0| 74 68 65 20 50 53 44 20 | 28 77 68 69 63 68 20 79 |the PSD |(which y|
|000007f0| 6f 75 20 63 61 6e 27 74 | 20 65 76 65 6e 20 72 65 |ou can't| even re|
|00000800| 61 64 29 0d 02 08 2a f4 | 20 54 68 69 73 20 69 73 |ad)...*.| This is|
|00000810| 20 68 6f 77 20 49 27 6d | 20 67 65 74 74 69 6e 67 | how I'm| getting|
|00000820| 20 61 72 6f 75 6e 64 20 | 74 68 61 74 3a 0d 02 12 | around |that:...|
|00000830| 23 f4 20 20 20 48 6f 6f | 6b 20 6f 6e 20 4c 69 62 |#. Hoo|k on Lib|
|00000840| 72 61 72 79 20 63 68 61 | 6e 67 65 73 20 74 6f 6f |rary cha|nges too|
|00000850| 0d 02 1c 48 f4 20 20 20 | 57 68 65 6e 20 61 20 72 |...H. |When a r|
|00000860| 71 20 61 70 70 65 61 72 | 73 20 66 6f 72 20 61 20 |q appear|s for a |
|00000870| 70 61 74 68 20 74 68 65 | 20 6c 69 62 72 61 72 79 |path the| library|
|00000880| 20 63 68 61 6e 67 65 64 | 20 66 6c 61 67 20 69 73 | changed| flag is|
|00000890| 20 63 68 65 63 6b 65 64 | 0d 02 26 4a f4 20 20 20 | checked|..&J. |
|000008a0| 20 20 49 66 20 74 68 69 | 73 20 69 73 20 73 65 74 | If thi|s is set|
|000008b0| 20 74 68 65 6e 20 77 65 | 20 72 65 66 69 6e 64 20 | then we| refind |
|000008c0| 74 68 65 20 6c 69 62 72 | 61 72 79 20 28 62 79 20 |the libr|ary (by |
|000008d0| 2a 6f 6e 6c 79 2a 29 20 | 6d 6f 76 69 6e 67 20 74 |*only*) |moving t|
|000008e0| 68 65 0d 02 30 11 f4 20 | 20 20 20 20 6c 69 62 72 |he..0.. | libr|
|000008f0| 61 72 79 0d 02 3a 4b f4 | 20 20 20 54 68 65 6e 20 |ary..:K.| Then |
|00000900| 77 65 20 6d 6f 76 65 20 | 75 70 20 74 68 65 20 74 |we move |up the t|
|00000910| 72 65 65 20 62 79 20 6d | 6f 76 69 6e 67 20 25 20 |ree by m|oving % |
|00000920| 74 6f 20 40 20 61 6e 64 | 20 74 68 65 6e 20 72 65 |to @ and| then re|
|00000930| 70 65 61 74 65 64 6c 79 | 20 64 6f 69 6e 67 0d 02 |peatedly| doing..|
|00000940| 44 49 f4 20 20 20 6c 69 | 62 20 25 2e 5e 20 75 6e |DI. li|b %.^ un|
|00000950| 74 69 6c 20 6c 69 62 20 | 69 73 20 24 2e 20 54 68 |til lib |is $. Th|
|00000960| 65 6e 20 77 65 20 63 61 | 6e 20 6d 6f 76 65 20 6c |en we ca|n move l|
|00000970| 69 62 20 62 61 63 6b 20 | 74 6f 20 69 74 73 20 68 |ib back |to its h|
|00000980| 6f 6d 65 20 61 6e 64 0d | 02 4e 1d f4 20 20 20 72 |ome and.|.N.. r|
|00000990| 65 74 75 72 6e 20 74 68 | 65 20 72 65 61 6c 20 70 |eturn th|e real p|
|000009a0| 61 74 68 2e 0d 02 58 0d | f4 20 20 20 50 68 65 77 |ath...X.|. Phew|
|000009b0| 21 0d 02 59 4a f4 20 28 | 6c 61 74 65 72 29 20 49 |!..YJ. (|later) I|
|000009c0| 27 76 65 20 61 6c 73 6f | 20 68 61 64 20 74 6f 20 |'ve also| had to |
|000009d0| 68 6f 6f 6b 20 6f 6e 74 | 6f 20 66 69 6c 69 6e 67 |hook ont|o filing|
|000009e0| 20 73 79 73 74 65 6d 20 | 63 68 61 6e 67 65 73 20 | system |changes |
|000009f0| 73 69 6e 63 65 20 74 68 | 65 73 65 0d 02 5a 48 f4 |since th|ese..ZH.|
|00000a00| 20 64 6f 6e 27 74 20 63 | 61 75 73 65 20 61 6e 20 | don't c|ause an |
|00000a10| 65 78 70 6c 69 63 69 74 | 20 44 69 72 20 63 68 61 |explicit| Dir cha|
|00000a20| 6e 67 65 20 76 69 61 20 | 46 53 43 6f 6e 74 72 6f |nge via |FSContro|
|00000a30| 6c 2e 20 41 74 20 66 69 | 72 73 74 20 49 20 74 72 |l. At fi|rst I tr|
|00000a40| 69 65 64 0d 02 5b 4c f4 | 20 73 65 72 76 69 63 65 |ied..[L.| service|
|00000a50| 20 31 38 20 28 26 31 32 | 29 20 62 75 74 20 74 68 | 18 (&12|) but th|
|00000a60| 69 73 20 64 6f 65 73 6e | 27 74 20 73 65 65 6d 20 |is doesn|'t seem |
|00000a70| 74 6f 20 62 65 20 69 73 | 73 75 65 64 20 65 76 65 |to be is|sued eve|
|00000a80| 72 2e 20 53 6f 20 49 27 | 76 65 20 67 6f 6e 65 0d |r. So I'|ve gone.|
|00000a90| 02 5c 47 f4 20 66 6f 72 | 20 46 53 43 6f 6e 74 72 |.\G. for| FSContr|
|00000aa0| 6f 6c 20 31 34 20 61 6e | 64 20 31 39 20 69 6e 73 |ol 14 an|d 19 ins|
|00000ab0| 74 65 61 64 2e 20 49 27 | 6d 20 61 6c 73 6f 20 72 |tead. I'|m also r|
|00000ac0| 65 61 64 69 6e 67 20 74 | 68 65 20 63 75 72 72 65 |eading t|he curre|
|00000ad0| 6e 74 20 64 69 72 0d 02 | 5d 45 f4 20 65 76 65 72 |nt dir..|]E. ever|
|00000ae0| 79 20 74 69 6d 65 20 6e | 6f 77 20 73 69 6e 63 65 |y time n|ow since|
|00000af0| 20 2a 4e 6f 44 69 72 20 | 61 6e 64 20 74 68 65 20 | *NoDir |and the |
|00000b00| 6c 69 6b 65 20 6c 65 61 | 76 65 20 6e 6f 20 74 72 |like lea|ve no tr|
|00000b10| 61 63 65 20 76 69 61 20 | 74 68 65 0d 02 5e 16 f4 |ace via |the..^..|
|00000b20| 20 46 53 43 6f 6e 74 72 | 6f 6c 20 65 6e 74 72 79 | FSContr|ol entry|
|00000b30| 2e 0d 02 62 04 0d 02 6c | 1a f4 20 47 65 74 74 69 |...b...l|.. Getti|
|00000b40| 6e 67 20 74 68 65 20 46 | 53 20 4e 61 6d 65 3a 0d |ng the F|S Name:.|
|00000b50| 02 76 4a f4 20 20 20 52 | 49 53 43 20 4f 53 20 68 |.vJ. R|ISC OS h|
|00000b60| 61 73 20 61 20 53 57 49 | 20 63 61 6c 6c 20 74 6f |as a SWI| call to|
|00000b70| 20 64 6f 20 69 74 20 28 | 46 53 43 6f 6e 74 72 6f | do it (|FSContro|
|00000b80| 6c 20 33 33 29 2e 20 41 | 72 74 68 75 72 20 64 6f |l 33). A|rthur do|
|00000b90| 65 73 6e 27 74 2e 20 49 | 74 0d 02 80 4b f4 20 20 |esn't. I|t...K. |
|00000ba0| 20 75 73 65 73 20 74 68 | 65 20 66 61 63 74 20 74 | uses th|e fact t|
|00000bb0| 68 61 74 20 74 68 65 20 | 46 53 20 6e 61 6d 65 20 |hat the |FS name |
|00000bc0| 69 73 20 61 74 20 6f 66 | 66 73 65 74 20 33 44 20 |is at of|fset 3D |
|00000bd0| 69 6e 20 74 68 65 20 66 | 69 6c 69 6e 67 20 73 79 |in the f|iling sy|
|00000be0| 73 74 65 6d 0d 02 8a 4c | f4 20 20 20 63 6f 6e 74 |stem...L|. cont|
|00000bf0| 72 6f 6c 20 62 6c 6f 63 | 6b 20 77 68 6f 73 65 20 |rol bloc|k whose |
|00000c00| 61 64 64 72 65 73 73 20 | 69 73 20 72 65 74 75 72 |address |is retur|
|00000c10| 6e 65 64 20 62 79 20 46 | 53 43 6f 6e 74 72 6f 6c |ned by F|SControl|
|00000c20| 20 31 33 2e 20 54 68 69 | 73 20 69 73 20 6e 6f 6e | 13. Thi|s is non|
|00000c30| 0d 02 94 4a f4 20 20 20 | 70 6f 72 74 61 62 6c 65 |...J. |portable|
|00000c40| 2c 20 62 75 74 20 6d 75 | 73 74 20 62 65 20 73 61 |, but mu|st be sa|
|00000c50| 66 65 20 73 69 6e 63 65 | 20 2a 53 54 41 54 55 53 |fe since| *STATUS|
|00000c60| 20 46 69 6c 65 53 79 73 | 74 65 6d 20 75 73 65 73 | FileSys|tem uses|
|00000c70| 20 69 74 2e 20 49 74 20 | 69 73 0d 02 9e 46 f4 20 | it. It |is...F. |
|00000c80| 20 20 61 6c 73 6f 2c 20 | 69 6e 20 66 61 63 74 2c | also, |in fact,|
|00000c90| 20 74 72 75 65 20 66 6f | 72 20 52 49 53 43 20 4f | true fo|r RISC O|
|00000ca0| 53 20 32 2e 30 30 2e 20 | 54 68 69 73 20 76 65 72 |S 2.00. |This ver|
|00000cb0| 73 69 6f 6e 20 63 68 61 | 6e 67 65 73 20 69 74 73 |sion cha|nges its|
|00000cc0| 0d 02 a8 4b f4 20 20 20 | 61 63 74 69 6f 6e 20 64 |...K. |action d|
|00000cd0| 65 70 65 6e 64 65 6e 74 | 20 6f 6e 20 76 65 72 73 |ependent| on vers|
|00000ce0| 69 6f 6e 3a 20 3c 32 2e | 30 30 20 67 65 74 20 2b |ion: <2.|00 get +|
|00000cf0| 33 64 2c 20 32 2e 30 30 | 2b 20 67 65 74 20 46 53 |3d, 2.00|+ get FS|
|00000d00| 43 6f 6e 74 72 6f 6c 20 | 33 33 2e 0d 02 b2 04 0d |Control |33......|
|00000d10| 02 bc 1c f4 20 47 65 74 | 74 69 6e 67 20 74 68 65 |.... Get|ting the|
|00000d20| 20 4f 53 20 56 65 72 73 | 69 6f 6e 0d 02 c6 4a f4 | OS Vers|ion...J.|
|00000d30| 20 20 20 49 74 20 69 73 | 20 61 73 73 75 6d 65 64 | It is| assumed|
|00000d40| 20 74 68 61 74 20 46 58 | 30 20 77 69 6c 6c 20 6f | that FX|0 will o|
|00000d50| 6e 20 61 72 63 68 69 6d | 65 64 65 73 20 61 6c 77 |n archim|edes alw|
|00000d60| 61 79 73 20 72 65 74 75 | 72 6e 20 69 6e 63 72 65 |ays retu|rn incre|
|00000d70| 61 73 69 6e 67 0d 02 d0 | 3c f4 20 20 20 76 61 6c |asing...|<. val|
|00000d80| 75 65 73 2e 20 52 49 53 | 43 20 4f 53 20 32 2e 30 |ues. RIS|C OS 2.0|
|00000d90| 30 20 72 65 74 75 72 6e | 73 20 36 2c 20 73 6f 20 |0 return|s 6, so |
|00000da0| 3c 3d 35 20 77 69 6c 6c | 20 6d 65 61 6e 20 2b 33 |<=5 will| mean +3|
|00000db0| 64 0d 02 da 04 0d 02 e4 | 17 c8 9b 22 26 2e 4d 2f |d.......|..."&.M/|
|00000dc0| 43 6f 64 65 2e 4d 61 63 | 72 6f 73 22 0d 02 ee 04 |Code.Mac|ros"....|
|00000dd0| 0d 02 f8 16 70 72 6f 67 | 6e 61 6d 65 24 3d 22 46 |....prog|name$="F|
|00000de0| 53 56 61 72 73 22 0d 03 | 02 22 6f 62 6a 65 63 74 |SVars"..|."object|
|00000df0| 70 61 74 68 24 3d 22 26 | 2e 4d 2f 43 6f 64 65 2e |path$="&|.M/Code.|
|00000e00| 4f 62 6a 65 63 74 2e 22 | 0d 03 0c 15 65 72 72 6f |Object."|....erro|
|00000e10| 72 62 61 73 65 25 3d 26 | 43 30 34 30 30 0d 03 16 |rbase%=&|C0400...|
|00000e20| 04 0d 03 20 12 de 63 62 | 75 66 66 65 72 25 26 31 |... ..cb|uffer%&1|
|00000e30| 30 30 30 0d 03 2a 04 0d | 03 34 1a 4f 53 5f 53 65 |000..*..|.4.OS_Se|
|00000e40| 74 56 61 72 56 61 6c 5f | 4e 61 6d 65 50 74 72 3d |tVarVal_|NamePtr=|
|00000e50| 30 0d 03 3e 15 4f 53 5f | 43 6c 61 69 6d 5f 56 65 |0..>.OS_|Claim_Ve|
|00000e60| 63 74 6f 72 3d 30 0d 03 | 48 17 4f 53 5f 52 65 6c |ctor=0..|H.OS_Rel|
|00000e70| 65 61 73 65 5f 56 65 63 | 74 6f 72 3d 30 0d 03 52 |ease_Vec|tor=0..R|
|00000e80| 19 4f 53 5f 46 53 43 6f | 6e 74 72 6f 6c 5f 41 63 |.OS_FSCo|ntrol_Ac|
|00000e90| 74 69 6f 6e 3d 30 0d 03 | 5c 14 4f 53 5f 47 42 50 |tion=0..|\.OS_GBP|
|00000ea0| 42 5f 41 63 74 69 6f 6e | 3d 30 0d 03 66 16 4f 53 |B_Action|=0..f.OS|
|00000eb0| 5f 4d 6f 64 75 6c 65 5f | 41 63 74 69 6f 6e 3d 30 |_Module_|Action=0|
|00000ec0| 0d 03 70 10 4f 53 5f 43 | 4c 49 5f 50 74 72 3d 30 |..p.OS_C|LI_Ptr=0|
|00000ed0| 0d 03 7a 14 4f 53 5f 41 | 72 67 73 5f 41 63 74 69 |..z.OS_A|rgs_Acti|
|00000ee0| 6f 6e 3d 30 0d 03 84 16 | 4f 53 5f 41 72 67 73 30 |on=0....|OS_Args0|
|00000ef0| 5f 52 4e 75 6d 62 65 72 | 3d 30 0d 03 8e 0e 45 72 |_RNumber|=0....Er|
|00000f00| 72 6f 72 50 74 72 3d 30 | 0d 03 98 19 56 61 72 69 |rorPtr=0|....Vari|
|00000f10| 61 62 6c 65 52 65 61 64 | 5f 56 61 6c 50 74 72 3d |ableRead|_ValPtr=|
|00000f20| 30 0d 03 a2 19 46 53 56 | 61 72 73 5f 47 65 74 50 |0....FSV|ars_GetP|
|00000f30| 61 74 68 5f 52 50 74 72 | 3d 30 0d 03 ac 04 0d 03 |ath_RPtr|=0......|
|00000f40| b6 19 4f 53 5f 53 65 74 | 56 61 72 56 61 6c 5f 56 |..OS_Set|VarVal_V|
|00000f50| 61 6c 50 74 72 3d 31 0d | 03 c0 16 4f 53 5f 43 6c |alPtr=1.|...OS_Cl|
|00000f60| 61 69 6d 5f 52 6f 75 74 | 69 6e 65 3d 31 0d 03 ca |aim_Rout|ine=1...|
|00000f70| 18 4f 53 5f 52 65 6c 65 | 61 73 65 5f 52 6f 75 74 |.OS_Rele|ase_Rout|
|00000f80| 69 6e 65 3d 31 0d 03 d4 | 1d 4f 53 5f 46 53 43 6f |ine=1...|.OS_FSCo|
|00000f90| 6e 74 72 6f 6c 53 65 74 | 4c 69 62 5f 4e 61 6d 65 |ntrolSet|Lib_Name|
|00000fa0| 3d 31 0d 03 de 13 4f 53 | 5f 41 72 67 73 30 5f 44 |=1....OS|_Args0_D|
|00000fb0| 61 74 61 3d 31 0d 03 e8 | 1b 4f 53 5f 46 53 43 6f |ata=1...|.OS_FSCo|
|00000fc0| 6e 74 72 6f 6c 31 33 5f | 4e 75 6d 62 65 72 3d 31 |ntrol13_|Number=1|
|00000fd0| 0d 03 f2 1a 56 61 72 69 | 61 62 6c 65 57 72 69 74 |....Vari|ableWrit|
|00000fe0| 65 5f 56 61 6c 50 74 72 | 3d 31 0d 03 fc 18 4d 6f |e_ValPtr|=1....Mo|
|00000ff0| 64 75 6c 65 53 65 72 76 | 69 63 65 5f 54 79 70 65 |duleServ|ice_Type|
|00001000| 3d 31 0d 04 06 04 0d 04 | 10 19 4f 53 5f 53 65 74 |=1......|..OS_Set|
|00001010| 56 61 72 56 61 6c 5f 56 | 61 6c 4c 65 6e 3d 32 0d |VarVal_V|alLen=2.|
|00001020| 04 1a 14 4f 53 5f 43 6c | 61 69 6d 5f 56 61 6c 75 |...OS_Cl|aim_Valu|
|00001030| 65 3d 32 0d 04 24 16 4f | 53 5f 52 65 6c 65 61 73 |e=2..$.O|S_Releas|
|00001040| 65 5f 56 61 6c 75 65 3d | 32 0d 04 2e 19 4f 53 5f |e_Value=|2....OS_|
|00001050| 47 42 50 42 47 65 74 44 | 69 73 63 5f 44 61 74 61 |GBPBGetD|isc_Data|
|00001060| 3d 32 0d 04 38 18 4f 53 | 5f 47 42 50 42 47 65 74 |=2..8.OS|_GBPBGet|
|00001070| 4c 69 62 5f 44 61 74 61 | 3d 32 0d 04 42 18 4f 53 |Lib_Data|=2..B.OS|
|00001080| 5f 47 42 50 42 47 65 74 | 44 69 72 5f 44 61 74 61 |_GBPBGet|Dir_Data|
|00001090| 3d 32 0d 04 4c 19 4f 53 | 5f 4d 6f 64 75 6c 65 43 |=2..L.OS|_ModuleC|
|000010a0| 6c 61 69 6d 5f 52 50 74 | 72 3d 32 0d 04 56 17 4f |laim_RPt|r=2..V.O|
|000010b0| 53 5f 4d 6f 64 75 6c 65 | 46 72 65 65 5f 50 74 72 |S_Module|Free_Ptr|
|000010c0| 3d 32 0d 04 60 1a 56 61 | 72 69 61 62 6c 65 57 72 |=2..`.Va|riableWr|
|000010d0| 69 74 65 5f 56 61 6c 4c | 65 6e 3d 32 0d 04 6a 19 |ite_ValL|en=2..j.|
|000010e0| 56 61 72 69 61 62 6c 65 | 52 65 61 64 5f 56 61 6c |Variable|Read_Val|
|000010f0| 4c 65 6e 3d 32 0d 04 74 | 19 46 53 56 61 72 73 5f |Len=2..t|.FSVars_|
|00001100| 47 65 74 50 61 74 68 5f | 52 4c 65 6e 3d 32 0d 04 |GetPath_|RLen=2..|
|00001110| 7e 04 0d 04 88 1c 4f 53 | 5f 53 65 74 56 61 72 56 |~.....OS|_SetVarV|
|00001120| 61 6c 5f 4e 61 6d 65 49 | 6e 64 65 78 3d 33 0d 04 |al_NameI|ndex=3..|
|00001130| 92 19 4f 53 5f 4d 6f 64 | 75 6c 65 43 6c 61 69 6d |..OS_Mod|uleClaim|
|00001140| 5f 53 69 7a 65 3d 33 0d | 04 9c 04 0d 04 a6 17 4f |_Size=3.|.......O|
|00001150| 53 5f 53 65 74 56 61 72 | 56 61 6c 5f 54 79 70 65 |S_SetVar|Val_Type|
|00001160| 3d 34 0d 04 b0 04 0d 04 | ba 12 47 65 74 50 61 74 |=4......|..GetPat|
|00001170| 68 5f 54 65 6d 70 3d 35 | 0d 04 c4 04 0d 04 ce 18 |h_Temp=5|........|
|00001180| 47 65 74 4c 69 62 50 61 | 74 68 5f 44 69 72 46 6c |GetLibPa|th_DirFl|
|00001190| 61 67 3d 36 0d 04 d8 04 | 0d 04 e2 15 47 65 74 4c |ag=6....|....GetL|
|000011a0| 69 62 50 61 74 68 5f 43 | 68 61 72 3d 37 0d 04 ec |ibPath_C|har=7...|
|000011b0| 04 0d 04 f6 1b 47 65 74 | 4c 69 62 50 61 74 68 5f |.....Get|LibPath_|
|000011c0| 4e 61 6d 65 4f 66 66 73 | 65 74 3d 38 0d 05 00 04 |NameOffs|et=8....|
|000011d0| 0d 05 0a 17 47 65 74 4c | 69 62 50 61 74 68 5f 42 |....GetL|ibPath_B|
|000011e0| 75 66 50 74 72 3d 39 0d | 05 14 04 0d 05 1e 18 47 |ufPtr=9.|.......G|
|000011f0| 65 74 4c 69 62 50 61 74 | 68 5f 42 75 66 4c 65 6e |etLibPat|h_BufLen|
|00001200| 3d 31 30 0d 05 28 04 0d | 05 32 18 47 65 74 4c 69 |=10..(..|.2.GetLi|
|00001210| 62 50 61 74 68 5f 42 75 | 66 66 65 72 3d 31 31 0d |bPath_Bu|ffer=11.|
|00001220| 05 3c 16 49 6e 69 74 69 | 61 6c 69 73 65 5f 54 65 |.<.Initi|alise_Te|
|00001230| 6d 70 3d 31 31 0d 05 46 | 13 4e 65 77 5f 46 53 43 |mp=11..F|.New_FSC|
|00001240| 5f 54 65 6d 70 3d 31 31 | 0d 05 50 16 53 57 49 45 |_Temp=11|..P.SWIE|
|00001250| 6e 74 72 79 5f 4e 75 6d | 62 65 72 3d 31 31 0d 05 |ntry_Num|ber=11..|
|00001260| 5a 18 52 65 61 64 4e 61 | 6d 65 46 6c 61 67 5f 54 |Z.ReadNa|meFlag_T|
|00001270| 65 6d 70 3d 31 31 0d 05 | 64 04 0d 05 6e 13 4d 6f |emp=11..|d...n.Mo|
|00001280| 64 75 6c 65 5f 50 57 6f | 72 64 3d 31 32 0d 05 78 |dule_PWo|rd=12..x|
|00001290| 04 0d 05 82 09 73 70 3d | 31 33 0d 05 8c 04 0d 05 |.....sp=|13......|
|000012a0| 96 09 6c 72 3d 31 34 0d | 05 a0 04 0d 05 aa 09 70 |..lr=14.|.......p|
|000012b0| 63 3d 31 35 0d 05 b4 04 | 0d 05 be 12 4f 53 5f 57 |c=15....|....OS_W|
|000012c0| 72 69 74 65 49 3d 26 31 | 30 30 0d 05 c8 15 58 4f |riteI=&1|00....XO|
|000012d0| 53 5f 57 72 69 74 65 49 | 3d 26 32 30 31 30 30 0d |S_WriteI|=&20100.|
|000012e0| 05 d2 04 0d 05 dc 13 56 | 5f 42 69 74 3d 26 31 30 |.......V|_Bit=&10|
|000012f0| 30 30 30 30 30 30 0d 05 | e6 13 43 5f 42 69 74 3d |000000..|..C_Bit=|
|00001300| 26 32 30 30 30 30 30 30 | 30 0d 05 f0 04 0d 05 fa |&2000000|0.......|
|00001310| 0f 58 5f 42 69 74 3d 31 | 3c 3c 31 37 0d 06 04 04 |.X_Bit=1|<<17....|
|00001320| 0d 06 0e 14 56 61 72 54 | 79 70 65 5f 53 74 72 69 |....VarT|ype_Stri|
|00001330| 6e 67 3d 30 0d 06 18 14 | 56 61 72 54 79 70 65 5f |ng=0....|VarType_|
|00001340| 4e 75 6d 62 65 72 3d 31 | 0d 06 22 13 56 61 72 54 |Number=1|..".VarT|
|00001350| 79 70 65 5f 4d 61 63 72 | 6f 3d 32 0d 06 2c 16 56 |ype_Macr|o=2..,.V|
|00001360| 61 72 54 79 70 65 5f 45 | 78 70 61 6e 64 65 64 3d |arType_E|xpanded=|
|00001370| 33 0d 06 36 13 56 61 72 | 54 79 70 65 5f 43 6f 64 |3..6.Var|Type_Cod|
|00001380| 65 3d 31 36 0d 06 40 04 | 0d 06 4a 0b 46 53 43 56 |e=16..@.|..J.FSCV|
|00001390| 3d 31 35 0d 06 54 04 0d | 06 5e 1c 46 53 43 6f 6e |=15..T..|.^.FSCon|
|000013a0| 74 72 6f 6c 41 63 74 69 | 6f 6e 5f 53 65 74 44 69 |trolActi|on_SetDi|
|000013b0| 72 3d 30 0d 06 68 1c 46 | 53 43 6f 6e 74 72 6f 6c |r=0..h.F|SControl|
|000013c0| 41 63 74 69 6f 6e 5f 53 | 65 74 4c 69 62 3d 31 0d |Action_S|etLib=1.|
|000013d0| 06 72 1f 46 53 43 6f 6e | 74 72 6f 6c 41 63 74 69 |.r.FSCon|trolActi|
|000013e0| 6f 6e 5f 4c 6f 6f 6b 75 | 70 46 53 3d 31 33 0d 06 |on_Looku|pFS=13..|
|000013f0| 7c 1f 46 53 43 6f 6e 74 | 72 6f 6c 41 63 74 69 6f ||.FSCont|rolActio|
|00001400| 6e 5f 53 65 6c 65 63 74 | 46 53 3d 31 34 0d 06 86 |n_Select|FS=14...|
|00001410| 21 46 53 43 6f 6e 74 72 | 6f 6c 41 63 74 69 6f 6e |!FSContr|olAction|
|00001420| 5f 4d 61 6b 65 46 53 50 | 65 72 6d 3d 31 39 0d 06 |_MakeFSP|erm=19..|
|00001430| 90 21 46 53 43 6f 6e 74 | 72 6f 6c 41 63 74 69 6f |.!FSCont|rolActio|
|00001440| 6e 5f 52 65 61 64 46 53 | 4e 61 6d 65 3d 33 33 0d |n_ReadFS|Name=33.|
|00001450| 06 9a 04 0d 06 a4 19 47 | 42 50 42 41 63 74 69 6f |.......G|BPBActio|
|00001460| 6e 5f 52 65 61 64 44 69 | 73 63 3d 35 0d 06 ae 18 |n_ReadDi|sc=5....|
|00001470| 47 42 50 42 41 63 74 69 | 6f 6e 5f 52 65 61 64 44 |GBPBActi|on_ReadD|
|00001480| 69 72 3d 36 0d 06 b8 18 | 47 42 50 42 41 63 74 69 |ir=6....|GBPBActi|
|00001490| 6f 6e 5f 52 65 61 64 4c | 69 62 3d 37 0d 06 c2 04 |on_ReadL|ib=7....|
|000014a0| 0d 06 cc 1d 41 72 67 73 | 41 63 74 69 6f 6e 5f 52 |....Args|Action_R|
|000014b0| 65 61 64 46 53 4e 75 6d | 62 65 72 3d 30 0d 06 d6 |eadFSNum|ber=0...|
|000014c0| 04 0d 06 e0 18 4d 6f 64 | 75 6c 65 41 63 74 69 6f |.....Mod|uleActio|
|000014d0| 6e 5f 43 6c 61 69 6d 3d | 36 0d 06 ea 17 4d 6f 64 |n_Claim=|6....Mod|
|000014e0| 75 6c 65 41 63 74 69 6f | 6e 5f 46 72 65 65 3d 37 |uleActio|n_Free=7|
|000014f0| 0d 06 f4 04 0d 06 fe 1b | 4d 6f 64 75 6c 65 53 65 |........|ModuleSe|
|00001500| 72 76 69 63 65 5f 52 65 | 73 65 74 3d 26 32 37 0d |rvice_Re|set=&27.|
|00001510| 07 08 04 0d 07 12 19 56 | 61 72 4e 61 6d 65 5f 44 |.......V|arName_D|
|00001520| 69 72 24 3d 22 46 53 24 | 44 69 72 22 0d 07 1c 1b |ir$="FS$|Dir"....|
|00001530| 56 61 72 4e 61 6d 65 5f | 50 61 74 68 24 3d 22 46 |VarName_|Path$="F|
|00001540| 53 24 50 61 74 68 22 0d | 07 26 1b 56 61 72 4e 61 |S$Path".|.&.VarNa|
|00001550| 6d 65 5f 4e 61 6d 65 24 | 3d 22 46 53 24 4e 61 6d |me_Name$|="FS$Nam|
|00001560| 65 22 0d 07 30 1b 56 61 | 72 4e 61 6d 65 5f 44 69 |e"..0.Va|rName_Di|
|00001570| 73 63 24 3d 22 46 53 24 | 44 69 73 63 22 0d 07 3a |sc$="FS$|Disc"..:|
|00001580| 04 0d 07 44 34 4e 61 6d | 65 56 61 72 5f 42 75 66 |...D4Nam|eVar_Buf|
|00001590| 4c 65 6e 3d 32 30 3a 20 | f4 20 53 70 61 63 65 20 |Len=20: |. Space |
|000015a0| 61 6c 6c 6f 63 61 74 65 | 64 20 66 6f 72 20 46 53 |allocate|d for FS|
|000015b0| 24 4e 61 6d 65 0d 07 4e | 04 0d 07 58 16 55 6e 73 |$Name..N|...X.Uns|
|000015c0| 65 74 24 3d 22 22 22 55 | 6e 73 65 74 22 22 22 0d |et$="""U|nset""".|
|000015d0| 07 62 04 0d 07 6c 18 45 | 72 72 6f 72 24 3d 22 55 |.b...l.E|rror$="U|
|000015e0| 6e 61 76 61 69 6c 61 62 | 6c 65 22 0d 07 76 04 0d |navailab|le"..v..|
|000015f0| 07 80 2a 46 75 6c 6c 24 | 3d 22 3c 46 53 24 4e 61 |..*Full$|="<FS$Na|
|00001600| 6d 65 3e 3a 3a 3c 46 53 | 24 44 69 73 63 3e 2e 3c |me>::<FS|$Disc>.<|
|00001610| 46 53 24 50 61 74 68 3e | 22 0d 07 8a 04 0d 07 94 |FS$Path>|".......|
|00001620| 4a 53 57 49 5f 43 6f 75 | 6e 74 3d 32 3a 20 f4 20 |JSWI_Cou|nt=2: . |
|00001630| 6e 75 6d 62 65 72 20 6f | 66 20 73 77 69 73 20 69 |number o|f swis i|
|00001640| 6d 70 6c 65 6d 65 6e 74 | 65 64 20 28 3d 3e 20 73 |mplement|ed (=> s|
|00001650| 77 69 73 20 67 6f 20 66 | 72 6f 6d 20 30 20 74 6f |wis go f|rom 0 to|
|00001660| 20 63 6e 74 2d 31 29 0d | 07 9e 4b 53 57 49 5f 43 | cnt-1).|..KSWI_C|
|00001670| 68 75 6e 6b 42 61 73 65 | 3d 26 43 30 34 30 30 20 |hunkBase|=&C0400 |
|00001680| 3a 20 f4 20 54 68 69 73 | 20 69 73 20 61 20 75 73 |: . This| is a us|
|00001690| 65 72 2d 61 70 70 6c 69 | 63 61 74 69 6f 6e 73 20 |er-appli|cations |
|000016a0| 63 68 75 6e 6b 20 61 20 | 62 69 74 20 75 70 20 74 |chunk a |bit up t|
|000016b0| 68 65 0d 07 a8 4c 20 20 | 20 20 20 20 20 20 20 20 |he...L | |
|000016c0| 20 20 20 20 20 20 20 20 | 20 20 20 3a 20 f4 20 72 | | : . r|
|000016d0| 61 6e 67 65 2e 20 54 68 | 69 73 20 6d 65 61 6e 73 |ange. Th|is means|
|000016e0| 20 69 74 20 64 65 66 69 | 6e 69 74 65 6c 79 20 73 | it defi|nitely s|
|000016f0| 68 6f 75 6c 64 6e 27 74 | 20 63 6c 61 73 68 0d 07 |houldn't| clash..|
|00001700| b2 4a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.J | |
|00001710| 20 20 20 20 20 20 20 3a | 20 f4 20 77 69 74 68 20 | :| . with |
|00001720| 61 6e 79 20 73 6f 66 74 | 77 61 72 65 20 68 6f 75 |any soft|ware hou|
|00001730| 73 65 20 73 74 75 66 66 | 2e 20 49 74 20 63 6f 75 |se stuff|. It cou|
|00001740| 6c 64 20 63 6c 61 73 68 | 0d 07 bc 47 20 20 20 20 |ld clash|...G |
|00001750| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001760| 20 3a 20 f4 20 77 69 74 | 68 20 73 6f 6d 65 20 6f | : . wit|h some o|
|00001770| 74 68 65 72 20 50 44 20 | 75 74 69 6c 69 74 79 2c |ther PD |utility,|
|00001780| 20 62 75 74 20 74 68 61 | 74 27 73 20 6e 6f 74 0d | but tha|t's not.|
|00001790| 07 c6 29 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |..) | |
|000017a0| 20 20 20 20 20 20 20 20 | 3a 20 f4 20 6f 76 65 72 | |: . over|
|000017b0| 2d 6c 69 6b 65 6c 79 2e | 0d 07 d0 45 53 57 49 5f |-likely.|...ESWI_|
|000017c0| 47 65 74 50 61 74 68 3d | 30 20 20 20 20 20 20 20 |GetPath=|0 |
|000017d0| 20 3a 20 f4 20 67 65 74 | 73 20 74 68 65 20 70 61 | : . get|s the pa|
|000017e0| 74 68 20 73 74 72 69 6e | 67 2e 20 52 30 2c 20 52 |th strin|g. R0, R|
|000017f0| 32 20 70 74 72 2c 20 6c | 65 6e 67 74 68 0d 07 da |2 ptr, l|ength...|
|00001800| 4a 53 57 49 5f 52 65 61 | 64 46 53 46 6c 61 67 3d |JSWI_Rea|dFSFlag=|
|00001810| 31 20 20 20 20 20 3a 20 | f4 20 63 68 65 63 6b 73 |1 : |. checks|
|00001820| 20 74 68 65 20 46 53 20 | 63 68 61 6e 67 65 64 20 | the FS |changed |
|00001830| 66 6c 61 67 20 28 43 29 | 20 61 6e 64 20 4f 53 20 |flag (C)| and OS |
|00001840| 76 65 72 73 69 6f 6e 0d | 07 e4 2f 20 20 20 20 20 |version.|../ |
|00001850| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001860| 3a 20 f4 20 77 68 69 63 | 68 20 69 73 20 72 65 74 |: . whic|h is ret|
|00001870| 20 69 6e 20 52 30 0d 07 | ee 04 0d 07 f8 0e 57 73 | in R0..|......Ws|
|00001880| 5f 53 74 61 72 74 3d 30 | 0d 08 02 11 57 73 5f 50 |_Start=0|....Ws_P|
|00001890| 61 74 68 46 6c 61 67 3d | 30 0d 08 0c 10 57 73 5f |athFlag=|0....Ws_|
|000018a0| 4c 69 62 46 6c 61 67 3d | 34 0d 08 16 0f 57 73 5f |LibFlag=|4....Ws_|
|000018b0| 46 53 46 6c 61 67 3d 38 | 0d 08 20 13 57 73 5f 44 |FSFlag=8|.. .Ws_D|
|000018c0| 69 72 42 75 66 50 74 72 | 3d 31 32 0d 08 2a 13 57 |irBufPtr|=12..*.W|
|000018d0| 73 5f 4c 69 62 42 75 66 | 50 74 72 3d 31 36 0d 08 |s_LibBuf|Ptr=16..|
|000018e0| 34 13 57 73 5f 44 69 72 | 42 75 66 66 65 72 3d 32 |4.Ws_Dir|Buffer=2|
|000018f0| 30 0d 08 3e 14 57 73 5f | 4c 69 62 42 75 66 66 65 |0..>.Ws_|LibBuffe|
|00001900| 72 3d 32 37 36 0d 08 48 | 15 57 73 5f 4e 61 6d 65 |r=276..H|.Ws_Name|
|00001910| 42 75 66 66 65 72 3d 35 | 33 32 0d 08 52 12 57 73 |Buffer=5|32..R.Ws|
|00001920| 5f 56 65 72 73 69 6f 6e | 3d 35 35 32 0d 08 5c 12 |_Version|=552..\.|
|00001930| 57 73 5f 53 74 6f 72 61 | 67 65 3d 35 35 36 0d 08 |Ws_Stora|ge=556..|
|00001940| 66 1c 57 73 5f 45 6e 64 | 3d 31 36 39 34 30 20 3a |f.Ws_End|=16940 :|
|00001950| 20 f4 20 20 2b 26 34 30 | 30 30 0d 08 70 04 0d 08 | . +&40|00..p...|
|00001960| 7a 12 57 73 5f 42 75 66 | 53 69 7a 65 3d 32 35 36 |z.Ws_Buf|Size=256|
|00001970| 0d 08 84 04 0d 08 8e 0f | e3 6f 70 74 25 3d 34 b8 |........|.opt%=4.|
|00001980| 37 88 33 0d 08 98 08 50 | 25 3d 30 0d 08 a2 0f 4f |7.3....P|%=0....O|
|00001990| 25 3d 63 62 75 66 66 65 | 72 25 0d 08 ac 0f 5b 4f |%=cbuffe|r%....[O|
|000019a0| 50 54 20 20 20 6f 70 74 | 25 0d 08 b6 34 45 51 55 |PT opt|%...4EQU|
|000019b0| 44 20 20 30 20 20 20 20 | 20 20 20 20 20 20 20 20 |D 0 | |
|000019c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 3b 20 6e 6f | | ; no|
|000019d0| 20 4d 6f 64 75 6c 65 5f | 53 74 61 72 74 0d 08 c0 | Module_|Start...|
|000019e0| 1b 45 51 55 44 20 20 4d | 6f 64 75 6c 65 5f 49 6e |.EQUD M|odule_In|
|000019f0| 69 74 69 61 6c 69 73 65 | 0d 08 ca 19 45 51 55 44 |itialise|....EQUD|
|00001a00| 20 20 4d 6f 64 75 6c 65 | 5f 46 69 6e 61 6c 69 73 | Module|_Finalis|
|00001a10| 65 0d 08 d4 18 45 51 55 | 44 20 20 4d 6f 64 75 6c |e....EQU|D Modul|
|00001a20| 65 5f 53 65 72 76 69 63 | 65 0d 08 de 16 45 51 55 |e_Servic|e....EQU|
|00001a30| 44 20 20 4d 6f 64 75 6c | 65 5f 54 69 74 6c 65 0d |D Modul|e_Title.|
|00001a40| 08 e8 15 45 51 55 44 20 | 20 4d 6f 64 75 6c 65 5f |...EQUD | Module_|
|00001a50| 48 65 6c 70 0d 08 f2 18 | 45 51 55 44 20 20 4d 6f |Help....|EQUD Mo|
|00001a60| 64 75 6c 65 5f 4b 65 79 | 77 6f 72 64 0d 08 fc 17 |dule_Key|word....|
|00001a70| 45 51 55 44 20 20 53 57 | 49 5f 43 68 75 6e 6b 42 |EQUD SW|I_ChunkB|
|00001a80| 61 73 65 0d 09 06 15 45 | 51 55 44 20 20 53 57 49 |ase....E|QUD SWI|
|00001a90| 5f 48 61 6e 64 6c 65 72 | 0d 09 10 19 45 51 55 44 |_Handler|....EQUD|
|00001aa0| 20 20 53 57 49 5f 44 65 | 63 6f 64 65 54 61 62 6c | SWI_De|codeTabl|
|00001ab0| 65 0d 09 1a 0b 45 51 55 | 44 20 20 30 0d 09 24 04 |e....EQU|D 0..$.|
|00001ac0| 0d 09 2e 19 20 20 20 20 | 20 20 2e 4d 6f 64 75 6c |.... | .Modul|
|00001ad0| 65 5f 53 65 72 76 69 63 | 65 0d 09 38 40 53 54 4d |e_Servic|e..8@STM|
|00001ae0| 46 44 20 28 73 70 29 21 | 2c 7b 4f 53 5f 43 6c 61 |FD (sp)!|,{OS_Cla|
|00001af0| 69 6d 5f 56 65 63 74 6f | 72 2d 4f 53 5f 43 6c 61 |im_Vecto|r-OS_Cla|
|00001b00| 69 6d 5f 56 61 6c 75 65 | 2c 4d 6f 64 75 6c 65 5f |im_Value|,Module_|
|00001b10| 50 57 6f 72 64 2c 6c 72 | 7d 0d 09 42 31 43 4d 50 |PWord,lr|}..B1CMP|
|00001b20| 20 20 20 4d 6f 64 75 6c | 65 53 65 72 76 69 63 65 | Modul|eService|
|00001b30| 5f 54 79 70 65 2c 23 4d | 6f 64 75 6c 65 53 65 72 |_Type,#M|oduleSer|
|00001b40| 76 69 63 65 5f 52 65 73 | 65 74 0d 09 4c 18 42 4e |vice_Res|et..L.BN|
|00001b50| 45 20 20 20 49 67 6e 6f | 72 65 5f 53 65 72 76 69 |E Igno|re_Servi|
|00001b60| 63 65 0d 09 56 25 4c 44 | 52 20 20 20 4d 6f 64 75 |ce..V%LD|R Modu|
|00001b70| 6c 65 5f 50 57 6f 72 64 | 2c 5b 4d 6f 64 75 6c 65 |le_PWord|,[Module|
|00001b80| 5f 50 57 6f 72 64 5d 0d | 09 60 1f 4d 4f 56 20 20 |_PWord].|.`.MOV |
|00001b90| 20 4f 53 5f 43 6c 61 69 | 6d 5f 56 65 63 74 6f 72 | OS_Clai|m_Vector|
|00001ba0| 2c 23 46 53 43 56 0d 09 | 6a 22 41 44 52 20 20 20 |,#FSCV..|j"ADR |
|00001bb0| 4f 53 5f 43 6c 61 69 6d | 5f 52 6f 75 74 69 6e 65 |OS_Claim|_Routine|
|00001bc0| 2c 4e 65 77 5f 46 53 43 | 0d 09 74 25 4d 4f 56 20 |,New_FSC|..t%MOV |
|00001bd0| 20 20 4f 53 5f 43 6c 61 | 69 6d 5f 56 61 6c 75 65 | OS_Cla|im_Value|
|00001be0| 2c 4d 6f 64 75 6c 65 5f | 50 57 6f 72 64 0d 09 7e |,Module_|PWord..~|
|00001bf0| 15 53 57 49 20 20 20 22 | 58 4f 53 5f 43 6c 61 69 |.SWI "|XOS_Clai|
|00001c00| 6d 22 0d 09 88 17 42 56 | 53 20 20 20 53 65 72 76 |m"....BV|S Serv|
|00001c10| 69 63 65 5f 45 72 72 6f | 72 0d 09 92 19 20 20 20 |ice_Erro|r.... |
|00001c20| 20 20 20 2e 49 67 6e 6f | 72 65 5f 53 65 72 76 69 | .Igno|re_Servi|
|00001c30| 63 65 0d 09 9c 41 4c 44 | 4d 46 44 20 28 73 70 29 |ce...ALD|MFD (sp)|
|00001c40| 21 2c 7b 4f 53 5f 43 6c | 61 69 6d 5f 56 65 63 74 |!,{OS_Cl|aim_Vect|
|00001c50| 6f 72 2d 4f 53 5f 43 6c | 61 69 6d 5f 56 61 6c 75 |or-OS_Cl|aim_Valu|
|00001c60| 65 2c 4d 6f 64 75 6c 65 | 5f 50 57 6f 72 64 2c 70 |e,Module|_PWord,p|
|00001c70| 63 7d 5e 0d 09 a6 18 20 | 20 20 20 20 20 2e 53 65 |c}^.... | .Se|
|00001c80| 72 76 69 63 65 5f 45 72 | 72 6f 72 0d 09 b0 12 41 |rvice_Er|ror....A|
|00001c90| 44 44 20 20 20 73 70 2c | 73 70 2c 23 34 0d 09 ba |DD sp,|sp,#4...|
|00001ca0| 41 4c 44 4d 46 44 20 28 | 73 70 29 21 2c 7b 4f 53 |ALDMFD (|sp)!,{OS|
|00001cb0| 5f 43 6c 61 69 6d 5f 52 | 6f 75 74 69 6e 65 2d 4f |_Claim_R|outine-O|
|00001cc0| 53 5f 43 6c 61 69 6d 5f | 56 61 6c 75 65 2c 4d 6f |S_Claim_|Value,Mo|
|00001cd0| 64 75 6c 65 5f 50 57 6f | 72 64 2c 6c 72 7d 0d 09 |dule_PWo|rd,lr}..|
|00001ce0| c4 15 84 52 53 20 20 70 | 63 2c 6c 72 2c 23 56 5f |...RS p|c,lr,#V_|
|00001cf0| 42 69 74 0d 09 ce 04 0d | 09 d8 1c 20 20 20 20 20 |Bit.....|... |
|00001d00| 20 2e 4d 6f 64 75 6c 65 | 5f 49 6e 69 74 69 61 6c | .Module|_Initial|
|00001d10| 69 73 65 0d 09 e2 a3 53 | 54 4d 46 44 20 28 73 70 |ise....S|TMFD (sp|
|00001d20| 29 21 2c 7b 49 6e 69 74 | 69 61 6c 69 73 65 5f 54 |)!,{Init|ialise_T|
|00001d30| 65 6d 70 2c 4f 53 5f 43 | 6c 61 69 6d 5f 56 65 63 |emp,OS_C|laim_Vec|
|00001d40| 74 6f 72 2d 4f 53 5f 43 | 6c 61 69 6d 5f 56 61 6c |tor-OS_C|laim_Val|
|00001d50| 75 65 2c 4f 53 5f 53 65 | 74 56 61 72 56 61 6c 5f |ue,OS_Se|tVarVal_|
|00001d60| 4e 61 6d 65 50 74 72 2d | 4f 53 5f 53 65 74 56 61 |NamePtr-|OS_SetVa|
|00001d70| 72 56 61 6c 5f 54 79 70 | 65 2c 4f 53 5f 4d 6f 64 |rVal_Typ|e,OS_Mod|
|00001d80| 75 6c 65 5f 41 63 74 69 | 6f 6e 2c 4f 53 5f 4d 6f |ule_Acti|on,OS_Mo|
|00001d90| 64 75 6c 65 43 6c 61 69 | 6d 5f 52 50 74 72 2c 4f |duleClai|m_RPtr,O|
|00001da0| 53 5f 4d 6f 64 75 6c 65 | 43 6c 61 69 6d 5f 53 69 |S_Module|Claim_Si|
|00001db0| 7a 65 2c 6c 72 7d 0d 09 | ec 2e 4d 4f 56 20 20 20 |ze,lr}..|..MOV |
|00001dc0| 4f 53 5f 4d 6f 64 75 6c | 65 5f 41 63 74 69 6f 6e |OS_Modul|e_Action|
|00001dd0| 2c 23 4d 6f 64 75 6c 65 | 41 63 74 69 6f 6e 5f 43 |,#Module|Action_C|
|00001de0| 6c 61 69 6d 0d 09 f6 25 | 4c 44 52 20 20 20 4f 53 |laim...%|LDR OS|
|00001df0| 5f 4d 6f 64 75 6c 65 43 | 6c 61 69 6d 5f 53 69 7a |_ModuleC|laim_Siz|
|00001e00| 65 2c 57 73 5f 53 69 7a | 65 0d 0a 00 16 53 57 49 |e,Ws_Siz|e....SWI|
|00001e10| 20 20 20 22 58 4f 53 5f | 4d 6f 64 75 6c 65 22 0d | "XOS_|Module".|
|00001e20| 0a 0a 1c 42 56 53 20 20 | 20 49 6e 69 74 69 61 6c |...BVS | Initial|
|00001e30| 69 73 65 5f 53 65 72 69 | 6f 75 73 0d 0a 14 2c 53 |ise_Seri|ous...,S|
|00001e40| 54 52 20 20 20 4f 53 5f | 4d 6f 64 75 6c 65 43 6c |TR OS_|ModuleCl|
|00001e50| 61 69 6d 5f 52 50 74 72 | 2c 5b 4d 6f 64 75 6c 65 |aim_RPtr|,[Module|
|00001e60| 5f 50 57 6f 72 64 5d 0d | 0a 1e 2a 4d 4f 56 20 20 |_PWord].|..*MOV |
|00001e70| 20 4d 6f 64 75 6c 65 5f | 50 57 6f 72 64 2c 4f 53 | Module_|PWord,OS|
|00001e80| 5f 4d 6f 64 75 6c 65 43 | 6c 61 69 6d 5f 52 50 74 |_ModuleC|laim_RPt|
|00001e90| 72 0d 0a 28 1c 4d 56 4e | 20 20 20 49 6e 69 74 69 |r..(.MVN| Initi|
|00001ea0| 61 6c 69 73 65 5f 54 65 | 6d 70 2c 23 30 0d 0a 32 |alise_Te|mp,#0..2|
|00001eb0| 35 53 54 52 20 20 20 49 | 6e 69 74 69 61 6c 69 73 |5STR I|nitialis|
|00001ec0| 65 5f 54 65 6d 70 2c 5b | 4d 6f 64 75 6c 65 5f 50 |e_Temp,[|Module_P|
|00001ed0| 57 6f 72 64 2c 23 57 73 | 5f 50 61 74 68 46 6c 61 |Word,#Ws|_PathFla|
|00001ee0| 67 5d 0d 0a 3c 34 53 54 | 52 20 20 20 49 6e 69 74 |g]..<4ST|R Init|
|00001ef0| 69 61 6c 69 73 65 5f 54 | 65 6d 70 2c 5b 4d 6f 64 |ialise_T|emp,[Mod|
|00001f00| 75 6c 65 5f 50 57 6f 72 | 64 2c 23 57 73 5f 4c 69 |ule_PWor|d,#Ws_Li|
|00001f10| 62 46 6c 61 67 5d 0d 0a | 46 33 53 54 52 20 20 20 |bFlag]..|F3STR |
|00001f20| 49 6e 69 74 69 61 6c 69 | 73 65 5f 54 65 6d 70 2c |Initiali|se_Temp,|
|00001f30| 5b 4d 6f 64 75 6c 65 5f | 50 57 6f 72 64 2c 23 57 |[Module_|PWord,#W|
|00001f40| 73 5f 46 53 46 6c 61 67 | 5d 0d 0a 50 1f 4d 4f 56 |s_FSFlag|]..P.MOV|
|00001f50| 20 20 20 4f 53 5f 43 6c | 61 69 6d 5f 56 65 63 74 | OS_Cl|aim_Vect|
|00001f60| 6f 72 2c 23 46 53 43 56 | 0d 0a 5a 22 41 44 52 20 |or,#FSCV|..Z"ADR |
|00001f70| 20 20 4f 53 5f 43 6c 61 | 69 6d 5f 52 6f 75 74 69 | OS_Cla|im_Routi|
|00001f80| 6e 65 2c 4e 65 77 5f 46 | 53 43 0d 0a 64 25 4d 4f |ne,New_F|SC..d%MO|
|00001f90| 56 20 20 20 4f 53 5f 43 | 6c 61 69 6d 5f 56 61 6c |V OS_C|laim_Val|
|00001fa0| 75 65 2c 4d 6f 64 75 6c | 65 5f 50 57 6f 72 64 0d |ue,Modul|e_PWord.|
|00001fb0| 0a 6e 15 53 57 49 20 20 | 20 22 58 4f 53 5f 43 6c |.n.SWI | "XOS_Cl|
|00001fc0| 61 69 6d 22 0d 0a 78 1f | 42 56 53 20 20 20 49 6e |aim"..x.|BVS In|
|00001fd0| 69 74 69 61 6c 69 73 65 | 5f 45 72 72 6f 72 5f 46 |itialise|_Error_F|
|00001fe0| 72 65 65 0d 0a 82 2a 41 | 44 52 20 20 20 4f 53 5f |ree...*A|DR OS_|
|00001ff0| 53 65 74 56 61 72 56 61 | 6c 5f 4e 61 6d 65 50 74 |SetVarVa|l_NamePt|
|00002000| 72 2c 56 61 72 4e 61 6d | 65 5f 44 69 72 0d 0a 8c |r,VarNam|e_Dir...|
|00002010| 29 41 44 52 20 20 20 4f | 53 5f 53 65 74 56 61 72 |)ADR O|S_SetVar|
|00002020| 56 61 6c 5f 56 61 6c 50 | 74 72 2c 56 61 72 43 6f |Val_ValP|tr,VarCo|
|00002030| 64 65 5f 44 69 72 0d 0a | 96 39 4d 4f 56 20 20 20 |de_Dir..|.9MOV |
|00002040| 4f 53 5f 53 65 74 56 61 | 72 56 61 6c 5f 56 61 6c |OS_SetVa|rVal_Val|
|00002050| 4c 65 6e 2c 23 56 61 72 | 43 6f 64 65 45 6e 64 5f |Len,#Var|CodeEnd_|
|00002060| 44 69 72 2d 56 61 72 43 | 6f 64 65 5f 44 69 72 0d |Dir-VarC|ode_Dir.|
|00002070| 0a a0 23 4d 4f 56 20 20 | 20 4f 53 5f 53 65 74 56 |..#MOV | OS_SetV|
|00002080| 61 72 56 61 6c 5f 4e 61 | 6d 65 49 6e 64 65 78 2c |arVal_Na|meIndex,|
|00002090| 23 30 0d 0a aa 29 4d 4f | 56 20 20 20 4f 53 5f 53 |#0...)MO|V OS_S|
|000020a0| 65 74 56 61 72 56 61 6c | 5f 54 79 70 65 2c 23 56 |etVarVal|_Type,#V|
|000020b0| 61 72 54 79 70 65 5f 43 | 6f 64 65 0d 0a b4 19 53 |arType_C|ode....S|
|000020c0| 57 49 20 20 20 22 58 4f | 53 5f 53 65 74 56 61 72 |WI "XO|S_SetVar|
|000020d0| 56 61 6c 22 0d 0a be 22 | 42 56 53 20 20 20 49 6e |Val"..."|BVS In|
|000020e0| 69 74 69 61 6c 69 73 65 | 5f 45 72 72 6f 72 5f 52 |itialise|_Error_R|
|000020f0| 65 6c 65 61 73 65 0d 0a | c8 2b 41 44 52 20 20 20 |elease..|.+ADR |
|00002100| 4f 53 5f 53 65 74 56 61 | 72 56 61 6c 5f 4e 61 6d |OS_SetVa|rVal_Nam|
|00002110| 65 50 74 72 2c 56 61 72 | 4e 61 6d 65 5f 50 61 74 |ePtr,Var|Name_Pat|
|00002120| 68 0d 0a d2 2a 41 44 52 | 20 20 20 4f 53 5f 53 65 |h...*ADR| OS_Se|
|00002130| 74 56 61 72 56 61 6c 5f | 56 61 6c 50 74 72 2c 56 |tVarVal_|ValPtr,V|
|00002140| 61 72 43 6f 64 65 5f 50 | 61 74 68 0d 0a dc 3b 4d |arCode_P|ath...;M|
|00002150| 4f 56 20 20 20 4f 53 5f | 53 65 74 56 61 72 56 61 |OV OS_|SetVarVa|
|00002160| 6c 5f 56 61 6c 4c 65 6e | 2c 23 56 61 72 43 6f 64 |l_ValLen|,#VarCod|
|00002170| 65 45 6e 64 5f 50 61 74 | 68 2d 56 61 72 43 6f 64 |eEnd_Pat|h-VarCod|
|00002180| 65 5f 50 61 74 68 0d 0a | e6 23 4d 4f 56 20 20 20 |e_Path..|.#MOV |
|00002190| 4f 53 5f 53 65 74 56 61 | 72 56 61 6c 5f 4e 61 6d |OS_SetVa|rVal_Nam|
|000021a0| 65 49 6e 64 65 78 2c 23 | 30 0d 0a f0 29 4d 4f 56 |eIndex,#|0...)MOV|
|000021b0| 20 20 20 4f 53 5f 53 65 | 74 56 61 72 56 61 6c 5f | OS_Se|tVarVal_|
|000021c0| 54 79 70 65 2c 23 56 61 | 72 54 79 70 65 5f 43 6f |Type,#Va|rType_Co|
|000021d0| 64 65 0d 0a fa 19 53 57 | 49 20 20 20 22 58 4f 53 |de....SW|I "XOS|
|000021e0| 5f 53 65 74 56 61 72 56 | 61 6c 22 0d 0b 04 1e 42 |_SetVarV|al"....B|
|000021f0| 56 53 20 20 20 49 6e 69 | 74 69 61 6c 69 73 65 5f |VS Ini|tialise_|
|00002200| 45 72 72 6f 72 5f 44 69 | 72 0d 0b 0e 2b 41 44 52 |Error_Di|r...+ADR|
|00002210| 20 20 20 4f 53 5f 53 65 | 74 56 61 72 56 61 6c 5f | OS_Se|tVarVal_|
|00002220| 4e 61 6d 65 50 74 72 2c | 56 61 72 4e 61 6d 65 5f |NamePtr,|VarName_|
|00002230| 4e 61 6d 65 0d 0b 18 2a | 41 44 52 20 20 20 4f 53 |Name...*|ADR OS|
|00002240| 5f 53 65 74 56 61 72 56 | 61 6c 5f 56 61 6c 50 74 |_SetVarV|al_ValPt|
|00002250| 72 2c 56 61 72 43 6f 64 | 65 5f 4e 61 6d 65 0d 0b |r,VarCod|e_Name..|
|00002260| 22 3b 4d 4f 56 20 20 20 | 4f 53 5f 53 65 74 56 61 |";MOV |OS_SetVa|
|00002270| 72 56 61 6c 5f 56 61 6c | 4c 65 6e 2c 23 56 61 72 |rVal_Val|Len,#Var|
|00002280| 43 6f 64 65 45 6e 64 5f | 4e 61 6d 65 2d 56 61 72 |CodeEnd_|Name-Var|
|00002290| 43 6f 64 65 5f 4e 61 6d | 65 0d 0b 2c 23 4d 4f 56 |Code_Nam|e..,#MOV|
|000022a0| 20 20 20 4f 53 5f 53 65 | 74 56 61 72 56 61 6c 5f | OS_Se|tVarVal_|
|000022b0| 4e 61 6d 65 49 6e 64 65 | 78 2c 23 30 0d 0b 36 29 |NameInde|x,#0..6)|
|000022c0| 4d 4f 56 20 20 20 4f 53 | 5f 53 65 74 56 61 72 56 |MOV OS|_SetVarV|
|000022d0| 61 6c 5f 54 79 70 65 2c | 23 56 61 72 54 79 70 65 |al_Type,|#VarType|
|000022e0| 5f 43 6f 64 65 0d 0b 40 | 19 53 57 49 20 20 20 22 |_Code..@|.SWI "|
|000022f0| 58 4f 53 5f 53 65 74 56 | 61 72 56 61 6c 22 0d 0b |XOS_SetV|arVal"..|
|00002300| 4a 1f 42 56 53 20 20 20 | 49 6e 69 74 69 61 6c 69 |J.BVS |Initiali|
|00002310| 73 65 5f 45 72 72 6f 72 | 5f 50 61 74 68 0d 0b 54 |se_Error|_Path..T|
|00002320| 2b 41 44 52 20 20 20 4f | 53 5f 53 65 74 56 61 72 |+ADR O|S_SetVar|
|00002330| 56 61 6c 5f 4e 61 6d 65 | 50 74 72 2c 56 61 72 4e |Val_Name|Ptr,VarN|
|00002340| 61 6d 65 5f 44 69 73 63 | 0d 0b 5e 2a 41 44 52 20 |ame_Disc|..^*ADR |
|00002350| 20 20 4f 53 5f 53 65 74 | 56 61 72 56 61 6c 5f 56 | OS_Set|VarVal_V|
|00002360| 61 6c 50 74 72 2c 56 61 | 72 43 6f 64 65 5f 44 69 |alPtr,Va|rCode_Di|
|00002370| 73 63 0d 0b 68 3b 4d 4f | 56 20 20 20 4f 53 5f 53 |sc..h;MO|V OS_S|
|00002380| 65 74 56 61 72 56 61 6c | 5f 56 61 6c 4c 65 6e 2c |etVarVal|_ValLen,|
|00002390| 23 56 61 72 43 6f 64 65 | 45 6e 64 5f 44 69 73 63 |#VarCode|End_Disc|
|000023a0| 2d 56 61 72 43 6f 64 65 | 5f 44 69 73 63 0d 0b 72 |-VarCode|_Disc..r|
|000023b0| 23 4d 4f 56 20 20 20 4f | 53 5f 53 65 74 56 61 72 |#MOV O|S_SetVar|
|000023c0| 56 61 6c 5f 4e 61 6d 65 | 49 6e 64 65 78 2c 23 30 |Val_Name|Index,#0|
|000023d0| 0d 0b 7c 29 4d 4f 56 20 | 20 20 4f 53 5f 53 65 74 |..|)MOV | OS_Set|
|000023e0| 56 61 72 56 61 6c 5f 54 | 79 70 65 2c 23 56 61 72 |VarVal_T|ype,#Var|
|000023f0| 54 79 70 65 5f 43 6f 64 | 65 0d 0b 86 19 53 57 49 |Type_Cod|e....SWI|
|00002400| 20 20 20 22 58 4f 53 5f | 53 65 74 56 61 72 56 61 | "XOS_|SetVarVa|
|00002410| 6c 22 0d 0b 90 1f 42 56 | 53 20 20 20 49 6e 69 74 |l"....BV|S Init|
|00002420| 69 61 6c 69 73 65 5f 45 | 72 72 6f 72 5f 4e 61 6d |ialise_E|rror_Nam|
|00002430| 65 0d 0b 9a 2b 41 44 52 | 20 20 20 4f 53 5f 53 65 |e...+ADR| OS_Se|
|00002440| 74 56 61 72 56 61 6c 5f | 4e 61 6d 65 50 74 72 2c |tVarVal_|NamePtr,|
|00002450| 56 61 72 4e 61 6d 65 5f | 46 75 6c 6c 0d 0b a4 29 |VarName_|Full...)|
|00002460| 41 44 52 20 20 20 4f 53 | 5f 53 65 74 56 61 72 56 |ADR OS|_SetVarV|
|00002470| 61 6c 5f 56 61 6c 50 74 | 72 2c 56 61 72 56 61 6c |al_ValPt|r,VarVal|
|00002480| 5f 46 75 6c 6c 0d 0b ae | 27 4d 4f 56 20 20 20 4f |_Full...|'MOV O|
|00002490| 53 5f 53 65 74 56 61 72 | 56 61 6c 5f 56 61 6c 4c |S_SetVar|Val_ValL|
|000024a0| 65 6e 2c 23 a9 28 46 75 | 6c 6c 24 29 0d 0b b8 23 |en,#.(Fu|ll$)...#|
|000024b0| 4d 4f 56 20 20 20 4f 53 | 5f 53 65 74 56 61 72 56 |MOV OS|_SetVarV|
|000024c0| 61 6c 5f 4e 61 6d 65 49 | 6e 64 65 78 2c 23 30 0d |al_NameI|ndex,#0.|
|000024d0| 0b c2 2a 4d 4f 56 20 20 | 20 4f 53 5f 53 65 74 56 |..*MOV | OS_SetV|
|000024e0| 61 72 56 61 6c 5f 54 79 | 70 65 2c 23 56 61 72 54 |arVal_Ty|pe,#VarT|
|000024f0| 79 70 65 5f 4d 61 63 72 | 6f 0d 0b cc 19 53 57 49 |ype_Macr|o....SWI|
|00002500| 20 20 20 22 58 4f 53 5f | 53 65 74 56 61 72 56 61 | "XOS_|SetVarVa|
|00002510| 6c 22 0d 0b d6 1f 42 56 | 53 20 20 20 49 6e 69 74 |l"....BV|S Init|
|00002520| 69 61 6c 69 73 65 5f 45 | 72 72 6f 72 5f 44 69 73 |ialise_E|rror_Dis|
|00002530| 63 0d 0b e0 0f 4d 4f 56 | 20 20 20 52 30 2c 23 30 |c....MOV| R0,#0|
|00002540| 0d 0b ea 0f 4d 4f 56 20 | 20 20 52 31 2c 23 31 0d |....MOV | R1,#1.|
|00002550| 0b f4 14 53 57 49 20 20 | 20 22 58 4f 53 5f 42 79 |...SWI | "XOS_By|
|00002560| 74 65 22 0d 0b fe 1f 42 | 56 53 20 20 20 49 6e 69 |te"....B|VS Ini|
|00002570| 74 69 61 6c 69 73 65 5f | 45 72 72 6f 72 5f 46 75 |tialise_|Error_Fu|
|00002580| 6c 6c 0d 0c 08 27 53 54 | 52 20 20 20 52 31 2c 5b |ll...'ST|R R1,[|
|00002590| 4d 6f 64 75 6c 65 5f 50 | 57 6f 72 64 2c 23 57 73 |Module_P|Word,#Ws|
|000025a0| 5f 56 65 72 73 69 6f 6e | 5d 0d 0c 12 a4 4c 44 4d |_Version|]....LDM|
|000025b0| 46 44 20 28 73 70 29 21 | 2c 7b 49 6e 69 74 69 61 |FD (sp)!|,{Initia|
|000025c0| 6c 69 73 65 5f 54 65 6d | 70 2c 4f 53 5f 43 6c 61 |lise_Tem|p,OS_Cla|
|000025d0| 69 6d 5f 56 65 63 74 6f | 72 2d 4f 53 5f 43 6c 61 |im_Vecto|r-OS_Cla|
|000025e0| 69 6d 5f 56 61 6c 75 65 | 2c 4f 53 5f 53 65 74 56 |im_Value|,OS_SetV|
|000025f0| 61 72 56 61 6c 5f 4e 61 | 6d 65 50 74 72 2d 4f 53 |arVal_Na|mePtr-OS|
|00002600| 5f 53 65 74 56 61 72 56 | 61 6c 5f 54 79 70 65 2c |_SetVarV|al_Type,|
|00002610| 4f 53 5f 4d 6f 64 75 6c | 65 5f 41 63 74 69 6f 6e |OS_Modul|e_Action|
|00002620| 2c 4f 53 5f 4d 6f 64 75 | 6c 65 43 6c 61 69 6d 5f |,OS_Modu|leClaim_|
|00002630| 52 50 74 72 2c 4f 53 5f | 4d 6f 64 75 6c 65 43 6c |RPtr,OS_|ModuleCl|
|00002640| 61 69 6d 5f 53 69 7a 65 | 2c 70 63 7d 5e 0d 0c 13 |aim_Size|,pc}^...|
|00002650| 20 20 20 20 20 20 20 2e | 49 6e 69 74 69 61 6c 69 | .|Initiali|
|00002660| 73 65 5f 45 72 72 6f 72 | 5f 46 75 6c 6c 0d 0c 1c |se_Error|_Full...|
|00002670| 2b 41 44 52 20 20 20 4f | 53 5f 53 65 74 56 61 72 |+ADR O|S_SetVar|
|00002680| 56 61 6c 5f 4e 61 6d 65 | 50 74 72 2c 56 61 72 4e |Val_Name|Ptr,VarN|
|00002690| 61 6d 65 5f 46 75 6c 6c | 0d 0c 26 20 4d 56 4e 20 |ame_Full|..& MVN |
|000026a0| 20 20 4f 53 5f 53 65 74 | 56 61 72 56 61 6c 5f 56 | OS_Set|VarVal_V|
|000026b0| 61 6c 4c 65 6e 2c 23 30 | 0d 0c 30 23 4d 4f 56 20 |alLen,#0|..0#MOV |
|000026c0| 20 20 4f 53 5f 53 65 74 | 56 61 72 56 61 6c 5f 4e | OS_Set|VarVal_N|
|000026d0| 61 6d 65 49 6e 64 65 78 | 2c 23 30 0d 0c 3a 19 53 |ameIndex|,#0..:.S|
|000026e0| 57 49 20 20 20 22 58 4f | 53 5f 53 65 74 56 61 72 |WI "XO|S_SetVar|
|000026f0| 56 61 6c 22 0d 0c 44 1c | 42 56 53 20 20 20 49 6e |Val"..D.|BVS In|
|00002700| 69 74 69 61 6c 69 73 65 | 5f 53 65 72 69 6f 75 73 |itialise|_Serious|
|00002710| 0d 0c 4e 47 20 20 20 20 | 20 20 2e 49 6e 69 74 69 |..NG | .Initi|
|00002720| 61 6c 69 73 65 5f 45 72 | 72 6f 72 5f 44 69 73 63 |alise_Er|ror_Disc|
|00002730| 20 20 20 20 20 20 20 20 | 20 20 20 20 3b 20 74 68 | | ; th|
|00002740| 69 73 20 6c 6f 74 20 61 | 73 73 75 6d 65 73 20 74 |is lot a|ssumes t|
|00002750| 68 61 74 20 74 68 65 0d | 0c 58 4b 41 44 52 20 20 |hat the.|.XKADR |
|00002760| 20 4f 53 5f 53 65 74 56 | 61 72 56 61 6c 5f 4e 61 | OS_SetV|arVal_Na|
|00002770| 6d 65 50 74 72 2c 56 61 | 72 4e 61 6d 65 5f 44 69 |mePtr,Va|rName_Di|
|00002780| 73 63 20 3b 20 66 72 65 | 65 20 63 61 6c 6c 73 20 |sc ; fre|e calls |
|00002790| 64 6f 6e 27 74 20 75 73 | 65 20 61 6e 79 20 72 65 |don't us|e any re|
|000027a0| 67 73 0d 0c 62 48 4d 56 | 4e 20 20 20 4f 53 5f 53 |gs..bHMV|N OS_S|
|000027b0| 65 74 56 61 72 56 61 6c | 5f 56 61 6c 4c 65 6e 2c |etVarVal|_ValLen,|
|000027c0| 23 30 20 20 20 20 20 20 | 20 20 20 20 20 20 3b 20 |#0 | ; |
|000027d0| 6e 6f 74 20 75 73 65 64 | 20 69 6e 20 74 68 65 20 |not used| in the |
|000027e0| 67 65 74 20 63 61 6c 6c | 73 2e 0d 0c 6c 29 4d 4f |get call|s...l)MO|
|000027f0| 56 20 20 20 4f 53 5f 53 | 65 74 56 61 72 56 61 6c |V OS_S|etVarVal|
|00002800| 5f 54 79 70 65 2c 23 56 | 61 72 54 79 70 65 5f 43 |_Type,#V|arType_C|
|00002810| 6f 64 65 0d 0c 76 23 4d | 4f 56 20 20 20 4f 53 5f |ode..v#M|OV OS_|
|00002820| 53 65 74 56 61 72 56 61 | 6c 5f 4e 61 6d 65 49 6e |SetVarVa|l_NameIn|
|00002830| 64 65 78 2c 23 30 0d 0c | 80 19 53 57 49 20 20 20 |dex,#0..|..SWI |
|00002840| 22 58 4f 53 5f 53 65 74 | 56 61 72 56 61 6c 22 0d |"XOS_Set|VarVal".|
|00002850| 0c 8a 1c 42 56 53 20 20 | 20 49 6e 69 74 69 61 6c |...BVS | Initial|
|00002860| 69 73 65 5f 53 65 72 69 | 6f 75 73 0d 0c 94 20 20 |ise_Seri|ous... |
|00002870| 20 20 20 20 20 2e 49 6e | 69 74 69 61 6c 69 73 65 | .In|itialise|
|00002880| 5f 45 72 72 6f 72 5f 4e | 61 6d 65 0d 0c 9e 2b 41 |_Error_N|ame...+A|
|00002890| 44 52 20 20 20 4f 53 5f | 53 65 74 56 61 72 56 61 |DR OS_|SetVarVa|
|000028a0| 6c 5f 4e 61 6d 65 50 74 | 72 2c 56 61 72 4e 61 6d |l_NamePt|r,VarNam|
|000028b0| 65 5f 4e 61 6d 65 0d 0c | a8 20 4d 56 4e 20 20 20 |e_Name..|. MVN |
|000028c0| 4f 53 5f 53 65 74 56 61 | 72 56 61 6c 5f 56 61 6c |OS_SetVa|rVal_Val|
|000028d0| 4c 65 6e 2c 23 30 0d 0c | b2 29 4d 4f 56 20 20 20 |Len,#0..|.)MOV |
|000028e0| 4f 53 5f 53 65 74 56 61 | 72 56 61 6c 5f 54 79 70 |OS_SetVa|rVal_Typ|
|000028f0| 65 2c 23 56 61 72 54 79 | 70 65 5f 43 6f 64 65 0d |e,#VarTy|pe_Code.|
|00002900| 0c bc 23 4d 4f 56 20 20 | 20 4f 53 5f 53 65 74 56 |..#MOV | OS_SetV|
|00002910| 61 72 56 61 6c 5f 4e 61 | 6d 65 49 6e 64 65 78 2c |arVal_Na|meIndex,|
|00002920| 23 30 0d 0c c6 19 53 57 | 49 20 20 20 22 58 4f 53 |#0....SW|I "XOS|
|00002930| 5f 53 65 74 56 61 72 56 | 61 6c 22 0d 0c d0 1c 42 |_SetVarV|al"....B|
|00002940| 56 53 20 20 20 49 6e 69 | 74 69 61 6c 69 73 65 5f |VS Ini|tialise_|
|00002950| 53 65 72 69 6f 75 73 0d | 0c da 20 20 20 20 20 20 |Serious.|.. |
|00002960| 20 2e 49 6e 69 74 69 61 | 6c 69 73 65 5f 45 72 72 | .Initia|lise_Err|
|00002970| 6f 72 5f 50 61 74 68 0d | 0c e4 2b 41 44 52 20 20 |or_Path.|..+ADR |
|00002980| 20 4f 53 5f 53 65 74 56 | 61 72 56 61 6c 5f 4e 61 | OS_SetV|arVal_Na|
|00002990| 6d 65 50 74 72 2c 56 61 | 72 4e 61 6d 65 5f 50 61 |mePtr,Va|rName_Pa|
|000029a0| 74 68 0d 0c ee 20 4d 56 | 4e 20 20 20 4f 53 5f 53 |th... MV|N OS_S|
|000029b0| 65 74 56 61 72 56 61 6c | 5f 56 61 6c 4c 65 6e 2c |etVarVal|_ValLen,|
|000029c0| 23 30 0d 0c f8 29 4d 4f | 56 20 20 20 4f 53 5f 53 |#0...)MO|V OS_S|
|000029d0| 65 74 56 61 72 56 61 6c | 5f 54 79 70 65 2c 23 56 |etVarVal|_Type,#V|
|000029e0| 61 72 54 79 70 65 5f 43 | 6f 64 65 0d 0d 02 23 4d |arType_C|ode...#M|
|000029f0| 4f 56 20 20 20 4f 53 5f | 53 65 74 56 61 72 56 61 |OV OS_|SetVarVa|
|00002a00| 6c 5f 4e 61 6d 65 49 6e | 64 65 78 2c 23 30 0d 0d |l_NameIn|dex,#0..|
|00002a10| 0c 19 53 57 49 20 20 20 | 22 58 4f 53 5f 53 65 74 |..SWI |"XOS_Set|
|00002a20| 56 61 72 56 61 6c 22 0d | 0d 16 1c 42 56 53 20 20 |VarVal".|...BVS |
|00002a30| 20 49 6e 69 74 69 61 6c | 69 73 65 5f 53 65 72 69 | Initial|ise_Seri|
|00002a40| 6f 75 73 0d 0d 20 1f 20 | 20 20 20 20 20 2e 49 6e |ous.. . | .In|
|00002a50| 69 74 69 61 6c 69 73 65 | 5f 45 72 72 6f 72 5f 44 |itialise|_Error_D|
|00002a60| 69 72 0d 0d 2a 2a 41 44 | 52 20 20 20 4f 53 5f 53 |ir..**AD|R OS_S|
|00002a70| 65 74 56 61 72 56 61 6c | 5f 4e 61 6d 65 50 74 72 |etVarVal|_NamePtr|
|00002a80| 2c 56 61 72 4e 61 6d 65 | 5f 44 69 72 0d 0d 34 3d |,VarName|_Dir..4=|
|00002a90| 4d 56 4e 20 20 20 4f 53 | 5f 53 65 74 56 61 72 56 |MVN OS|_SetVarV|
|00002aa0| 61 6c 5f 56 61 6c 4c 65 | 6e 2c 23 30 20 20 20 20 |al_ValLe|n,#0 |
|00002ab0| 20 20 20 20 20 20 20 20 | 3b 20 64 65 6c 65 74 65 | |; delete|
|00002ac0| 20 76 61 72 69 61 62 6c | 65 0d 0d 3e 29 4d 4f 56 | variabl|e..>)MOV|
|00002ad0| 20 20 20 4f 53 5f 53 65 | 74 56 61 72 56 61 6c 5f | OS_Se|tVarVal_|
|00002ae0| 54 79 70 65 2c 23 56 61 | 72 54 79 70 65 5f 43 6f |Type,#Va|rType_Co|
|00002af0| 64 65 0d 0d 48 23 4d 4f | 56 20 20 20 4f 53 5f 53 |de..H#MO|V OS_S|
|00002b00| 65 74 56 61 72 56 61 6c | 5f 4e 61 6d 65 49 6e 64 |etVarVal|_NameInd|
|00002b10| 65 78 2c 23 30 0d 0d 52 | 19 53 57 49 20 20 20 22 |ex,#0..R|.SWI "|
|00002b20| 58 4f 53 5f 53 65 74 56 | 61 72 56 61 6c 22 0d 0d |XOS_SetV|arVal"..|
|00002b30| 5c 1c 42 56 53 20 20 20 | 49 6e 69 74 69 61 6c 69 |\.BVS |Initiali|
|00002b40| 73 65 5f 53 65 72 69 6f | 75 73 0d 0d 66 23 20 20 |se_Serio|us..f# |
|00002b50| 20 20 20 20 2e 49 6e 69 | 74 69 61 6c 69 73 65 5f | .Ini|tialise_|
|00002b60| 45 72 72 6f 72 5f 52 65 | 6c 65 61 73 65 0d 0d 70 |Error_Re|lease..p|
|00002b70| 21 4d 4f 56 20 20 20 4f | 53 5f 52 65 6c 65 61 73 |!MOV O|S_Releas|
|00002b80| 65 5f 56 65 63 74 6f 72 | 2c 23 46 53 43 56 0d 0d |e_Vector|,#FSCV..|
|00002b90| 7a 24 41 44 52 20 20 20 | 4f 53 5f 52 65 6c 65 61 |z$ADR |OS_Relea|
|00002ba0| 73 65 5f 52 6f 75 74 69 | 6e 65 2c 4e 65 77 5f 46 |se_Routi|ne,New_F|
|00002bb0| 53 43 0d 0d 84 29 4c 44 | 52 20 20 20 4f 53 5f 52 |SC...)LD|R OS_R|
|00002bc0| 65 6c 65 61 73 65 5f 56 | 61 6c 75 65 2c 5b 4d 6f |elease_V|alue,[Mo|
|00002bd0| 64 75 6c 65 5f 50 57 6f | 72 64 5d 0d 0d 8e 17 53 |dule_PWo|rd]....S|
|00002be0| 57 49 20 20 20 22 58 4f | 53 5f 52 65 6c 65 61 73 |WI "XO|S_Releas|
|00002bf0| 65 22 0d 0d 98 1c 42 56 | 53 20 20 20 49 6e 69 74 |e"....BV|S Init|
|00002c00| 69 61 6c 69 73 65 5f 53 | 65 72 69 6f 75 73 0d 0d |ialise_S|erious..|
|00002c10| a2 20 20 20 20 20 20 20 | 2e 49 6e 69 74 69 61 6c |. |.Initial|
|00002c20| 69 73 65 5f 45 72 72 6f | 72 5f 46 72 65 65 0d 0d |ise_Erro|r_Free..|
|00002c30| ac 2d 4d 4f 56 20 20 20 | 4f 53 5f 4d 6f 64 75 6c |.-MOV |OS_Modul|
|00002c40| 65 5f 41 63 74 69 6f 6e | 2c 23 4d 6f 64 75 6c 65 |e_Action|,#Module|
|00002c50| 41 63 74 69 6f 6e 5f 46 | 72 65 65 0d 0d b6 2a 4c |Action_F|ree...*L|
|00002c60| 44 52 20 20 20 4f 53 5f | 4d 6f 64 75 6c 65 46 72 |DR OS_|ModuleFr|
|00002c70| 65 65 5f 50 74 72 2c 5b | 4d 6f 64 75 6c 65 5f 50 |ee_Ptr,[|Module_P|
|00002c80| 57 6f 72 64 5d 0d 0d c0 | 16 53 57 49 20 20 20 22 |Word]...|.SWI "|
|00002c90| 58 4f 53 5f 4d 6f 64 75 | 6c 65 22 0d 0d ca 1c 42 |XOS_Modu|le"....B|
|00002ca0| 56 53 20 20 20 49 6e 69 | 74 69 61 6c 69 73 65 5f |VS Ini|tialise_|
|00002cb0| 53 65 72 69 6f 75 73 0d | 0d d4 1d 20 20 20 20 20 |Serious.|... |
|00002cc0| 20 2e 49 6e 69 74 69 61 | 6c 69 73 65 5f 53 65 72 | .Initia|lise_Ser|
|00002cd0| 69 6f 75 73 0d 0d de 12 | 41 44 44 20 20 20 73 70 |ious....|ADD sp|
|00002ce0| 2c 73 70 2c 23 34 0d 0d | e8 a5 4c 44 4d 46 44 20 |,sp,#4..|..LDMFD |
|00002cf0| 28 73 70 29 21 2c 7b 49 | 6e 69 74 69 61 6c 69 73 |(sp)!,{I|nitialis|
|00002d00| 65 5f 54 65 6d 70 2c 4f | 53 5f 43 6c 61 69 6d 5f |e_Temp,O|S_Claim_|
|00002d10| 52 6f 75 74 69 6e 65 2d | 4f 53 5f 43 6c 61 69 6d |Routine-|OS_Claim|
|00002d20| 5f 56 61 6c 75 65 2c 4f | 53 5f 53 65 74 56 61 72 |_Value,O|S_SetVar|
|00002d30| 56 61 6c 5f 56 61 6c 50 | 74 72 2d 4f 53 5f 53 65 |Val_ValP|tr-OS_Se|
|00002d40| 74 56 61 72 56 61 6c 5f | 54 79 70 65 2c 4f 53 5f |tVarVal_|Type,OS_|
|00002d50| 4d 6f 64 75 6c 65 43 6c | 61 69 6d 5f 52 50 74 72 |ModuleCl|aim_RPtr|
|00002d60| 2c 4f 53 5f 4d 6f 64 75 | 6c 65 43 6c 61 69 6d 5f |,OS_Modu|leClaim_|
|00002d70| 53 69 7a 65 2c 6c 72 7d | 20 20 20 20 20 20 20 20 |Size,lr}| |
|00002d80| 20 20 20 20 3b 20 6e 6f | 20 72 30 0d 0d f2 15 84 | ; no| r0.....|
|00002d90| 52 53 20 20 70 63 2c 6c | 72 2c 23 56 5f 42 69 74 |RS pc,l|r,#V_Bit|
|00002da0| 0d 0d fc 12 20 20 20 20 | 20 20 2e 57 73 5f 53 69 |.... | .Ws_Si|
|00002db0| 7a 65 0d 0e 06 19 45 51 | 55 44 20 20 57 73 5f 45 |ze....EQ|UD Ws_E|
|00002dc0| 6e 64 2d 57 73 5f 53 74 | 61 72 74 0d 0e 10 04 0d |nd-Ws_St|art.....|
|00002dd0| 0e 1a 17 20 20 20 20 20 | 20 2e 56 61 72 4e 61 6d |... | .VarNam|
|00002de0| 65 5f 46 75 6c 6c 0d 0e | 24 15 a4 73 74 72 7a 61 |e_Full..|$..strza|
|00002df0| 28 22 46 53 24 46 75 6c | 6c 22 29 0d 0e 2e 16 20 |("FS$Ful|l").... |
|00002e00| 20 20 20 20 20 2e 56 61 | 72 56 61 6c 5f 46 75 6c | .Va|rVal_Ful|
|00002e10| 6c 0d 0e 38 11 a4 73 74 | 72 7a 61 28 46 75 6c 6c |l..8..st|rza(Full|
|00002e20| 24 29 0d 0e 42 04 0d 0e | 4c 12 20 20 20 20 20 20 |$)..B...|L. |
|00002e30| 2e 4e 65 77 5f 46 53 43 | 0d 0e 56 21 53 54 4d 46 |.New_FSC|..V!STMF|
|00002e40| 44 20 28 73 70 29 21 2c | 7b 4e 65 77 5f 46 53 43 |D (sp)!,|{New_FSC|
|00002e50| 5f 54 65 6d 70 2c 6c 72 | 7d 0d 0e 60 35 43 4d 50 |_Temp,lr|}..`5CMP|
|00002e60| 20 20 20 4f 53 5f 46 53 | 43 6f 6e 74 72 6f 6c 5f | OS_FS|Control_|
|00002e70| 41 63 74 69 6f 6e 2c 23 | 46 53 43 6f 6e 74 72 6f |Action,#|FSContro|
|00002e80| 6c 41 63 74 69 6f 6e 5f | 53 65 74 44 69 72 0d 0e |lAction_|SetDir..|
|00002e90| 6a 18 42 4e 45 20 20 20 | 4e 65 77 5f 46 53 43 5f |j.BNE |New_FSC_|
|00002ea0| 4e 6f 74 44 69 72 0d 0e | 74 19 4d 56 4e 20 20 20 |NotDir..|t.MVN |
|00002eb0| 4e 65 77 5f 46 53 43 5f | 54 65 6d 70 2c 23 30 0d |New_FSC_|Temp,#0.|
|00002ec0| 0e 7e 4d 53 54 52 20 20 | 20 4e 65 77 5f 46 53 43 |.~MSTR | New_FSC|
|00002ed0| 5f 54 65 6d 70 2c 5b 4d | 6f 64 75 6c 65 5f 50 57 |_Temp,[M|odule_PW|
|00002ee0| 6f 72 64 2c 23 57 73 5f | 50 61 74 68 46 6c 61 67 |ord,#Ws_|PathFlag|
|00002ef0| 5d 20 20 20 3b 20 73 65 | 74 20 70 61 74 68 20 63 |] ; se|t path c|
|00002f00| 68 61 6e 67 65 64 20 66 | 6c 61 67 2e 0d 0e 88 10 |hanged f|lag.....|
|00002f10| 42 20 20 20 20 20 44 6f | 5f 46 53 43 0d 0e 92 19 |B Do|_FSC....|
|00002f20| 20 20 20 20 20 20 2e 4e | 65 77 5f 46 53 43 5f 4e | .N|ew_FSC_N|
|00002f30| 6f 74 44 69 72 0d 0e 9c | 35 43 4d 50 20 20 20 4f |otDir...|5CMP O|
|00002f40| 53 5f 46 53 43 6f 6e 74 | 72 6f 6c 5f 41 63 74 69 |S_FSCont|rol_Acti|
|00002f50| 6f 6e 2c 23 46 53 43 6f | 6e 74 72 6f 6c 41 63 74 |on,#FSCo|ntrolAct|
|00002f60| 69 6f 6e 5f 53 65 74 4c | 69 62 0d 0e a6 18 42 4e |ion_SetL|ib....BN|
|00002f70| 45 20 20 20 4e 65 77 5f | 46 53 43 5f 4e 6f 74 4c |E New_|FSC_NotL|
|00002f80| 69 62 0d 0e b0 19 4d 56 | 4e 20 20 20 4e 65 77 5f |ib....MV|N New_|
|00002f90| 46 53 43 5f 54 65 6d 70 | 2c 23 30 0d 0e ba 4c 53 |FSC_Temp|,#0...LS|
|00002fa0| 54 52 20 20 20 4e 65 77 | 5f 46 53 43 5f 54 65 6d |TR New|_FSC_Tem|
|00002fb0| 70 2c 5b 4d 6f 64 75 6c | 65 5f 50 57 6f 72 64 2c |p,[Modul|e_PWord,|
|00002fc0| 23 57 73 5f 4c 69 62 46 | 6c 61 67 5d 20 20 20 20 |#Ws_LibF|lag] |
|00002fd0| 3b 20 73 65 74 20 6c 69 | 62 20 63 68 61 6e 67 65 |; set li|b change|
|00002fe0| 64 20 66 6c 61 67 2e 0d | 0e c4 10 42 20 20 20 20 |d flag..|...B |
|00002ff0| 20 44 6f 5f 46 53 43 0d | 0e ce 19 20 20 20 20 20 | Do_FSC.|... |
|00003000| 20 2e 4e 65 77 5f 46 53 | 43 5f 4e 6f 74 4c 69 62 | .New_FS|C_NotLib|
|00003010| 0d 0e d8 37 43 4d 50 20 | 20 20 4f 53 5f 46 53 43 |...7CMP | OS_FSC|
|00003020| 6f 6e 74 72 6f 6c 5f 41 | 63 74 69 6f 6e 2c 23 46 |ontrol_A|ction,#F|
|00003030| 53 43 6f 6e 74 72 6f 6c | 41 63 74 69 6f 6e 5f 53 |SControl|Action_S|
|00003040| 65 6c 65 63 74 46 53 0d | 0e e2 39 43 4d 50 4e 45 |electFS.|..9CMPNE|
|00003050| 20 4f 53 5f 46 53 43 6f | 6e 74 72 6f 6c 5f 41 63 | OS_FSCo|ntrol_Ac|
|00003060| 74 69 6f 6e 2c 23 46 53 | 43 6f 6e 74 72 6f 6c 41 |tion,#FS|ControlA|
|00003070| 63 74 69 6f 6e 5f 4d 61 | 6b 65 46 53 50 65 72 6d |ction_Ma|keFSPerm|
|00003080| 0d 0e ec 10 42 4e 45 20 | 20 20 44 6f 5f 46 53 43 |....BNE | Do_FSC|
|00003090| 0d 0e f6 19 4d 56 4e 20 | 20 20 4e 65 77 5f 46 53 |....MVN | New_FS|
|000030a0| 43 5f 54 65 6d 70 2c 23 | 30 0d 0f 00 4d 53 54 52 |C_Temp,#|0...MSTR|
|000030b0| 20 20 20 4e 65 77 5f 46 | 53 43 5f 54 65 6d 70 2c | New_F|SC_Temp,|
|000030c0| 5b 4d 6f 64 75 6c 65 5f | 50 57 6f 72 64 2c 23 57 |[Module_|PWord,#W|
|000030d0| 73 5f 50 61 74 68 46 6c | 61 67 5d 20 20 20 3b 20 |s_PathFl|ag] ; |
|000030e0| 73 65 74 20 70 61 74 68 | 20 63 68 61 6e 67 65 64 |set path| changed|
|000030f0| 20 66 6c 61 67 2e 0d 0f | 0a 4c 53 54 52 20 20 20 | flag...|.LSTR |
|00003100| 4e 65 77 5f 46 53 43 5f | 54 65 6d 70 2c 5b 4d 6f |New_FSC_|Temp,[Mo|
|00003110| 64 75 6c 65 5f 50 57 6f | 72 64 2c 23 57 73 5f 4c |dule_PWo|rd,#Ws_L|
|00003120| 69 62 46 6c 61 67 5d 20 | 20 20 20 3b 20 73 65 74 |ibFlag] | ; set|
|00003130| 20 6c 69 62 20 63 68 61 | 6e 67 65 64 20 66 6c 61 | lib cha|nged fla|
|00003140| 67 2e 0d 0f 14 4a 53 54 | 52 20 20 20 4e 65 77 5f |g....JST|R New_|
|00003150| 46 53 43 5f 54 65 6d 70 | 2c 5b 4d 6f 64 75 6c 65 |FSC_Temp|,[Module|
|00003160| 5f 50 57 6f 72 64 2c 23 | 57 73 5f 46 53 46 6c 61 |_PWord,#|Ws_FSFla|
|00003170| 67 5d 20 20 20 20 3b 20 | 73 65 74 20 66 73 20 63 |g] ; |set fs c|
|00003180| 68 61 6e 67 65 64 20 66 | 6c 61 67 2e 0d 0f 1e 11 |hanged f|lag.....|
|00003190| 20 20 20 20 20 20 2e 44 | 6f 5f 46 53 43 0d 0f 28 | .D|o_FSC..(|
|000031a0| 22 4c 44 4d 46 44 20 28 | 73 70 29 21 2c 7b 4e 65 |"LDMFD (|sp)!,{Ne|
|000031b0| 77 5f 46 53 43 5f 54 65 | 6d 70 2c 70 63 7d 5e 0d |w_FSC_Te|mp,pc}^.|
|000031c0| 0f 32 04 0d 0f 3c 16 20 | 20 20 20 20 20 2e 56 61 |.2...<. | .Va|
|000031d0| 72 4e 61 6d 65 5f 44 69 | 72 0d 0f 46 18 a4 73 74 |rName_Di|r..F..st|
|000031e0| 72 7a 61 28 56 61 72 4e | 61 6d 65 5f 44 69 72 24 |rza(VarN|ame_Dir$|
|000031f0| 29 0d 0f 50 04 0d 0f 5a | 16 20 20 20 20 20 20 2e |)..P...Z|. .|
|00003200| 56 61 72 43 6f 64 65 5f | 44 69 72 0d 0f 64 16 42 |VarCode_|Dir..d.B|
|00003210| 20 20 20 20 20 44 69 72 | 56 61 72 5f 57 72 69 74 | Dir|Var_Writ|
|00003220| 65 0d 0f 6e 1a 53 54 4d | 46 44 20 28 73 70 29 21 |e..n.STM|FD (sp)!|
|00003230| 2c 7b 52 33 2d 52 34 2c | 6c 72 7d 0d 0f 78 2c 4d |,{R3-R4,|lr}..x,M|
|00003240| 4f 56 20 20 20 4f 53 5f | 47 42 50 42 5f 41 63 74 |OV OS_|GBPB_Act|
|00003250| 69 6f 6e 2c 23 47 42 50 | 42 41 63 74 69 6f 6e 5f |ion,#GBP|BAction_|
|00003260| 52 65 61 64 44 69 72 0d | 0f 82 2d 41 44 52 20 20 |ReadDir.|..-ADR |
|00003270| 20 4f 53 5f 47 42 50 42 | 47 65 74 44 69 72 5f 44 | OS_GBPB|GetDir_D|
|00003280| 61 74 61 2c 44 69 72 56 | 61 72 5f 47 42 50 42 42 |ata,DirV|ar_GBPBB|
|00003290| 6c 6f 63 6b 0d 0f 8c 14 | 53 57 49 20 20 20 22 58 |lock....|SWI "X|
|000032a0| 4f 53 5f 47 42 50 42 22 | 0d 0f 96 1b 42 56 53 20 |OS_GBPB"|....BVS |
|000032b0| 20 20 44 69 72 56 61 72 | 5f 52 65 61 64 5f 45 72 | DirVar|_Read_Er|
|000032c0| 72 6f 72 0d 0f a0 33 41 | 44 52 20 20 20 56 61 72 |ror...3A|DR Var|
|000032d0| 69 61 62 6c 65 52 65 61 | 64 5f 56 61 6c 50 74 72 |iableRea|d_ValPtr|
|000032e0| 2c 44 69 72 56 61 72 5f | 47 42 50 42 42 6c 6f 63 |,DirVar_|GBPBBloc|
|000032f0| 6b 5f 4e 61 6d 65 0d 0f | aa 35 4c 44 52 42 20 20 |k_Name..|.5LDRB |
|00003300| 56 61 72 69 61 62 6c 65 | 52 65 61 64 5f 56 61 6c |Variable|Read_Val|
|00003310| 4c 65 6e 2c 44 69 72 56 | 61 72 5f 47 42 50 42 42 |Len,DirV|ar_GBPBB|
|00003320| 6c 6f 63 6b 5f 4c 65 6e | 67 74 68 0d 0f b4 1b 4c |lock_Len|gth....L|
|00003330| 44 4d 46 44 20 28 73 70 | 29 21 2c 7b 52 33 2d 52 |DMFD (sp|)!,{R3-R|
|00003340| 34 2c 70 63 7d 5e 0d 0f | be 1c 20 20 20 20 20 20 |4,pc}^..|.. |
|00003350| 2e 44 69 72 56 61 72 5f | 52 65 61 64 5f 45 72 72 |.DirVar_|Read_Err|
|00003360| 6f 72 0d 0f c8 19 41 44 | 52 20 20 20 52 30 2c 44 |or....AD|R R0,D|
|00003370| 69 72 56 61 72 5f 45 72 | 72 6f 72 0d 0f d2 17 4d |irVar_Er|ror....M|
|00003380| 4f 56 20 20 20 52 32 2c | 23 a9 28 45 72 72 6f 72 |OV R2,|#.(Error|
|00003390| 24 29 0d 0f dc 1a 4c 44 | 4d 46 44 20 28 73 70 29 |$)....LD|MFD (sp)|
|000033a0| 21 2c 7b 52 33 2d 52 34 | 2c 6c 72 7d 0d 0f e6 15 |!,{R3-R4|,lr}....|
|000033b0| 84 52 53 20 20 70 63 2c | 6c 72 2c 23 56 5f 42 69 |.RS pc,|lr,#V_Bi|
|000033c0| 74 0d 0f f0 17 20 20 20 | 20 20 20 2e 44 69 72 56 |t.... | .DirV|
|000033d0| 61 72 5f 45 72 72 6f 72 | 0d 0f fa 12 a4 73 74 72 |ar_Error|.....str|
|000033e0| 7a 61 28 45 72 72 6f 72 | 24 29 0d 10 04 17 20 20 |za(Error|$).... |
|000033f0| 20 20 20 20 2e 44 69 72 | 56 61 72 5f 57 72 69 74 | .Dir|Var_Writ|
|00003400| 65 0d 10 0e 28 53 54 4d | 46 44 20 28 73 70 29 21 |e...(STM|FD (sp)!|
|00003410| 2c 7b 4f 53 5f 46 53 43 | 6f 6e 74 72 6f 6c 5f 41 |,{OS_FSC|ontrol_A|
|00003420| 63 74 69 6f 6e 2c 6c 72 | 7d 0d 10 18 35 4d 4f 56 |ction,lr|}...5MOV|
|00003430| 20 20 20 4f 53 5f 46 53 | 43 6f 6e 74 72 6f 6c 5f | OS_FS|Control_|
|00003440| 41 63 74 69 6f 6e 2c 23 | 46 53 43 6f 6e 74 72 6f |Action,#|FSContro|
|00003450| 6c 41 63 74 69 6f 6e 5f | 53 65 74 44 69 72 0d 10 |lAction_|SetDir..|
|00003460| 22 4a 53 57 49 20 20 20 | 22 58 4f 53 5f 46 53 43 |"JSWI |"XOS_FSC|
|00003470| 6f 6e 74 72 6f 6c 22 20 | 20 20 20 20 20 20 20 20 |ontrol" | |
|00003480| 20 20 20 20 20 20 20 20 | 3b 20 72 31 20 69 73 20 | |; r1 is |
|00003490| 73 65 74 20 75 70 20 63 | 6f 72 72 65 63 74 6c 79 |set up c|orrectly|
|000034a0| 20 61 6c 72 65 61 64 79 | 0d 10 2c 1c 42 56 53 20 | already|..,.BVS |
|000034b0| 20 20 44 69 72 56 61 72 | 5f 57 72 69 74 65 5f 45 | DirVar|_Write_E|
|000034c0| 72 72 6f 72 0d 10 36 28 | 4c 44 4d 46 44 20 28 73 |rror..6(|LDMFD (s|
|000034d0| 70 29 21 2c 7b 4f 53 5f | 46 53 43 6f 6e 74 72 6f |p)!,{OS_|FSContro|
|000034e0| 6c 5f 41 63 74 69 6f 6e | 2c 6c 72 7d 0d 10 40 1d |l_Action|,lr}..@.|
|000034f0| 20 20 20 20 20 20 2e 44 | 69 72 56 61 72 5f 57 72 | .D|irVar_Wr|
|00003500| 69 74 65 5f 45 72 72 6f | 72 0d 10 4a 12 41 44 44 |ite_Erro|r..J.ADD|
|00003510| 20 20 20 73 70 2c 73 70 | 2c 23 34 0d 10 54 21 4c | sp,sp|,#4..T!L|
|00003520| 44 4d 46 44 20 28 73 70 | 29 21 2c 7b 6c 72 7d 20 |DMFD (sp|)!,{lr} |
|00003530| 20 20 20 20 20 3b 20 6e | 6f 20 72 30 0d 10 5e 15 | ; n|o r0..^.|
|00003540| 84 52 53 20 20 70 63 2c | 6c 72 2c 23 56 5f 42 69 |.RS pc,|lr,#V_Bi|
|00003550| 74 0d 10 68 1b 20 20 20 | 20 20 20 2e 44 69 72 56 |t..h. | .DirV|
|00003560| 61 72 5f 47 42 50 42 42 | 6c 6f 63 6b 0d 10 72 0b |ar_GBPBB|lock..r.|
|00003570| 45 51 55 42 20 20 30 0d | 10 7c 22 20 20 20 20 20 |EQUB 0.|.|" |
|00003580| 20 2e 44 69 72 56 61 72 | 5f 47 42 50 42 42 6c 6f | .DirVar|_GBPBBlo|
|00003590| 63 6b 5f 4c 65 6e 67 74 | 68 0d 10 86 0b 45 51 55 |ck_Lengt|h....EQU|
|000035a0| 42 20 20 30 0d 10 90 20 | 20 20 20 20 20 20 2e 44 |B 0... | .D|
|000035b0| 69 72 56 61 72 5f 47 42 | 50 42 42 6c 6f 63 6b 5f |irVar_GB|PBBlock_|
|000035c0| 4e 61 6d 65 0d 10 9a 1b | 45 51 55 53 20 20 c4 32 |Name....|EQUS .2|
|000035d0| 30 2c bd 30 29 20 20 20 | 20 3b 20 6e 61 6d 65 0d |0,.0) | ; name.|
|000035e0| 10 a4 0b 45 51 55 42 20 | 20 30 0d 10 ae 09 41 4c |...EQUB | 0....AL|
|000035f0| 49 47 4e 0d 10 b8 19 20 | 20 20 20 20 20 2e 56 61 |IGN.... | .Va|
|00003600| 72 43 6f 64 65 45 6e 64 | 5f 44 69 72 0d 10 c2 04 |rCodeEnd|_Dir....|
|00003610| 0d 10 cc 17 20 20 20 20 | 20 20 2e 56 61 72 4e 61 |.... | .VarNa|
|00003620| 6d 65 5f 44 69 73 63 0d | 10 d6 19 a4 73 74 72 7a |me_Disc.|....strz|
|00003630| 61 28 56 61 72 4e 61 6d | 65 5f 44 69 73 63 24 29 |a(VarNam|e_Disc$)|
|00003640| 0d 10 e0 04 0d 10 ea 17 | 20 20 20 20 20 20 2e 56 |........| .V|
|00003650| 61 72 43 6f 64 65 5f 44 | 69 73 63 0d 10 f4 31 4d |arCode_D|isc...1M|
|00003660| 4f 56 53 20 20 70 63 2c | 6c 72 20 20 20 20 20 20 |OVS pc,|lr |
|00003670| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 3b 20 6e | | ; n|
|00003680| 6f 20 77 72 69 74 65 20 | 68 65 72 65 0d 10 fe 1a |o write |here....|
|00003690| 53 54 4d 46 44 20 28 73 | 70 29 21 2c 7b 52 33 2d |STMFD (s|p)!,{R3-|
|000036a0| 52 34 2c 6c 72 7d 0d 11 | 08 2d 4d 4f 56 20 20 20 |R4,lr}..|.-MOV |
|000036b0| 4f 53 5f 47 42 50 42 5f | 41 63 74 69 6f 6e 2c 23 |OS_GBPB_|Action,#|
|000036c0| 47 42 50 42 41 63 74 69 | 6f 6e 5f 52 65 61 64 44 |GBPBActi|on_ReadD|
|000036d0| 69 73 63 0d 11 12 2f 41 | 44 52 20 20 20 4f 53 5f |isc.../A|DR OS_|
|000036e0| 47 42 50 42 47 65 74 44 | 69 73 63 5f 44 61 74 61 |GBPBGetD|isc_Data|
|000036f0| 2c 44 69 73 63 56 61 72 | 5f 47 42 50 42 42 6c 6f |,DiscVar|_GBPBBlo|
|00003700| 63 6b 0d 11 1c 14 53 57 | 49 20 20 20 22 58 4f 53 |ck....SW|I "XOS|
|00003710| 5f 47 42 50 42 22 0d 11 | 26 1c 42 56 53 20 20 20 |_GBPB"..|&.BVS |
|00003720| 44 69 73 63 56 61 72 5f | 52 65 61 64 5f 45 72 72 |DiscVar_|Read_Err|
|00003730| 6f 72 0d 11 30 34 41 44 | 52 20 20 20 56 61 72 69 |or..04AD|R Vari|
|00003740| 61 62 6c 65 52 65 61 64 | 5f 56 61 6c 50 74 72 2c |ableRead|_ValPtr,|
|00003750| 44 69 73 63 56 61 72 5f | 47 42 50 42 42 6c 6f 63 |DiscVar_|GBPBBloc|
|00003760| 6b 5f 4e 61 6d 65 0d 11 | 3a 2f 4c 44 52 42 20 20 |k_Name..|:/LDRB |
|00003770| 56 61 72 69 61 62 6c 65 | 52 65 61 64 5f 56 61 6c |Variable|Read_Val|
|00003780| 4c 65 6e 2c 44 69 73 63 | 56 61 72 5f 47 42 50 42 |Len,Disc|Var_GBPB|
|00003790| 42 6c 6f 63 6b 0d 11 44 | 1b 4c 44 4d 46 44 20 28 |Block..D|.LDMFD (|
|000037a0| 73 70 29 21 2c 7b 52 33 | 2d 52 34 2c 70 63 7d 5e |sp)!,{R3|-R4,pc}^|
|000037b0| 0d 11 4e 1d 20 20 20 20 | 20 20 2e 44 69 73 63 56 |..N. | .DiscV|
|000037c0| 61 72 5f 52 65 61 64 5f | 45 72 72 6f 72 0d 11 58 |ar_Read_|Error..X|
|000037d0| 1a 41 44 52 20 20 20 52 | 30 2c 44 69 73 63 56 61 |.ADR R|0,DiscVa|
|000037e0| 72 5f 45 72 72 6f 72 0d | 11 62 17 4d 4f 56 20 20 |r_Error.|.b.MOV |
|000037f0| 20 52 32 2c 23 a9 28 45 | 72 72 6f 72 24 29 0d 11 | R2,#.(E|rror$)..|
|00003800| 6c 1a 4c 44 4d 46 44 20 | 28 73 70 29 21 2c 7b 52 |l.LDMFD |(sp)!,{R|
|00003810| 33 2d 52 34 2c 6c 72 7d | 0d 11 76 15 84 52 53 20 |3-R4,lr}|..v..RS |
|00003820| 20 70 63 2c 6c 72 2c 23 | 56 5f 42 69 74 0d 11 80 | pc,lr,#|V_Bit...|
|00003830| 18 20 20 20 20 20 20 2e | 44 69 73 63 56 61 72 5f |. .|DiscVar_|
|00003840| 45 72 72 6f 72 0d 11 8a | 12 a4 73 74 72 7a 61 28 |Error...|..strza(|
|00003850| 45 72 72 6f 72 24 29 0d | 11 94 1c 20 20 20 20 20 |Error$).|... |
|00003860| 20 2e 44 69 73 63 56 61 | 72 5f 47 42 50 42 42 6c | .DiscVa|r_GBPBBl|
|00003870| 6f 63 6b 0d 11 9e 0b 45 | 51 55 42 20 20 30 0d 11 |ock....E|QUB 0..|
|00003880| a8 21 20 20 20 20 20 20 | 2e 44 69 73 63 56 61 72 |.! |.DiscVar|
|00003890| 5f 47 42 50 42 42 6c 6f | 63 6b 5f 4e 61 6d 65 0d |_GBPBBlo|ck_Name.|
|000038a0| 11 b2 1b 45 51 55 53 20 | 20 c4 32 30 2c bd 30 29 |...EQUS | .20,.0)|
|000038b0| 20 20 20 20 3b 20 6e 61 | 6d 65 0d 11 bc 0b 45 51 | ; na|me....EQ|
|000038c0| 55 42 20 20 30 0d 11 c6 | 09 41 4c 49 47 4e 0d 11 |UB 0...|.ALIGN..|
|000038d0| d0 1a 20 20 20 20 20 20 | 2e 56 61 72 43 6f 64 65 |.. |.VarCode|
|000038e0| 45 6e 64 5f 44 69 73 63 | 0d 11 da 04 0d 11 e4 17 |End_Disc|........|
|000038f0| 20 20 20 20 20 20 2e 56 | 61 72 4e 61 6d 65 5f 4e | .V|arName_N|
|00003900| 61 6d 65 0d 11 ee 19 a4 | 73 74 72 7a 61 28 56 61 |ame.....|strza(Va|
|00003910| 72 4e 61 6d 65 5f 4e 61 | 6d 65 24 29 0d 11 f8 04 |rName_Na|me$)....|
|00003920| 0d 12 02 17 20 20 20 20 | 20 20 2e 56 61 72 43 6f |.... | .VarCo|
|00003930| 64 65 5f 4e 61 6d 65 0d | 12 0c 17 42 20 20 20 20 |de_Name.|...B |
|00003940| 20 4e 61 6d 65 56 61 72 | 5f 57 72 69 74 65 0d 12 | NameVar|_Write..|
|00003950| 16 1d 53 54 4d 46 44 20 | 28 73 70 29 21 2c 7b 52 |..STMFD |(sp)!,{R|
|00003960| 31 2c 52 33 2d 52 34 2c | 6c 72 7d 0d 12 20 2c 53 |1,R3-R4,|lr}.. ,S|
|00003970| 57 49 20 20 20 53 57 49 | 5f 43 68 75 6e 6b 42 61 |WI SWI|_ChunkBa|
|00003980| 73 65 2b 53 57 49 5f 52 | 65 61 64 46 53 46 6c 61 |se+SWI_R|eadFSFla|
|00003990| 67 2b 58 5f 42 69 74 0d | 12 2a 3f 4d 4f 56 20 20 |g+X_Bit.|.*?MOV |
|000039a0| 20 52 31 31 2c 52 30 20 | 20 20 20 20 20 20 20 20 | R11,R0 | |
|000039b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000039c0| 20 20 20 3b 20 6f 73 20 | 76 65 72 73 69 6f 6e 20 | ; os |version |
|000039d0| 69 6e 20 52 31 31 0d 12 | 34 20 42 43 53 20 20 20 |in R11..|4 BCS |
|000039e0| 4e 61 6d 65 56 61 72 5f | 52 65 61 64 5f 55 6e 63 |NameVar_|Read_Unc|
|000039f0| 68 61 6e 67 65 64 0d 12 | 3e 31 4d 4f 56 20 20 20 |hanged..|>1MOV |
|00003a00| 4f 53 5f 41 72 67 73 5f | 41 63 74 69 6f 6e 2c 23 |OS_Args_|Action,#|
|00003a10| 41 72 67 73 41 63 74 69 | 6f 6e 5f 52 65 61 64 46 |ArgsActi|on_ReadF|
|00003a20| 53 4e 75 6d 62 65 72 0d | 12 48 1a 4d 4f 56 20 20 |SNumber.|.H.MOV |
|00003a30| 20 4f 53 5f 41 72 67 73 | 30 5f 44 61 74 61 2c 23 | OS_Args|0_Data,#|
|00003a40| 30 0d 12 52 14 53 57 49 | 20 20 20 22 58 4f 53 5f |0..R.SWI| "XOS_|
|00003a50| 41 72 67 73 22 0d 12 5c | 1c 42 56 53 20 20 20 4e |Args"..\|.BVS N|
|00003a60| 61 6d 65 56 61 72 5f 52 | 65 61 64 5f 45 72 72 6f |ameVar_R|ead_Erro|
|00003a70| 72 0d 12 66 10 43 4d 50 | 20 20 20 52 31 31 2c 23 |r..f.CMP| R11,#|
|00003a80| 36 0d 12 70 1c 42 48 53 | 20 20 20 4e 61 6d 65 56 |6..p.BHS| NameV|
|00003a90| 61 72 5f 4e 65 77 56 65 | 72 73 69 6f 6e 0d 12 7a |ar_NewVe|rsion..z|
|00003aa0| 37 4d 4f 56 20 20 20 4f | 53 5f 46 53 43 6f 6e 74 |7MOV O|S_FSCont|
|00003ab0| 72 6f 6c 5f 41 63 74 69 | 6f 6e 2c 23 46 53 43 6f |rol_Acti|on,#FSCo|
|00003ac0| 6e 74 72 6f 6c 41 63 74 | 69 6f 6e 5f 4c 6f 6f 6b |ntrolAct|ion_Look|
|00003ad0| 75 70 46 53 0d 12 84 30 | 4d 4f 56 20 20 20 4f 53 |upFS...0|MOV OS|
|00003ae0| 5f 46 53 43 6f 6e 74 72 | 6f 6c 31 33 5f 4e 75 6d |_FSContr|ol13_Num|
|00003af0| 62 65 72 2c 4f 53 5f 41 | 72 67 73 30 5f 52 4e 75 |ber,OS_A|rgs0_RNu|
|00003b00| 6d 62 65 72 0d 12 8e 43 | 4d 4f 56 20 20 20 52 32 |mber...C|MOV R2|
|00003b10| 2c 23 30 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |,#0 | |
|00003b20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 3b 20 6e | | ; n|
|00003b30| 65 65 64 65 64 20 66 6f | 72 20 46 53 20 6c 6f 6f |eeded fo|r FS loo|
|00003b40| 6b 75 70 20 28 3f 29 0d | 12 98 19 53 57 49 20 20 |kup (?).|...SWI |
|00003b50| 20 22 58 4f 53 5f 46 53 | 43 6f 6e 74 72 6f 6c 22 | "XOS_FS|Control"|
|00003b60| 0d 12 a2 1c 42 56 53 20 | 20 20 4e 61 6d 65 56 61 |....BVS | NameVa|
|00003b70| 72 5f 52 65 61 64 5f 45 | 72 72 6f 72 0d 12 ac 4b |r_Read_E|rror...K|
|00003b80| 41 44 44 20 20 20 52 32 | 2c 52 32 2c 23 26 33 64 |ADD R2|,R2,#&3d|
|00003b90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003ba0| 20 20 20 20 20 3b 20 6f | 66 66 73 65 74 20 66 72 | ; o|ffset fr|
|00003bb0| 6f 6d 20 46 53 20 63 6f | 6e 20 62 6c 6f 63 6b 20 |om FS co|n block |
|00003bc0| 74 6f 20 6e 61 6d 65 0d | 12 b6 1a 42 20 20 20 20 |to name.|...B |
|00003bd0| 20 4e 61 6d 65 56 61 72 | 5f 43 6f 75 6e 74 4c 65 | NameVar|_CountLe|
|00003be0| 6e 0d 12 c0 1d 20 20 20 | 20 20 20 2e 4e 61 6d 65 |n.... | .Name|
|00003bf0| 56 61 72 5f 4e 65 77 56 | 65 72 73 69 6f 6e 0d 12 |Var_NewV|ersion..|
|00003c00| ca 1d 4d 4f 56 20 20 20 | 52 31 2c 4f 53 5f 41 72 |..MOV |R1,OS_Ar|
|00003c10| 67 73 30 5f 52 4e 75 6d | 62 65 72 0d 12 d4 1b 41 |gs0_RNum|ber....A|
|00003c20| 44 52 20 20 20 52 32 2c | 4e 61 6d 65 56 61 72 5f |DR R2,|NameVar_|
|00003c30| 42 75 66 66 65 72 0d 12 | de 1c 4d 4f 56 20 20 20 |Buffer..|..MOV |
|00003c40| 52 33 2c 23 4e 61 6d 65 | 56 61 72 5f 42 75 66 4c |R3,#Name|Var_BufL|
|00003c50| 65 6e 0d 12 e8 39 4d 4f | 56 20 20 20 4f 53 5f 46 |en...9MO|V OS_F|
|00003c60| 53 43 6f 6e 74 72 6f 6c | 5f 41 63 74 69 6f 6e 2c |SControl|_Action,|
|00003c70| 23 46 53 43 6f 6e 74 72 | 6f 6c 41 63 74 69 6f 6e |#FSContr|olAction|
|00003c80| 5f 52 65 61 64 46 53 4e | 61 6d 65 0d 12 f2 19 53 |_ReadFSN|ame....S|
|00003c90| 57 49 20 20 20 22 58 4f | 53 5f 46 53 43 6f 6e 74 |WI "XO|S_FSCont|
|00003ca0| 72 6f 6c 22 0d 12 fc 1c | 42 56 53 20 20 20 4e 61 |rol"....|BVS Na|
|00003cb0| 6d 65 56 61 72 5f 52 65 | 61 64 5f 45 72 72 6f 72 |meVar_Re|ad_Error|
|00003cc0| 0d 13 06 1b 41 44 52 20 | 20 20 52 32 2c 4e 61 6d |....ADR | R2,Nam|
|00003cd0| 65 56 61 72 5f 42 75 66 | 66 65 72 0d 13 10 1b 20 |eVar_Buf|fer.... |
|00003ce0| 20 20 20 20 20 2e 4e 61 | 6d 65 56 61 72 5f 43 6f | .Na|meVar_Co|
|00003cf0| 75 6e 74 4c 65 6e 0d 13 | 1a 0f 4d 56 4e 20 20 20 |untLen..|..MVN |
|00003d00| 52 34 2c 23 30 0d 13 24 | 1c 20 20 20 20 20 20 2e |R4,#0..$|. .|
|00003d10| 4e 61 6d 65 56 61 72 5f | 43 6f 75 6e 74 4c 6f 6f |NameVar_|CountLoo|
|00003d20| 70 0d 13 2e 12 41 44 44 | 20 20 20 52 34 2c 52 34 |p....ADD| R4,R4|
|00003d30| 2c 23 31 0d 13 38 14 4c | 44 52 42 20 20 52 33 2c |,#1..8.L|DRB R3,|
|00003d40| 5b 52 32 2c 52 34 5d 0d | 13 42 0f 43 4d 50 20 20 |[R2,R4].|.B.CMP |
|00003d50| 20 52 33 2c 23 30 0d 13 | 4c 1b 42 4e 45 20 20 20 | R3,#0..|L.BNE |
|00003d60| 4e 61 6d 65 56 61 72 5f | 43 6f 75 6e 74 4c 6f 6f |NameVar_|CountLoo|
|00003d70| 70 0d 13 56 20 4d 4f 56 | 20 20 20 56 61 72 69 61 |p..V MOV| Varia|
|00003d80| 62 6c 65 52 65 61 64 5f | 56 61 6c 50 74 72 2c 52 |bleRead_|ValPtr,R|
|00003d90| 32 0d 13 60 20 4d 4f 56 | 20 20 20 56 61 72 69 61 |2..` MOV| Varia|
|00003da0| 62 6c 65 52 65 61 64 5f | 56 61 6c 4c 65 6e 2c 52 |bleRead_|ValLen,R|
|00003db0| 34 0d 13 6a 2d 53 54 52 | 20 20 20 56 61 72 69 61 |4..j-STR| Varia|
|00003dc0| 62 6c 65 52 65 61 64 5f | 56 61 6c 50 74 72 2c 4e |bleRead_|ValPtr,N|
|00003dd0| 61 6d 65 56 61 72 5f 4c | 61 73 74 50 74 72 0d 13 |ameVar_L|astPtr..|
|00003de0| 74 2d 53 54 52 20 20 20 | 56 61 72 69 61 62 6c 65 |t-STR |Variable|
|00003df0| 52 65 61 64 5f 56 61 6c | 4c 65 6e 2c 4e 61 6d 65 |Read_Val|Len,Name|
|00003e00| 56 61 72 5f 4c 61 73 74 | 4c 65 6e 0d 13 7e 16 42 |Var_Last|Len..~.B|
|00003e10| 20 20 20 20 20 4e 61 6d | 65 56 61 72 5f 44 6f 6e | Nam|eVar_Don|
|00003e20| 65 0d 13 88 21 20 20 20 | 20 20 20 2e 4e 61 6d 65 |e...! | .Name|
|00003e30| 56 61 72 5f 52 65 61 64 | 5f 55 6e 63 68 61 6e 67 |Var_Read|_Unchang|
|00003e40| 65 64 0d 13 92 2d 4c 44 | 52 20 20 20 56 61 72 69 |ed...-LD|R Vari|
|00003e50| 61 62 6c 65 52 65 61 64 | 5f 56 61 6c 50 74 72 2c |ableRead|_ValPtr,|
|00003e60| 4e 61 6d 65 56 61 72 5f | 4c 61 73 74 50 74 72 0d |NameVar_|LastPtr.|
|00003e70| 13 9c 2d 4c 44 52 20 20 | 20 56 61 72 69 61 62 6c |..-LDR | Variabl|
|00003e80| 65 52 65 61 64 5f 56 61 | 6c 4c 65 6e 2c 4e 61 6d |eRead_Va|lLen,Nam|
|00003e90| 65 56 61 72 5f 4c 61 73 | 74 4c 65 6e 0d 13 a6 17 |eVar_Las|tLen....|
|00003ea0| 20 20 20 20 20 20 2e 4e | 61 6d 65 56 61 72 5f 44 | .N|ameVar_D|
|00003eb0| 6f 6e 65 0d 13 b0 1e 4c | 44 4d 46 44 20 28 73 70 |one....L|DMFD (sp|
|00003ec0| 29 21 2c 7b 52 31 2c 52 | 33 2d 52 34 2c 70 63 7d |)!,{R1,R|3-R4,pc}|
|00003ed0| 5e 0d 13 ba 1d 20 20 20 | 20 20 20 2e 4e 61 6d 65 |^.... | .Name|
|00003ee0| 56 61 72 5f 52 65 61 64 | 5f 45 72 72 6f 72 0d 13 |Var_Read|_Error..|
|00003ef0| c4 1a 41 44 52 20 20 20 | 52 30 2c 4e 61 6d 65 56 |..ADR |R0,NameV|
|00003f00| 61 72 5f 45 72 72 6f 72 | 0d 13 ce 17 4d 4f 56 20 |ar_Error|....MOV |
|00003f10| 20 20 52 32 2c 23 a9 28 | 45 72 72 6f 72 24 29 0d | R2,#.(|Error$).|
|00003f20| 13 d8 1d 4c 44 4d 46 44 | 20 28 73 70 29 21 2c 7b |...LDMFD| (sp)!,{|
|00003f30| 52 31 2c 52 33 2d 52 34 | 2c 6c 72 7d 0d 13 e2 15 |R1,R3-R4|,lr}....|
|00003f40| 84 52 53 20 20 70 63 2c | 6c 72 2c 23 56 5f 42 69 |.RS pc,|lr,#V_Bi|
|00003f50| 74 0d 13 ec 18 20 20 20 | 20 20 20 2e 4e 61 6d 65 |t.... | .Name|
|00003f60| 56 61 72 5f 45 72 72 6f | 72 0d 13 f6 12 a4 73 74 |Var_Erro|r.....st|
|00003f70| 72 7a 61 28 45 72 72 6f | 72 24 29 0d 14 00 18 20 |rza(Erro|r$).... |
|00003f80| 20 20 20 20 20 2e 4e 61 | 6d 65 56 61 72 5f 57 72 | .Na|meVar_Wr|
|00003f90| 69 74 65 0d 14 0a 28 53 | 54 4d 46 44 20 28 73 70 |ite...(S|TMFD (sp|
|00003fa0| 29 21 2c 7b 4f 53 5f 46 | 53 43 6f 6e 74 72 6f 6c |)!,{OS_F|SControl|
|00003fb0| 5f 41 63 74 69 6f 6e 2c | 6c 72 7d 0d 14 14 37 4d |_Action,|lr}...7M|
|00003fc0| 4f 56 20 20 20 4f 53 5f | 46 53 43 6f 6e 74 72 6f |OV OS_|FSContro|
|00003fd0| 6c 5f 41 63 74 69 6f 6e | 2c 23 46 53 43 6f 6e 74 |l_Action|,#FSCont|
|00003fe0| 72 6f 6c 41 63 74 69 6f | 6e 5f 53 65 6c 65 63 74 |rolActio|n_Select|
|00003ff0| 46 53 0d 14 1e 4a 53 57 | 49 20 20 20 22 58 4f 53 |FS...JSW|I "XOS|
|00004000| 5f 46 53 43 6f 6e 74 72 | 6f 6c 22 20 20 20 20 20 |_FSContr|ol" |
|00004010| 20 20 20 20 20 20 20 20 | 20 20 20 20 3b 20 72 31 | | ; r1|
|00004020| 20 69 73 20 73 65 74 20 | 75 70 20 63 6f 72 72 65 | is set |up corre|
|00004030| 63 74 6c 79 20 61 6c 72 | 65 61 64 79 0d 14 28 1d |ctly alr|eady..(.|
|00004040| 42 56 53 20 20 20 4e 61 | 6d 65 56 61 72 5f 57 72 |BVS Na|meVar_Wr|
|00004050| 69 74 65 5f 45 72 72 6f | 72 0d 14 32 29 4c 44 4d |ite_Erro|r..2)LDM|
|00004060| 46 44 20 28 73 70 29 21 | 2c 7b 4f 53 5f 46 53 43 |FD (sp)!|,{OS_FSC|
|00004070| 6f 6e 74 72 6f 6c 5f 41 | 63 74 69 6f 6e 2c 70 63 |ontrol_A|ction,pc|
|00004080| 7d 5e 0d 14 3c 1e 20 20 | 20 20 20 20 2e 4e 61 6d |}^..<. | .Nam|
|00004090| 65 56 61 72 5f 57 72 69 | 74 65 5f 45 72 72 6f 72 |eVar_Wri|te_Error|
|000040a0| 0d 14 46 12 41 44 44 20 | 20 20 73 70 2c 73 70 2c |..F.ADD | sp,sp,|
|000040b0| 23 34 0d 14 50 21 4c 44 | 4d 46 44 20 28 73 70 29 |#4..P!LD|MFD (sp)|
|000040c0| 21 2c 7b 6c 72 7d 20 20 | 20 20 20 20 3b 20 6e 6f |!,{lr} | ; no|
|000040d0| 20 72 30 0d 14 5a 15 84 | 52 53 20 20 70 63 2c 6c | r0..Z..|RS pc,l|
|000040e0| 72 2c 23 56 5f 42 69 74 | 0d 14 64 1a 20 20 20 20 |r,#V_Bit|..d. |
|000040f0| 20 20 2e 4e 61 6d 65 56 | 61 72 5f 4c 61 73 74 50 | .NameV|ar_LastP|
|00004100| 74 72 0d 14 6e 0b 45 51 | 55 44 20 20 30 0d 14 78 |tr..n.EQ|UD 0..x|
|00004110| 1a 20 20 20 20 20 20 2e | 4e 61 6d 65 56 61 72 5f |. .|NameVar_|
|00004120| 4c 61 73 74 4c 65 6e 0d | 14 82 0b 45 51 55 44 20 |LastLen.|...EQUD |
|00004130| 20 30 0d 14 8c 19 20 20 | 20 20 20 20 2e 4e 61 6d | 0.... | .Nam|
|00004140| 65 56 61 72 5f 42 75 66 | 66 65 72 0d 14 96 1d 45 |eVar_Buf|fer....E|
|00004150| 51 55 53 20 20 c4 4e 61 | 6d 65 56 61 72 5f 42 75 |QUS .Na|meVar_Bu|
|00004160| 66 4c 65 6e 2c bd 30 29 | 0d 14 a0 1a 20 20 20 20 |fLen,.0)|.... |
|00004170| 20 20 2e 56 61 72 43 6f | 64 65 45 6e 64 5f 4e 61 | .VarCo|deEnd_Na|
|00004180| 6d 65 0d 14 aa 04 0d 14 | b4 17 20 20 20 20 20 20 |me......|.. |
|00004190| 2e 56 61 72 4e 61 6d 65 | 5f 50 61 74 68 0d 14 be |.VarName|_Path...|
|000041a0| 19 a4 73 74 72 7a 61 28 | 56 61 72 4e 61 6d 65 5f |..strza(|VarName_|
|000041b0| 50 61 74 68 24 29 0d 14 | c8 04 0d 14 d2 17 20 20 |Path$)..|...... |
|000041c0| 20 20 20 20 2e 56 61 72 | 43 6f 64 65 5f 50 61 74 | .Var|Code_Pat|
|000041d0| 68 0d 14 dc 34 4d 4f 56 | 53 20 20 70 63 2c 6c 72 |h...4MOV|S pc,lr|
|000041e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000041f0| 20 20 20 3b 20 63 61 6e | 27 74 20 77 72 69 74 65 | ; can|'t write|
|00004200| 20 74 68 69 73 0d 14 e6 | 1e 53 54 4d 46 44 20 28 | this...|.STMFD (|
|00004210| 73 70 29 21 2c 7b 52 31 | 2c 52 33 2d 52 31 32 2c |sp)!,{R1|,R3-R12,|
|00004220| 6c 72 7d 0d 14 f0 42 53 | 57 49 20 20 20 53 57 49 |lr}...BS|WI SWI|
|00004230| 5f 43 68 75 6e 6b 42 61 | 73 65 2b 53 57 49 5f 47 |_ChunkBa|se+SWI_G|
|00004240| 65 74 50 61 74 68 2b 58 | 5f 42 69 74 20 3b 20 72 |etPath+X|_Bit ; r|
|00004250| 65 74 75 72 6e 73 20 72 | 30 2c 20 72 32 20 63 6f |eturns r|0, r2 co|
|00004260| 72 72 65 63 74 0d 14 fa | 1c 42 56 53 20 20 20 50 |rrect...|.BVS P|
|00004270| 61 74 68 56 61 72 5f 52 | 65 61 64 5f 45 72 72 6f |athVar_R|ead_Erro|
|00004280| 72 0d 15 04 1f 4c 44 4d | 46 44 20 28 73 70 29 21 |r....LDM|FD (sp)!|
|00004290| 2c 7b 52 31 2c 52 33 2d | 52 31 32 2c 70 63 7d 5e |,{R1,R3-|R12,pc}^|
|000042a0| 0d 15 0e 1d 20 20 20 20 | 20 20 2e 50 61 74 68 56 |.... | .PathV|
|000042b0| 61 72 5f 52 65 61 64 5f | 45 72 72 6f 72 0d 15 18 |ar_Read_|Error...|
|000042c0| 1a 41 44 52 20 20 20 52 | 30 2c 50 61 74 68 56 61 |.ADR R|0,PathVa|
|000042d0| 72 5f 45 72 72 6f 72 0d | 15 22 17 4d 4f 56 20 20 |r_Error.|.".MOV |
|000042e0| 20 52 32 2c 23 a9 28 45 | 72 72 6f 72 24 29 0d 15 | R2,#.(E|rror$)..|
|000042f0| 2c 1e 4c 44 4d 46 44 20 | 28 73 70 29 21 2c 7b 52 |,.LDMFD |(sp)!,{R|
|00004300| 31 2c 52 33 2d 52 31 32 | 2c 6c 72 7d 0d 15 36 15 |1,R3-R12|,lr}..6.|
|00004310| 84 52 53 20 20 70 63 2c | 6c 72 2c 23 56 5f 42 69 |.RS pc,|lr,#V_Bi|
|00004320| 74 0d 15 40 18 20 20 20 | 20 20 20 2e 50 61 74 68 |t..@. | .Path|
|00004330| 56 61 72 5f 45 72 72 6f | 72 0d 15 4a 12 a4 73 74 |Var_Erro|r..J..st|
|00004340| 72 7a 61 28 45 72 72 6f | 72 24 29 0d 15 54 1a 20 |rza(Erro|r$)..T. |
|00004350| 20 20 20 20 20 2e 56 61 | 72 43 6f 64 65 45 6e 64 | .Va|rCodeEnd|
|00004360| 5f 50 61 74 68 0d 15 5e | 04 0d 15 68 1a 20 20 20 |_Path..^|...h. |
|00004370| 20 20 20 2e 4d 6f 64 75 | 6c 65 5f 46 69 6e 61 6c | .Modu|le_Final|
|00004380| 69 73 65 0d 15 72 81 53 | 54 4d 46 44 20 28 73 70 |ise..r.S|TMFD (sp|
|00004390| 29 21 2c 7b 4f 53 5f 52 | 65 6c 65 61 73 65 5f 56 |)!,{OS_R|elease_V|
|000043a0| 65 63 74 6f 72 2d 4f 53 | 5f 52 65 6c 65 61 73 65 |ector-OS|_Release|
|000043b0| 5f 56 61 6c 75 65 2c 4f | 53 5f 53 65 74 56 61 72 |_Value,O|S_SetVar|
|000043c0| 56 61 6c 5f 4e 61 6d 65 | 50 74 72 2d 4f 53 5f 53 |Val_Name|Ptr-OS_S|
|000043d0| 65 74 56 61 72 56 61 6c | 5f 54 79 70 65 2c 4f 53 |etVarVal|_Type,OS|
|000043e0| 5f 4d 6f 64 75 6c 65 5f | 41 63 74 69 6f 6e 2c 4f |_Module_|Action,O|
|000043f0| 53 5f 4d 6f 64 75 6c 65 | 46 72 65 65 5f 50 74 72 |S_Module|Free_Ptr|
|00004400| 2c 6c 72 7d 0d 15 7c 21 | 4d 4f 56 20 20 20 4f 53 |,lr}..|!|MOV OS|
|00004410| 5f 52 65 6c 65 61 73 65 | 5f 56 65 63 74 6f 72 2c |_Release|_Vector,|
|00004420| 23 46 53 43 56 0d 15 86 | 24 41 44 52 20 20 20 4f |#FSCV...|$ADR O|
|00004430| 53 5f 52 65 6c 65 61 73 | 65 5f 52 6f 75 74 69 6e |S_Releas|e_Routin|
|00004440| 65 2c 4e 65 77 5f 46 53 | 43 0d 15 90 29 4c 44 52 |e,New_FS|C...)LDR|
|00004450| 20 20 20 4f 53 5f 52 65 | 6c 65 61 73 65 5f 56 61 | OS_Re|lease_Va|
|00004460| 6c 75 65 2c 5b 4d 6f 64 | 75 6c 65 5f 50 57 6f 72 |lue,[Mod|ule_PWor|
|00004470| 64 5d 0d 15 9a 17 53 57 | 49 20 20 20 22 58 4f 53 |d]....SW|I "XOS|
|00004480| 5f 52 65 6c 65 61 73 65 | 22 0d 15 a4 18 42 56 53 |_Release|"....BVS|
|00004490| 20 20 20 46 69 6e 61 6c | 69 73 65 5f 45 72 72 6f | Final|ise_Erro|
|000044a0| 72 0d 15 ae 2d 4d 4f 56 | 20 20 20 4f 53 5f 4d 6f |r...-MOV| OS_Mo|
|000044b0| 64 75 6c 65 5f 41 63 74 | 69 6f 6e 2c 23 4d 6f 64 |dule_Act|ion,#Mod|
|000044c0| 75 6c 65 41 63 74 69 6f | 6e 5f 46 72 65 65 0d 15 |uleActio|n_Free..|
|000044d0| b8 2a 4c 44 52 20 20 20 | 4f 53 5f 4d 6f 64 75 6c |.*LDR |OS_Modul|
|000044e0| 65 46 72 65 65 5f 50 74 | 72 2c 5b 4d 6f 64 75 6c |eFree_Pt|r,[Modul|
|000044f0| 65 5f 50 57 6f 72 64 5d | 0d 15 c2 16 53 57 49 20 |e_PWord]|....SWI |
|00004500| 20 20 22 58 4f 53 5f 4d | 6f 64 75 6c 65 22 0d 15 | "XOS_M|odule"..|
|00004510| cc 18 42 56 53 20 20 20 | 46 69 6e 61 6c 69 73 65 |..BVS |Finalise|
|00004520| 5f 45 72 72 6f 72 0d 15 | d6 2a 41 44 52 20 20 20 |_Error..|.*ADR |
|00004530| 4f 53 5f 53 65 74 56 61 | 72 56 61 6c 5f 4e 61 6d |OS_SetVa|rVal_Nam|
|00004540| 65 50 74 72 2c 56 61 72 | 4e 61 6d 65 5f 44 69 72 |ePtr,Var|Name_Dir|
|00004550| 0d 15 e0 3d 4d 56 4e 20 | 20 20 4f 53 5f 53 65 74 |...=MVN | OS_Set|
|00004560| 56 61 72 56 61 6c 5f 56 | 61 6c 4c 65 6e 2c 23 30 |VarVal_V|alLen,#0|
|00004570| 20 20 20 20 20 20 20 20 | 20 20 20 20 3b 20 64 65 | | ; de|
|00004580| 6c 65 74 65 20 76 61 72 | 69 61 62 6c 65 0d 15 ea |lete var|iable...|
|00004590| 29 4d 4f 56 20 20 20 4f | 53 5f 53 65 74 56 61 72 |)MOV O|S_SetVar|
|000045a0| 56 61 6c 5f 54 79 70 65 | 2c 23 56 61 72 54 79 70 |Val_Type|,#VarTyp|
|000045b0| 65 5f 43 6f 64 65 0d 15 | f4 23 4d 4f 56 20 20 20 |e_Code..|.#MOV |
|000045c0| 4f 53 5f 53 65 74 56 61 | 72 56 61 6c 5f 4e 61 6d |OS_SetVa|rVal_Nam|
|000045d0| 65 49 6e 64 65 78 2c 23 | 30 0d 15 fe 19 53 57 49 |eIndex,#|0....SWI|
|000045e0| 20 20 20 22 58 4f 53 5f | 53 65 74 56 61 72 56 61 | "XOS_|SetVarVa|
|000045f0| 6c 22 0d 16 08 18 42 56 | 53 20 20 20 46 69 6e 61 |l"....BV|S Fina|
|00004600| 6c 69 73 65 5f 45 72 72 | 6f 72 0d 16 12 2b 41 44 |lise_Err|or...+AD|
|00004610| 52 20 20 20 4f 53 5f 53 | 65 74 56 61 72 56 61 6c |R OS_S|etVarVal|
|00004620| 5f 4e 61 6d 65 50 74 72 | 2c 56 61 72 4e 61 6d 65 |_NamePtr|,VarName|
|00004630| 5f 50 61 74 68 0d 16 1c | 20 4d 56 4e 20 20 20 4f |_Path...| MVN O|
|00004640| 53 5f 53 65 74 56 61 72 | 56 61 6c 5f 56 61 6c 4c |S_SetVar|Val_ValL|
|00004650| 65 6e 2c 23 30 0d 16 26 | 29 4d 4f 56 20 20 20 4f |en,#0..&|)MOV O|
|00004660| 53 5f 53 65 74 56 61 72 | 56 61 6c 5f 54 79 70 65 |S_SetVar|Val_Type|
|00004670| 2c 23 56 61 72 54 79 70 | 65 5f 43 6f 64 65 0d 16 |,#VarTyp|e_Code..|
|00004680| 30 23 4d 4f 56 20 20 20 | 4f 53 5f 53 65 74 56 61 |0#MOV |OS_SetVa|
|00004690| 72 56 61 6c 5f 4e 61 6d | 65 49 6e 64 65 78 2c 23 |rVal_Nam|eIndex,#|
|000046a0| 30 0d 16 3a 19 53 57 49 | 20 20 20 22 58 4f 53 5f |0..:.SWI| "XOS_|
|000046b0| 53 65 74 56 61 72 56 61 | 6c 22 0d 16 44 18 42 56 |SetVarVa|l"..D.BV|
|000046c0| 53 20 20 20 46 69 6e 61 | 6c 69 73 65 5f 45 72 72 |S Fina|lise_Err|
|000046d0| 6f 72 0d 16 4e 2b 41 44 | 52 20 20 20 4f 53 5f 53 |or..N+AD|R OS_S|
|000046e0| 65 74 56 61 72 56 61 6c | 5f 4e 61 6d 65 50 74 72 |etVarVal|_NamePtr|
|000046f0| 2c 56 61 72 4e 61 6d 65 | 5f 4e 61 6d 65 0d 16 58 |,VarName|_Name..X|
|00004700| 20 4d 56 4e 20 20 20 4f | 53 5f 53 65 74 56 61 72 | MVN O|S_SetVar|
|00004710| 56 61 6c 5f 56 61 6c 4c | 65 6e 2c 23 30 0d 16 62 |Val_ValL|en,#0..b|
|00004720| 29 4d 4f 56 20 20 20 4f | 53 5f 53 65 74 56 61 72 |)MOV O|S_SetVar|
|00004730| 56 61 6c 5f 54 79 70 65 | 2c 23 56 61 72 54 79 70 |Val_Type|,#VarTyp|
|00004740| 65 5f 43 6f 64 65 0d 16 | 6c 23 4d 4f 56 20 20 20 |e_Code..|l#MOV |
|00004750| 4f 53 5f 53 65 74 56 61 | 72 56 61 6c 5f 4e 61 6d |OS_SetVa|rVal_Nam|
|00004760| 65 49 6e 64 65 78 2c 23 | 30 0d 16 76 19 53 57 49 |eIndex,#|0..v.SWI|
|00004770| 20 20 20 22 58 4f 53 5f | 53 65 74 56 61 72 56 61 | "XOS_|SetVarVa|
|00004780| 6c 22 0d 16 80 18 42 56 | 53 20 20 20 46 69 6e 61 |l"....BV|S Fina|
|00004790| 6c 69 73 65 5f 45 72 72 | 6f 72 0d 16 8a 2b 41 44 |lise_Err|or...+AD|
|000047a0| 52 20 20 20 4f 53 5f 53 | 65 74 56 61 72 56 61 6c |R OS_S|etVarVal|
|000047b0| 5f 4e 61 6d 65 50 74 72 | 2c 56 61 72 4e 61 6d 65 |_NamePtr|,VarName|
|000047c0| 5f 44 69 73 63 0d 16 94 | 20 4d 56 4e 20 20 20 4f |_Disc...| MVN O|
|000047d0| 53 5f 53 65 74 56 61 72 | 56 61 6c 5f 56 61 6c 4c |S_SetVar|Val_ValL|
|000047e0| 65 6e 2c 23 30 0d 16 9e | 29 4d 4f 56 20 20 20 4f |en,#0...|)MOV O|
|000047f0| 53 5f 53 65 74 56 61 72 | 56 61 6c 5f 54 79 70 65 |S_SetVar|Val_Type|
|00004800| 2c 23 56 61 72 54 79 70 | 65 5f 43 6f 64 65 0d 16 |,#VarTyp|e_Code..|
|00004810| a8 23 4d 4f 56 20 20 20 | 4f 53 5f 53 65 74 56 61 |.#MOV |OS_SetVa|
|00004820| 72 56 61 6c 5f 4e 61 6d | 65 49 6e 64 65 78 2c 23 |rVal_Nam|eIndex,#|
|00004830| 30 0d 16 b2 19 53 57 49 | 20 20 20 22 58 4f 53 5f |0....SWI| "XOS_|
|00004840| 53 65 74 56 61 72 56 61 | 6c 22 0d 16 bc 18 42 56 |SetVarVa|l"....BV|
|00004850| 53 20 20 20 46 69 6e 61 | 6c 69 73 65 5f 45 72 72 |S Fina|lise_Err|
|00004860| 6f 72 0d 16 c6 2b 41 44 | 52 20 20 20 4f 53 5f 53 |or...+AD|R OS_S|
|00004870| 65 74 56 61 72 56 61 6c | 5f 4e 61 6d 65 50 74 72 |etVarVal|_NamePtr|
|00004880| 2c 56 61 72 4e 61 6d 65 | 5f 46 75 6c 6c 0d 16 d0 |,VarName|_Full...|
|00004890| 20 4d 56 4e 20 20 20 4f | 53 5f 53 65 74 56 61 72 | MVN O|S_SetVar|
|000048a0| 56 61 6c 5f 56 61 6c 4c | 65 6e 2c 23 30 0d 16 da |Val_ValL|en,#0...|
|000048b0| 23 4d 4f 56 20 20 20 4f | 53 5f 53 65 74 56 61 72 |#MOV O|S_SetVar|
|000048c0| 56 61 6c 5f 4e 61 6d 65 | 49 6e 64 65 78 2c 23 30 |Val_Name|Index,#0|
|000048d0| 0d 16 e4 19 53 57 49 20 | 20 20 22 58 4f 53 5f 53 |....SWI | "XOS_S|
|000048e0| 65 74 56 61 72 56 61 6c | 22 0d 16 ee 18 42 56 53 |etVarVal|"....BVS|
|000048f0| 20 20 20 46 69 6e 61 6c | 69 73 65 5f 45 72 72 6f | Final|ise_Erro|
|00004900| 72 0d 16 f8 82 4c 44 4d | 46 44 20 28 73 70 29 21 |r....LDM|FD (sp)!|
|00004910| 2c 7b 4f 53 5f 52 65 6c | 65 61 73 65 5f 56 65 63 |,{OS_Rel|ease_Vec|
|00004920| 74 6f 72 2d 4f 53 5f 52 | 65 6c 65 61 73 65 5f 56 |tor-OS_R|elease_V|
|00004930| 61 6c 75 65 2c 4f 53 5f | 53 65 74 56 61 72 56 61 |alue,OS_|SetVarVa|
|00004940| 6c 5f 4e 61 6d 65 50 74 | 72 2d 4f 53 5f 53 65 74 |l_NamePt|r-OS_Set|
|00004950| 56 61 72 56 61 6c 5f 54 | 79 70 65 2c 4f 53 5f 4d |VarVal_T|ype,OS_M|
|00004960| 6f 64 75 6c 65 5f 41 63 | 74 69 6f 6e 2c 4f 53 5f |odule_Ac|tion,OS_|
|00004970| 4d 6f 64 75 6c 65 46 72 | 65 65 5f 50 74 72 2c 70 |ModuleFr|ee_Ptr,p|
|00004980| 63 7d 5e 0d 17 02 19 20 | 20 20 20 20 20 2e 46 69 |c}^.... | .Fi|
|00004990| 6e 61 6c 69 73 65 5f 45 | 72 72 6f 72 0d 17 0c 12 |nalise_E|rror....|
|000049a0| 41 44 44 20 20 20 73 70 | 2c 73 70 2c 23 34 0d 17 |ADD sp|,sp,#4..|
|000049b0| 16 80 4c 44 4d 46 44 20 | 28 73 70 29 21 2c 7b 4f |..LDMFD |(sp)!,{O|
|000049c0| 53 5f 52 65 6c 65 61 73 | 65 5f 52 6f 75 74 69 6e |S_Releas|e_Routin|
|000049d0| 65 2d 4f 53 5f 52 65 6c | 65 61 73 65 5f 56 61 6c |e-OS_Rel|ease_Val|
|000049e0| 75 65 2c 4f 53 5f 53 65 | 74 56 61 72 56 61 6c 5f |ue,OS_Se|tVarVal_|
|000049f0| 56 61 6c 50 74 72 2d 4f | 53 5f 53 65 74 56 61 72 |ValPtr-O|S_SetVar|
|00004a00| 56 61 6c 5f 54 79 70 65 | 2c 4f 53 5f 4d 6f 64 75 |Val_Type|,OS_Modu|
|00004a10| 6c 65 46 72 65 65 5f 50 | 74 72 2c 6c 72 7d 20 20 |leFree_P|tr,lr} |
|00004a20| 20 20 20 20 20 20 20 3b | 20 6e 6f 20 72 30 0d 17 | ;| no r0..|
|00004a30| 20 15 84 52 53 20 20 70 | 63 2c 6c 72 2c 23 56 5f | ..RS p|c,lr,#V_|
|00004a40| 42 69 74 0d 17 2a 04 0d | 17 34 04 0d 17 3e 1e 20 |Bit..*..|.4...>. |
|00004a50| 20 20 20 20 20 2e 46 53 | 56 61 72 73 5f 52 65 61 | .FS|Vars_Rea|
|00004a60| 64 4e 61 6d 65 46 6c 61 | 67 0d 17 48 26 53 54 4d |dNameFla|g..H&STM|
|00004a70| 46 44 20 28 73 70 29 21 | 2c 7b 52 65 61 64 4e 61 |FD (sp)!|,{ReadNa|
|00004a80| 6d 65 46 6c 61 67 5f 54 | 65 6d 70 2c 6c 72 7d 0d |meFlag_T|emp,lr}.|
|00004a90| 17 52 25 4c 44 52 20 20 | 20 4d 6f 64 75 6c 65 5f |.R%LDR | Module_|
|00004aa0| 50 57 6f 72 64 2c 5b 4d | 6f 64 75 6c 65 5f 50 57 |PWord,[M|odule_PW|
|00004ab0| 6f 72 64 5d 0d 17 5c 35 | 4c 44 52 20 20 20 52 65 |ord]..\5|LDR Re|
|00004ac0| 61 64 4e 61 6d 65 46 6c | 61 67 5f 54 65 6d 70 2c |adNameFl|ag_Temp,|
|00004ad0| 5b 4d 6f 64 75 6c 65 5f | 50 57 6f 72 64 2c 23 57 |[Module_|PWord,#W|
|00004ae0| 73 5f 46 53 46 6c 61 67 | 5d 0d 17 66 1e 43 4d 50 |s_FSFlag|]..f.CMP|
|00004af0| 20 20 20 52 65 61 64 4e | 61 6d 65 46 6c 61 67 5f | ReadN|ameFlag_|
|00004b00| 54 65 6d 70 2c 23 30 0d | 17 70 1e 4d 4f 56 20 20 |Temp,#0.|.p.MOV |
|00004b10| 20 52 65 61 64 4e 61 6d | 65 46 6c 61 67 5f 54 65 | ReadNam|eFlag_Te|
|00004b20| 6d 70 2c 23 30 0d 17 7a | 35 53 54 52 20 20 20 52 |mp,#0..z|5STR R|
|00004b30| 65 61 64 4e 61 6d 65 46 | 6c 61 67 5f 54 65 6d 70 |eadNameF|lag_Temp|
|00004b40| 2c 5b 4d 6f 64 75 6c 65 | 5f 50 57 6f 72 64 2c 23 |,[Module|_PWord,#|
|00004b50| 57 73 5f 46 53 46 6c 61 | 67 5d 0d 17 84 4b 4c 44 |Ws_FSFla|g]...KLD|
|00004b60| 52 20 20 20 52 30 2c 5b | 4d 6f 64 75 6c 65 5f 50 |R R0,[|Module_P|
|00004b70| 57 6f 72 64 2c 23 57 73 | 5f 56 65 72 73 69 6f 6e |Word,#Ws|_Version|
|00004b80| 5d 20 3b 20 68 61 70 70 | 65 6e 73 20 74 6f 20 72 |] ; happ|ens to r|
|00004b90| 65 74 75 72 6e 20 4f 53 | 20 56 65 72 73 69 6f 6e |eturn OS| Version|
|00004ba0| 2c 20 74 6f 6f 0d 17 8e | 26 4c 44 4d 46 44 20 28 |, too...|&LDMFD (|
|00004bb0| 73 70 29 21 2c 7b 52 65 | 61 64 4e 61 6d 65 46 6c |sp)!,{Re|adNameFl|
|00004bc0| 61 67 5f 54 65 6d 70 2c | 6c 72 7d 0d 17 98 3e 84 |ag_Temp,|lr}...>.|
|00004bd0| 52 45 51 53 20 70 63 2c | 6c 72 2c 23 43 5f 42 69 |REQS pc,|lr,#C_Bi|
|00004be0| 74 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |t | |
|00004bf0| 20 20 3b 20 66 6c 61 67 | 20 77 61 73 20 30 20 3d | ; flag| was 0 =|
|00004c00| 3e 20 73 61 6d 65 20 46 | 53 0d 17 a2 32 20 20 20 |> same F|S...2 |
|00004c10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004c20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004c30| 20 3b 20 3d 3e 20 43 20 | 73 65 74 0d 17 ac 4c 42 | ; => C |set...LB|
|00004c40| 49 43 4e 45 53 20 70 63 | 2c 6c 72 2c 23 43 5f 42 |ICNES pc|,lr,#C_B|
|00004c50| 69 74 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |it | |
|00004c60| 20 20 20 3b 20 66 6c 61 | 67 20 77 61 73 6e 27 74 | ; fla|g wasn't|
|00004c70| 20 30 20 3d 3e 20 6e 65 | 77 20 66 73 20 3d 3e 20 | 0 => ne|w fs => |
|00004c80| 43 20 63 6c 65 61 72 0d | 17 b6 04 0d 17 c0 19 20 |C clear.|....... |
|00004c90| 20 20 20 20 20 2e 46 53 | 56 61 72 73 5f 47 65 74 | .FS|Vars_Get|
|00004ca0| 50 61 74 68 0d 17 ca 3f | 3b 20 53 57 49 20 72 6f |Path...?|; SWI ro|
|00004cb0| 75 74 69 6e 65 20 72 65 | 74 75 72 6e 69 6e 67 20 |utine re|turning |
|00004cc0| 70 74 72 20 74 6f 20 70 | 61 74 68 20 73 74 72 69 |ptr to p|ath stri|
|00004cd0| 6e 67 20 69 6e 20 52 30 | 2c 20 6c 65 6e 20 69 6e |ng in R0|, len in|
|00004ce0| 20 52 32 0d 17 d4 48 3b | 20 55 73 65 73 20 67 65 | R2...H;| Uses ge|
|00004cf0| 74 20 6c 69 62 20 70 61 | 74 68 20 74 77 69 63 65 |t lib pa|th twice|
|00004d00| 2d 20 6f 6e 63 65 20 74 | 6f 20 67 65 74 20 74 68 |- once t|o get th|
|00004d10| 65 20 6c 69 62 2c 20 74 | 68 65 6e 20 6f 6e 63 65 |e lib, t|hen once|
|00004d20| 20 28 6c 69 62 20 40 29 | 20 74 6f 0d 17 de 17 3b | (lib @)| to....;|
|00004d30| 20 67 65 74 20 74 68 65 | 20 63 73 64 20 70 61 74 | get the| csd pat|
|00004d40| 68 2e 0d 17 e8 53 53 54 | 4d 46 44 20 28 73 70 29 |h....SST|MFD (sp)|
|00004d50| 21 2c 7b 47 65 74 4c 69 | 62 50 61 74 68 5f 44 69 |!,{GetLi|bPath_Di|
|00004d60| 72 46 6c 61 67 2d 47 65 | 74 4c 69 62 50 61 74 68 |rFlag-Ge|tLibPath|
|00004d70| 5f 42 75 66 66 65 72 2c | 4d 6f 64 75 6c 65 5f 50 |_Buffer,|Module_P|
|00004d80| 57 6f 72 64 2c 47 65 74 | 50 61 74 68 5f 54 65 6d |Word,Get|Path_Tem|
|00004d90| 70 2c 6c 72 7d 0d 17 f2 | 25 4c 44 52 20 20 20 4d |p,lr}...|%LDR M|
|00004da0| 6f 64 75 6c 65 5f 50 57 | 6f 72 64 2c 5b 4d 6f 64 |odule_PW|ord,[Mod|
|00004db0| 75 6c 65 5f 50 57 6f 72 | 64 5d 0d 17 fc 1a 42 4c |ule_PWor|d]....BL|
|00004dc0| 20 20 20 20 50 75 73 68 | 53 63 72 61 74 63 68 53 | Push|ScratchS|
|00004dd0| 70 61 63 65 0d 18 06 38 | 41 44 44 20 20 20 4f 53 |pace...8|ADD OS|
|00004de0| 5f 47 42 50 42 47 65 74 | 44 69 72 5f 44 61 74 61 |_GBPBGet|Dir_Data|
|00004df0| 2c 4d 6f 64 75 6c 65 5f | 50 57 6f 72 64 2c 23 57 |,Module_|PWord,#W|
|00004e00| 73 5f 4e 61 6d 65 42 75 | 66 66 65 72 0d 18 10 2c |s_NameBu|ffer...,|
|00004e10| 4d 4f 56 20 20 20 4f 53 | 5f 47 42 50 42 5f 41 63 |MOV OS|_GBPB_Ac|
|00004e20| 74 69 6f 6e 2c 23 47 42 | 50 42 41 63 74 69 6f 6e |tion,#GB|PBAction|
|00004e30| 5f 52 65 61 64 44 69 72 | 0d 18 1a 14 53 57 49 20 |_ReadDir|....SWI |
|00004e40| 20 20 22 58 4f 53 5f 47 | 42 50 42 22 0d 18 24 1e | "XOS_G|BPB"..$.|
|00004e50| 42 56 53 20 20 20 46 53 | 56 61 72 73 5f 47 65 74 |BVS FS|Vars_Get|
|00004e60| 50 61 74 68 5f 45 72 72 | 6f 72 0d 18 2e 36 4c 44 |Path_Err|or...6LD|
|00004e70| 52 42 20 20 47 65 74 50 | 61 74 68 5f 54 65 6d 70 |RB GetP|ath_Temp|
|00004e80| 2c 5b 4d 6f 64 75 6c 65 | 5f 50 57 6f 72 64 2c 23 |,[Module|_PWord,#|
|00004e90| 57 73 5f 4e 61 6d 65 42 | 75 66 66 65 72 2b 32 5d |Ws_NameB|uffer+2]|
|00004ea0| 0d 18 38 1d 43 4d 50 20 | 20 20 47 65 74 50 61 74 |..8.CMP | GetPat|
|00004eb0| 68 5f 54 65 6d 70 2c 23 | 97 22 22 22 22 0d 18 42 |h_Temp,#|.""""..B|
|00004ec0| 1a 42 45 51 20 20 20 47 | 65 74 50 61 74 68 5f 44 |.BEQ G|etPath_D|
|00004ed0| 69 72 55 6e 73 65 74 0d | 18 4c 32 4c 44 52 20 20 |irUnset.|.L2LDR |
|00004ee0| 20 47 65 74 50 61 74 68 | 5f 54 65 6d 70 2c 5b 4d | GetPath|_Temp,[M|
|00004ef0| 6f 64 75 6c 65 5f 50 57 | 6f 72 64 2c 23 57 73 5f |odule_PW|ord,#Ws_|
|00004f00| 50 61 74 68 46 6c 61 67 | 5d 0d 18 56 19 43 4d 50 |PathFlag|]..V.CMP|
|00004f10| 20 20 20 47 65 74 50 61 | 74 68 5f 54 65 6d 70 2c | GetPa|th_Temp,|
|00004f20| 23 30 0d 18 60 22 42 45 | 51 20 20 20 46 53 56 61 |#0..`"BE|Q FSVa|
|00004f30| 72 73 5f 47 65 74 50 61 | 74 68 5f 55 6e 63 68 61 |rs_GetPa|th_Uncha|
|00004f40| 6e 67 65 64 0d 18 6a 31 | 4c 44 52 20 20 20 47 65 |nged..j1|LDR Ge|
|00004f50| 74 50 61 74 68 5f 54 65 | 6d 70 2c 5b 4d 6f 64 75 |tPath_Te|mp,[Modu|
|00004f60| 6c 65 5f 50 57 6f 72 64 | 2c 23 57 73 5f 4c 69 62 |le_PWord|,#Ws_Lib|
|00004f70| 46 6c 61 67 5d 0d 18 74 | 19 43 4d 50 20 20 20 47 |Flag]..t|.CMP G|
|00004f80| 65 74 50 61 74 68 5f 54 | 65 6d 70 2c 23 30 0d 18 |etPath_T|emp,#0..|
|00004f90| 7e 1f 42 45 51 20 20 20 | 46 53 56 61 72 73 5f 47 |~.BEQ |FSVars_G|
|00004fa0| 65 74 50 61 74 68 5f 47 | 6f 74 4c 69 62 0d 18 88 |etPath_G|otLib...|
|00004fb0| 36 41 44 44 20 20 20 47 | 65 74 4c 69 62 50 61 74 |6ADD G|etLibPat|
|00004fc0| 68 5f 42 75 66 66 65 72 | 2c 4d 6f 64 75 6c 65 5f |h_Buffer|,Module_|
|00004fd0| 50 57 6f 72 64 2c 23 57 | 73 5f 4c 69 62 42 75 66 |PWord,#W|s_LibBuf|
|00004fe0| 66 65 72 0d 18 92 27 4d | 4f 56 20 20 20 47 65 74 |fer...'M|OV Get|
|00004ff0| 4c 69 62 50 61 74 68 5f | 42 75 66 4c 65 6e 2c 23 |LibPath_|BufLen,#|
|00005000| 57 73 5f 42 75 66 53 69 | 7a 65 0d 18 9c 36 41 44 |Ws_BufSi|ze...6AD|
|00005010| 44 20 20 20 47 65 74 4c | 69 62 50 61 74 68 5f 42 |D GetL|ibPath_B|
|00005020| 75 66 50 74 72 2c 4d 6f | 64 75 6c 65 5f 50 57 6f |ufPtr,Mo|dule_PWo|
|00005030| 72 64 2c 23 57 73 5f 4c | 69 62 42 75 66 50 74 72 |rd,#Ws_L|ibBufPtr|
|00005040| 0d 18 a6 1f 4d 4f 56 20 | 20 20 47 65 74 4c 69 62 |....MOV | GetLib|
|00005050| 50 61 74 68 5f 44 69 72 | 46 6c 61 67 2c 23 31 0d |Path_Dir|Flag,#1.|
|00005060| 18 b0 14 42 4c 20 20 20 | 20 47 65 74 4c 69 62 50 |...BL | GetLibP|
|00005070| 61 74 68 0d 18 ba 1e 42 | 56 53 20 20 20 46 53 56 |ath....B|VS FSV|
|00005080| 61 72 73 5f 47 65 74 50 | 61 74 68 5f 45 72 72 6f |ars_GetP|ath_Erro|
|00005090| 72 0d 18 c4 20 20 20 20 | 20 20 20 2e 46 53 56 61 |r... | .FSVa|
|000050a0| 72 73 5f 47 65 74 50 61 | 74 68 5f 47 6f 74 4c 69 |rs_GetPa|th_GotLi|
|000050b0| 62 0d 18 ce 35 4d 4f 56 | 20 20 20 4f 53 5f 46 53 |b...5MOV| OS_FS|
|000050c0| 43 6f 6e 74 72 6f 6c 5f | 41 63 74 69 6f 6e 2c 23 |Control_|Action,#|
|000050d0| 46 53 43 6f 6e 74 72 6f | 6c 41 63 74 69 6f 6e 5f |FSContro|lAction_|
|000050e0| 53 65 74 4c 69 62 0d 18 | d8 38 41 44 52 20 20 20 |SetLib..|.8ADR |
|000050f0| 4f 53 5f 46 53 43 6f 6e | 74 72 6f 6c 53 65 74 4c |OS_FSCon|trolSetL|
|00005100| 69 62 5f 4e 61 6d 65 2c | 46 53 56 61 72 73 5f 47 |ib_Name,|FSVars_G|
|00005110| 65 74 50 61 74 68 5f 43 | 6f 6d 6d 61 6e 64 0d 18 |etPath_C|ommand..|
|00005120| e2 19 53 57 49 20 20 20 | 22 58 4f 53 5f 46 53 43 |..SWI |"XOS_FSC|
|00005130| 6f 6e 74 72 6f 6c 22 0d | 18 ec 1e 42 56 53 20 20 |ontrol".|...BVS |
|00005140| 20 46 53 56 61 72 73 5f | 47 65 74 50 61 74 68 5f | FSVars_|GetPath_|
|00005150| 45 72 72 6f 72 0d 18 f6 | 36 41 44 44 20 20 20 47 |Error...|6ADD G|
|00005160| 65 74 4c 69 62 50 61 74 | 68 5f 42 75 66 66 65 72 |etLibPat|h_Buffer|
|00005170| 2c 4d 6f 64 75 6c 65 5f | 50 57 6f 72 64 2c 23 57 |,Module_|PWord,#W|
|00005180| 73 5f 44 69 72 42 75 66 | 66 65 72 0d 19 00 27 4d |s_DirBuf|fer...'M|
|00005190| 4f 56 20 20 20 47 65 74 | 4c 69 62 50 61 74 68 5f |OV Get|LibPath_|
|000051a0| 42 75 66 4c 65 6e 2c 23 | 57 73 5f 42 75 66 53 69 |BufLen,#|Ws_BufSi|
|000051b0| 7a 65 0d 19 0a 36 41 44 | 44 20 20 20 47 65 74 4c |ze...6AD|D GetL|
|000051c0| 69 62 50 61 74 68 5f 42 | 75 66 50 74 72 2c 4d 6f |ibPath_B|ufPtr,Mo|
|000051d0| 64 75 6c 65 5f 50 57 6f | 72 64 2c 23 57 73 5f 44 |dule_PWo|rd,#Ws_D|
|000051e0| 69 72 42 75 66 50 74 72 | 0d 19 14 1f 4d 4f 56 20 |irBufPtr|....MOV |
|000051f0| 20 20 47 65 74 4c 69 62 | 50 61 74 68 5f 44 69 72 | GetLib|Path_Dir|
|00005200| 46 6c 61 67 2c 23 30 0d | 19 1e 3e 42 4c 20 20 20 |Flag,#0.|..>BL |
|00005210| 20 47 65 74 4c 69 62 50 | 61 74 68 20 20 20 20 20 | GetLibP|ath |
|00005220| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005230| 20 20 20 20 20 20 20 20 | 3b 20 67 65 74 20 74 68 | |; get th|
|00005240| 65 20 64 69 72 0d 19 28 | 1e 42 56 53 20 20 20 46 |e dir..(|.BVS F|
|00005250| 53 56 61 72 73 5f 47 65 | 74 50 61 74 68 5f 45 72 |SVars_Ge|tPath_Er|
|00005260| 72 6f 72 0d 19 32 19 4d | 4f 56 20 20 20 47 65 74 |ror..2.M|OV Get|
|00005270| 50 61 74 68 5f 54 65 6d | 70 2c 23 30 0d 19 3c 32 |Path_Tem|p,#0..<2|
|00005280| 53 54 52 20 20 20 47 65 | 74 50 61 74 68 5f 54 65 |STR Ge|tPath_Te|
|00005290| 6d 70 2c 5b 4d 6f 64 75 | 6c 65 5f 50 57 6f 72 64 |mp,[Modu|le_PWord|
|000052a0| 2c 23 57 73 5f 50 61 74 | 68 46 6c 61 67 5d 0d 19 |,#Ws_Pat|hFlag]..|
|000052b0| 46 23 20 20 20 20 20 20 | 2e 46 53 56 61 72 73 5f |F# |.FSVars_|
|000052c0| 47 65 74 50 61 74 68 5f | 55 6e 63 68 61 6e 67 65 |GetPath_|Unchange|
|000052d0| 64 0d 19 50 3a 4c 44 52 | 20 20 20 46 53 56 61 72 |d..P:LDR| FSVar|
|000052e0| 73 5f 47 65 74 50 61 74 | 68 5f 52 50 74 72 2c 5b |s_GetPat|h_RPtr,[|
|000052f0| 4d 6f 64 75 6c 65 5f 50 | 57 6f 72 64 2c 23 57 73 |Module_P|Word,#Ws|
|00005300| 5f 44 69 72 42 75 66 50 | 74 72 5d 0d 19 5a 4d 41 |_DirBufP|tr]..ZMA|
|00005310| 44 44 20 20 20 46 53 56 | 61 72 73 5f 47 65 74 50 |DD FSV|ars_GetP|
|00005320| 61 74 68 5f 52 4c 65 6e | 2c 4d 6f 64 75 6c 65 5f |ath_RLen|,Module_|
|00005330| 50 57 6f 72 64 2c 23 57 | 73 5f 44 69 72 42 75 66 |PWord,#W|s_DirBuf|
|00005340| 66 65 72 20 20 20 20 3b | 20 74 68 69 73 20 67 65 |fer ;| this ge|
|00005350| 74 20 73 74 72 6c 65 6e | 0d 19 64 45 53 55 42 20 |t strlen|..dESUB |
|00005360| 20 20 46 53 56 61 72 73 | 5f 47 65 74 50 61 74 68 | FSVars|_GetPath|
|00005370| 5f 52 4c 65 6e 2c 46 53 | 56 61 72 73 5f 47 65 74 |_RLen,FS|Vars_Get|
|00005380| 50 61 74 68 5f 52 50 74 | 72 2c 46 53 56 61 72 73 |Path_RPt|r,FSVars|
|00005390| 5f 47 65 74 50 61 74 68 | 5f 52 4c 65 6e 0d 19 6e |_GetPath|_RLen..n|
|000053a0| 36 52 53 42 20 20 20 46 | 53 56 61 72 73 5f 47 65 |6RSB F|SVars_Ge|
|000053b0| 74 50 61 74 68 5f 52 4c | 65 6e 2c 46 53 56 61 72 |tPath_RL|en,FSVar|
|000053c0| 73 5f 47 65 74 50 61 74 | 68 5f 52 4c 65 6e 2c 23 |s_GetPat|h_RLen,#|
|000053d0| 32 35 36 0d 19 78 20 20 | 20 20 20 20 20 2e 46 53 |256..x | .FS|
|000053e0| 56 61 72 73 5f 47 65 74 | 50 61 74 68 5f 52 65 74 |Vars_Get|Path_Ret|
|000053f0| 75 72 6e 0d 19 82 1a 42 | 4c 20 20 20 20 50 75 6c |urn....B|L Pul|
|00005400| 6c 53 63 72 61 74 63 68 | 53 70 61 63 65 0d 19 8c |lScratch|Space...|
|00005410| 60 4c 44 4d 46 44 20 28 | 73 70 29 21 2c 7b 47 65 |`LDMFD (|sp)!,{Ge|
|00005420| 74 4c 69 62 50 61 74 68 | 5f 44 69 72 46 6c 61 67 |tLibPath|_DirFlag|
|00005430| 2d 47 65 74 4c 69 62 50 | 61 74 68 5f 42 75 66 66 |-GetLibP|ath_Buff|
|00005440| 65 72 2c 4d 6f 64 75 6c | 65 5f 50 57 6f 72 64 2c |er,Modul|e_PWord,|
|00005450| 47 65 74 50 61 74 68 5f | 54 65 6d 70 2c 70 63 7d |GetPath_|Temp,pc}|
|00005460| 5e 20 3b 20 69 6e 65 66 | 66 20 70 6f 70 0d 19 96 |^ ; inef|f pop...|
|00005470| 1b 20 20 20 20 20 20 2e | 47 65 74 50 61 74 68 5f |. .|GetPath_|
|00005480| 44 69 72 55 6e 73 65 74 | 0d 19 a0 32 41 44 52 20 |DirUnset|...2ADR |
|00005490| 20 20 46 53 56 61 72 73 | 5f 47 65 74 50 61 74 68 | FSVars|_GetPath|
|000054a0| 5f 52 50 74 72 2c 46 53 | 56 61 72 73 5f 47 65 74 |_RPtr,FS|Vars_Get|
|000054b0| 50 61 74 68 5f 55 6e 73 | 65 74 0d 19 aa 28 4d 4f |Path_Uns|et...(MO|
|000054c0| 56 20 20 20 46 53 56 61 | 72 73 5f 47 65 74 50 61 |V FSVa|rs_GetPa|
|000054d0| 74 68 5f 52 4c 65 6e 2c | 23 a9 28 55 6e 73 65 74 |th_RLen,|#.(Unset|
|000054e0| 24 29 0d 19 b4 1f 42 20 | 20 20 20 20 46 53 56 61 |$)....B | FSVa|
|000054f0| 72 73 5f 47 65 74 50 61 | 74 68 5f 52 65 74 75 72 |rs_GetPa|th_Retur|
|00005500| 6e 0d 19 be 1f 20 20 20 | 20 20 20 2e 46 53 56 61 |n.... | .FSVa|
|00005510| 72 73 5f 47 65 74 50 61 | 74 68 5f 45 72 72 6f 72 |rs_GetPa|th_Error|
|00005520| 0d 19 c8 1a 42 4c 20 20 | 20 20 50 75 6c 6c 53 63 |....BL | PullSc|
|00005530| 72 61 74 63 68 53 70 61 | 63 65 0d 19 d2 5f 4c 44 |ratchSpa|ce..._LD|
|00005540| 4d 46 44 20 28 73 70 29 | 21 2c 7b 47 65 74 4c 69 |MFD (sp)|!,{GetLi|
|00005550| 62 50 61 74 68 5f 44 69 | 72 46 6c 61 67 2d 47 65 |bPath_Di|rFlag-Ge|
|00005560| 74 4c 69 62 50 61 74 68 | 5f 42 75 66 66 65 72 2c |tLibPath|_Buffer,|
|00005570| 4d 6f 64 75 6c 65 5f 50 | 57 6f 72 64 2c 47 65 74 |Module_P|Word,Get|
|00005580| 50 61 74 68 5f 54 65 6d | 70 2c 6c 72 7d 20 3b 20 |Path_Tem|p,lr} ; |
|00005590| 69 6e 65 66 66 20 70 6f | 70 0d 19 dc 15 84 52 53 |ineff po|p.....RS|
|000055a0| 20 20 70 63 2c 6c 72 2c | 23 56 5f 42 69 74 0d 19 | pc,lr,|#V_Bit..|
|000055b0| e6 21 20 20 20 20 20 20 | 2e 46 53 56 61 72 73 5f |.! |.FSVars_|
|000055c0| 47 65 74 50 61 74 68 5f | 43 6f 6d 6d 61 6e 64 0d |GetPath_|Command.|
|000055d0| 19 f0 0f a4 73 74 72 7a | 61 28 22 40 22 29 0d 19 |....strz|a("@")..|
|000055e0| fa 1f 20 20 20 20 20 20 | 2e 46 53 56 61 72 73 5f |.. |.FSVars_|
|000055f0| 47 65 74 50 61 74 68 5f | 55 6e 73 65 74 0d 1a 04 |GetPath_|Unset...|
|00005600| 13 a4 73 74 72 7a 61 28 | 55 6e 73 65 74 24 29 3b |..strza(|Unset$);|
|00005610| 0d 1a 0e 04 0d 1a 18 15 | 20 20 20 20 20 20 2e 47 |........| .G|
|00005620| 65 74 4c 69 62 50 61 74 | 68 0d 1a 22 23 3b 20 67 |etLibPat|h.."#; g|
|00005630| 65 74 73 20 74 68 65 20 | 6c 69 62 72 61 72 79 20 |ets the |library |
|00005640| 70 61 74 68 20 73 74 72 | 69 6e 67 2e 0d 1a 2c 4c |path str|ing...,L|
|00005650| 3b 20 68 65 72 65 20 69 | 74 20 69 73 20 2d 20 74 |; here i|t is - t|
|00005660| 68 65 20 63 65 6e 74 72 | 61 6c 20 72 6f 75 74 69 |he centr|al routi|
|00005670| 6e 65 2e 20 47 69 76 65 | 6e 20 61 20 62 75 66 66 |ne. Give|n a buff|
|00005680| 65 72 20 70 6f 69 6e 74 | 65 72 20 61 6e 64 20 61 |er point|er and a|
|00005690| 20 70 6f 69 6e 74 65 72 | 0d 1a 36 4c 3b 20 74 6f | pointer|..6L; to|
|000056a0| 20 61 20 62 75 66 66 65 | 72 20 70 6f 69 6e 74 65 | a buffe|r pointe|
|000056b0| 72 20 74 68 69 73 20 67 | 65 74 73 20 74 68 65 20 |r this g|ets the |
|000056c0| 70 61 74 68 20 61 6e 64 | 20 73 65 74 73 20 75 70 |path and| sets up|
|000056d0| 20 74 68 65 20 62 75 66 | 66 65 72 20 70 6f 69 6e | the buf|fer poin|
|000056e0| 74 65 72 2e 0d 1a 40 31 | 3b 20 54 68 65 20 72 65 |ter...@1|; The re|
|000056f0| 73 75 6c 74 69 6e 67 20 | 64 69 72 65 63 74 6f 72 |sulting |director|
|00005700| 79 20 77 69 6c 6c 20 62 | 65 20 24 20 72 65 6c 61 |y will b|e $ rela|
|00005710| 74 69 76 65 2e 0d 1a 4a | 37 3b 20 64 69 72 66 6c |tive...J|7; dirfl|
|00005720| 61 67 20 2d 20 30 20 3d | 3e 20 64 69 72 2c 20 31 |ag - 0 =|> dir, 1|
|00005730| 3d 3e 20 6c 69 62 20 28 | 70 61 73 73 65 64 20 74 |=> lib (|passed t|
|00005740| 6f 20 66 73 63 6f 6e 74 | 72 6f 6c 29 0d 1a 54 92 |o fscont|rol)..T.|
|00005750| 53 54 4d 46 44 20 28 73 | 70 29 21 2c 7b 47 65 74 |STMFD (s|p)!,{Get|
|00005760| 4c 69 62 50 61 74 68 5f | 44 69 72 46 6c 61 67 2d |LibPath_|DirFlag-|
|00005770| 47 65 74 4c 69 62 50 61 | 74 68 5f 42 75 66 66 65 |GetLibPa|th_Buffe|
|00005780| 72 2c 4f 53 5f 47 42 50 | 42 5f 41 63 74 69 6f 6e |r,OS_GBP|B_Action|
|00005790| 2c 4f 53 5f 47 42 50 42 | 47 65 74 4c 69 62 5f 44 |,OS_GBPB|GetLib_D|
|000057a0| 61 74 61 2c 4f 53 5f 43 | 4c 49 5f 50 74 72 2c 4f |ata,OS_C|LI_Ptr,O|
|000057b0| 53 5f 46 53 43 6f 6e 74 | 72 6f 6c 5f 41 63 74 69 |S_FSCont|rol_Acti|
|000057c0| 6f 6e 2c 4f 53 5f 46 53 | 43 6f 6e 74 72 6f 6c 53 |on,OS_FS|ControlS|
|000057d0| 65 74 4c 69 62 5f 4e 61 | 6d 65 2c 6c 72 7d 0d 1a |etLib_Na|me,lr}..|
|000057e0| 5e 1c 4d 4f 56 20 20 20 | 47 65 74 4c 69 62 50 61 |^.MOV |GetLibPa|
|000057f0| 74 68 5f 43 68 61 72 2c | 23 30 0d 1a 68 3f 53 54 |th_Char,|#0..h?ST|
|00005800| 52 42 20 20 47 65 74 4c | 69 62 50 61 74 68 5f 43 |RB GetL|ibPath_C|
|00005810| 68 61 72 2c 5b 47 65 74 | 4c 69 62 50 61 74 68 5f |har,[Get|LibPath_|
|00005820| 42 75 66 66 65 72 2c 47 | 65 74 4c 69 62 50 61 74 |Buffer,G|etLibPat|
|00005830| 68 5f 42 75 66 4c 65 6e | 5d 0d 1a 72 1d 20 20 20 |h_BufLen|]..r. |
|00005840| 20 20 20 2e 47 65 74 4c | 69 62 50 61 74 68 5f 44 | .GetL|ibPath_D|
|00005850| 69 72 4c 6f 6f 70 0d 1a | 7c 38 41 44 44 20 20 20 |irLoop..||8ADD |
|00005860| 4f 53 5f 47 42 50 42 47 | 65 74 4c 69 62 5f 44 61 |OS_GBPBG|etLib_Da|
|00005870| 74 61 2c 4d 6f 64 75 6c | 65 5f 50 57 6f 72 64 2c |ta,Modul|e_PWord,|
|00005880| 23 57 73 5f 4e 61 6d 65 | 42 75 66 66 65 72 0d 1a |#Ws_Name|Buffer..|
|00005890| 86 2c 4d 4f 56 20 20 20 | 4f 53 5f 47 42 50 42 5f |.,MOV |OS_GBPB_|
|000058a0| 41 63 74 69 6f 6e 2c 23 | 47 42 50 42 41 63 74 69 |Action,#|GBPBActi|
|000058b0| 6f 6e 5f 52 65 61 64 4c | 69 62 0d 1a 90 14 53 57 |on_ReadL|ib....SW|
|000058c0| 49 20 20 20 22 58 4f 53 | 5f 47 42 50 42 22 0d 1a |I "XOS|_GBPB"..|
|000058d0| 9a 1a 42 56 53 20 20 20 | 47 65 74 4c 69 62 50 61 |..BVS |GetLibPa|
|000058e0| 74 68 5f 45 72 72 6f 72 | 0d 1a a4 37 4c 44 52 42 |th_Error|...7LDRB|
|000058f0| 20 20 47 65 74 4c 69 62 | 50 61 74 68 5f 4e 61 6d | GetLib|Path_Nam|
|00005900| 65 4f 66 66 73 65 74 2c | 5b 4f 53 5f 47 42 50 42 |eOffset,|[OS_GBPB|
|00005910| 47 65 74 4c 69 62 5f 44 | 61 74 61 2c 23 31 5d 0d |GetLib_D|ata,#1].|
|00005920| 1a ae 32 41 44 44 20 20 | 20 4f 53 5f 47 42 50 42 |..2ADD | OS_GBPB|
|00005930| 47 65 74 4c 69 62 5f 44 | 61 74 61 2c 4f 53 5f 47 |GetLib_D|ata,OS_G|
|00005940| 42 50 42 47 65 74 4c 69 | 62 5f 44 61 74 61 2c 23 |BPBGetLi|b_Data,#|
|00005950| 32 0d 1a b8 38 53 55 42 | 53 20 20 47 65 74 4c 69 |2...8SUB|S GetLi|
|00005960| 62 50 61 74 68 5f 4e 61 | 6d 65 4f 66 66 73 65 74 |bPath_Na|meOffset|
|00005970| 2c 47 65 74 4c 69 62 50 | 61 74 68 5f 4e 61 6d 65 |,GetLibP|ath_Name|
|00005980| 4f 66 66 73 65 74 2c 23 | 31 0d 1a c2 1e 20 20 20 |Offset,#|1.... |
|00005990| 20 20 20 2e 47 65 74 4c | 69 62 50 61 74 68 5f 43 | .GetL|ibPath_C|
|000059a0| 6f 70 79 4c 6f 6f 70 0d | 1a cc 30 53 55 42 53 20 |opyLoop.|..0SUBS |
|000059b0| 20 47 65 74 4c 69 62 50 | 61 74 68 5f 42 75 66 4c | GetLibP|ath_BufL|
|000059c0| 65 6e 2c 47 65 74 4c 69 | 62 50 61 74 68 5f 42 75 |en,GetLi|bPath_Bu|
|000059d0| 66 4c 65 6e 2c 23 31 0d | 1a d6 1d 42 4d 49 20 20 |fLen,#1.|...BMI |
|000059e0| 20 47 65 74 4c 69 62 50 | 61 74 68 5f 4c 65 6e 45 | GetLibP|ath_LenE|
|000059f0| 72 72 6f 72 0d 1a e0 44 | 4c 44 52 42 20 20 47 65 |rror...D|LDRB Ge|
|00005a00| 74 4c 69 62 50 61 74 68 | 5f 43 68 61 72 2c 5b 4f |tLibPath|_Char,[O|
|00005a10| 53 5f 47 42 50 42 47 65 | 74 4c 69 62 5f 44 61 74 |S_GBPBGe|tLib_Dat|
|00005a20| 61 2c 47 65 74 4c 69 62 | 50 61 74 68 5f 4e 61 6d |a,GetLib|Path_Nam|
|00005a30| 65 4f 66 66 73 65 74 5d | 0d 1a ea 3f 53 54 52 42 |eOffset]|...?STRB|
|00005a40| 20 20 47 65 74 4c 69 62 | 50 61 74 68 5f 43 68 61 | GetLib|Path_Cha|
|00005a50| 72 2c 5b 47 65 74 4c 69 | 62 50 61 74 68 5f 42 75 |r,[GetLi|bPath_Bu|
|00005a60| 66 66 65 72 2c 47 65 74 | 4c 69 62 50 61 74 68 5f |ffer,Get|LibPath_|
|00005a70| 42 75 66 4c 65 6e 5d 0d | 1a f4 38 53 55 42 53 20 |BufLen].|..8SUBS |
|00005a80| 20 47 65 74 4c 69 62 50 | 61 74 68 5f 4e 61 6d 65 | GetLibP|ath_Name|
|00005a90| 4f 66 66 73 65 74 2c 47 | 65 74 4c 69 62 50 61 74 |Offset,G|etLibPat|
|00005aa0| 68 5f 4e 61 6d 65 4f 66 | 66 73 65 74 2c 23 31 0d |h_NameOf|fset,#1.|
|00005ab0| 1a fe 1d 42 50 4c 20 20 | 20 47 65 74 4c 69 62 50 |...BPL | GetLibP|
|00005ac0| 61 74 68 5f 43 6f 70 79 | 4c 6f 6f 70 0d 1b 08 1f |ath_Copy|Loop....|
|00005ad0| 43 4d 50 20 20 20 47 65 | 74 4c 69 62 50 61 74 68 |CMP Ge|tLibPath|
|00005ae0| 5f 43 68 61 72 2c 23 97 | 22 24 22 0d 1b 12 42 43 |_Char,#.|"$"...BC|
|00005af0| 4d 50 4e 45 20 47 65 74 | 4c 69 62 50 61 74 68 5f |MPNE Get|LibPath_|
|00005b00| 43 68 61 72 2c 23 97 22 | 22 22 22 20 20 20 20 20 |Char,#."|""" |
|00005b10| 20 20 20 3b 20 66 69 6e | 69 73 68 20 69 66 20 69 | ; fin|ish if i|
|00005b20| 74 20 77 61 73 20 22 75 | 6e 73 65 74 22 0d 1b 1c |t was "u|nset"...|
|00005b30| 1d 42 45 51 20 20 20 47 | 65 74 4c 69 62 50 61 74 |.BEQ G|etLibPat|
|00005b40| 68 5f 46 69 6e 69 73 68 | 65 64 0d 1b 26 1f 4d 4f |h_Finish|ed..&.MO|
|00005b50| 56 20 20 20 47 65 74 4c | 69 62 50 61 74 68 5f 43 |V GetL|ibPath_C|
|00005b60| 68 61 72 2c 23 97 22 2e | 22 0d 1b 30 30 53 55 42 |har,#.".|"..00SUB|
|00005b70| 53 20 20 47 65 74 4c 69 | 62 50 61 74 68 5f 42 75 |S GetLi|bPath_Bu|
|00005b80| 66 4c 65 6e 2c 47 65 74 | 4c 69 62 50 61 74 68 5f |fLen,Get|LibPath_|
|00005b90| 42 75 66 4c 65 6e 2c 23 | 31 0d 1b 3a 1d 42 4d 49 |BufLen,#|1..:.BMI|
|00005ba0| 20 20 20 47 65 74 4c 69 | 62 50 61 74 68 5f 4c 65 | GetLi|bPath_Le|
|00005bb0| 6e 45 72 72 6f 72 0d 1b | 44 3f 53 54 52 42 20 20 |nError..|D?STRB |
|00005bc0| 47 65 74 4c 69 62 50 61 | 74 68 5f 43 68 61 72 2c |GetLibPa|th_Char,|
|00005bd0| 5b 47 65 74 4c 69 62 50 | 61 74 68 5f 42 75 66 66 |[GetLibP|ath_Buff|
|00005be0| 65 72 2c 47 65 74 4c 69 | 62 50 61 74 68 5f 42 75 |er,GetLi|bPath_Bu|
|00005bf0| 66 4c 65 6e 5d 0d 1b 4e | 35 4d 4f 56 20 20 20 4f |fLen]..N|5MOV O|
|00005c00| 53 5f 46 53 43 6f 6e 74 | 72 6f 6c 5f 41 63 74 69 |S_FSCont|rol_Acti|
|00005c10| 6f 6e 2c 23 46 53 43 6f | 6e 74 72 6f 6c 41 63 74 |on,#FSCo|ntrolAct|
|00005c20| 69 6f 6e 5f 53 65 74 4c | 69 62 0d 1b 58 34 41 44 |ion_SetL|ib..X4AD|
|00005c30| 52 20 20 20 4f 53 5f 46 | 53 43 6f 6e 74 72 6f 6c |R OS_F|SControl|
|00005c40| 53 65 74 4c 69 62 5f 4e | 61 6d 65 2c 47 65 74 4c |SetLib_N|ame,GetL|
|00005c50| 69 62 50 61 74 68 5f 43 | 6f 6d 6d 61 6e 64 0d 1b |ibPath_C|ommand..|
|00005c60| 62 19 53 57 49 20 20 20 | 22 58 4f 53 5f 46 53 43 |b.SWI |"XOS_FSC|
|00005c70| 6f 6e 74 72 6f 6c 22 0d | 1b 6c 1a 42 56 53 20 20 |ontrol".|.l.BVS |
|00005c80| 20 47 65 74 4c 69 62 50 | 61 74 68 5f 45 72 72 6f | GetLibP|ath_Erro|
|00005c90| 72 0d 1b 76 1c 42 20 20 | 20 20 20 47 65 74 4c 69 |r..v.B | GetLi|
|00005ca0| 62 50 61 74 68 5f 44 69 | 72 4c 6f 6f 70 0d 1b 80 |bPath_Di|rLoop...|
|00005cb0| 39 20 20 20 20 20 20 2e | 47 65 74 4c 69 62 50 61 |9 .|GetLibPa|
|00005cc0| 74 68 5f 46 69 6e 69 73 | 68 65 64 20 20 20 20 20 |th_Finis|hed |
|00005cd0| 20 20 20 20 20 20 20 3b | 20 6e 6f 77 20 72 65 73 | ;| now res|
|00005ce0| 65 74 20 6c 69 62 0d 1b | 8a 3f 41 44 44 20 20 20 |et lib..|.?ADD |
|00005cf0| 47 65 74 4c 69 62 50 61 | 74 68 5f 42 75 66 66 65 |GetLibPa|th_Buffe|
|00005d00| 72 2c 47 65 74 4c 69 62 | 50 61 74 68 5f 42 75 66 |r,GetLib|Path_Buf|
|00005d10| 66 65 72 2c 47 65 74 4c | 69 62 50 61 74 68 5f 42 |fer,GetL|ibPath_B|
|00005d20| 75 66 4c 65 6e 0d 1b 94 | 2f 53 54 52 20 20 20 47 |ufLen...|/STR G|
|00005d30| 65 74 4c 69 62 50 61 74 | 68 5f 42 75 66 66 65 72 |etLibPat|h_Buffer|
|00005d40| 2c 5b 47 65 74 4c 69 62 | 50 61 74 68 5f 42 75 66 |,[GetLib|Path_Buf|
|00005d50| 50 74 72 5d 0d 1c 02 35 | 4d 4f 56 20 20 20 4f 53 |Ptr]...5|MOV OS|
|00005d60| 5f 46 53 43 6f 6e 74 72 | 6f 6c 5f 41 63 74 69 6f |_FSContr|ol_Actio|
|00005d70| 6e 2c 23 46 53 43 6f 6e | 74 72 6f 6c 41 63 74 69 |n,#FSCon|trolActi|
|00005d80| 6f 6e 5f 53 65 74 4c 69 | 62 0d 1c 0c 3e 4c 44 52 |on_SetLi|b...>LDR|
|00005d90| 20 20 20 4f 53 5f 46 53 | 43 6f 6e 74 72 6f 6c 53 | OS_FS|ControlS|
|00005da0| 65 74 4c 69 62 5f 4e 61 | 6d 65 2c 5b 4d 6f 64 75 |etLib_Na|me,[Modu|
|00005db0| 6c 65 5f 50 57 6f 72 64 | 2c 23 57 73 5f 4c 69 62 |le_PWord|,#Ws_Lib|
|00005dc0| 42 75 66 50 74 72 5d 0d | 1c 16 33 4c 44 52 42 20 |BufPtr].|..3LDRB |
|00005dd0| 20 47 65 74 4c 69 62 50 | 61 74 68 5f 43 68 61 72 | GetLibP|ath_Char|
|00005de0| 2c 5b 4f 53 5f 46 53 43 | 6f 6e 74 72 6f 6c 53 65 |,[OS_FSC|ontrolSe|
|00005df0| 74 4c 69 62 5f 4e 61 6d | 65 5d 0d 1c 20 3d 43 4d |tLib_Nam|e].. =CM|
|00005e00| 50 20 20 20 47 65 74 4c | 69 62 50 61 74 68 5f 43 |P GetL|ibPath_C|
|00005e10| 68 61 72 2c 23 97 22 22 | 22 22 20 20 20 20 20 20 |har,#.""|"" |
|00005e20| 20 20 3b 20 64 6f 20 6e | 6f 6c 69 62 20 69 66 20 | ; do n|olib if |
|00005e30| 22 75 6e 73 65 74 22 0d | 1c 2a 1c 42 45 51 20 20 |"unset".|.*.BEQ |
|00005e40| 20 47 65 74 4c 69 62 50 | 61 74 68 5f 44 6f 4e 6f | GetLibP|ath_DoNo|
|00005e50| 4c 69 62 0d 1c 34 19 53 | 57 49 20 20 20 22 58 4f |Lib..4.S|WI "XO|
|00005e60| 53 5f 46 53 43 6f 6e 74 | 72 6f 6c 22 0d 1c 3e 1a |S_FSCont|rol"..>.|
|00005e70| 42 56 53 20 20 20 47 65 | 74 4c 69 62 50 61 74 68 |BVS Ge|tLibPath|
|00005e80| 5f 45 72 72 6f 72 0d 1c | 48 1d 42 20 20 20 20 20 |_Error..|H.B |
|00005e90| 47 65 74 4c 69 62 50 61 | 74 68 5f 4c 69 62 52 65 |GetLibPa|th_LibRe|
|00005ea0| 73 65 74 0d 1c 52 1d 20 | 20 20 20 20 20 2e 47 65 |set..R. | .Ge|
|00005eb0| 74 4c 69 62 50 61 74 68 | 5f 44 6f 4e 6f 4c 69 62 |tLibPath|_DoNoLib|
|00005ec0| 0d 1c 5c 25 41 44 52 20 | 20 20 4f 53 5f 43 4c 49 |..\%ADR | OS_CLI|
|00005ed0| 5f 50 74 72 2c 47 65 74 | 4c 69 62 50 61 74 68 5f |_Ptr,Get|LibPath_|
|00005ee0| 4e 6f 4c 69 62 0d 1c 66 | 13 53 57 49 20 20 20 22 |NoLib..f|.SWI "|
|00005ef0| 58 4f 53 5f 43 4c 49 22 | 0d 1c 70 1a 42 56 53 20 |XOS_CLI"|..p.BVS |
|00005f00| 20 20 47 65 74 4c 69 62 | 50 61 74 68 5f 45 72 72 | GetLib|Path_Err|
|00005f10| 6f 72 0d 1c 7a 1e 20 20 | 20 20 20 20 2e 47 65 74 |or..z. | .Get|
|00005f20| 4c 69 62 50 61 74 68 5f | 4c 69 62 52 65 73 65 74 |LibPath_|LibReset|
|00005f30| 0d 1c 84 1c 4d 4f 56 20 | 20 20 47 65 74 4c 69 62 |....MOV | GetLib|
|00005f40| 50 61 74 68 5f 43 68 61 | 72 2c 23 30 0d 1c 8e 34 |Path_Cha|r,#0...4|
|00005f50| 53 54 52 20 20 20 47 65 | 74 4c 69 62 50 61 74 68 |STR Ge|tLibPath|
|00005f60| 5f 43 68 61 72 2c 5b 4d | 6f 64 75 6c 65 5f 50 57 |_Char,[M|odule_PW|
|00005f70| 6f 72 64 2c 23 57 73 5f | 4c 69 62 46 6c 61 67 5d |ord,#Ws_|LibFlag]|
|00005f80| 0d 1c 98 93 4c 44 4d 46 | 44 20 28 73 70 29 21 2c |....LDMF|D (sp)!,|
|00005f90| 7b 47 65 74 4c 69 62 50 | 61 74 68 5f 44 69 72 46 |{GetLibP|ath_DirF|
|00005fa0| 6c 61 67 2d 47 65 74 4c | 69 62 50 61 74 68 5f 42 |lag-GetL|ibPath_B|
|00005fb0| 75 66 66 65 72 2c 4f 53 | 5f 47 42 50 42 5f 41 63 |uffer,OS|_GBPB_Ac|
|00005fc0| 74 69 6f 6e 2c 4f 53 5f | 47 42 50 42 47 65 74 4c |tion,OS_|GBPBGetL|
|00005fd0| 69 62 5f 44 61 74 61 2c | 4f 53 5f 43 4c 49 5f 50 |ib_Data,|OS_CLI_P|
|00005fe0| 74 72 2c 4f 53 5f 46 53 | 43 6f 6e 74 72 6f 6c 5f |tr,OS_FS|Control_|
|00005ff0| 41 63 74 69 6f 6e 2c 4f | 53 5f 46 53 43 6f 6e 74 |Action,O|S_FSCont|
|00006000| 72 6f 6c 53 65 74 4c 69 | 62 5f 4e 61 6d 65 2c 70 |rolSetLi|b_Name,p|
|00006010| 63 7d 5e 0d 1c a2 1b 20 | 20 20 20 20 20 2e 47 65 |c}^.... | .Ge|
|00006020| 74 4c 69 62 50 61 74 68 | 5f 45 72 72 6f 72 0d 1c |tLibPath|_Error..|
|00006030| ac 12 41 44 44 20 20 20 | 73 70 2c 73 70 2c 23 34 |..ADD |sp,sp,#4|
|00006040| 0d 1c b6 64 4c 44 4d 46 | 44 20 28 73 70 29 21 2c |...dLDMF|D (sp)!,|
|00006050| 7b 47 65 74 4c 69 62 50 | 61 74 68 5f 44 69 72 46 |{GetLibP|ath_DirF|
|00006060| 6c 61 67 2d 47 65 74 4c | 69 62 50 61 74 68 5f 42 |lag-GetL|ibPath_B|
|00006070| 75 66 66 65 72 2c 4f 53 | 5f 47 42 50 42 47 65 74 |uffer,OS|_GBPBGet|
|00006080| 4c 69 62 5f 44 61 74 61 | 2c 4f 53 5f 46 53 43 6f |Lib_Data|,OS_FSCo|
|00006090| 6e 74 72 6f 6c 53 65 74 | 4c 69 62 5f 4e 61 6d 65 |ntrolSet|Lib_Name|
|000060a0| 2c 6c 72 7d 0d 1c c0 16 | 84 52 53 20 20 20 70 63 |,lr}....|.RS pc|
|000060b0| 2c 6c 72 2c 23 56 5f 42 | 69 74 0d 1c ca 1e 20 20 |,lr,#V_B|it.... |
|000060c0| 20 20 20 20 2e 47 65 74 | 4c 69 62 50 61 74 68 5f | .Get|LibPath_|
|000060d0| 4c 65 6e 45 72 72 6f 72 | 0d 1c d4 29 41 44 52 20 |LenError|...)ADR |
|000060e0| 20 20 45 72 72 6f 72 50 | 74 72 2c 47 65 74 4c 69 | ErrorP|tr,GetLi|
|000060f0| 62 50 61 74 68 45 72 72 | 6f 72 5f 4c 65 6e 67 74 |bPathErr|or_Lengt|
|00006100| 68 0d 1c de 1a 42 20 20 | 20 20 20 47 65 74 4c 69 |h....B | GetLi|
|00006110| 62 50 61 74 68 5f 45 72 | 72 6f 72 0d 1c e8 21 20 |bPath_Er|ror...! |
|00006120| 20 20 20 20 20 2e 47 65 | 74 4c 69 62 50 61 74 68 | .Ge|tLibPath|
|00006130| 45 72 72 6f 72 5f 4c 65 | 6e 67 74 68 0d 1c f2 4d |Error_Le|ngth...M|
|00006140| a4 65 72 72 6f 72 28 31 | 2c 22 41 20 70 61 74 68 |.error(1|,"A path|
|00006150| 6e 61 6d 65 20 69 73 20 | 6c 6f 6e 67 65 72 20 74 |name is |longer t|
|00006160| 68 61 6e 20 32 35 36 20 | 63 68 61 72 61 63 74 65 |han 256 |characte|
|00006170| 72 73 20 2d 20 75 6e 61 | 62 6c 65 20 74 6f 20 70 |rs - una|ble to p|
|00006180| 72 6f 63 65 73 73 2e 22 | 29 0d 1c fc 09 41 4c 49 |rocess."|)....ALI|
|00006190| 47 4e 0d 1d 06 1d 20 20 | 20 20 20 20 2e 47 65 74 |GN.... | .Get|
|000061a0| 4c 69 62 50 61 74 68 5f | 43 6f 6d 6d 61 6e 64 0d |LibPath_|Command.|
|000061b0| 1d 10 11 a4 73 74 72 7a | 61 28 22 25 2e 5e 22 29 |....strz|a("%.^")|
|000061c0| 0d 1d 1a 1b 20 20 20 20 | 20 20 2e 47 65 74 4c 69 |.... | .GetLi|
|000061d0| 62 50 61 74 68 5f 4e 6f | 4c 69 62 0d 1d 24 13 a4 |bPath_No|Lib..$..|
|000061e0| 73 74 72 7a 61 28 22 4e | 6f 4c 69 62 22 29 0d 1d |strza("N|oLib")..|
|000061f0| 2e 04 0d 1d 38 1b 20 20 | 20 20 20 20 2e 50 75 73 |....8. | .Pus|
|00006200| 68 53 63 72 61 74 63 68 | 53 70 61 63 65 0d 1d 42 |hScratch|Space..B|
|00006210| 3e 3b 20 70 61 74 63 68 | 20 74 6f 20 63 6f 70 65 |>; patch| to cope|
|00006220| 20 77 69 74 68 20 4f 53 | 20 42 75 67 20 69 6e 20 | with OS| Bug in |
|00006230| 41 72 74 68 75 72 20 31 | 2e 32 20 61 6e 64 20 52 |Arthur 1|.2 and R|
|00006240| 49 53 43 20 4f 53 20 32 | 2e 30 30 0d 1d 4c 35 3b |ISC OS 2|.00..L5;|
|00006250| 20 70 75 73 68 65 73 20 | 74 68 65 20 77 68 6f 6c | pushes |the whol|
|00006260| 65 20 6f 66 20 34 30 30 | 30 2d 37 46 46 46 20 74 |e of 400|0-7FFF t|
|00006270| 6f 20 61 6e 20 61 72 65 | 61 20 6f 66 20 52 4d 41 |o an are|a of RMA|
|00006280| 0d 1d 56 1b 53 54 4d 46 | 44 20 28 73 70 29 21 2c |..V.STMF|D (sp)!,|
|00006290| 7b 52 30 2d 52 31 32 2c | 6c 72 7d 0d 1d 60 18 53 |{R0-R12,|lr}..`.S|
|000062a0| 54 52 20 20 20 73 70 2c | 4f 6c 64 53 70 48 6f 6c |TR sp,|OldSpHol|
|000062b0| 64 65 72 0d 1d 6a 43 41 | 44 44 20 20 20 6c 72 2c |der..jCA|DD lr,|
|000062c0| 4d 6f 64 75 6c 65 5f 50 | 57 6f 72 64 2c 23 57 73 |Module_P|Word,#Ws|
|000062d0| 5f 53 74 6f 72 61 67 65 | 20 20 3b 20 6c 72 20 70 |_Storage| ; lr p|
|000062e0| 6f 69 6e 74 73 20 74 6f | 20 73 74 6f 72 61 67 65 |oints to| storage|
|000062f0| 20 62 6c 6f 63 6b 0d 1d | 74 33 4d 4f 56 20 20 20 | block..|t3MOV |
|00006300| 73 70 2c 23 26 34 30 30 | 30 20 20 20 20 20 20 20 |sp,#&400|0 |
|00006310| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 3b 20 77 | | ; w|
|00006320| 68 65 72 65 20 66 72 6f | 6d 0d 1d 7e 19 4c 44 52 |here fro|m..~.LDR|
|00006330| 20 20 20 52 31 32 2c 4c | 69 6d 69 74 48 6f 6c 64 | R12,L|imitHold|
|00006340| 65 72 0d 1d 88 20 20 20 | 20 20 20 20 2e 50 75 73 |er... | .Pus|
|00006350| 68 53 63 72 61 74 63 68 | 53 70 61 63 65 5f 4c 6f |hScratch|Space_Lo|
|00006360| 6f 70 0d 1d 92 49 4c 44 | 4d 49 41 20 28 73 70 29 |op...ILD|MIA (sp)|
|00006370| 21 2c 7b 52 30 2d 52 31 | 31 7d 20 20 20 20 20 20 |!,{R0-R1|1} |
|00006380| 20 20 20 20 20 20 20 20 | 20 3b 20 61 76 6f 69 64 | | ; avoid|
|00006390| 20 62 72 65 61 6b 69 6e | 67 20 70 69 70 65 6c 69 | breakin|g pipeli|
|000063a0| 6e 65 20 74 6f 6f 20 6d | 75 63 68 0d 1d 9c 18 53 |ne too m|uch....S|
|000063b0| 54 4d 49 41 20 28 6c 72 | 29 21 2c 7b 52 30 2d 52 |TMIA (lr|)!,{R0-R|
|000063c0| 31 31 7d 0d 1d a6 18 4c | 44 4d 49 41 20 28 73 70 |11}....L|DMIA (sp|
|000063d0| 29 21 2c 7b 52 30 2d 52 | 31 31 7d 0d 1d b0 18 53 |)!,{R0-R|11}....S|
|000063e0| 54 4d 49 41 20 28 6c 72 | 29 21 2c 7b 52 30 2d 52 |TMIA (lr|)!,{R0-R|
|000063f0| 31 31 7d 0d 1d ba 18 4c | 44 4d 49 41 20 28 73 70 |11}....L|DMIA (sp|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.