home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 289.lha / Resource_v3.20 / RS.macros < prev    next >
Unknown  |  1989-10-07  |  6.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
1% dexvert MovieShop Macros (other/movieShopMacros) ext Unsupported
100% file data default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| ba be f0 0d 00 00 00 00 | 4d 61 63 72 6f 20 65 78 |........|Macro ex|
|00000010| 61 6d 70 6c 65 73 20 20 | 20 20 20 20 20 20 20 20 |amples | |
|00000020| 00 00 00 14 00 00 07 70 | 44 69 73 61 73 73 65 6d |.......p|Disassem|
|00000030| 62 6c 65 20 41 52 50 20 | 27 53 74 61 63 6b 27 00 |ble ARP |'Stack'.|
|00000040| 00 3c 00 12 72 65 73 6f | 75 72 63 65 3a 63 2f 73 |.<..reso|urce:c/s|
|00000050| 74 61 63 6b 00 00 02 c9 | 00 34 00 1f 00 16 53 74 |tack....|.4....St|
|00000060| 61 72 74 20 65 78 65 63 | 75 74 69 6e 67 20 68 65 |art exec|uting he|
|00000070| 72 65 21 00 81 0a 00 0e | 00 1f 00 3c 41 52 50 20 |re!.....|...<ARP |
|00000080| 72 65 73 69 64 65 6e 74 | 20 6c 6f 6f 6b 73 20 66 |resident| looks f|
|00000090| 6f 72 20 74 68 69 73 20 | 74 6f 20 72 65 63 6f 67 |or this |to recog|
|000000a0| 6e 69 7a 65 20 6f 74 68 | 65 72 20 41 52 50 20 70 |nize oth|er ARP p|
|000000b0| 72 6f 67 72 61 6d 73 00 | 81 0a 00 13 00 1f 00 2a |rograms.|.......*|
|000000c0| 44 65 66 61 75 6c 74 20 | 73 74 61 63 6b 20 73 69 |Default |stack si|
|000000d0| 7a 65 20 75 73 65 64 20 | 62 79 20 41 52 50 20 22 |ze used |by ARP "|
|000000e0| 52 65 73 69 64 65 6e 74 | 22 00 82 0a 00 0e 81 0a |Resident|".......|
|000000f0| 00 06 00 0c 41 62 73 45 | 78 65 63 42 61 73 65 00 |....AbsE|xecBase.|
|00000100| 00 1f 00 1c 47 65 74 20 | 70 6f 69 6e 74 65 72 20 |....Get |pointer |
|00000110| 74 6f 20 65 78 65 63 20 | 6c 69 62 72 61 72 79 00 |to exec |library.|
|00000120| 81 0a 00 34 81 0a 00 5c | 00 1e 00 26 4d 69 6e 69 |...4...\|...&Mini|
|00000130| 6d 75 6d 20 76 65 72 73 | 69 6f 6e 20 6e 75 6d 62 |mum vers|ion numb|
|00000140| 65 72 20 6f 66 20 41 52 | 50 20 6c 69 62 72 61 72 |er of AR|P librar|
|00000150| 79 00 81 0a 00 8c 00 1e | 00 12 4f 70 65 6e 20 41 |y.......|..Open A|
|00000160| 52 50 20 6c 69 62 72 61 | 72 79 00 00 81 0a 00 1e |RP libra|ry......|
|00000170| 00 12 44 69 64 20 69 74 | 20 6f 70 65 6e 20 6f 6b |..Did it| open ok|
|00000180| 61 79 3f 00 81 0a 00 34 | 00 1e 00 16 62 72 61 6e |ay?....4|....bran|
|00000190| 63 68 20 69 66 20 6f 70 | 65 6e 65 64 20 6f 6b 61 |ch if op|ened oka|
|000001a0| 79 00 00 40 00 1d 00 0a | 41 52 50 4f 70 65 6e 65 |y..@....|ARPOpene|
|000001b0| 64 00 00 3f 81 0a 00 34 | 00 1f 00 42 54 68 65 20 |d..?...4|...BThe |
|000001c0| 66 6f 6c 6c 6f 77 69 6e | 67 20 69 73 20 6f 6e 6c |followin|g is onl|
|000001d0| 79 20 65 78 65 63 75 74 | 65 64 20 69 66 20 41 52 |y execut|ed if AR|
|000001e0| 50 20 6c 69 62 72 61 72 | 79 20 63 6f 75 6c 64 6e |P librar|y couldn|
|000001f0| 27 74 20 62 65 20 6f 70 | 65 6e 65 64 00 00 81 0a |'t be op|ened....|
|00000200| 00 8c 81 0a 00 1e 00 1c | 44 69 73 20 44 4f 53 20 |........|Dis DOS |
|00000210| 6c 69 62 72 61 72 79 20 | 6f 70 65 6e 20 6f 6b 61 |library |open oka|
|00000220| 79 3f 00 00 81 0a 00 34 | 00 40 00 1d 00 06 4e 6f |y?.....4|.@....No|
|00000230| 44 4f 53 00 00 3f 81 0a | 00 1e 00 1e 50 75 74 20 |DOS..?..|....Put |
|00000240| 44 4f 53 20 62 61 73 65 | 20 69 6e 74 6f 20 41 36 |DOS base| into A6|
|00000250| 20 72 65 67 69 73 74 65 | 72 00 81 0a 00 88 00 1e | registe|r.......|
|00000260| 00 12 47 65 74 20 53 74 | 61 6e 64 61 72 64 20 4f |..Get St|andard O|
|00000270| 75 74 00 00 83 0a 00 34 | 82 0a 00 1e 00 22 4c 65 |ut.....4|....."Le|
|00000280| 6e 67 74 68 20 6f 66 20 | 73 74 72 69 6e 67 20 74 |ngth of |string t|
|00000290| 6f 20 62 65 20 64 69 73 | 70 6c 61 79 65 64 00 00 |o be dis|played..|
|000002a0| 81 0a 00 88 87 0a 00 1e | 00 1e 50 75 74 20 41 52 |........|..Put AR|
|000002b0| 50 20 6c 69 62 72 61 72 | 79 20 62 61 73 65 20 69 |P librar|y base i|
|000002c0| 6e 74 6f 20 41 36 00 00 | 81 0a 00 06 00 0c 41 62 |nto A6..|......Ab|
|000002d0| 73 45 78 65 63 42 61 73 | 65 00 81 0a 00 8c 00 1f |sExecBas|e.......|
|000002e0| 00 28 47 65 74 20 61 20 | 70 6f 69 6e 74 65 72 20 |.(Get a |pointer |
|000002f0| 74 6f 20 6f 75 72 20 6f | 77 6e 20 74 61 73 6b 20 |to our o|wn task |
|00000300| 73 74 72 75 63 74 75 72 | 65 00 81 0a 00 cd 00 1f |structur|e.......|
|00000310| 00 34 49 66 20 74 68 69 | 73 20 77 61 73 20 72 75 |.4If thi|s was ru|
|00000320| 6e 20 66 72 6f 6d 20 43 | 4c 49 2c 20 70 72 5f 43 |n from C|LI, pr_C|
|00000330| 4c 49 20 73 68 6f 75 6c | 64 20 6e 6f 74 20 62 65 |LI shoul|d not be|
|00000340| 20 6e 75 6c 6c 00 81 0a | 00 34 00 40 00 1d 00 08 | null...|.4.@....|
|00000350| 46 72 6f 6d 43 4c 49 00 | 00 3f 81 0a 00 1f 00 3a |FromCLI.|.?.....:|
|00000360| 54 68 65 20 66 6f 6c 6c | 6f 77 69 6e 67 20 63 6f |The foll|owing co|
|00000370| 64 65 20 69 73 20 6f 6e | 6c 79 20 65 78 65 63 75 |de is on|ly execu|
|00000380| 74 65 64 20 69 66 20 72 | 75 6e 20 66 72 6f 6d 20 |ted if r|un from |
|00000390| 57 6f 72 6b 42 65 6e 63 | 68 00 81 0a 00 5c 00 f7 |WorkBenc|h....\..|
|000003a0| 00 1e 00 0c 52 65 74 75 | 72 6e 20 63 6f 64 65 00 |....Retu|rn code.|
|000003b0| 82 0a 00 1f 00 50 70 72 | 5f 43 4c 49 20 69 73 20 |.....Ppr|_CLI is |
|000003c0| 69 6e 20 74 68 65 20 44 | 31 20 72 65 67 69 73 74 |in the D|1 regist|
|000003d0| 65 72 2e 20 20 49 74 20 | 69 73 20 61 20 42 43 50 |er. It |is a BCP|
|000003e0| 4c 20 70 6f 69 6e 74 65 | 72 2c 20 74 68 69 73 20 |L pointe|r, this |
|000003f0| 6c 69 6e 65 20 63 6f 6e | 76 65 72 74 73 20 74 6f |line con|verts to|
|00000400| 20 41 50 54 52 00 81 0a | 00 1e 00 14 73 74 6f 72 | APTR...|....stor|
|00000410| 65 20 66 6f 72 20 6c 61 | 74 65 72 20 75 73 65 00 |e for la|ter use.|
|00000420| 81 0a 00 1f 00 34 52 65 | 73 74 6f 72 65 20 70 6f |.....4Re|store po|
|00000430| 69 6e 74 65 72 20 74 6f | 20 63 6f 6d 6d 61 6e 64 |inter to| command|
|00000440| 20 6c 69 6e 65 2c 20 61 | 6e 64 20 63 6f 6d 6d 61 | line, a|nd comma|
|00000450| 6e 64 20 6c 65 6e 67 74 | 68 00 81 0a 00 34 82 0a |nd lengt|h....4..|
|00000460| 00 34 81 0a 00 66 00 1f | 00 28 54 68 69 73 20 41 |.4...f..|.(This A|
|00000470| 52 50 20 63 61 6c 6c 20 | 6c 6f 6f 6b 73 20 61 74 |RP call |looks at|
|00000480| 20 74 68 65 20 63 6f 6d | 6d 61 6e 64 20 6c 69 6e | the com|mand lin|
|00000490| 65 00 81 0a 00 1e 00 26 | 70 6f 69 6e 74 65 72 20 |e......&|pointer |
|000004a0| 74 6f 20 6f 75 72 20 43 | 6f 6d 6d 61 6e 64 20 4c |to our C|ommand L|
|000004b0| 69 6e 65 20 49 6e 74 65 | 72 66 61 63 65 00 82 0a |ine Inte|rface...|
|000004c0| 00 1e 00 20 48 6f 77 20 | 6d 61 6e 79 20 70 61 72 |... How |many par|
|000004d0| 61 6d 65 74 65 72 73 20 | 77 65 72 65 20 67 69 76 |ameters |were giv|
|000004e0| 65 6e 3f 00 81 0a 00 34 | 81 0a 00 34 81 0a 00 66 |en?....4|...4...f|
|000004f0| 00 1f 00 3a 43 6f 6e 76 | 65 72 74 20 73 74 72 69 |...:Conv|ert stri|
|00000500| 6e 67 20 67 69 76 65 6e | 20 62 79 20 75 73 65 72 |ng given| by user|
|00000510| 20 74 6f 20 61 20 6e 75 | 6d 62 65 72 2c 20 72 65 | to a nu|mber, re|
|00000520| 74 75 72 6e 65 64 20 69 | 6e 20 44 30 00 00 81 0a |turned i|n D0....|
|00000530| 00 34 00 40 00 1d 00 10 | 42 61 64 4e 75 6d 62 65 |.4.@....|BadNumbe|
|00000540| 72 47 69 76 65 6e 00 00 | 00 3f 81 0a 00 5c 00 1f |rGiven..|.?...\..|
|00000550| 00 3c 43 68 65 63 6b 20 | 66 6f 72 20 6d 69 6e 69 |.<Check |for mini|
|00000560| 6d 75 6d 20 73 74 61 63 | 6b 20 73 69 7a 65 2e 20 |mum stac|k size. |
|00000570| 20 4d 75 73 74 20 62 65 | 20 61 74 20 6c 65 61 73 | Must be| at leas|
|00000580| 74 20 31 38 30 30 20 62 | 79 74 65 73 00 00 81 0a |t 1800 b|ytes....|
|00000590| 00 34 00 40 00 1d 00 0e | 53 74 61 63 6b 54 6f 6f |.4.@....|StackToo|
|000005a0| 53 6d 61 6c 6c 00 00 3f | 81 0a 00 1e 00 20 44 69 |Small..?|..... Di|
|000005b0| 76 69 64 65 20 62 79 20 | 34 20 74 6f 20 6b 65 65 |vide by |4 to kee|
|000005c0| 70 20 42 43 50 4c 20 68 | 61 70 70 79 00 00 81 0a |p BCPL h|appy....|
|000005d0| 00 6d 00 1f 00 44 53 74 | 6f 72 65 20 74 68 65 20 |.m...DSt|ore the |
|000005e0| 6e 65 77 20 73 74 61 63 | 6b 20 73 69 7a 65 20 69 |new stac|k size i|
|000005f0| 6e 74 6f 20 6f 75 72 20 | 43 6f 6d 6d 61 6e 64 20 |nto our |Command |
|00000600| 4c 69 6e 65 20 49 6e 74 | 65 72 66 61 63 65 20 73 |Line Int|erface s|
|00000610| 74 72 75 63 74 75 72 65 | 00 00 81 0a 00 34 00 40 |tructure|.....4.@|
|00000620| 00 1d 00 0a 47 6f 6f 64 | 45 78 69 74 00 00 00 3f |....Good|Exit...?|
|00000630| 81 0a 00 34 82 0a 00 66 | 81 0a 00 34 00 40 00 1d |...4...f|...4.@..|
|00000640| 00 0a 45 72 72 6f 72 45 | 78 69 74 00 00 5c 00 f7 |..ErrorE|xit..\..|
|00000650| 00 1e 00 0c 52 65 74 75 | 72 6e 20 63 6f 64 65 00 |....Retu|rn code.|
|00000660| 00 3f 82 0a 00 34 81 0a | 00 34 81 0a 00 66 83 0a |.?...4..|.4...f..|
|00000670| 00 34 00 40 00 1d 00 06 | 45 58 49 54 00 00 00 3f |.4.@....|EXIT...?|
|00000680| 81 0a 00 6d 00 1f 00 34 | 48 65 72 65 2c 20 77 65 |...m...4|Here, we|
|00000690| 20 61 72 65 20 67 6f 69 | 6e 67 20 74 6f 20 70 72 | are goi|ng to pr|
|000006a0| 69 6e 74 20 74 68 65 20 | 63 75 72 72 65 6e 74 20 |int the |current |
|000006b0| 73 74 61 63 6b 20 73 69 | 7a 65 00 00 00 1f 00 4a |stack si|ze.....J|
|000006c0| 54 6f 20 64 6f 20 74 68 | 69 73 2c 20 77 65 20 67 |To do th|is, we g|
|000006d0| 65 74 20 74 68 65 20 6e | 75 6d 62 65 72 20 66 72 |et the n|umber fr|
|000006e0| 6f 6d 20 6f 75 72 20 43 | 6f 6d 6d 61 6e 64 20 4c |om our C|ommand L|
|000006f0| 69 6e 65 20 49 6e 74 65 | 72 66 61 63 65 20 73 74 |ine Inte|rface st|
|00000700| 72 75 63 74 75 72 65 2c | 00 00 00 1f 00 2a 6d 75 |ructure,|.....*mu|
|00000710| 6c 74 69 70 6c 79 20 69 | 74 20 62 79 20 66 6f 75 |ltiply i|t by fou|
|00000720| 72 2c 20 61 6e 64 20 73 | 68 6f 77 20 69 74 73 20 |r, and s|how its |
|00000730| 76 61 6c 75 65 21 00 00 | 81 0a 00 1e 00 1c 43 6f |value!..|......Co|
|00000740| 6e 76 65 72 74 20 62 61 | 63 6b 20 74 6f 20 72 65 |nvert ba|ck to re|
|00000750| 61 6c 20 6e 75 6d 62 65 | 72 00 83 0a 00 34 81 0a |al numbe|r....4..|
|00000760| 00 66 81 0a 00 f7 81 0a | 00 66 00 1f 00 3c 41 6c |.f......|.f...<Al|
|00000770| 74 68 6f 75 67 68 20 74 | 68 69 73 20 69 73 20 61 |though t|his is a|
|00000780| 20 4a 53 52 20 28 73 75 | 62 72 6f 75 74 69 6e 65 | JSR (su|broutine|
|00000790| 20 63 61 6c 6c 29 2c 20 | 69 74 20 6e 65 76 65 72 | call), |it never|
|000007a0| 20 72 65 74 75 72 6e 73 | 00 00 00 35 00 15 00 00 | returns|...5....|
|000007b0| 00 00 00 15 00 00 05 3a | 44 69 73 61 73 73 65 6d |.......:|Disassem|
|000007c0| 62 6c 65 20 41 52 50 20 | 27 43 44 27 00 00 00 00 |ble ARP |'CD'....|
|000007d0| 02 c9 00 3c 00 0e 72 65 | 73 6f 75 72 63 65 3a 63 |...<..re|source:c|
|000007e0| 2f 63 64 00 00 34 00 1e | 00 16 53 74 61 72 74 20 |/cd..4..|..Start |
|000007f0| 65 78 65 63 75 74 69 6e | 67 20 68 65 72 65 21 00 |executin|g here!.|
|00000800| 81 0a 00 0e 00 1f 00 3c | 41 52 50 20 72 65 73 69 |.......<|ARP resi|
|00000810| 64 65 6e 74 20 6c 6f 6f | 6b 73 20 66 6f 72 20 74 |dent loo|ks for t|
|00000820| 68 69 73 20 74 6f 20 72 | 65 63 6f 67 6e 69 7a 65 |his to r|ecognize|
|00000830| 20 6f 74 68 65 72 20 41 | 52 50 20 70 72 6f 67 72 | other A|RP progr|
|00000840| 61 6d 73 00 81 0a 00 13 | 00 1e 00 2c 44 65 66 61 |ams.....|...,Defa|
|00000850| 75 6c 74 20 73 74 61 63 | 6b 20 73 69 7a 65 20 75 |ult stac|k size u|
|00000860| 73 65 65 64 20 62 79 20 | 41 52 50 20 22 52 65 73 |seed by |ARP "Res|
|00000870| 69 64 65 6e 74 22 00 00 | 82 0a 00 1e 00 18 53 74 |ident"..|......St|
|00000880| 6f 72 65 20 43 6d 64 50 | 74 72 20 61 6e 64 20 43 |ore CmdP|tr and C|
|00000890| 6d 64 4c 65 6e 00 81 0a | 00 06 00 0c 41 62 73 45 |mdLen...|....AbsE|
|000008a0| 78 65 63 42 61 73 65 00 | 81 0a 00 34 00 1e 00 1c |xecBase.|...4....|
|000008b0| 50 72 65 70 61 72 65 20 | 74 6f 20 6f 70 65 6e 20 |Prepare |to open |
|000008c0| 41 52 50 20 6c 69 62 72 | 61 72 79 00 81 0a 00 5c |ARP libr|ary....\|
|000008d0| 00 1e 00 18 4d 69 6e 69 | 6d 75 6d 20 76 65 72 73 |....Mini|mum vers|
|000008e0| 69 6f 6e 20 6e 75 6d 62 | 65 72 00 00 81 0a 00 8c |ion numb|er......|
|000008f0| 00 1e 00 12 4f 70 65 6e | 20 41 52 50 20 6c 69 62 |....Open| ARP lib|
|00000900| 72 61 72 79 00 00 81 0a | 00 1e 00 14 44 69 64 20 |rary....|....Did |
|00000910| 41 52 50 20 6f 70 65 6e | 20 6f 6b 61 79 3f 00 00 |ARP open| okay?..|
|00000920| 81 0a 00 34 00 1e 00 16 | 62 72 61 6e 63 68 20 69 |...4....|branch i|
|00000930| 66 20 6f 70 65 6e 65 64 | 20 6f 6b 61 79 00 81 0a |f opened| okay...|
|00000940| 00 34 00 1f 00 24 4f 6e | 6c 79 20 65 78 65 63 75 |.4...$On|ly execu|
|00000950| 74 65 64 20 69 66 20 41 | 52 50 20 6e 6f 74 20 61 |ted if A|RP not a|
|00000960| 76 61 69 6c 61 62 6c 65 | 00 00 81 0a 00 8c 00 1e |vailable|........|
|00000970| 00 12 4f 70 65 6e 20 44 | 4f 53 20 6c 69 62 72 61 |..Open D|OS libra|
|00000980| 72 79 00 00 81 0a 00 1e | 00 24 48 61 76 65 20 77 |ry......|.$Have w|
|00000990| 65 20 67 6f 74 20 44 4f | 53 20 6c 69 62 72 61 72 |e got DO|S librar|
|000009a0| 79 20 62 61 73 65 20 69 | 6e 20 44 30 3f 00 81 0a |y base i|n D0?...|
|000009b0| 00 34 00 1e 00 18 42 72 | 61 6e 63 68 20 69 66 20 |.4....Br|anch if |
|000009c0| 6e 6f 74 20 28 50 61 6e | 69 63 21 21 29 00 81 0a |not (Pan|ic!!)...|
|000009d0| 00 1e 00 28 50 6c 61 63 | 65 20 44 4f 53 20 6c 69 |...(Plac|e DOS li|
|000009e0| 62 72 61 72 79 20 62 61 | 73 65 20 69 6e 74 6f 20 |brary ba|se into |
|000009f0| 41 36 20 72 65 67 69 73 | 74 65 72 00 81 0a 00 88 |A6 regis|ter.....|
|00000a00| 00 1e 00 12 47 65 74 20 | 53 74 64 4f 75 74 20 68 |....Get |StdOut h|
|00000a10| 61 6e 64 6c 65 00 81 0a | 00 1e 00 28 54 68 69 73 |andle...|...(This|
|00000a20| 20 77 69 6c 6c 20 62 65 | 20 6f 75 72 20 66 69 6c | will be| our fil|
|00000a30| 65 20 68 61 6e 64 6c 65 | 20 66 6f 72 20 57 72 69 |e handle| for Wri|
|00000a40| 74 65 00 00 81 0a 00 1e | 00 20 49 66 20 6e 6f 74 |te......|. If not|
|00000a50| 20 53 74 64 4f 75 74 2c | 20 65 78 69 74 20 69 6d | StdOut,| exit im|
|00000a60| 6d 65 64 69 61 74 65 6c | 79 00 81 0a 00 34 00 1e |mediatel|y....4..|
|00000a70| 00 18 54 68 65 20 6d 65 | 73 73 61 67 65 20 74 6f |..The me|ssage to|
|00000a80| 20 64 69 73 70 6c 61 79 | 00 00 82 0a 00 5c 00 1e | display|.....\..|
|00000a90| 00 1a 4c 65 6e 67 74 68 | 20 6f 66 20 6d 65 73 73 |..Length| of mess|
|00000aa0| 61 67 65 20 74 6f 20 73 | 68 6f 77 00 81 0a 00 88 |age to s|how.....|
|00000ab0| 00 1e 00 22 53 68 6f 77 | 20 22 79 6f 75 20 6e 65 |..."Show| "you ne|
|00000ac0| 65 64 20 61 72 70 2e 6c | 69 62 72 61 72 79 20 56 |ed arp.l|ibrary V|
|00000ad0| 33 39 2b 22 00 00 81 0a | 00 1e 00 0e 46 69 78 20 |39+"....|....Fix |
|00000ae0| 75 70 20 73 74 61 63 6b | 00 00 81 0a 00 1e 00 12 |up stack|........|
|00000af0| 47 65 74 20 6f 75 72 20 | 6f 66 20 68 65 72 65 21 |Get our |of here!|
|00000b00| 00 00 85 0a 00 1d 00 0e | 41 72 70 4f 70 65 6e 65 |........|ArpOpene|
|00000b10| 64 4f 6b 61 79 00 00 1e | 00 1e 50 75 74 20 41 52 |dOkay...|..Put AR|
|00000b20| 50 20 6c 69 62 72 61 72 | 79 20 62 61 73 65 20 69 |P librar|y base i|
|00000b30| 6e 74 6f 20 41 36 00 00 | 81 0a 00 06 00 0c 41 62 |nto A6..|......Ab|
|00000b40| 73 45 78 65 63 42 61 73 | 65 00 81 0a 00 8c 00 1f |sExecBas|e.......|
|00000b50| 00 32 41 63 74 75 61 6c | 6c 79 2c 20 74 68 69 73 |.2Actual|ly, this|
|00000b60| 20 77 69 6c 6c 20 62 65 | 20 61 20 70 74 72 20 74 | will be| a ptr t|
|00000b70| 6f 20 6f 75 72 20 70 72 | 6f 63 65 73 73 20 61 6c |o our pr|ocess al|
|00000b80| 73 6f 00 00 81 0a 00 cd | 81 0a 00 34 00 1e 00 20 |so......|...4... |
|00000b90| 42 72 61 6e 63 68 20 69 | 66 20 77 65 20 77 65 72 |Branch i|f we wer|
|00000ba0| 65 20 72 75 6e 20 66 72 | 6f 6d 20 43 4c 49 00 00 |e run fr|om CLI..|
|00000bb0| 81 0a 00 1e 00 20 45 78 | 65 63 75 74 65 64 20 6f |..... Ex|ecuted o|
|00000bc0| 6e 6c 79 20 69 66 20 66 | 72 6f 6d 20 57 6f 72 6b |nly if f|rom Work|
|00000bd0| 42 65 6e 63 68 00 81 0a | 00 5c 00 f7 82 0a 00 1e |Bench...|.\......|
|00000be0| 00 16 43 6f 6e 76 65 72 | 74 20 42 50 54 52 20 74 |..Conver|t BPTR t|
|00000bf0| 6f 20 41 50 54 52 00 00 | 81 0a 00 1e 00 1a 52 65 |o APTR..|......Re|
|00000c00| 73 74 6f 72 65 20 43 6d | 64 4c 65 6e 20 61 6e 64 |store Cm|dLen and|
|00000c10| 20 43 6d 64 50 74 72 00 | 81 0a 00 34 82 0a 00 34 | CmdPtr.|...4...4|
|00000c20| 81 0a 00 66 00 1e 00 1e | 47 65 74 20 41 52 50 20 |...f....|Get ARP |
|00000c30| 74 6f 20 63 6f 6c 6c 65 | 63 74 20 61 72 67 75 6d |to colle|ct argum|
|00000c40| 65 6e 74 73 00 00 81 0a | 00 1e 00 1e 50 74 72 20 |ents....|....Ptr |
|00000c50| 74 6f 20 43 6f 6d 6d 61 | 6e 64 20 4c 69 6e 65 20 |to Comma|nd Line |
|00000c60| 49 6e 74 65 72 66 61 63 | 65 00 83 0a 00 34 81 0a |Interfac|e....4..|
|00000c70| 00 34 81 0a 00 34 85 0a | 00 66 82 0a 00 66 81 0a |.4...4..|.f...f..|
|00000c80| 00 34 81 0a 00 34 82 0a | 00 34 83 0a 00 66 83 0a |.4...4..|.4...f..|
|00000c90| 00 34 82 0a 00 34 82 0a | 00 66 88 0a 00 66 84 0a |.4...4..|.f...f..|
|00000ca0| 00 34 82 0a 00 66 81 0a | 00 34 84 0a 00 66 81 09 |.4...f..|.4...f..|
|00000cb0| 00 f5 85 0a 00 66 82 0a | 00 66 82 0a 00 34 83 0a |.....f..|.f...4..|
|00000cc0| 00 66 81 09 00 f7 83 0a | 00 66 81 0a 00 34 81 0a |.f......|.f...4..|
|00000cd0| 81 0a 00 34 81 0a 00 34 | 82 0a 00 66 85 0a 00 66 |...4...4|...f...f|
|00000ce0| 81 0a 00 5c 00 f7 81 0a | 00 34 81 0a 00 34 81 0a |...\....|.4...4..|
|00000cf0| 00 34 83 0a 00 cd 82 0a | 00 66 82 0a 00 34 83 0a |.4......|.f...4..|
|00000d00| 81 0a 00 66 00 35 00 15 | 00 00 00 00 00 16 00 00 |...f.5..|........|
|00000d10| 07 70 44 69 73 61 73 73 | 65 6d 62 6c 65 20 41 52 |.pDisass|emble AR|
|00000d20| 50 20 27 53 6f 72 74 27 | 00 00 02 c9 00 3c 00 10 |P 'Sort'|.....<..|
|00000d30| 72 65 73 6f 75 72 63 65 | 3a 63 2f 73 6f 72 74 00 |resource|:c/sort.|
|00000d40| 01 c9 00 16 64 61 74 65 | 20 3e 72 61 6d 3a 72 73 |....date| >ram:rs|
|00000d50| 74 65 25 6d 70 66 69 6c | 65 00 02 42 00 10 72 61 |te%mpfil|e..B..ra|
|00000d60| 6d 3a 72 73 74 65 25 6d | 70 66 69 6c 65 00 02 06 |m:rste%m|pfile...|
|00000d70| 00 02 0a 00 02 07 00 0e | 44 69 73 61 73 73 65 6d |........|Disassem|
|00000d80| 62 6c 65 64 20 00 00 1f | 00 04 1b 1b 00 00 00 34 |bled ...|.......4|
|00000d90| 00 1e 00 16 45 78 65 63 | 75 74 69 6f 6e 20 73 74 |....Exec|ution st|
|00000da0| 61 72 74 73 20 68 65 72 | 65 00 81 0a 00 0e 00 1f |arts her|e.......|
|00000db0| 00 3c 41 52 50 20 72 65 | 73 69 64 65 6e 74 20 6c |.<ARP re|sident l|
|00000dc0| 6f 6f 6b 73 20 66 6f 72 | 20 74 68 69 73 20 74 6f |ooks for| this to|
|00000dd0| 20 72 65 63 6f 67 6e 69 | 7a 65 20 6f 74 68 65 72 | recogni|ze other|
|00000de0| 20 41 52 50 20 70 72 6f | 67 72 61 6d 73 00 81 0a | ARP pro|grams...|
|00000df0| 00 13 00 1f 00 2a 44 65 | 66 61 75 6c 74 20 73 74 |.....*De|fault st|
|00000e00| 61 63 6b 20 73 69 7a 65 | 20 75 73 65 64 20 62 79 |ack size| used by|
|00000e10| 20 41 52 50 20 22 52 65 | 73 69 64 65 6e 74 22 00 | ARP "Re|sident".|
|00000e20| 82 0a 00 1e 00 18 53 74 | 6f 72 65 20 43 6d 64 50 |......St|ore CmdP|
|00000e30| 74 72 20 61 6e 64 20 43 | 6d 64 4c 65 6e 00 81 0a |tr and C|mdLen...|
|00000e40| 00 06 00 0c 41 62 73 45 | 78 65 63 42 61 73 65 00 |....AbsE|xecBase.|
|00000e50| 81 0a 00 34 00 1e 00 1c | 50 72 65 70 61 72 65 20 |...4....|Prepare |
|00000e60| 74 6f 20 6f 70 65 6e 20 | 41 52 50 20 6c 69 62 72 |to open |ARP libr|
|00000e70| 61 72 79 00 81 0a 00 5c | 00 1e 00 18 4d 69 6e 69 |ary....\|....Mini|
|00000e80| 6d 75 6d 20 76 65 72 73 | 69 6f 6e 20 6e 75 6d 62 |mum vers|ion numb|
|00000e90| 65 72 00 00 81 0a 00 8c | 00 1e 00 12 4f 70 65 6e |er......|....Open|
|00000ea0| 20 41 52 50 20 6c 69 62 | 72 61 72 79 00 00 81 0a | ARP lib|rary....|
|00000eb0| 00 1e 00 14 44 69 64 20 | 41 52 50 20 6f 70 65 6e |....Did |ARP open|
|00000ec0| 20 6f 6b 61 79 3f 00 00 | 81 0a 00 34 00 1e 00 16 | okay?..|...4....|
|00000ed0| 62 72 61 6e 63 68 20 69 | 66 20 6f 70 65 6e 65 64 |branch i|f opened|
|00000ee0| 20 6f 6b 61 79 00 81 0a | 00 34 00 1f 00 2c 45 78 | okay...|.4...,Ex|
|00000ef0| 65 63 75 74 65 64 20 6f | 6e 6c 79 20 69 66 20 41 |ecuted o|nly if A|
|00000f00| 52 50 20 6c 69 62 72 61 | 72 79 20 6e 6f 74 20 61 |RP libra|ry not a|
|00000f10| 76 61 69 6c 61 62 6c 65 | 00 00 81 0a 00 8c 00 1e |vailable|........|
|00000f20| 00 12 4f 70 65 6e 20 44 | 4f 53 20 6c 69 62 72 61 |..Open D|OS libra|
|00000f30| 72 79 00 00 81 0a 00 1e | 00 24 48 61 76 65 20 77 |ry......|.$Have w|
|00000f40| 65 20 67 6f 74 20 44 4f | 53 20 6c 69 62 72 61 72 |e got DO|S librar|
|00000f50| 79 20 62 61 73 65 20 69 | 6e 20 44 30 3f 00 81 0a |y base i|n D0?...|
|00000f60| 00 34 00 1e 00 18 42 72 | 61 6e 63 68 20 69 66 20 |.4....Br|anch if |
|00000f70| 6e 6f 74 20 28 50 61 6e | 69 63 21 21 29 00 81 0a |not (Pan|ic!!)...|
|00000f80| 00 1e 00 20 50 6c 61 63 | 65 20 44 4f 53 20 62 61 |... Plac|e DOS ba|
|00000f90| 73 65 20 69 6e 74 6f 20 | 41 36 20 72 65 67 69 73 |se into |A6 regis|
|00000fa0| 74 65 72 00 81 0a 00 88 | 00 1e 00 12 47 65 74 20 |ter.....|....Get |
|00000fb0| 53 74 64 4f 75 74 20 68 | 61 6e 64 6c 65 00 81 0a |StdOut h|andle...|
|00000fc0| 00 1e 00 28 54 68 69 73 | 20 77 69 6c 6c 20 62 65 |...(This| will be|
|00000fd0| 20 6f 75 72 20 66 69 6c | 65 20 68 61 6e 64 6c 65 | our fil|e handle|
|00000fe0| 20 66 6f 72 20 57 72 69 | 74 65 00 00 81 0a 00 1e | for Wri|te......|
|00000ff0| 00 20 49 66 20 6e 6f 74 | 20 53 74 64 4f 75 74 2c |. If not| StdOut,|
|00001000| 20 65 78 69 74 20 69 6d | 6d 65 64 69 61 74 65 6c | exit im|mediatel|
|00001010| 79 00 81 0a 00 34 00 1e | 00 18 54 68 65 20 6d 65 |y....4..|..The me|
|00001020| 73 73 61 67 65 20 74 6f | 20 64 69 73 70 6c 61 79 |ssage to| display|
|00001030| 00 00 82 0a 00 5c 00 1e | 00 1a 4c 65 6e 67 74 68 |.....\..|..Length|
|00001040| 20 6f 66 20 6d 65 73 73 | 61 67 65 20 74 6f 20 73 | of mess|age to s|
|00001050| 68 6f 77 00 81 0a 00 88 | 00 1e 00 22 53 68 6f 77 |how.....|..."Show|
|00001060| 20 22 79 6f 75 20 6e 65 | 65 64 20 61 72 70 2e 6c | "you ne|ed arp.l|
|00001070| 69 62 72 61 72 79 20 56 | 33 39 2b 22 00 00 81 0a |ibrary V|39+"....|
|00001080| 00 1e 00 0e 46 69 78 20 | 75 70 20 73 74 61 63 6b |....Fix |up stack|
|00001090| 00 00 81 0a 00 1e 00 12 | 47 65 74 20 6f 75 74 20 |........|Get out |
|000010a0| 6f 66 20 68 65 72 65 21 | 00 00 85 0a 00 1d 00 0e |of here!|........|
|000010b0| 41 72 70 4f 70 65 6e 65 | 64 4f 6b 61 79 00 00 1e |ArpOpene|dOkay...|
|000010c0| 00 1e 50 75 74 20 41 52 | 50 20 6c 69 62 72 61 72 |..Put AR|P librar|
|000010d0| 79 20 62 61 73 65 20 69 | 6e 74 6f 20 41 36 00 00 |y base i|nto A6..|
|000010e0| 81 0a 00 1e 00 1a 52 65 | 73 74 6f 72 65 20 43 6d |......Re|store Cm|
|000010f0| 64 4c 65 6e 20 61 6e 64 | 20 43 6d 64 50 74 72 00 |dLen and| CmdPtr.|
|00001100| 81 0a 00 34 00 1e 00 18 | 50 72 65 70 61 72 65 20 |...4....|Prepare |
|00001110| 61 72 67 73 20 66 6f 72 | 20 47 41 44 53 28 29 00 |args for| GADS().|
|00001120| 81 0a 00 5c 00 1f 00 2e | 43 6c 65 61 72 20 61 20 |...\....|Clear a |
|00001130| 74 61 62 6c 65 20 6f 66 | 20 32 30 20 6c 6f 6e 67 |table of| 20 long|
|00001140| 77 6f 72 64 73 20 66 6f | 72 20 47 41 44 53 20 74 |words fo|r GADS t|
|00001150| 6f 20 75 73 65 00 82 0a | 00 34 81 09 00 1d 00 0a |o use...|.4......|
|00001160| 43 6c 65 61 72 4c 6f 6f | 70 00 83 0a 00 34 00 40 |ClearLoo|p....4.@|
|00001170| 00 1d 00 10 48 65 6c 70 | 66 75 6c 4d 65 73 73 61 |....Help|fulMessa|
|00001180| 67 65 00 00 00 3f 85 09 | 00 40 00 1d 00 0c 4f 75 |ge...?..|.@....Ou|
|00001190| 72 54 65 6d 70 6c 61 74 | 65 00 00 3f 86 0a 00 66 |rTemplat|e..?...f|
|000011a0| 82 0a 00 34 00 40 00 34 | 00 40 00 1d 00 0e 53 68 |...4.@.4|.@....Sh|
|000011b0| 6f 77 55 73 61 67 65 4d | 73 67 00 00 00 3f 82 0a |owUsageM|sg...?..|
|000011c0| 00 66 81 0a 00 34 00 40 | 81 0a 00 34 00 40 83 0a |.f...4.@|...4.@..|
|000011d0| 00 34 82 0a 00 66 82 0a | 00 66 81 0a 00 66 82 09 |.4...f..|.f...f..|
|000011e0| 00 1d 00 06 45 58 49 54 | 00 00 86 09 00 3f 81 09 |....EXIT|.....?..|
|000011f0| 00 f7 00 3f 83 09 00 1d | 00 0a 53 68 6f 77 55 73 |...?....|..ShowUs|
|00001200| 61 67 65 00 00 3f 82 0a | 00 34 82 0a 00 34 00 40 |age..?..|.4...4.@|
|00001210| 81 0a 00 06 00 0c 41 62 | 73 45 78 65 63 42 61 73 |......Ab|sExecBas|
|00001220| 65 00 00 1e 00 16 47 65 | 74 20 65 78 65 63 20 6c |e.....Ge|t exec l|
|00001230| 69 62 72 61 72 79 20 62 | 61 73 65 00 81 0a 00 8c |ibrary b|ase.....|
|00001240| 81 0a 00 34 00 40 00 cd | 81 0a 00 51 00 cd 81 0a |...4.@..|...Q....|
|00001250| 00 34 00 40 00 1d 00 0e | 54 2e 44 65 76 69 63 65 |.4.@....|T.Device|
|00001260| 2e 4d 73 67 00 00 00 3f | 83 0a 00 66 00 3f 82 0a |.Msg...?|...f.?..|
|00001270| 00 34 81 0a 00 34 82 0a | 00 34 00 40 00 1d 00 0e |.4...4..|.4.@....|
|00001280| 54 65 6d 70 46 69 6c 65 | 4e 61 6d 65 00 00 00 3f |TempFile|Name...?|
|00001290| 84 0a 00 1f 00 4a 54 68 | 65 20 66 6f 6c 6c 6f 77 |.....JTh|e follow|
|000012a0| 69 6e 67 20 69 73 20 61 | 20 6e 65 77 20 41 52 50 |ing is a| new ARP|
|000012b0| 20 63 61 6c 6c 20 28 75 | 6e 64 6f 63 75 6d 65 6e | call (u|ndocumen|
|000012c0| 74 65 64 20 61 74 20 74 | 69 6d 65 20 6f 66 20 6d |ted at t|ime of m|
|000012d0| 61 63 72 6f 20 63 72 65 | 61 74 69 6f 6e 21 29 00 |acro cre|ation!).|
|000012e0| 83 0a 00 f4 81 0a 00 66 | 82 0a 00 34 81 0a 00 34 |.......f|...4...4|
|000012f0| 82 0a 00 34 00 3f 82 0a | 00 34 82 0a 00 66 81 0a |...4.?..|.4...f..|
|00001300| 00 34 00 40 00 1d 00 0a | 42 61 64 4e 75 6d 62 65 |.4.@....|BadNumbe|
|00001310| 72 00 81 0a 00 34 81 0a | 00 40 00 1d 00 0a 53 68 |r....4..|.@....Sh|
|00001320| 6f 77 45 72 72 6f 72 00 | 82 0a 00 40 00 1d 00 0a |owError.|...@....|
|00001330| 45 72 72 6f 72 45 78 69 | 74 00 00 3f 00 3f 82 09 |ErrorExi|t..?.?..|
|00001340| 00 3f 83 0a 00 34 82 0a | 00 66 85 0a 00 66 81 09 |.?...4..|.f...f..|
|00001350| 00 f5 83 0a 00 34 86 0a | 00 66 81 0a 00 93 83 0a |.....4..|.f......|
|00001360| 00 66 83 0a 00 66 82 0a | 00 34 83 0a 00 f4 81 0a |.f...f..|.4......|
|00001370| 00 66 86 0a 00 66 83 0a | 00 66 82 0a 00 34 84 0a |.f...f..|.f...4..|
|00001380| 00 34 83 0a 00 34 88 0a | 00 66 87 0a 00 34 82 0a |.4...4..|.f...4..|
|00001390| 00 34 87 0a 00 34 82 0a | 00 34 81 0a 00 34 83 0a |.4...4..|.4...4..|
|000013a0| 00 66 82 0a 00 66 83 0a | 00 34 82 0a 00 f4 81 0a |.f...f..|.4......|
|000013b0| 00 66 84 0a 00 34 83 0a | 00 66 81 0a 00 34 81 0a |.f...4..|.f...4..|
|000013c0| 00 66 83 0a 00 34 81 0a | 00 f7 81 0a 00 1d 00 06 |.f...4..|........|
|000013d0| 5f 45 58 49 54 00 84 09 | 94 0a 00 34 97 0a 00 66 |_EXIT...|...4...f|
|000013e0| 85 0a 00 66 82 0a 00 34 | 82 0a 00 66 82 0a 00 34 |...f...4|...f...4|
|000013f0| 83 0a 00 66 8d 0a 00 34 | 81 0a 00 34 83 0a 00 34 |...f...4|...4...4|
|00001400| 83 0a 00 66 83 0a 00 66 | 81 0a 00 cd 81 0a 00 34 |...f...f|.......4|
|00001410| 82 0a 00 66 82 0a 00 cd | 85 0a 00 34 82 0a 00 34 |...f....|...4...4|
|00001420| 82 0a 00 34 89 0a 00 66 | 83 0a 00 34 82 0a 00 34 |...4...f|...4...4|
|00001430| 81 0a 00 66 81 0a 00 66 | 84 09 00 40 83 0a 00 34 |...f...f|...@...4|
|00001440| 81 0a 00 34 00 3f 87 0a | 00 34 82 0a 00 34 00 40 |...4.?..|.4...4.@|
|00001450| 00 1d 00 12 43 6f 6d 70 | 61 72 65 53 74 72 69 6e |....Comp|areStrin|
|00001460| 67 4c 6f 6f 70 00 00 3f | 82 0a 00 34 81 0a 00 34 |gLoop..?|...4...4|
|00001470| 8b 0a 00 34 81 09 00 1d | 00 0e 53 74 72 69 6e 67 |...4....|..String|
|00001480| 45 6e 64 4c 6f 6f 70 00 | 84 0a 00 34 82 0a 00 34 |EndLoop.|...4...4|
|00001490| 83 0a 00 34 00 35 00 15 | 00 00 00 00 00 17 00 00 |...4.5..|........|
|000014a0| 03 1a 44 69 73 61 73 73 | 65 6d 62 6c 65 20 42 4f |..Disass|emble BO|
|000014b0| 4f 54 20 73 65 63 74 6f | 72 20 02 73 00 0c 64 66 |OT secto|r .s..df|
|000014c0| 30 3a 20 30 20 30 20 32 | 00 00 00 0b 84 11 00 13 |0: 0 0 2|........|
|000014d0| 81 0a 00 13 81 0a 00 0e | 00 3b 00 35 00 15 00 42 |........|.;.5...B|
|000014e0| 00 3e 54 68 65 20 66 69 | 72 73 74 20 6c 6f 6e 67 |.>The fi|rst long|
|000014f0| 77 6f 72 64 20 6f 66 20 | 61 20 44 4f 53 20 64 69 |word of |a DOS di|
|00001500| 73 6b 20 69 73 20 22 44 | 4f 53 22 20 66 6f 6c 6c |sk is "D|OS" foll|
|00001510| 6f 77 65 64 20 62 79 20 | 68 65 78 20 30 2c 00 00 |owed by |hex 0,..|
|00001520| 00 42 00 2c 6f 72 20 68 | 65 78 20 31 20 69 66 20 |.B.,or h|ex 1 if |
|00001530| 66 6f 72 6d 61 74 74 65 | 64 20 75 73 69 6e 67 20 |formatte|d using |
|00001540| 66 61 73 74 20 66 69 6c | 65 73 79 73 74 65 6d 00 |fast fil|esystem.|
|00001550| 81 0a 00 42 00 3e 54 68 | 65 20 73 65 63 6f 6e 64 |...B.>Th|e second|
|00001560| 20 6c 6f 6e 67 77 6f 72 | 64 20 6f 66 20 61 20 62 | longwor|d of a b|
|00001570| 6f 6f 74 61 62 6c 65 20 | 62 6f 6f 74 20 73 65 63 |ootable |boot sec|
|00001580| 74 6f 72 20 69 73 20 74 | 68 65 20 63 68 65 63 6b |tor is t|he check|
|00001590| 73 75 6d 00 81 0a 00 42 | 00 36 49 27 6d 20 6e 6f |sum....B|.6I'm no|
|000015a0| 74 20 71 75 69 74 65 20 | 73 75 72 65 20 77 68 61 |t quite |sure wha|
|000015b0| 74 20 74 68 65 20 6e 65 | 78 74 20 6c 6f 6e 67 77 |t the ne|xt longw|
|000015c0| 6f 72 64 20 69 73 20 75 | 73 65 64 20 66 6f 72 00 |ord is u|sed for.|
|000015d0| 81 0a 00 42 00 38 49 66 | 20 74 68 65 20 66 69 72 |...B.8If| the fir|
|000015e0| 73 74 20 6c 6f 6e 67 77 | 6f 72 64 20 69 73 20 22 |st longw|ord is "|
|000015f0| 44 4f 53 22 2c 20 66 6f | 6c 6c 6f 77 65 64 20 62 |DOS", fo|llowed b|
|00001600| 79 20 68 65 78 20 30 2c | 20 61 6e 64 00 00 00 42 |y hex 0,| and...B|
|00001610| 00 3e 74 68 65 20 63 68 | 65 63 6b 73 75 6d 20 69 |.>the ch|ecksum i|
|00001620| 73 20 63 6f 72 72 65 63 | 74 20 66 6f 72 20 74 68 |s correc|t for th|
|00001630| 65 20 63 75 72 72 65 6e | 74 20 62 6f 6f 74 20 73 |e curren|t boot s|
|00001640| 65 63 74 6f 72 20 63 6f | 6e 74 65 6e 74 73 2c 00 |ector co|ntents,.|
|00001650| 00 42 00 42 77 68 65 6e | 20 79 6f 75 20 62 6f 6f |.B.Bwhen| you boo|
|00001660| 74 20 6f 6e 20 74 68 65 | 20 64 69 73 6b 2c 20 63 |t on the| disk, c|
|00001670| 6f 6e 74 72 6f 6c 20 69 | 73 20 70 61 73 73 65 64 |ontrol i|s passed|
|00001680| 20 74 6f 20 6f 66 66 73 | 65 74 20 24 30 43 2c 20 | to offs|et $0C, |
|00001690| 48 45 52 45 00 00 81 0a | 00 8c 00 1e 00 16 69 73 |HERE....|......is|
|000016a0| 20 44 4f 53 20 73 74 69 | 6c 6c 20 61 72 6f 75 6e | DOS sti|ll aroun|
|000016b0| 64 3f 00 00 82 0a 00 1e | 00 18 62 72 61 6e 63 68 |d?......|..branch|
|000016c0| 20 69 66 20 6e 6f 20 44 | 4f 53 20 61 72 6f 75 6e | if no D|OS aroun|
|000016d0| 64 00 81 0a 00 42 00 18 | 70 6c 61 63 65 20 44 4f |d....B..|place DO|
|000016e0| 53 20 62 61 73 65 20 69 | 6e 74 6f 20 41 30 00 00 |S base i|nto A0..|
|000016f0| 81 0a 00 88 00 42 00 4c | 57 65 20 4d 55 53 54 20 |.....B.L|We MUST |
|00001700| 70 6c 61 63 65 20 74 68 | 65 20 76 65 72 73 69 6f |place th|e versio|
|00001710| 6e 20 6e 75 6d 62 65 72 | 20 6f 66 20 44 4f 53 20 |n number| of DOS |
|00001720| 69 6e 74 6f 20 41 30 20 | 69 66 20 77 65 20 70 6c |into A0 |if we pl|
|00001730| 61 6e 20 74 6f 20 62 6f | 6f 74 20 70 72 6f 70 65 |an to bo|ot prope|
|00001740| 72 6c 79 00 81 0a 00 42 | 00 4a 77 68 65 6e 20 77 |rly....B|.Jwhen w|
|00001750| 65 20 72 65 74 75 72 6e | 20 74 6f 20 4b 69 63 6b |e return| to Kick|
|00001760| 73 74 61 72 74 2c 20 44 | 30 20 6d 75 73 74 20 62 |start, D|0 must b|
|00001770| 65 20 7a 65 72 6f 20 69 | 66 20 74 68 65 20 64 69 |e zero i|f the di|
|00001780| 73 6b 20 69 73 20 74 6f | 20 62 65 20 62 6f 6f 74 |sk is to| be boot|
|00001790| 65 64 00 00 82 0a 00 42 | 00 30 53 6f 6d 65 74 68 |ed.....B|.0Someth|
|000017a0| 69 6e 67 20 69 73 20 77 | 72 6f 6e 67 21 21 20 20 |ing is w|rong!! |
|000017b0| 44 6f 6e 27 74 20 62 6f | 6f 74 20 6f 6e 20 74 68 |Don't bo|ot on th|
|000017c0| 69 73 20 64 69 73 6b 21 | 00 00 81 09 00 15 01 b0 |is disk!|........|
|000017d0| 01 b1 00 00 00 00 00 18 | 00 00 00 6a 50 72 69 6e |........|...jPrin|
|000017e0| 74 20 63 75 72 72 65 6e | 74 20 66 69 6c 65 20 20 |t curren|t file |
|000017f0| 20 20 20 20 00 4c 02 79 | 02 07 00 0e 65 63 68 6f | .L.y|....echo|
|00001800| 20 3e 20 70 72 74 3a 20 | 27 00 02 08 00 02 27 00 | > prt: |'.....'.|
|00001810| 01 c9 00 04 1b 1b 00 00 | 01 c9 00 0c 64 61 74 65 |........|....date|
|00001820| 20 3e 20 70 72 74 3a 00 | 01 c9 00 10 65 63 68 6f | > prt:.|....echo|
|00001830| 20 3e 20 70 72 74 3a 20 | 22 20 22 00 00 18 00 06 | > prt: |" ".....|
|00001840| 70 72 74 3a 00 00 01 c9 | 00 10 65 63 68 6f 20 3e |prt:....|..echo >|
|00001850| 20 70 72 74 3a 20 22 0c | 22 00 00 4b 00 00 | prt: ".|"..K.. |
+--------+-------------------------+-------------------------+--------+--------+